Freigeben über


TrafficManagerExtensions.CheckTrafficManagerNameAvailabilityV2Async Methode

Definition

Prüft die Verfügbarkeit eines relativen Traffic Manager-DNS-Namens.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2
  • Vorgangs-IdProfiles_checkTrafficManagerNameAvailabilityV2
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>> CheckTrafficManagerNameAvailabilityV2Async (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckTrafficManagerNameAvailabilityV2Async : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>>
<Extension()>
Public Function CheckTrafficManagerNameAvailabilityV2Async (subscriptionResource As SubscriptionResource, content As TrafficManagerRelativeDnsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficManagerNameAvailabilityResult))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

content
TrafficManagerRelativeDnsNameAvailabilityContent

Die Traffic Manager-Namensparameter, die für den CheckTrafficManagerNameAvailability-Vorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: