storage_settings
Creates, updates, deletes, gets or lists a storage_settings
resource.
Overview
Name | storage_settings |
Type | Resource |
Id | azure_stack.storage_admin.storage_settings |
Fields
- vw_storage_settings
- storage_settings
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource Name. |
location | text | Resource Location. |
retention_period_for_deleted_storage_accounts_in_days | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource Type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource Name. |
location | string | Resource Location. |
properties | object | Properties of storage setting. |
type | string | Resource Type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | location, subscriptionId | Returns the storage resource provider settings. |
update | REPLACE | location, subscriptionId | Update storage resource provider settings. |
SELECT
examples
Returns the storage resource provider settings.
- vw_storage_settings
- storage_settings
SELECT
id,
name,
location,
retention_period_for_deleted_storage_accounts_in_days,
subscriptionId,
type
FROM azure_stack.storage_admin.vw_storage_settings
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure_stack.storage_admin.storage_settings
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';
REPLACE
example
Replaces all fields in the specified storage_settings
resource.
/*+ update */
REPLACE azure_stack.storage_admin.storage_settings
SET
properties = '{{ properties }}'
WHERE
location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';