accounts_properties
Creates, updates, deletes, gets or lists an accounts_properties
resource.
Overview
Name | accounts_properties |
Type | Resource |
Id | azure.storage.accounts_properties |
Fields
The following fields are returned by SELECT
queries:
- get
OK -- properties retrieved successfully for the storage account.
Name | Datatype | Description |
---|---|---|
extendedLocation | object | The extendedLocation of the resource. |
identity | object | The identity of the resource. |
kind | string | Gets the Kind. |
location | string | The geo-location where the resource lives |
properties | object | Properties of the storage account. |
sku | object | Gets the SKU. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , accountName , subscriptionId | $expand | Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. |
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 |
---|---|---|
accountName | string | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. |
resourceGroupName | string | The name of the resource group within the user's subscription. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
$expand | string | May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. |
SELECT
examples
- get
Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
SELECT
extendedLocation,
identity,
kind,
location,
properties,
sku,
tags
FROM azure.storage.accounts_properties
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $expand = '{{ $expand }}'
;