Partilhar via


PeeringExtensions.CheckPeeringServiceProviderAvailabilityAsync Método

Definição

Verifica se o provedor de serviços de emparelhamento está presente dentro de 1000 milhas da localização do cliente

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Peering/checkServiceProviderAvailability
  • Operação IdCheckServiceProviderAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability>> CheckPeeringServiceProviderAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckPeeringServiceProviderAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Peering.Models.CheckPeeringServiceProviderAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.Models.PeeringServiceProviderAvailability>>
<Extension()>
Public Function CheckPeeringServiceProviderAvailabilityAsync (subscriptionResource As SubscriptionResource, content As CheckPeeringServiceProviderAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PeeringServiceProviderAvailability))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

content
CheckPeeringServiceProviderAvailabilityContent

O CheckServiceProviderAvailabilityInput que indica a localização do cliente e o provedor de serviços.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a