role_assignment_schedule_instances
Creates, updates, deletes, gets or lists a role_assignment_schedule_instances resource.
Overview
| Name | role_assignment_schedule_instances |
| Type | Resource |
| Id | azure.authorization.role_assignment_schedule_instances |
Fields
The following fields are returned by SELECT queries:
- get
- list_for_scope
OK - Returns information about the role assignment schedule instance.
| Name | Datatype | Description |
|---|---|---|
id | string | The role assignment schedule instance ID. |
name | string | The role assignment schedule instance name. |
properties | object | Role assignment schedule instance properties. |
type | string | The role assignment schedule instance type. |
OK - Returns array of role assignment schedule instances.
| Name | Datatype | Description |
|---|---|---|
id | string | The role assignment schedule instance ID. |
name | string | The role assignment schedule instance name. |
properties | object | Role assignment schedule instance properties. |
type | string | The role assignment schedule instance type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | scope, roleAssignmentScheduleInstanceName | Gets the specified role assignment schedule instance. | |
list_for_scope | select | scope | $filter | Gets role assignment schedule instances of a role assignment schedule. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
roleAssignmentScheduleInstanceName | string | The name (hash of schedule name + time) of the role assignment schedule to get. |
scope | string | The scope of the role assignment schedule. |
$filter | string | 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 schedule instances for the user. Use $filter=asTarget() to return all role assignment schedule instances created for the current user. |
SELECT examples
- get
- list_for_scope
Gets the specified role assignment schedule instance.
SELECT
id,
name,
properties,
type
FROM azure.authorization.role_assignment_schedule_instances
WHERE scope = '{{ scope }}' -- required
AND roleAssignmentScheduleInstanceName = '{{ roleAssignmentScheduleInstanceName }}' -- required
;
Gets role assignment schedule instances of a role assignment schedule.
SELECT
id,
name,
properties,
type
FROM azure.authorization.role_assignment_schedule_instances
WHERE scope = '{{ scope }}' -- required
AND $filter = '{{ $filter }}'
;