RoleManagementPolicies interface
Interface representing a RoleManagementPolicies.
Methods
delete(string, string, Role |
Delete a role management policy |
get(string, string, Role |
Get the specified role management policy for a resource scope |
list |
Gets role management policies for a resource scope. |
update(string, string, Role |
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.
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.
The options parameters.
Returns
Promise<RoleManagementPolicy>
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.
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.
The options parameters.
Returns
Promise<RoleManagementPolicy>