Partager via


PeeringExtensions.CheckPeeringServiceProviderAvailabilityAsync Méthode

Définition

Vérifie si le fournisseur de services de peering est présent dans un rayon de 1 000 miles de l’emplacement du client

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Peering/checkServiceProviderAvailability
  • Opération 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))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

content
CheckPeeringServiceProviderAvailabilityContent

CheckServiceProviderAvailabilityInput indiquant l’emplacement du client et le fournisseur de services.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à