共用方式為


RoleAssignmentImpl.IWithRole.WithRoleDefinition(String) Method

Definition

Specifies the ID of the custom role for this assignment.

Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope IWithRole.WithRoleDefinition (string roleDefinitionId);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole.WithRoleDefinition : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole.WithRoleDefinition : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope
Function WithRoleDefinition (roleDefinitionId As String) As IWithScope Implements IWithRole.WithRoleDefinition

Parameters

roleDefinitionId
String

ID of the custom role definition.

Returns

Implements

Applies to