Skip to main content

drives

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

Overview

Namedrives
TypeResource
Idazure_stack.fabric_admin.drives

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 drive.
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, driveReturn the requested a storage drive.
listselectsubscriptionId, resourceGroupName, location, scaleUnit, storageSubSystem$filter, $top, $skipReturns a list of all storage drives 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
drivestringName of the storage drive.
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.
$filterstringOData filter parameter.
$skipstringOData skip parameter.
$topstringOData top parameter.

SELECT examples

Return the requested a storage drive.

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