AuthorizationExtensions.GetRoleManagementPolicies Method

Definition

Overloads

Name Description
GetRoleManagementPolicies(ArmResource)

Gets a collection of RoleManagementPolicyCollection objects within the specified scope.

GetRoleManagementPolicies(ArmClient, ResourceIdentifier)

Gets a collection of RoleManagementPolicyCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetRoleManagementPolicies(ResourceIdentifier) instead. </item>

GetRoleManagementPolicies(ArmResource)

Source:
AuthorizationExtensions.cs
Source:
AuthorizationExtensions.cs

Gets a collection of RoleManagementPolicyCollection objects within the specified scope.

public static Azure.ResourceManager.Authorization.RoleManagementPolicyCollection GetRoleManagementPolicies(this Azure.ResourceManager.ArmResource armResource);
static member GetRoleManagementPolicies : Azure.ResourceManager.ArmResource -> Azure.ResourceManager.Authorization.RoleManagementPolicyCollection
<Extension()>
Public Function GetRoleManagementPolicies (armResource As ArmResource) As RoleManagementPolicyCollection

Parameters

armResource
ArmResource

The ArmResource instance the method will execute against.

Returns

Returns a collection of RoleManagementPolicyResource objects.

Exceptions

armResource is null.

Applies to

GetRoleManagementPolicies(ArmClient, ResourceIdentifier)

Source:
AuthorizationExtensions.cs
Source:
AuthorizationExtensions.cs

Gets a collection of RoleManagementPolicyCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetRoleManagementPolicies(ResourceIdentifier) instead. </item>

public static Azure.ResourceManager.Authorization.RoleManagementPolicyCollection GetRoleManagementPolicies(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetRoleManagementPolicies : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Authorization.RoleManagementPolicyCollection
<Extension()>
Public Function GetRoleManagementPolicies (client As ArmClient, scope As ResourceIdentifier) As RoleManagementPolicyCollection

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope of the resource collection to get.

Returns

Returns a collection of RoleManagementPolicyResource objects.

Exceptions

client is null.

Applies to