AccessReviewInstancesAssignedForMyApprovalOperations Class
AccessReviewInstancesAssignedForMyApprovalOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectAccessReviewInstancesAssignedForMyApprovalOperations
Constructor
AccessReviewInstancesAssignedForMyApprovalOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| get_by_id |
Get single access review instance assigned for my approval. |
| list |
Get access review instances assigned for my approval. |
get_by_id
Get single access review instance assigned for my approval.
async get_by_id(schedule_definition_id: str, id: str, **kwargs: Any) -> azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewInstance
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AccessReviewInstance, or the result of cls(response)
Return type
Exceptions
list
Get access review instances assigned for my approval.
list(schedule_definition_id: str, filter: Optional[str] = None, **kwargs: Any) -> AsyncIterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewInstanceListResult]
Parameters
- filter
- str
The filter to apply on the operation. Other than standard filters, one custom filter option is supported : 'assignedToMeToReview()'. When one specified $filter=assignedToMeToReview(), only items that are assigned to the calling user to review are returned.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either AccessReviewInstanceListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\authorization\\v2021_03_01_preview\\models\\__init__.py'>
Feedback
Submit and view feedback for