CosmosDBAccountsImpl.ICosmosDBAccounts.RegenerateKeyAsync Method

Definition

Regenerates an access key for the specified Azure CosmosDB database account.

System.Threading.Tasks.Task ICosmosDBAccounts.RegenerateKeyAsync (string groupName, string accountName, string keyKind, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccounts.RegenerateKeyAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccounts.RegenerateKeyAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function RegenerateKeyAsync (groupName As String, accountName As String, keyKind As String, cancellationToken As CancellationToken) As Task Implements ICosmosDBAccounts.RegenerateKeyAsync

Parameters

groupName
String

The group name.

accountName
String

The account name.

keyKind
String

The key kind.

cancellationToken
CancellationToken

Returns

Implements

Applies to