AccessReviewInstanceMyDecisionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:access_review_instance_my_decisions> attribute.
Constructor
AccessReviewInstanceMyDecisionsOperations(*args, **kwargs)
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) -> AccessReviewDecision
Parameters
| Name | Description |
|---|---|
|
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
|
id
Required
|
The id of the access review instance. Required. |
|
decision_id
Required
|
The id of the decision record. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
cls
|
A custom type or function that will be passed the direct response |
Returns
| Type | Description |
|---|---|
|
AccessReviewDecision or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list
Get my access review instance decisions.
list(schedule_definition_id: str, id: str, filter: str | None = None, **kwargs: Any) -> Iterable[AccessReviewDecision]
Parameters
| Name | Description |
|---|---|
|
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
|
id
Required
|
The id of the access review instance. Required. |
|
filter
|
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. Default value is None. Default value: None
|
Keyword-Only Parameters
| Name | Description |
|---|---|
|
cls
|
A custom type or function that will be passed the direct response |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either AccessReviewDecision or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
patch
Record a decision.
patch(schedule_definition_id: str, id: str, decision_id: str, properties: _models.AccessReviewDecisionProperties, *, content_type: str = 'application/json', **kwargs: Any) -> _models.AccessReviewDecision
Parameters
| Name | Description |
|---|---|
|
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
|
id
Required
|
The id of the access review instance. Required. |
|
decision_id
Required
|
The id of the decision record. Required. |
|
properties
Required
|
Access review decision properties to patch. Is either a AccessReviewDecisionProperties 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 |
|---|---|
|
AccessReviewDecision or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2021_07_01_preview.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv71\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2021_07_01_preview\\models\\__init__.py'>