Compartilhar via


AccessReviewHistoryDefinitionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AuthorizationManagementClient's

<xref:access_review_history_definitions> attribute.

Inheritance
builtins.object
AccessReviewHistoryDefinitionsOperations

Constructor

AccessReviewHistoryDefinitionsOperations(*args, **kwargs)

Methods

get_by_id

Get access review history definition by definition Id.

list

Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation.

get_by_id

Get access review history definition by definition Id.

get_by_id(history_definition_id: str, **kwargs: Any) -> AccessReviewHistoryDefinition

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

AccessReviewHistoryDefinition or the result of cls(response)

Exceptions

Type Description

list

Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation.

list(filter: str | None = None, **kwargs: Any) -> Iterable[AccessReviewHistoryDefinition]

Parameters

Name Description
filter
Required
str

The filter to apply on the operation. Only standard filters on definition name and created date are supported. Default value is 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 AccessReviewHistoryDefinition 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'>