Skip to main content

drives

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

Overview

Namedrives
TypeResource
Idazure_stack.fabric_admin.drives

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
descriptiontextfield from the properties object
actiontextfield from the properties object
capacity_gbtextfield from the properties object
drivetextfield from the properties object
firmware_versiontextfield from the properties object
health_statustextfield from the properties object
is_indication_enabledtextfield from the properties object
locationtextThe region where the resource is located.
manufacturertextfield from the properties object
media_typetextfield from the properties object
modeltextfield from the properties object
operational_statustextfield from the properties object
physical_locationtextfield from the properties object
resourceGroupNametextfield from the properties object
scaleUnittextfield from the properties object
serial_numbertextfield from the properties object
storageSubSystemtextfield from the properties object
storage_nodetextfield from the properties object
storage_pooltextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
typetextType of resource.
usagetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdrive, location, resourceGroupName, scaleUnit, storageSubSystem, subscriptionIdReturn the requested a storage drive.
listSELECTlocation, resourceGroupName, scaleUnit, storageSubSystem, subscriptionIdReturns a list of all storage drives at a location.

SELECT examples

Returns a list of all storage drives at a location.

SELECT
id,
name,
description,
action,
capacity_gb,
drive,
firmware_version,
health_status,
is_indication_enabled,
location,
manufacturer,
media_type,
model,
operational_status,
physical_location,
resourceGroupName,
scaleUnit,
serial_number,
storageSubSystem,
storage_node,
storage_pool,
subscriptionId,
tags,
type,
usage
FROM azure_stack.fabric_admin.vw_drives
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scaleUnit = '{{ scaleUnit }}'
AND storageSubSystem = '{{ storageSubSystem }}'
AND subscriptionId = '{{ subscriptionId }}';