Share via


AdminKeysOperationsExtensions.GetAsync メソッド

定義

指定したAzure Cognitive Search サービスのプライマリおよびセカンダリ管理 API キーを取得します。 https://aka.ms/search-manage

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

パラメーター

operations
IAdminKeysOperations

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

resourceGroupName
String

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

searchServiceName
String

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

searchManagementRequestOptions
SearchManagementRequestOptions

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象