Skip to main content

role_assignment_schedule_instances

Creates, updates, deletes, gets or lists a role_assignment_schedule_instances resource.

Overview

Namerole_assignment_schedule_instances
TypeResource
Idazure.authorization.role_assignment_schedule_instances

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the role assignment schedule instance.

NameDatatypeDescription
idstringThe role assignment schedule instance ID.
namestringThe role assignment schedule instance name.
propertiesobjectRole assignment schedule instance properties.
typestringThe role assignment schedule instance type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectscope, roleAssignmentScheduleInstanceNameGets the specified role assignment schedule instance.
list_for_scopeselectscope$filterGets 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.

NameDatatypeDescription
roleAssignmentScheduleInstanceNamestringThe name (hash of schedule name + time) of the role assignment schedule to get.
scopestringThe scope of the role assignment schedule.
$filterstringThe 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

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
;