azure.mgmt.authorization.v2018_05_01_preview.operations module¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_default_settingsattribute.Get access review default settings for the subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AccessReviewDefaultSettings or the result of cls(response)
- Return type
- Raises
-
put(properties: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.AccessReviewDefaultSettings Get access review default settings for the subscription.
- Parameters
properties (AccessReviewScheduleSettings or IO) – Access review schedule settings. Is either a AccessReviewScheduleSettings type or a IO type. Required.
- Keyword Arguments
- Returns
AccessReviewDefaultSettings or the result of cls(response)
- Return type
- Raises
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_instance_decisionsattribute.Get access review instance decisions.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AccessReviewDecision or the result of cls(response)
- Return type
- Raises
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_instance_my_decisionsattribute.Get my single access review instance decision.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AccessReviewDecision or the result of cls(response)
- Return type
- Raises
Get my access review instance decisions.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AccessReviewDecision or the result of cls(response)
- Return type
- Raises
-
patch(schedule_definition_id: str, id: str, decision_id: str, properties: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.AccessReviewDecision Record a decision.
- Parameters
schedule_definition_id (str) – The id of the access review schedule definition. Required.
id (str) – The id of the access review instance. Required.
decision_id (str) – The id of the decision record. Required.
properties (AccessReviewDecisionProperties or IO) – Access review decision properties to patch. Is either a AccessReviewDecisionProperties type or a IO type. Required.
- Keyword Arguments
- Returns
AccessReviewDecision or the result of cls(response)
- Return type
- Raises
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_instanceattribute.An action to accept recommendations for decision in an access review instance.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
An action to apply all decisions for an access review instance.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
An action to reset all decisions for an access review instance.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
An action to send reminders for an access review instance.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
An action to stop an access review instance.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_instances_assigned_for_my_approvalattribute.Get single access review instance assigned for my approval.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AccessReviewInstance or the result of cls(response)
- Return type
- Raises
Get access review instances assigned for my approval.
- Parameters
schedule_definition_id (str) – The id of the access review schedule definition. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AccessReviewInstance or the result of cls(response)
- Return type
- Raises
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_instancesattribute.Get access review instances.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AccessReviewInstance or the result of cls(response)
- Return type
- Raises
Get access review instances.
- Parameters
schedule_definition_id (str) – The id of the access review schedule definition. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AccessReviewInstance or the result of cls(response)
- Return type
- Raises
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_schedule_definitions_assigned_for_my_approvalattribute.Get access review instances assigned for my approval.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AccessReviewScheduleDefinition or the result of cls(response)
- Return type
- Raises
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’saccess_review_schedule_definitionsattribute.-
create_or_update_by_id(schedule_definition_id: str, properties: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.AccessReviewScheduleDefinition Create or Update access review schedule definition.
- Parameters
schedule_definition_id (str) – The id of the access review schedule definition. Required.
properties (AccessReviewScheduleDefinitionProperties or IO) – Access review schedule definition properties. Is either a AccessReviewScheduleDefinitionProperties type or a IO type. Required.
- Keyword Arguments
- Returns
AccessReviewScheduleDefinition or the result of cls(response)
- Return type
- Raises
Delete access review schedule definition.
Get single access review definition.
Get access review schedule definitions.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AccessReviewScheduleDefinition or the result of cls(response)
- Return type
- Raises
Stop access review definition.
-
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient’soperationsattribute.Lists the operations available from this provider.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Operation or the result of cls(response)
- Return type
- Raises