Compartilhar via


CosmosDBSqlRoleDefinitionResource.Get(CancellationToken) Método

Definição

Recupera as propriedades de uma definição de função SQL do Azure Cosmos DB existente com a ID fornecida.

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a