scale_unit_nodes
Creates, updates, deletes, gets or lists a scale_unit_nodes
resource.
Overview
Name | scale_unit_nodes |
Type | Resource |
Id | azure_stack.fabric_admin.scale_unit_nodes |
Fields
- vw_scale_unit_nodes
- scale_unit_nodes
Name | Datatype | Description |
---|---|---|
id | text | URI of the resource. |
name | text | Name of the resource. |
bios_version | text | field from the properties object |
bmc_address | text | field from the properties object |
can_power_off | text | field from the properties object |
capacity | text | field from the properties object |
gpus | text | field from the properties object |
location | text | The region where the resource is located. |
model | text | field from the properties object |
power_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scaleUnitNode | text | field from the properties object |
scale_unit_name | text | field from the properties object |
scale_unit_node_status | text | field from the properties object |
scale_unit_uri | text | field from the properties object |
serial_number | 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. |
vendor | 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 | Holds all properties related to a scale unit node. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | location, resourceGroupName, scaleUnitNode, subscriptionId | Return the requested scale unit node. |
list | SELECT | location, resourceGroupName, subscriptionId | Returns a list of all scale unit nodes in a location. |
power_off | EXEC | location, resourceGroupName, scaleUnitNode, subscriptionId | Power off a scale unit node. |
power_on | EXEC | location, resourceGroupName, scaleUnitNode, subscriptionId | Power on a scale unit node. |
repair | EXEC | location, resourceGroupName, scaleUnitNode, subscriptionId | Repairs a node of the cluster. |
shutdown | EXEC | location, resourceGroupName, scaleUnitNode, subscriptionId | Shutdown a scale unit node. |
start_maintenance_mode | EXEC | location, resourceGroupName, scaleUnitNode, subscriptionId | Start maintenance mode for a scale unit node. |
stop_maintenance_mode | EXEC | location, resourceGroupName, scaleUnitNode, subscriptionId | Stop maintenance mode for a scale unit node. |
SELECT
examples
Returns a list of all scale unit nodes in a location.
- vw_scale_unit_nodes
- scale_unit_nodes
SELECT
id,
name,
bios_version,
bmc_address,
can_power_off,
capacity,
gpus,
location,
model,
power_state,
resourceGroupName,
scaleUnitNode,
scale_unit_name,
scale_unit_node_status,
scale_unit_uri,
serial_number,
subscriptionId,
tags,
type,
vendor
FROM azure_stack.fabric_admin.vw_scale_unit_nodes
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.fabric_admin.scale_unit_nodes
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';