Skip to main content

role_assignment_schedule_requests

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

Overview

Namerole_assignment_schedule_requests
TypeResource
Idazure.authorization.role_assignment_schedule_requests

Fields

NameDatatypeDescription
idtextThe role assignment schedule request ID.
nametextThe role assignment 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
linked_role_eligibility_schedule_idtextfield 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
roleAssignmentScheduleRequestNametextfield 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_assignment_schedule_idtextfield from the properties object
target_role_assignment_schedule_instance_idtextfield from the properties object
ticket_infotextfield from the properties object
typetextThe role assignment schedule request type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTroleAssignmentScheduleRequestName, scopeGet the specified role assignment schedule request.
list_for_scopeSELECTscopeGets role assignment schedule requests for a scope.
createINSERTroleAssignmentScheduleRequestName, scopeCreates a role assignment schedule request.
cancelEXECroleAssignmentScheduleRequestName, scopeCancels a pending role assignment schedule request.
validateEXECroleAssignmentScheduleRequestName, scopeValidates a new role assignment schedule request.

SELECT examples

Gets role assignment schedule requests for a scope.

SELECT
id,
name,
approval_id,
condition,
condition_version,
created_on,
expanded_properties,
justification,
linked_role_eligibility_schedule_id,
principal_id,
principal_type,
request_type,
requestor_id,
roleAssignmentScheduleRequestName,
role_definition_id,
schedule_info,
scope,
status,
target_role_assignment_schedule_id,
target_role_assignment_schedule_instance_id,
ticket_info,
type
FROM azure.authorization.vw_role_assignment_schedule_requests
WHERE scope = '{{ scope }}';

INSERT example

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

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