共用方式為


RoleAssignmentImpl.IWithScope.WithScope(String) Method

Definition

Specifies the scope of the role assignment. The scope is usually the ID of a subscription, a resource group, a resource, etc.

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

Parameters

scope
String

The scope of the assignment.

Returns

Implements

Applies to