AdminKeysOperationsExtensions.RegenerateAsync メソッド

定義

プライマリまたはセカンダリの管理者 API キーを再生成します。 一度に再生成できるのは 1 つのキーのみです。 https://aka.ms/search-manage

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Models.AdminKeyResult> RegenerateAsync (this Microsoft.Azure.Management.Search.IAdminKeysOperations operations, string resourceGroupName, string searchServiceName, Microsoft.Azure.Management.Search.Models.AdminKeyKind keyKind, Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateAsync : Microsoft.Azure.Management.Search.IAdminKeysOperations * string * string * Microsoft.Azure.Management.Search.Models.AdminKeyKind * Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Models.AdminKeyResult>
<Extension()>
Public Function RegenerateAsync (operations As IAdminKeysOperations, resourceGroupName As String, searchServiceName As String, keyKind As AdminKeyKind, 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 サービスの名前。

keyKind
AdminKeyKind

再生成するキーを指定します。 有効な値には、'primary' と 'secondary' が含まれます。 使用可能な値は、'primary'、'secondary' です。

searchManagementRequestOptions
SearchManagementRequestOptions

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象