Skip to main content

volumes

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

Overview

Namevolumes
TypeResource
Idazure_stack.fabric_admin.volumes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectProperties of a volume.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, location, scaleUnit, storageSubSystem, volumeReturn the requested a storage volume.
listselectsubscriptionId, resourceGroupName, location, scaleUnit, storageSubSystem$filter, $top, $skipReturns a list of all storage volumes at a location.

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
locationstringThe name of Azure region.
resourceGroupNamestringName of the resource group.
scaleUnitstringName of the scale units.
storageSubSystemstringName of the storage system.
subscriptionIdstringThe ID of the target subscription.
volumestringName of the storage volume.
$filterstringOData filter parameter.
$skipstringOData skip parameter.
$topstringOData top parameter.

SELECT examples

Return the requested a storage volume.

SELECT
id,
name,
properties,
type
FROM azure_stack.fabric_admin.volumes
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND scaleUnit = '{{ scaleUnit }}' -- required
AND storageSubSystem = '{{ storageSubSystem }}' -- required
AND volume = '{{ volume }}' -- required
;