Dela via


DatabaseAccountsOperationsExtensions.ListKeys Method

Definition

Lists the access keys for the specified Azure Cosmos DB database account.

public static Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountListKeysResult ListKeys (this Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations operations, string resourceGroupName, string accountName);
static member ListKeys : Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations * string * string -> Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountListKeysResult
<Extension()>
Public Function ListKeys (operations As IDatabaseAccountsOperations, resourceGroupName As String, accountName As String) As DatabaseAccountListKeysResult

Parameters

operations
IDatabaseAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

Cosmos DB database account name.

Returns

Applies to