Skip to main content

access_review_default_settings

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

Overview

Nameaccess_review_default_settings
TypeResource
Idazure.authorization.access_review_default_settings

Fields

NameDatatypeDescription
idtextThe access review default settings id. This is only going to be default
nametextThe access review default settings name. This is always going to be Access Review Default Settings
auto_apply_decisions_enabledtextfield from the properties object
default_decisiontextfield from the properties object
default_decision_enabledtextfield from the properties object
instance_duration_in_daystextfield from the properties object
justification_required_on_approvaltextfield from the properties object
mail_notifications_enabledtextfield from the properties object
recommendation_look_back_durationtextfield from the properties object
recommendations_enabledtextfield from the properties object
recurrencetextfield from the properties object
reminder_notifications_enabledtextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTsubscriptionIdGet access review default settings for the subscription
putREPLACEsubscriptionIdGet access review default settings for the subscription

SELECT examples

Get access review default settings for the subscription

SELECT
id,
name,
auto_apply_decisions_enabled,
default_decision,
default_decision_enabled,
instance_duration_in_days,
justification_required_on_approval,
mail_notifications_enabled,
recommendation_look_back_duration,
recommendations_enabled,
recurrence,
reminder_notifications_enabled,
subscriptionId,
type
FROM azure.authorization.vw_access_review_default_settings
WHERE subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified access_review_default_settings resource.

/*+ update */
REPLACE azure.authorization.access_review_default_settings
SET
mailNotificationsEnabled = true|false,
reminderNotificationsEnabled = true|false,
defaultDecisionEnabled = true|false,
justificationRequiredOnApproval = true|false,
defaultDecision = '{{ defaultDecision }}',
autoApplyDecisionsEnabled = true|false,
recommendationsEnabled = true|false,
recommendationLookBackDuration = '{{ recommendationLookBackDuration }}',
instanceDurationInDays = '{{ instanceDurationInDays }}',
recurrence = '{{ recurrence }}'
WHERE
subscriptionId = '{{ subscriptionId }}';