共用方式為


RoleAssignmentHelper.WithoutAccessTo Method

Definition

Overloads

WithoutAccessTo(IRoleAssignment)

Specifies that an access role assigned to the identity should be removed.

WithoutAccessTo(String, BuiltInRole)

Specifies that an access role assigned to the identity should be removed.

WithoutAccessTo(IRoleAssignment)

Specifies that an access role assigned to the identity should be removed.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper WithoutAccessTo (Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment roleAssignment);
member this.WithoutAccessTo : Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper
Public Function WithoutAccessTo (roleAssignment As IRoleAssignment) As RoleAssignmentHelper

Parameters

roleAssignment
IRoleAssignment

a role assigned to the identity

Returns

RoleAssignmentHelper

Applies to

WithoutAccessTo(String, BuiltInRole)

Specifies that an access role assigned to the identity should be removed.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper WithoutAccessTo (string resourceId, Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
member this.WithoutAccessTo : string * Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper
Public Function WithoutAccessTo (resourceId As String, role As BuiltInRole) As RoleAssignmentHelper

Parameters

resourceId
String

the scope of role assignment

role
BuiltInRole

the role of role assignment

Returns

RoleAssignmentHelper

Applies to