次の方法で共有


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

キャンセル トークン。

戻り値

適用対象