QueryKeysOperationsExtensions.CreateAsync メソッド

定義

指定した検索サービスの新しいクエリ キーを生成します。 サービスごとに最大で 50 個のクエリ キーを作成できます。 https://aka.ms/search-manage

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

パラメーター

operations
IQueryKeysOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

現在のサブスクリプション内のリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。

searchServiceName
String

指定したリソース グループに関連付けられているAzure Cognitive Search サービスの名前。

name
String

新しいクエリ API キーの名前。

searchManagementRequestOptions
SearchManagementRequestOptions

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象