IServicesOperations.CheckNameAvailabilityWithHttpMessagesAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 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됨
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET