AccessReviewScheduleDefinitionsOperations Class

AccessReviewScheduleDefinitionsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
AccessReviewScheduleDefinitionsOperations

Constructor

AccessReviewScheduleDefinitionsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

create_or_update_by_id

Create or Update access review schedule definition.

delete_by_id

Delete access review schedule definition.

get_by_id

Get single access review definition.

list

Get access review schedule definitions.

stop

Stop access review definition.

create_or_update_by_id

Create or Update access review schedule definition.

async create_or_update_by_id(schedule_definition_id: str, properties: azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewScheduleDefinitionProperties, **kwargs: Any) -> azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewScheduleDefinition

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

properties
AccessReviewScheduleDefinitionProperties
Required

Access review schedule definition properties.

cls
callable

A custom type or function that will be passed the direct response

Returns

AccessReviewScheduleDefinition, or the result of cls(response)

Return type

Exceptions

delete_by_id

Delete access review schedule definition.

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

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

get_by_id

Get single access review definition.

async get_by_id(schedule_definition_id: str, **kwargs: Any) -> azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewScheduleDefinition

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

cls
callable

A custom type or function that will be passed the direct response

Returns

AccessReviewScheduleDefinition, or the result of cls(response)

Return type

Exceptions

list

Get access review schedule definitions.

list(filter: Optional[str] = None, **kwargs: Any) -> AsyncIterable[azure.mgmt.authorization.v2021_03_01_preview.models._models_py3.AccessReviewScheduleDefinitionListResult]

Parameters

filter
str
default value: None

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.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either AccessReviewScheduleDefinitionListResult or the result of cls(response)

Return type

Exceptions

stop

Stop access review definition.

async stop(schedule_definition_id: str, **kwargs: Any) -> None

Parameters

schedule_definition_id
str
Required

The id of the access review schedule definition.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.authorization.v2021_03_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\authorization\\v2021_03_01_preview\\models\\__init__.py'>