Skip to main content

accounts_properties

Creates, updates, deletes, gets or lists an accounts_properties resource.

Overview

Nameaccounts_properties
TypeResource
Idazure.storage.accounts_properties

Fields

The following fields are returned by SELECT queries:

OK -- properties retrieved successfully for the storage account.

NameDatatypeDescription
extendedLocationobjectThe extendedLocation of the resource.
identityobjectThe identity of the resource.
kindstringGets the Kind.
locationstringThe geo-location where the resource lives
propertiesobjectProperties of the storage account.
skuobjectGets the SKU.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, accountName, subscriptionId$expandReturns 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.

NameDatatypeDescription
accountNamestringThe 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.
resourceGroupNamestringThe name of the resource group within the user's subscription. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$expandstringMay 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

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