Skip to main content

role_eligibility_schedule_requests

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

Overview

Namerole_eligibility_schedule_requests
TypeResource
Idazure.authorization.role_eligibility_schedule_requests

Fields

NameDatatypeDescription
idtextThe role eligibility schedule request ID.
nametextThe role eligibility schedule request name.
approval_idtextfield from the properties object
conditiontextfield from the properties object
condition_versiontextfield from the properties object
created_ontextfield from the properties object
expanded_propertiestextfield from the properties object
justificationtextfield from the properties object
principal_idtextfield from the properties object
principal_typetextfield from the properties object
request_typetextfield from the properties object
requestor_idtextfield from the properties object
roleEligibilityScheduleRequestNametextfield from the properties object
role_definition_idtextfield from the properties object
schedule_infotextfield from the properties object
scopetextfield from the properties object
statustextfield from the properties object
target_role_eligibility_schedule_idtextfield from the properties object
target_role_eligibility_schedule_instance_idtextfield from the properties object
ticket_infotextfield from the properties object
typetextThe role eligibility schedule request type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTroleEligibilityScheduleRequestName, scopeGet the specified role eligibility schedule request.
list_for_scopeSELECTscopeGets role eligibility schedule requests for a scope.
createINSERTroleEligibilityScheduleRequestName, scopeCreates a role eligibility schedule request.
cancelEXECroleEligibilityScheduleRequestName, scopeCancels a pending role eligibility schedule request.
validateEXECroleEligibilityScheduleRequestName, scopeValidates a new role eligibility schedule request.

SELECT examples

Gets role eligibility schedule requests for a scope.

SELECT
id,
name,
approval_id,
condition,
condition_version,
created_on,
expanded_properties,
justification,
principal_id,
principal_type,
request_type,
requestor_id,
roleEligibilityScheduleRequestName,
role_definition_id,
schedule_info,
scope,
status,
target_role_eligibility_schedule_id,
target_role_eligibility_schedule_instance_id,
ticket_info,
type
FROM azure.authorization.vw_role_eligibility_schedule_requests
WHERE scope = '{{ scope }}';

INSERT example

Use the following StackQL query and manifest file to create a new role_eligibility_schedule_requests resource.

/*+ create */
INSERT INTO azure.authorization.role_eligibility_schedule_requests (
roleEligibilityScheduleRequestName,
scope,
properties
)
SELECT
'{{ roleEligibilityScheduleRequestName }}',
'{{ scope }}',
'{{ properties }}'
;