다음을 통해 공유


QueryKeysOperationsExtensions.CreateAsync 메서드

정의

지정된 Search Service 대한 새 쿼리 키를 생성합니다. 서비스당 최대 50개의 쿼리 키를 만들 수 있습니다. https://aka.ms/search-manage

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.Models.QueryKeyInner> CreateAsync (this Microsoft.Azure.Management.Search.Fluent.IQueryKeysOperations operations, string resourceGroupName, string searchServiceName, string name, Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Search.Fluent.IQueryKeysOperations * string * string * string * Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.Models.QueryKeyInner>
<Extension()>
Public Function CreateAsync (operations As IQueryKeysOperations, resourceGroupName As String, searchServiceName As String, name As String, Optional searchManagementRequestOptions As SearchManagementRequestOptionsInner = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of QueryKeyInner)

매개 변수

operations
IQueryKeysOperations

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

resourceGroupName
String

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

searchServiceName
String

지정된 리소스 그룹과 연결된 Azure Search Service 이름입니다.

name
String

새 쿼리 API 키의 이름입니다.

searchManagementRequestOptions
SearchManagementRequestOptionsInner

작업에 대한 추가 매개 변수

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상