Dela via


RoleDefinitionsClient.GetRoleDefinitionById(String, CancellationToken) Method

Definition

Get role definition by role definition Id.

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

Parameters

roleDefinitionId
String

Synapse Built-In Role Definition Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to