Skip to main content

access_review_instance_my_decisions

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

Overview

Nameaccess_review_instance_my_decisions
TypeResource
Idazure.authorization.access_review_instance_my_decisions

Fields

NameDatatypeDescription
idtextThe access review decision id.
nametextThe access review decision name.
applied_bytextfield from the properties object
applied_date_timetextfield from the properties object
apply_resulttextfield from the properties object
decisiontextfield from the properties object
decisionIdtextfield from the properties object
insightstextfield from the properties object
justificationtextfield from the properties object
principaltextfield from the properties object
principal_resource_membershiptextfield from the properties object
recommendationtextfield from the properties object
resourcetextfield from the properties object
reviewed_bytextfield from the properties object
reviewed_date_timetextfield from the properties object
scheduleDefinitionIdtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
get_by_idSELECTdecisionId, id, scheduleDefinitionIdGet my single access review instance decision.
listSELECTid, scheduleDefinitionIdGet my access review instance decisions.
patchUPDATEdecisionId, id, scheduleDefinitionIdRecord a decision.

SELECT examples

Get my access review instance decisions.

SELECT
id,
name,
applied_by,
applied_date_time,
apply_result,
decision,
decisionId,
insights,
justification,
principal,
principal_resource_membership,
recommendation,
resource,
reviewed_by,
reviewed_date_time,
scheduleDefinitionId,
type
FROM azure.authorization.vw_access_review_instance_my_decisions
WHERE id = '{{ id }}'
AND scheduleDefinitionId = '{{ scheduleDefinitionId }}';

UPDATE example

Updates a access_review_instance_my_decisions resource.

/*+ update */
UPDATE azure.authorization.access_review_instance_my_decisions
SET
decision = '{{ decision }}',
justification = '{{ justification }}',
insights = '{{ insights }}'
WHERE
decisionId = '{{ decisionId }}'
AND id = '{{ id }}'
AND scheduleDefinitionId = '{{ scheduleDefinitionId }}';