AccessReviewInstanceMyDecisionsOperations Class

AccessReviewInstanceMyDecisionsOperations 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
AccessReviewInstanceMyDecisionsOperations

Constructor

AccessReviewInstanceMyDecisionsOperations(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 my single access review instance decision.

list

Get my access review instance decisions.

patch

Record a decision.

get_by_id

Get my single access review instance decision.

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

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

id
str
Required

The id of the access review instance.

decision_id
str
Required

The id of the decision record.

cls
callable

A custom type or function that will be passed the direct response

Returns

AccessReviewDecision, or the result of cls(response)

Return type

Exceptions

list

Get my access review instance decisions.

list(schedule_definition_id: str, id: str, filter: Optional[str] = None, **kwargs: Any) -> Iterable[_models.AccessReviewDecisionListResult]

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

id
str
Required

The id of the access review instance.

filter
str
default value: None

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 AccessReviewDecisionListResult or the result of cls(response)

Return type

Exceptions

patch

Record a decision.

patch(schedule_definition_id: str, id: str, decision_id: str, properties: _models.AccessReviewDecisionProperties, **kwargs: Any) -> _models.AccessReviewDecision

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

id
str
Required

The id of the access review instance.

decision_id
str
Required

The id of the decision record.

properties
AccessReviewDecisionProperties
Required

Access review decision properties to patch.

cls
callable

A custom type or function that will be passed the direct response

Returns

AccessReviewDecision, 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'>