Share via


ICosmosDBAccount.RegenerateKeyAsync(String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task RegenerateKeyAsync (string keyKind, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RegenerateKeyAsync (keyKind As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

keyKind
String

The key kind.

cancellationToken
CancellationToken

Returns

Applies to