Partilhar via


MongoClusterResource.GetConnectionStringsAsync(CancellationToken) Método

Definição

Listar cadeias de conexão do cluster mongo. Isso inclui a cadeia de conexão padrão usando SCRAM-SHA-256, bem como outras cadeias de conexão compatíveis com o cluster.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings
  • IdMongoClusters_ListConnectionStrings de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.ListConnectionStringsResult>> GetConnectionStringsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnectionStringsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.ListConnectionStringsResult>>
override this.GetConnectionStringsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.Models.ListConnectionStringsResult>>
Public Overridable Function GetConnectionStringsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ListConnectionStringsResult))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a