Skip to main content

volumes

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

Overview

Namevolumes
TypeResource
Idazure_stack.fabric_admin.volumes

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
descriptiontextfield from the properties object
actiontextfield from the properties object
health_statustextfield from the properties object
locationtextThe region where the resource is located.
operational_statustextfield from the properties object
remaining_capacity_gbtextfield from the properties object
repair_statustextfield from the properties object
resourceGroupNametextfield from the properties object
scaleUnittextfield from the properties object
storageSubSystemtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
total_capacity_gbtextfield from the properties object
typetextType of resource.
volumetextfield from the properties object
volume_labeltextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, resourceGroupName, scaleUnit, storageSubSystem, subscriptionId, volumeReturn the requested a storage volume.
listSELECTlocation, resourceGroupName, scaleUnit, storageSubSystem, subscriptionIdReturns a list of all storage volumes at a location.

SELECT examples

Returns a list of all storage volumes at a location.

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