RoleAssignmentApprovalStepOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:role_assignment_approval_step> attribute.
- Inheritance
-
builtins.objectRoleAssignmentApprovalStepOperations
Constructor
RoleAssignmentApprovalStepOperations(*args, **kwargs)
Methods
get_by_id |
Get role assignment approval. |
patch |
Record a decision. |
put |
Record a decision. |
get_by_id
Get role assignment approval.
get_by_id(approval_id: str, stage_id: str, **kwargs: Any) -> RoleAssignmentApprovalStep
Parameters
Name | Description |
---|---|
approval_id
Required
|
The id of the role assignment approval. Required. |
stage_id
Required
|
The id of the role assignment approval stage. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
RoleAssignmentApprovalStep or the result of cls(response) |
Exceptions
Type | Description |
---|---|
patch
Record a decision.
patch(approval_id: str, stage_id: str, properties: _models.RoleAssignmentApprovalStepProperties, *, content_type: str = 'application/json', **kwargs: Any) -> _models.RoleAssignmentApprovalStep
Parameters
Name | Description |
---|---|
approval_id
Required
|
The id of the role assignment approval. Required. |
stage_id
Required
|
The id of the role assignment approval stage. Required. |
properties
Required
|
Role Assignment Approval stage properties to patch. Is either a RoleAssignmentApprovalStepProperties 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 |
---|---|
RoleAssignmentApprovalStep or the result of cls(response) |
Exceptions
Type | Description |
---|---|
put
Record a decision.
put(approval_id: str, stage_id: str, properties: _models.RoleAssignmentApprovalStepProperties, *, content_type: str = 'application/json', **kwargs: Any) -> _models.RoleAssignmentApprovalStep
Parameters
Name | Description |
---|---|
approval_id
Required
|
The id of the role assignment approval. Required. |
stage_id
Required
|
The id of the role assignment approval stage. Required. |
properties
Required
|
Role Assignment Approval stage properties to put. Is either a RoleAssignmentApprovalStepProperties 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 |
---|---|
RoleAssignmentApprovalStep or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2021_01_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2021_01_01_preview\\models\\__init__.py'>
Azure SDK for Python