volumes
Creates, updates, deletes, gets or lists a volumes
resource.
Overview
Name | volumes |
Type | Resource |
Id | azure_stack.fabric_admin.volumes |
Fields
- vw_volumes
- volumes
Name | Datatype | Description |
---|---|---|
id | text | URI of the resource. |
name | text | Name of the resource. |
description | text | field from the properties object |
action | text | field from the properties object |
health_status | text | field from the properties object |
location | text | The region where the resource is located. |
operational_status | text | field from the properties object |
remaining_capacity_gb | text | field from the properties object |
repair_status | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scaleUnit | text | field from the properties object |
storageSubSystem | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | List of key-value pairs. |
total_capacity_gb | text | field from the properties object |
type | text | Type of resource. |
volume | text | field from the properties object |
volume_label | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | The region where the resource is located. |
properties | object | Properties of a volume. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | location, resourceGroupName, scaleUnit, storageSubSystem, subscriptionId, volume | Return the requested a storage volume. |
list | SELECT | location, resourceGroupName, scaleUnit, storageSubSystem, subscriptionId | Returns a list of all storage volumes at a location. |
SELECT
examples
Returns a list of all storage volumes at a location.
- vw_volumes
- volumes
SELECT
id,
name,
description,
action,
health_status,
location,
operational_status,
remaining_capacity_gb,
repair_status,
resourceGroupName,
scaleUnit,
storageSubSystem,
subscriptionId,
tags,
total_capacity_gb,
type,
volume,
volume_label
FROM azure_stack.fabric_admin.vw_volumes
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scaleUnit = '{{ scaleUnit }}'
AND storageSubSystem = '{{ storageSubSystem }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.fabric_admin.volumes
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scaleUnit = '{{ scaleUnit }}'
AND storageSubSystem = '{{ storageSubSystem }}'
AND subscriptionId = '{{ subscriptionId }}';