TrafficManagerExtensions.CheckTrafficManagerRelativeDnsNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks the availability of a Traffic Manager Relative DNS name.
- Request Path: /providers/Microsoft.Network/checkTrafficManagerNameAvailability
- Operation Id: Profiles_CheckTrafficManagerRelativeDnsNameAvailability
- Default Api Version: 2022-04-01
- Resource: TrafficManagerProfileResource
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))
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
tenantResource
or content
is null.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET