Share via


CosmosDBAccountsImpl.ICosmosDBAccounts.ListReadOnlyKeysAsync Method

Definition

Lists the read-only access keys for the specified Azure CosmosDB database account.

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

Parameters

groupName
String

The group name.

accountName
String

The account name.

cancellationToken
CancellationToken

Returns

Implements

Applies to