Compartir a través de


PeeringExtensions.CheckPeeringServiceProviderAvailabilityAsync Método

Definición

Comprueba si el proveedor de servicios de emparejamiento está presente en 1000 millas de la ubicación del cliente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Peering/checkServiceProviderAvailability
  • Operation 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

Instancia SubscriptionResource en la que se ejecutará el método.

content
CheckPeeringServiceProviderAvailabilityContent

CheckServiceProviderAvailabilityInput indica la ubicación del cliente y el proveedor de servicios.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a