Skip to main content

scope_access_review_instances

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

Overview

Namescope_access_review_instances
TypeResource
Idazure.authorization.scope_access_review_instances

Fields

NameDatatypeDescription
idtextThe access review instance id.
nametextThe access review instance name.
backup_reviewerstextfield from the properties object
end_date_timetextfield from the properties object
reviewerstextfield from the properties object
reviewers_typetextfield from the properties object
scheduleDefinitionIdtextfield from the properties object
scopetextfield from the properties object
start_date_timetextfield from the properties object
statustextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
get_by_idSELECTid, scheduleDefinitionId, scopeGet access review instances
listSELECTscheduleDefinitionId, scopeGet access review instances
createINSERTid, scheduleDefinitionId, scopeUpdate access review instance.
apply_decisionsEXECid, scheduleDefinitionId, scopeAn action to apply all decisions for an access review instance.
record_all_decisionsEXECid, scheduleDefinitionId, scopeAn action to approve/deny all decisions for a review with certain filters.
reset_decisionsEXECid, scheduleDefinitionId, scopeAn action to reset all decisions for an access review instance.
send_remindersEXECid, scheduleDefinitionId, scopeAn action to send reminders for an access review instance.
stopEXECid, scheduleDefinitionId, scopeAn action to stop an access review instance.

SELECT examples

Get access review instances

SELECT
id,
name,
backup_reviewers,
end_date_time,
reviewers,
reviewers_type,
scheduleDefinitionId,
scope,
start_date_time,
status,
type
FROM azure.authorization.vw_scope_access_review_instances
WHERE scheduleDefinitionId = '{{ scheduleDefinitionId }}'
AND scope = '{{ scope }}';

INSERT example

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

/*+ create */
INSERT INTO azure.authorization.scope_access_review_instances (
id,
scheduleDefinitionId,
scope,
startDateTime,
endDateTime,
reviewers,
backupReviewers
)
SELECT
'{{ id }}',
'{{ scheduleDefinitionId }}',
'{{ scope }}',
'{{ startDateTime }}',
'{{ endDateTime }}',
'{{ reviewers }}',
'{{ backupReviewers }}'
;