다음을 통해 공유


IServicesOperations.BeginCreateOrUpdateWithHttpMessagesAsync 메서드

정의

지정된 리소스 그룹에서 Search Service 만들거나 업데이트합니다. Search Service 이미 있는 경우 모든 속성이 지정된 값으로 업데이트됩니다. https://aka.ms/search-manage

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string searchServiceName, Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner service, 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 BeginCreateOrUpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner * 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.SearchServiceInner>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, searchServiceName As String, service As SearchServiceInner, 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 SearchServiceInner))

매개 변수

resourceGroupName
String

현재 구독 내의 리소스 그룹 이름입니다. Azure 리소스 관리자 API 또는 포털에서 이 값을 가져올 수 있습니다.

searchServiceName
String

만들거나 업데이트할 Azure Search Service 이름입니다. Search Service 이름은 소문자, 숫자 또는 대시만 포함해야 하며, 처음 두 문자나 마지막 한 문자로 대시를 사용할 수 없으며, 연속 대시를 포함할 수 없으며, 길이가 2~60자여야 합니다. Search Service 이름은 서비스 URI(https:// name.search.windows.net<>)의 일부이므로 전역적으로 고유해야 합니다. 서비스를 만든 후에는 서비스 이름을 변경할 수 없습니다.

service
SearchServiceInner

만들거나 업데이트할 Search Service 정의입니다.

searchManagementRequestOptions
SearchManagementRequestOptionsInner

작업에 대한 추가 매개 변수

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

적용 대상