Condividi tramite


MockableAuthorizationArmClient.GetRoleAssignments(ResourceIdentifier) Method

Definition

Gets a collection of RoleAssignmentResources in the ArmClient.

public virtual Azure.ResourceManager.Authorization.RoleAssignmentCollection GetRoleAssignments (Azure.Core.ResourceIdentifier scope);
abstract member GetRoleAssignments : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Authorization.RoleAssignmentCollection
override this.GetRoleAssignments : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Authorization.RoleAssignmentCollection
Public Overridable Function GetRoleAssignments (scope As ResourceIdentifier) As RoleAssignmentCollection

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

An object representing collection of RoleAssignmentResources and their operations over a RoleAssignmentResource.

Applies to