Partilhar via


CosmosDBAccountResource.GetReadOnlyKeys(CancellationToken) Método

Definição

Lista as chaves de acesso somente leitura para a conta de banco de dados do Azure Cosmos DB especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeys
  • Operação IdDatabaseAccounts_ListReadOnlyKeys
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList> GetReadOnlyKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetReadOnlyKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList>
override this.GetReadOnlyKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList>
Public Overridable Function GetReadOnlyKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBAccountReadOnlyKeyList)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a