Skip to main content

role_assignment_schedules

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

Overview

Namerole_assignment_schedules
TypeResource
Idazure.authorization.role_assignment_schedules

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the role assignment schedule.

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectscope, roleAssignmentScheduleNameGet the specified role assignment schedule for a resource scope
list_for_scopeselectscope$filterGets role assignment schedules for a resource scope.

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
roleAssignmentScheduleNamestringThe name (guid) of the role assignment schedule to get.
scopestringThe scope of the role assignments schedules.
$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 schedules for the current user. Use $filter=asTarget() to return all role assignment schedules created for the current user.

SELECT examples

Get the specified role assignment schedule for a resource scope

SELECT
id,
name,
properties,
type
FROM azure.authorization.role_assignment_schedules
WHERE scope = '{{ scope }}' -- required
AND roleAssignmentScheduleName = '{{ roleAssignmentScheduleName }}' -- required
;