다음을 통해 공유


WebSiteManagementClientExtensions.CheckNameAvailabilityAsync 메서드

정의

리소스 이름을 사용할 수 있는지 확인합니다.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.ResourceNameAvailabilityInner> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient operations, string name, Microsoft.Azure.Management.AppService.Fluent.Models.CheckNameResourceTypes type, bool? isFqdn = default, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * string * Microsoft.Azure.Management.AppService.Fluent.Models.CheckNameResourceTypes * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.ResourceNameAvailabilityInner>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IWebSiteManagementClient, name As String, type As CheckNameResourceTypes, Optional isFqdn As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceNameAvailabilityInner)

매개 변수

operations
IWebSiteManagementClient

이 확장 메서드에 대한 작업 그룹입니다.

name
String

확인할 리소스 이름입니다.

type
CheckNameResourceTypes

확인에 사용되는 리소스 종류입니다. 가능한 값은 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'입니다.

isFqdn
Nullable<Boolean>

정규화된 도메인 이름입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

리소스 이름을 사용할 수 있는지 확인에 대한 설명입니다.

적용 대상