storage_accounts
Creates, updates, deletes, gets or lists a storage_accounts
resource.
Overview
Name | storage_accounts |
Type | Resource |
Id | azure_stack.storage_admin.storage_accounts |
Fields
- vw_storage_accounts
- storage_accounts
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource Name. |
access_tier | text | field from the properties object |
accountId | text | field from the properties object |
account_id | text | field from the properties object |
account_status | text | field from the properties object |
account_type | text | field from the properties object |
creation_time | text | field from the properties object |
deleted_time | text | field from the properties object |
encryption | text | field from the properties object |
fault_domain | text | field from the properties object |
health_state | text | field from the properties object |
kind | text | The kind of storage account |
location | text | Resource Location. |
primary_endpoints | text | field from the properties object |
primary_location | text | field from the properties object |
provisioning_state | text | field from the properties object |
status_of_primary | text | field from the properties object |
subscriptionId | text | field from the properties object |
supports_https_traffic_only | text | field from the properties object |
tags | text | Resource tags. |
tenant_resource_group_name | text | field from the properties object |
tenant_storage_account_name | text | field from the properties object |
tenant_subscription_id | text | field from the properties object |
tenant_view_id | text | field from the properties object |
type | text | Resource Type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource Name. |
kind | string | The kind of storage account |
location | string | Resource Location. |
properties | object | Properties of a storage account. |
tags | object | Resource tags. |
type | string | Resource Type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountId, location, subscriptionId | Returns the requested storage account. |
list | SELECT | location, subscriptionId | Returns a list of storage accounts. |
reclaim_storage_capacity | EXEC | location, subscriptionId | Start reclaim storage capacity on deleted storage objects. |
undelete | EXEC | accountId, location, subscriptionId | Undelete a deleted storage account with new account name if the a new name is provided. |
SELECT
examples
Returns a list of storage accounts.
- vw_storage_accounts
- storage_accounts
SELECT
id,
name,
access_tier,
accountId,
account_id,
account_status,
account_type,
creation_time,
deleted_time,
encryption,
fault_domain,
health_state,
kind,
location,
primary_endpoints,
primary_location,
provisioning_state,
status_of_primary,
subscriptionId,
supports_https_traffic_only,
tags,
tenant_resource_group_name,
tenant_storage_account_name,
tenant_subscription_id,
tenant_view_id,
type
FROM azure_stack.storage_admin.vw_storage_accounts
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
kind,
location,
properties,
tags,
type
FROM azure_stack.storage_admin.storage_accounts
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';