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
The following fields are returned by SELECT queries:
- get
OK -- The settings has been returned.
| Name | Datatype | Description |
|---|---|---|
id | string | Resource ID. |
name | string | Resource Name. |
location | string | Resource Location. |
properties | object | Properties of the storage account. |
type | string | Resource Type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, location | Returns the storage resource provider settings. | |
update | replace | subscriptionId, location | Update storage resource provider settings. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
location | string | Resource location. |
subscriptionId | string | Subscription Id. |
SELECT examples
- get
Returns the storage resource provider settings.
SELECT
id,
name,
location,
properties,
type
FROM azure_stack.storage_admin.storage_settings
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;
REPLACE examples
- update
Update storage resource provider settings.
REPLACE azure_stack.storage_admin.storage_settings
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
location,
properties,
type;