AccessReviewInstancesAssignedForMyApprovalOperations Class

AccessReviewInstancesAssignedForMyApprovalOperations 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.object
AccessReviewInstancesAssignedForMyApprovalOperations

Constructor

AccessReviewInstancesAssignedForMyApprovalOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

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.

get_by_id(schedule_definition_id: str, id: str, **kwargs: Any) -> _models.AccessReviewInstance

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

id
str
Required

The id of the access review instance.

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, **kwargs: Any) -> Iterable[_models.AccessReviewInstanceListResult]

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

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.v2018_05_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\authorization\\v2018_05_01_preview\\models\\__init__.py'>