ScopeAccessReviewInstanceOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:scope_access_review_instance> attribute.
- Inheritance
-
builtins.objectScopeAccessReviewInstanceOperations
Constructor
ScopeAccessReviewInstanceOperations(*args, **kwargs)
Methods
apply_decisions |
An action to apply all decisions for an access review instance. |
record_all_decisions |
An action to approve/deny all decisions for a review with certain filters. |
reset_decisions |
An action to reset all decisions for an access review instance. |
send_reminders |
An action to send reminders for an access review instance. |
stop |
An action to stop an access review instance. |
apply_decisions
An action to apply all decisions for an access review instance.
apply_decisions(scope: str, schedule_definition_id: str, id: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the resource. Required. |
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
id
Required
|
The id of the access review instance. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
record_all_decisions
An action to approve/deny all decisions for a review with certain filters.
record_all_decisions(scope: str, schedule_definition_id: str, id: str, properties: _models.RecordAllDecisionsProperties, *, content_type: str = 'application/json', **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the resource. Required. |
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
id
Required
|
The id of the access review instance. Required. |
properties
Required
|
Record all decisions payload. Is either a RecordAllDecisionsProperties 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 |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
reset_decisions
An action to reset all decisions for an access review instance.
reset_decisions(scope: str, schedule_definition_id: str, id: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the resource. Required. |
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
id
Required
|
The id of the access review instance. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
send_reminders
An action to send reminders for an access review instance.
send_reminders(scope: str, schedule_definition_id: str, id: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the resource. Required. |
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
id
Required
|
The id of the access review instance. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
stop
An action to stop an access review instance.
stop(scope: str, schedule_definition_id: str, id: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the resource. Required. |
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
id
Required
|
The id of the access review instance. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2021_12_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2021_12_01_preview\\models\\__init__.py'>
Azure SDK for Python