AccessReviewInstancesOperations Class
AccessReviewInstancesOperations 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.objectAccessReviewInstancesOperations
Constructor
AccessReviewInstancesOperations(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 access review instances. |
| list |
Get access review instances. |
get_by_id
Get access review instances.
get_by_id(schedule_definition_id: str, id: str, **kwargs: Any) -> _models.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.
list(schedule_definition_id: str, filter: Optional[str] = None, **kwargs: Any) -> Iterable[_models.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