Partilhar via


CosmosDBSqlRoleAssignmentResource.Get(CancellationToken) Método

Definição

Recupera as propriedades de uma Atribuiçã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}/sqlRoleAssignments/{roleAssignmentId}
  • IdSqlResources_GetSqlRoleAssignment de operação
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlRoleAssignmentResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlRoleAssignmentResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlRoleAssignmentResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBSqlRoleAssignmentResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a