次の方法で共有


TrafficManagerExtensions.CheckTrafficManagerRelativeDnsNameAvailabilityAsync メソッド

定義

Traffic Manager の相対 DNS 名を使用できるかどうかを確認します。

  • Request Path/providers/Microsoft.Network/checkTrafficManagerNameAvailability
  • 操作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))

パラメーター

tenantResource
TenantResource

TenantResourceメソッドが実行するインスタンス。

content
TrafficManagerRelativeDnsNameAvailabilityContent

CheckTrafficManagerNameAvailability 操作に指定された Traffic Manager 名パラメーター。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象