RoleManagementPoliciesOperations Class   
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:role_management_policies> attribute.
Constructor
RoleManagementPoliciesOperations(*args, **kwargs)Methods
| delete | Delete a role management policy. | 
| get | Get the specified role management policy for a resource scope. | 
| list_for_scope | Gets role management policies for a resource scope. | 
| update | Update a role management policy. | 
delete
Delete a role management policy.
async delete(scope: str, role_management_policy_name: str, **kwargs: Any) -> NoneParameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | The scope of the role management policy to upsert. Required. | 
| role_management_policy_name 
				Required
			 | The name (guid) of the role management policy to upsert. Required. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| None or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
get
Get the specified role management policy for a resource scope.
async get(scope: str, role_management_policy_name: str, **kwargs: Any) -> RoleManagementPolicyParameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | The scope of the role management policy. Required. | 
| role_management_policy_name 
				Required
			 | The name (guid) of the role management policy to get. Required. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| RoleManagementPolicy or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
list_for_scope
Gets role management policies for a resource scope.
list_for_scope(scope: str, **kwargs: Any) -> AsyncIterable[RoleManagementPolicy]Parameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | The scope of the role management policy. Required. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| An iterator like instance of either RoleManagementPolicy or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
update
Update a role management policy.
async update(scope: str, role_management_policy_name: str, parameters: _models.RoleManagementPolicy, *, content_type: str = 'application/json', **kwargs: Any) -> _models.RoleManagementPolicyParameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | The scope of the role management policy to upsert. Required. | 
| role_management_policy_name 
				Required
			 | The name (guid) of the role management policy to upsert. Required. | 
| parameters 
				Required
			 | Parameters for the role management policy. Is either a RoleManagementPolicy type or a IO type. Required. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| content_type | Body Parameter content-type. Known values are: 'application/json'. Default value is None. | 
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| RoleManagementPolicy or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2020_10_01_preview.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv71\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2020_10_01_preview\\models\\__init__.py'>