swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector PeeringServiceLocations API schemes: - https tags: - name: PeeringServiceLocations paths: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceLocations: get: tags: - PeeringServiceLocations description: Lists all of the available locations for peering service. operationId: microsoftAzurePeeringservicelocationsList parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: OK schema: $ref: '#/definitions/PeeringServiceLocationListResult' default: description: Error response describing why the operation has failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: List peering service locations: $ref: ./examples/ListPeeringServiceLocations.json x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering Peeringservicelocations definitions: ErrorResponse: description: The error response that indicates why an operation has failed. type: object properties: code: description: The error code. type: string readOnly: true message: description: The error message. type: string readOnly: true PeeringServiceLocation: description: The peering service location. type: object allOf: - $ref: '#/definitions/Resource' properties: properties: $ref: '#/definitions/PeeringServiceLocationProperties' description: The properties that define a peering service location. x-ms-client-flatten: true PeeringServiceLocationProperties: description: The properties that define connectivity to the Peering Service Location. type: object properties: country: description: Country of the customer type: string state: description: State of the customer type: string azureRegion: description: Azure region for the location type: string Resource: description: The ARM resource class. type: object properties: name: description: The name of the resource. type: string readOnly: true id: description: The ID of the resource. type: string readOnly: true type: description: The type of the resource. type: string readOnly: true x-ms-azure-resource: true PeeringServiceLocationListResult: description: The paginated list of peering service locations. type: object properties: value: description: The list of peering service locations. type: array items: $ref: '#/definitions/PeeringServiceLocation' nextLink: description: The link to fetch the next page of peering service locations. type: string parameters: ApiVersionParameter: name: api-version in: query description: The client API version. required: true type: string SubscriptionIdParameter: name: subscriptionId in: path description: The Azure subscription ID. required: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'