RoleAssignmentSchedulesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:role_assignment_schedules> attribute.
- Inheritance
-
builtins.objectRoleAssignmentSchedulesOperations
Constructor
RoleAssignmentSchedulesOperations(*args, **kwargs)
Methods
get |
Get the specified role assignment schedule for a resource scope. |
list_for_scope |
Gets role assignment schedules for a resource scope. |
get
Get the specified role assignment schedule for a resource scope.
get(scope: str, role_assignment_schedule_name: str, **kwargs: Any) -> RoleAssignmentSchedule
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the role assignment schedule. Required. |
role_assignment_schedule_name
Required
|
The name (guid) of the role assignment schedule to get. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
RoleAssignmentSchedule or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_for_scope
Gets role assignment schedules for a resource scope.
list_for_scope(scope: str, filter: str | None = None, **kwargs: Any) -> Iterable[RoleAssignmentSchedule]
Parameters
Name | Description |
---|---|
scope
Required
|
The scope of the role assignments schedules. Required. |
filter
Required
|
The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedules at or above the scope. Use $filter=principalId eq {id} to return all role assignment schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return all role assignment schedules for the current user. Use $filter=asTarget() to return all role assignment schedules created for the current user. 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 RoleAssignmentSchedule or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2020_10_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2020_10_01\\models\\__init__.py'>
Azure SDK for Python