scope_access_review_default_settings
Creates, updates, deletes, gets or lists a scope_access_review_default_settings
resource.
Overview
Name | scope_access_review_default_settings |
Type | Resource |
Id | azure.authorization.scope_access_review_default_settings |
Fields
- vw_scope_access_review_default_settings
- scope_access_review_default_settings
Name | Datatype | Description |
---|---|---|
id | text | The access review default settings id. This is only going to be default |
name | text | The access review default settings name. This is always going to be Access Review Default Settings |
auto_apply_decisions_enabled | text | field from the properties object |
default_decision | text | field from the properties object |
default_decision_enabled | text | field from the properties object |
instance_duration_in_days | text | field from the properties object |
justification_required_on_approval | text | field from the properties object |
mail_notifications_enabled | text | field from the properties object |
recommendation_look_back_duration | text | field from the properties object |
recommendations_enabled | text | field from the properties object |
recurrence | text | field from the properties object |
reminder_notifications_enabled | text | field from the properties object |
scope | text | field from the properties object |
type | text | The resource type. |
Name | Datatype | Description |
---|---|---|
id | string | The access review default settings id. This is only going to be default |
name | string | The access review default settings name. This is always going to be Access Review Default Settings |
properties | object | Settings of an Access Review. |
type | string | The resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | scope | Get access review default settings for the subscription |
put | REPLACE | scope | Get access review default settings for the subscription |
SELECT
examples
Get access review default settings for the subscription
- vw_scope_access_review_default_settings
- scope_access_review_default_settings
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 }}';
SELECT
id,
name,
properties,
type
FROM azure.authorization.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 }}';