共用方式為


IWithRole.WithBuiltInRole(BuiltInRole) Method

Definition

Specifies the name of a built in role for this assignment.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope WithBuiltInRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
abstract member WithBuiltInRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope
Public Function WithBuiltInRole (role As BuiltInRole) As IWithScope

Parameters

role
BuiltInRole

The name of the role.

Returns

Applies to