Delen via


DatabaseAccountsOperationsExtensions.GetReadOnlyKeys Method

Definition

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

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

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