Skip to main content

storage_settings

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

Overview

Namestorage_settings
TypeResource
Idazure_stack.storage_admin.storage_settings

Fields

The following fields are returned by SELECT queries:

OK -- The settings has been returned.

NameDatatypeDescription
idstringResource ID.
namestringResource Name.
locationstringResource Location.
propertiesobjectProperties of the storage account.
typestringResource Type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, locationReturns the storage resource provider settings.
updatereplacesubscriptionId, locationUpdate 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.

NameDatatypeDescription
locationstringResource location.
subscriptionIdstringSubscription Id.

SELECT examples

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 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;