Skip to main content

scope_access_review_default_settings

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

Overview

Namescope_access_review_default_settings
TypeResource
Idazure.authorization.scope_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
scopetextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTscopeGet access review default settings for the subscription
putREPLACEscopeGet 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,
scope,
type
FROM azure.authorization.vw_scope_access_review_default_settings
WHERE scope = '{{ scope }}';

REPLACE example

Replaces all fields in the specified scope_access_review_default_settings resource.

/*+ update */
REPLACE azure.authorization.scope_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
scope = '{{ scope }}';