Share via


MockablePeeringSubscriptionResource.CheckPeeringServiceProviderAvailability Method

Definition

Checks if the peering service provider is present within 1000 miles of customer's location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/checkServiceProviderAvailability
  • Operation Id: CheckServiceProviderAvailability
public virtual Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability> CheckPeeringServiceProviderAvailability (Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckPeeringServiceProviderAvailability : Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability>
override this.CheckPeeringServiceProviderAvailability : Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability>
Public Overridable Function CheckPeeringServiceProviderAvailability (content As CheckPeeringServiceProviderAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PeeringServiceProviderAvailability)

Parameters

content
CheckPeeringServiceProviderAvailabilityContent

The CheckServiceProviderAvailabilityInput indicating customer location and service provider.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to