Skip to main content

role_eligibility_schedule_instances

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

Overview

Namerole_eligibility_schedule_instances
TypeResource
Idazure.authorization.role_eligibility_schedule_instances

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the role eligibility schedule instance.

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectscope, roleEligibilityScheduleInstanceNameGets the specified role eligibility schedule instance.
list_for_scopeselectscope$filterGets role eligibility schedule instances of a role eligibility 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
roleEligibilityScheduleInstanceNamestringThe name (hash of schedule name + time) of the role eligibility schedule to get.
scopestringThe scope of the role eligibility 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 eligibility schedules for the user. Use $filter=asTarget() to return all role eligibility schedules created for the current user.

SELECT examples

Gets the specified role eligibility schedule instance.

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