Share via


MockablePeeringSubscriptionResource.CheckPeeringServiceProviderAvailabilityAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability>> CheckPeeringServiceProviderAvailabilityAsync (Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckPeeringServiceProviderAvailabilityAsync : Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability>>
override this.CheckPeeringServiceProviderAvailabilityAsync : Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability>>
Public Overridable Function CheckPeeringServiceProviderAvailabilityAsync (content As CheckPeeringServiceProviderAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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