Compartilhar via


AccessReviewHistoryDefinitionOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AuthorizationManagementClient's

<xref:access_review_history_definition> attribute.

Inheritance
builtins.object
AccessReviewHistoryDefinitionOperations

Constructor

AccessReviewHistoryDefinitionOperations(*args, **kwargs)

Methods

create

Create a scheduled or one-time Access Review History Definition.

delete_by_id

Delete an access review history definition.

create

Create a scheduled or one-time Access Review History Definition.

create(history_definition_id: str, properties: _models.AccessReviewHistoryDefinitionProperties, *, content_type: str = 'application/json', **kwargs: Any) -> _models.AccessReviewHistoryDefinition

Parameters

Name Description
history_definition_id
Required
str

The id of the access review history definition. Required.

properties
Required

Access review history definition properties. Is either a AccessReviewHistoryDefinitionProperties type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

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

AccessReviewHistoryDefinition or the result of cls(response)

Exceptions

Type Description

delete_by_id

Delete an access review history definition.

delete_by_id(history_definition_id: str, **kwargs: Any) -> None

Parameters

Name Description
history_definition_id
Required
str

The id of the access review history definition. 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'>