AccessReviewScheduleDefinitionsOperations Class

AccessReviewScheduleDefinitionsOperations 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.

create_or_update_by_id(schedule_definition_id: str, properties: _models.AccessReviewScheduleDefinitionProperties, **kwargs: Any) -> _models.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.

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.

get_by_id(schedule_definition_id: str, **kwargs: Any) -> _models.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(**kwargs: Any) -> Iterable[_models.AccessReviewScheduleDefinitionListResult]

Parameters

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.

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.v2018_05_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\authorization\\v2018_05_01_preview\\models\\__init__.py'>