Freigeben über


TrafficManagerExtensions.CheckTrafficManagerRelativeDnsNameAvailabilityAsync Methode

Definition

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

  • Anforderungspfad/providers/Microsoft.Network/checkTrafficManagerNameAvailability
  • Vorgangs-IdProfiles_CheckTrafficManagerRelativeDnsNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>> CheckTrafficManagerRelativeDnsNameAvailabilityAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckTrafficManagerRelativeDnsNameAvailabilityAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>>
<Extension()>
Public Function CheckTrafficManagerRelativeDnsNameAvailabilityAsync (tenantResource As TenantResource, content As TrafficManagerRelativeDnsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficManagerNameAvailabilityResult))

Parameter

tenantResource
TenantResource

Der TenantResource 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: