Skip to main content

hardware_component_groups

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

Overview

Namehardware_component_groups
TypeResource
Idazure_extras.storsimple_8000_series.hardware_component_groups

Fields

The following fields are returned by SELECT queries:

Successfully fetched hardware component groups.

NameDatatypeDescription
idstringThe path ID that uniquely identifies the object.
namestringThe name of the object.
kindstringThe Kind of the object. Currently only Series8000 is supported
propertiesobjectThe properties of the hardware component group.
typestringThe hierarchical type of the object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_deviceselectdeviceName, subscriptionId, resourceGroupName, managerNameLists the hardware component groups at device-level.
change_controller_power_stateexecdeviceName, hardwareComponentGroupName, subscriptionId, resourceGroupName, managerName, propertiesChanges the power state of the controller.

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
deviceNamestringThe device name
hardwareComponentGroupNamestringThe hardware component group name.
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
subscriptionIdstringThe subscription id

SELECT examples

Lists the hardware component groups at device-level.

SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.hardware_component_groups
WHERE deviceName = '{{ deviceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
;

Lifecycle Methods

Changes the power state of the controller.

EXEC azure_extras.storsimple_8000_series.hardware_component_groups.change_controller_power_state 
@deviceName='{{ deviceName }}' --required,
@hardwareComponentGroupName='{{ hardwareComponentGroupName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@managerName='{{ managerName }}' --required
@@json=
'{
"kind": "{{ kind }}",
"properties": "{{ properties }}"
}'
;