Partilhar via


CosmosDBLocationCollection.GetAllAsync(CancellationToken) Método

Definição

Listar locais do Cosmos DB e suas propriedades

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DocumentDB/locations
  • IdLocations_List de operação
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CosmosDBLocationResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de CosmosDBLocationResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a