RoleManagementPolicyAssignments interface

Interface representing a RoleManagementPolicyAssignments.

Methods

create(string, string, RoleManagementPolicyAssignment, RoleManagementPolicyAssignmentsCreateOptionalParams)

Create a role management policy assignment

delete(string, string, RoleManagementPolicyAssignmentsDeleteOptionalParams)

Delete a role management policy assignment

get(string, string, RoleManagementPolicyAssignmentsGetOptionalParams)

Get the specified role management policy assignment for a resource scope

listForScope(string, RoleManagementPolicyAssignmentsListForScopeOptionalParams)

Gets role management assignment policies for a resource scope.

Method Details

create(string, string, RoleManagementPolicyAssignment, RoleManagementPolicyAssignmentsCreateOptionalParams)

Create a role management policy assignment

function create(scope: string, roleManagementPolicyAssignmentName: string, parameters: RoleManagementPolicyAssignment, options?: RoleManagementPolicyAssignmentsCreateOptionalParams): Promise<RoleManagementPolicyAssignment>

Parameters

scope

string

The scope of the role management policy assignment to upsert.

roleManagementPolicyAssignmentName

string

The name of format {guid_guid} the role management policy assignment to upsert.

parameters
RoleManagementPolicyAssignment

Parameters for the role management policy assignment.

options
RoleManagementPolicyAssignmentsCreateOptionalParams

The options parameters.

Returns

delete(string, string, RoleManagementPolicyAssignmentsDeleteOptionalParams)

Delete a role management policy assignment

function delete(scope: string, roleManagementPolicyAssignmentName: string, options?: RoleManagementPolicyAssignmentsDeleteOptionalParams): Promise<void>

Parameters

scope

string

The scope of the role management policy assignment to delete.

roleManagementPolicyAssignmentName

string

The name of format {guid_guid} the role management policy assignment to delete.

options
RoleManagementPolicyAssignmentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, RoleManagementPolicyAssignmentsGetOptionalParams)

Get the specified role management policy assignment for a resource scope

function get(scope: string, roleManagementPolicyAssignmentName: string, options?: RoleManagementPolicyAssignmentsGetOptionalParams): Promise<RoleManagementPolicyAssignment>

Parameters

scope

string

The scope of the role management policy.

roleManagementPolicyAssignmentName

string

The name of format {guid_guid} the role management policy assignment to get.

options
RoleManagementPolicyAssignmentsGetOptionalParams

The options parameters.

Returns

listForScope(string, RoleManagementPolicyAssignmentsListForScopeOptionalParams)

Gets role management assignment policies for a resource scope.

function listForScope(scope: string, options?: RoleManagementPolicyAssignmentsListForScopeOptionalParams): PagedAsyncIterableIterator<RoleManagementPolicyAssignment, RoleManagementPolicyAssignment[], PageSettings>

Parameters

scope

string

The scope of the role management policy.

Returns