access_review_default_settings
Creates, updates, deletes, gets or lists a access_review_default_settings
resource.
Overview
Name | access_review_default_settings |
Type | Resource |
Id | azure.authorization.access_review_default_settings |
Fields
- vw_access_review_default_settings
- 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 |
subscriptionId | 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 | subscriptionId | Get access review default settings for the subscription |
put | REPLACE | subscriptionId | Get access review default settings for the subscription |
SELECT
examples
Get access review default settings for the subscription
- vw_access_review_default_settings
- 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,
subscriptionId,
type
FROM azure.authorization.vw_access_review_default_settings
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.authorization.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 }}';