Skip to main content

access_review_instances

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

Overview

Nameaccess_review_instances
TypeResource
Idazure.authorization.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
start_date_timetextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
get_by_idSELECTid, scheduleDefinitionId, subscriptionIdGet access review instances
listSELECTscheduleDefinitionId, subscriptionIdGet access review instances
createINSERTid, scheduleDefinitionId, subscriptionIdUpdate access review instance.
accept_recommendationsEXECid, scheduleDefinitionIdAn action to accept recommendations for decision in an access review instance.
apply_decisionsEXECid, scheduleDefinitionId, subscriptionIdAn action to apply all decisions for an access review instance.
reset_decisionsEXECid, scheduleDefinitionId, subscriptionIdAn action to reset all decisions for an access review instance.
send_remindersEXECid, scheduleDefinitionId, subscriptionIdAn action to send reminders for an access review instance.
stopEXECid, scheduleDefinitionId, subscriptionIdAn 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,
start_date_time,
status,
subscriptionId,
type
FROM azure.authorization.vw_access_review_instances
WHERE scheduleDefinitionId = '{{ scheduleDefinitionId }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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