AccessReviewScheduleDefinitionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:access_review_schedule_definitions> attribute.
- Inheritance
-
builtins.objectAccessReviewScheduleDefinitionsOperations
Constructor
AccessReviewScheduleDefinitionsOperations(*args, **kwargs)
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, *, content_type: str = 'application/json', **kwargs: Any) -> _models.AccessReviewScheduleDefinition
Parameters
Name | Description |
---|---|
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
properties
Required
|
Access review schedule definition properties. Is either a AccessReviewScheduleDefinitionProperties type or a IO type. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
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 |
---|---|
AccessReviewScheduleDefinition or the result of cls(response) |
Exceptions
Type | Description |
---|---|
delete_by_id
Delete access review schedule definition.
delete_by_id(schedule_definition_id: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
schedule_definition_id
Required
|
The id of the access review schedule 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 |
---|---|
get_by_id
Get single access review definition.
get_by_id(schedule_definition_id: str, **kwargs: Any) -> AccessReviewScheduleDefinition
Parameters
Name | Description |
---|---|
schedule_definition_id
Required
|
The id of the access review schedule definition. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
AccessReviewScheduleDefinition or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Get access review schedule definitions.
list(**kwargs: Any) -> Iterable[AccessReviewScheduleDefinition]
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 AccessReviewScheduleDefinition or the result of cls(response) |
Exceptions
Type | Description |
---|---|
stop
Stop access review definition.
stop(schedule_definition_id: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
schedule_definition_id
Required
|
The id of the access review schedule 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.v2018_05_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2018_05_01_preview\\models\\__init__.py'>
Azure SDK for Python