Partilhar via


CosmosDBSqlDatabaseResource.Get(CancellationToken) Método

Definição

Obtém o banco de dados SQL em uma conta de banco de dados existente do Azure Cosmos DB com o nome fornecido.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}
  • IdSqlResources_GetSqlDatabase de operação
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlDatabaseResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlDatabaseResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlDatabaseResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBSqlDatabaseResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a