Partilhar via


CosmosDBAccountResource.GetConnectionStrings(CancellationToken) Método

Definição

Lista as cadeias de conexão 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}/listConnectionStrings
  • Operação IdDatabaseAccounts_ListConnectionStrings
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString> GetConnectionStrings (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnectionStrings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString>
override this.GetConnectionStrings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString>
Public Overridable Function GetConnectionStrings (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBAccountConnectionString)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de CosmosDBAccountConnectionString que pode levar várias solicitações de serviço para iterar.

Aplica-se a