swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector CheckServiceProviderAvailability API schemes: - https tags: - name: CheckServiceProviderAvailability paths: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/CheckServiceProviderAvailability: post: tags: - CheckServiceProviderAvailability description: Checks if the peering service provider is present within 1000 miles of customer's location operationId: microsoftAzureCheckserviceprovideravailability parameters: - name: checkServiceProviderAvailabilityInput in: body description: The CheckServiceProviderAvailabilityInput indicating customer location and service provider. required: true schema: $ref: '#/definitions/CheckServiceProviderAvailabilityInput' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: OK schema: enum: - Available - Unavailable type: string default: description: Error response describing why the operation has failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: Check if peering service provider is available in customer location: $ref: ./examples/CheckServiceProviderAvailability.json summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Peering Checkserviceprovideravailability 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 CheckServiceProviderAvailabilityInput: description: Class for CheckServiceProviderAvailabilityInput type: object properties: peeringServiceLocation: description: Gets or sets the PeeringServiceLocation type: string peeringServiceProvider: description: Gets or sets the PeeringServiceProvider 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'