RoleManagementPolicies interface

Interface representing a RoleManagementPolicies.

Methods

delete(string, string, RoleManagementPoliciesDeleteOptionalParams)

Delete a role management policy

get(string, string, RoleManagementPoliciesGetOptionalParams)

Get the specified role management policy for a resource scope

listForScope(string, RoleManagementPoliciesListForScopeOptionalParams)

Gets role management policies for a resource scope.

update(string, string, RoleManagementPolicy, RoleManagementPoliciesUpdateOptionalParams)

Update a role management policy

Method Details

delete(string, string, RoleManagementPoliciesDeleteOptionalParams)

Delete a role management policy

function delete(scope: string, roleManagementPolicyName: string, options?: RoleManagementPoliciesDeleteOptionalParams): Promise<void>

Parameters

scope

string

The scope of the role management policy to upsert.

roleManagementPolicyName

string

The name (guid) of the role management policy to upsert.

options
RoleManagementPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, RoleManagementPoliciesGetOptionalParams)

Get the specified role management policy for a resource scope

function get(scope: string, roleManagementPolicyName: string, options?: RoleManagementPoliciesGetOptionalParams): Promise<RoleManagementPolicy>

Parameters

scope

string

The scope of the role management policy.

roleManagementPolicyName

string

The name (guid) of the role management policy to get.

options
RoleManagementPoliciesGetOptionalParams

The options parameters.

Returns

listForScope(string, RoleManagementPoliciesListForScopeOptionalParams)

Gets role management policies for a resource scope.

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

Parameters

scope

string

The scope of the role management policy.

options
RoleManagementPoliciesListForScopeOptionalParams

The options parameters.

Returns

update(string, string, RoleManagementPolicy, RoleManagementPoliciesUpdateOptionalParams)

Update a role management policy

function update(scope: string, roleManagementPolicyName: string, parameters: RoleManagementPolicy, options?: RoleManagementPoliciesUpdateOptionalParams): Promise<RoleManagementPolicy>

Parameters

scope

string

The scope of the role management policy to upsert.

roleManagementPolicyName

string

The name (guid) of the role management policy to upsert.

parameters
RoleManagementPolicy

Parameters for the role management policy.

options
RoleManagementPoliciesUpdateOptionalParams

The options parameters.

Returns