IServicesOperations.CheckNameAvailabilityWithHttpMessagesAsync 메서드

정의

지정된 Search Service 이름을 사용할 수 있는지 여부를 확인합니다. Search Service 이름은 서비스 URI(https:// name.search.windows.net<>)의 일부이므로 전역적으로 고유해야 합니다. https://aka.ms/search-manage

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Search.Fluent.Models.CheckNameAvailabilityOutputInner>> CheckNameAvailabilityWithHttpMessagesAsync (string name, Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner searchManagementRequestOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityWithHttpMessagesAsync : string * Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Search.Fluent.Models.CheckNameAvailabilityOutputInner>>
Public Function CheckNameAvailabilityWithHttpMessagesAsync (name As String, Optional searchManagementRequestOptions As SearchManagementRequestOptionsInner = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of CheckNameAvailabilityOutputInner))

매개 변수

name
String

유효성을 검사할 Search Service 이름입니다. Search Service 이름은 소문자, 숫자 또는 대시만 포함해야 하며, 처음 두 문자나 마지막 한 문자로 대시를 사용할 수 없으며, 연속 대시를 포함할 수 없으며, 길이가 2~60자여야 합니다.

searchManagementRequestOptions
SearchManagementRequestOptionsInner

작업에 대한 추가 매개 변수

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

응답을 역직렬화할 수 없을 때 throw됨

필수 매개 변수가 null일 때 throw됨

적용 대상