RoleEligibilityScheduleInstancesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:role_eligibility_schedule_instances> attribute.
Constructor
RoleEligibilityScheduleInstancesOperations(*args, **kwargs)
Methods
| get |
Gets the specified role eligibility schedule instance. |
| list_for_scope |
Gets role eligibility schedule instances of a role eligibility schedule. |
get
Gets the specified role eligibility schedule instance.
async get(scope: str, role_eligibility_schedule_instance_name: str, **kwargs: Any) -> RoleEligibilityScheduleInstance
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the role eligibility schedules. Required. |
|
role_eligibility_schedule_instance_name
Required
|
The name (hash of schedule name + time) of the role eligibility 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 |
|---|---|
|
RoleEligibilityScheduleInstance or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_for_scope
Gets role eligibility schedule instances of a role eligibility schedule.
list_for_scope(scope: str, filter: str | None = None, **kwargs: Any) -> AsyncIterable[RoleEligibilityScheduleInstance]
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the role eligibility schedule. Required. |
|
filter
|
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 eligibility schedules for the user. Use $filter=asTarget() to return all role eligibility schedules created for the current user. Default value is None. Default value: 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 RoleEligibilityScheduleInstance or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2020_10_01_preview.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv71\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2020_10_01_preview\\models\\__init__.py'>