Udostępnij za pośrednictwem


RoleDefinitionsClient.GetRoleDefinitionByIdAsync Method

Definition

Get role definition by role definition Id.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.SynapseRoleDefinition>> GetRoleDefinitionByIdAsync (string roleDefinitionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoleDefinitionByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.SynapseRoleDefinition>>
override this.GetRoleDefinitionByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.SynapseRoleDefinition>>
Public Overridable Function GetRoleDefinitionByIdAsync (roleDefinitionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseRoleDefinition))

Parameters

roleDefinitionId
String

Synapse Built-In Role Definition Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to