drives
Creates, updates, deletes, gets or lists a drives
resource.
Overview
Name | drives |
Type | Resource |
Id | azure_stack.fabric_admin.drives |
Fields
- vw_drives
- drives
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 |
capacity_gb | text | field from the properties object |
drive | text | field from the properties object |
firmware_version | text | field from the properties object |
health_status | text | field from the properties object |
is_indication_enabled | text | field from the properties object |
location | text | The region where the resource is located. |
manufacturer | text | field from the properties object |
media_type | text | field from the properties object |
model | text | field from the properties object |
operational_status | text | field from the properties object |
physical_location | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scaleUnit | text | field from the properties object |
serial_number | text | field from the properties object |
storageSubSystem | text | field from the properties object |
storage_node | text | field from the properties object |
storage_pool | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | List of key-value pairs. |
type | text | Type of resource. |
usage | 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 drive. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | drive, location, resourceGroupName, scaleUnit, storageSubSystem, subscriptionId | Return the requested a storage drive. |
list | SELECT | location, resourceGroupName, scaleUnit, storageSubSystem, subscriptionId | Returns a list of all storage drives at a location. |
SELECT
examples
Returns a list of all storage drives at a location.
- vw_drives
- drives
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 }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.fabric_admin.drives
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scaleUnit = '{{ scaleUnit }}'
AND storageSubSystem = '{{ storageSubSystem }}'
AND subscriptionId = '{{ subscriptionId }}';