azure.mgmt.authorization.v2021_03_01_preview.operations module

class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewDefaultSettingsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_default_settings attribute.

get(**kwargs: Any)azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewDefaultSettings[source]

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

AccessReviewDefaultSettings

Raises

HttpResponseError

put(properties: _models.AccessReviewScheduleSettings, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccessReviewDefaultSettings[source]
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
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

Returns

AccessReviewDefaultSettings or the result of cls(response)

Return type

AccessReviewDefaultSettings

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewInstanceDecisionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_instance_decisions attribute.

list(schedule_definition_id: str, id: str, filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewDecision][source]

Get access review instance decisions.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

  • filter (str) – 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.

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

ItemPaged[AccessReviewDecision]

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewInstanceMyDecisionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_instance_my_decisions attribute.

get_by_id(schedule_definition_id: str, id: str, decision_id: str, **kwargs: Any)azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewDecision[source]

Get my single access review instance 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.

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

AccessReviewDecision

Raises

HttpResponseError

list(schedule_definition_id: str, id: str, filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewDecision][source]

Get my access review instance decisions.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

  • filter (str) – 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.

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

ItemPaged[AccessReviewDecision]

Raises

HttpResponseError

patch(schedule_definition_id: str, id: str, decision_id: str, properties: _models.AccessReviewDecisionProperties, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccessReviewDecision[source]
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
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

Returns

AccessReviewDecision or the result of cls(response)

Return type

AccessReviewDecision

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewInstanceOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_instance attribute.

accept_recommendations(schedule_definition_id: str, id: str, **kwargs: Any)None[source]

An action to accept recommendations for decision in an access review instance.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

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

None

Raises

HttpResponseError

apply_decisions(schedule_definition_id: str, id: str, **kwargs: Any)None[source]

An action to apply all decisions for an access review instance.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

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

None

Raises

HttpResponseError

reset_decisions(schedule_definition_id: str, id: str, **kwargs: Any)None[source]

An action to reset all decisions for an access review instance.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

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

None

Raises

HttpResponseError

send_reminders(schedule_definition_id: str, id: str, **kwargs: Any)None[source]

An action to send reminders for an access review instance.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

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

None

Raises

HttpResponseError

stop(schedule_definition_id: str, id: str, **kwargs: Any)None[source]

An action to stop an access review instance.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

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

None

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewInstancesAssignedForMyApprovalOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_instances_assigned_for_my_approval attribute.

get_by_id(schedule_definition_id: str, id: str, **kwargs: Any)azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewInstance[source]

Get single access review instance assigned for my approval.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

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

AccessReviewInstance

Raises

HttpResponseError

list(schedule_definition_id: str, filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewInstance][source]

Get access review instances assigned for my approval.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • filter (str) – 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.

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

ItemPaged[AccessReviewInstance]

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewInstancesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_instances attribute.

get_by_id(schedule_definition_id: str, id: str, **kwargs: Any)azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewInstance[source]

Get access review instances.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • id (str) – The id of the access review instance. Required.

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

AccessReviewInstance

Raises

HttpResponseError

list(schedule_definition_id: str, filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewInstance][source]

Get access review instances.

Parameters
  • schedule_definition_id (str) – The id of the access review schedule definition. Required.

  • filter (str) – 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.

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

ItemPaged[AccessReviewInstance]

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_schedule_definitions_assigned_for_my_approval attribute.

list(filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewScheduleDefinition][source]

Get access review instances assigned for my approval.

Parameters

filter (str) – 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.

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

ItemPaged[AccessReviewScheduleDefinition]

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.AccessReviewScheduleDefinitionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s access_review_schedule_definitions attribute.

create_or_update_by_id(schedule_definition_id: str, properties: _models.AccessReviewScheduleDefinitionProperties, *, content_type: str = "'application/json'", **kwargs: Any)_models.AccessReviewScheduleDefinition[source]
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
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

Returns

AccessReviewScheduleDefinition or the result of cls(response)

Return type

AccessReviewScheduleDefinition

Raises

HttpResponseError

delete_by_id(schedule_definition_id: str, **kwargs: Any)None[source]

Delete access review schedule definition.

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

None or the result of cls(response)

Return type

None

Raises

HttpResponseError

get_by_id(schedule_definition_id: str, **kwargs: Any)azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewScheduleDefinition[source]

Get single access review definition.

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

AccessReviewScheduleDefinition or the result of cls(response)

Return type

AccessReviewScheduleDefinition

Raises

HttpResponseError

list(filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewScheduleDefinition][source]

Get access review schedule definitions.

Parameters

filter (str) – 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.

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

ItemPaged[AccessReviewScheduleDefinition]

Raises

HttpResponseError

stop(schedule_definition_id: str, **kwargs: Any)None[source]

Stop access review definition.

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

None or the result of cls(response)

Return type

None

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>
class azure.mgmt.authorization.v2021_03_01_preview.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s operations attribute.

list(**kwargs: Any)Iterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.Operation][source]

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

ItemPaged[Operation]

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2021_03_01_preview/models/__init__.py'>