Skip to main content

scale_units

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

Overview

Namescale_units
TypeResource
Idazure_stack.fabric_admin.scale_units

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
is_multi_nodetextfield from the properties object
locationtextThe region where the resource is located.
logical_fault_domaintextfield from the properties object
modeltextfield from the properties object
nodestextfield from the properties object
resourceGroupNametextfield from the properties object
scaleUnittextfield from the properties object
scale_unit_typetextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
total_capacitytextfield from the properties object
typetextType of resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, resourceGroupName, scaleUnit, subscriptionIdReturns the requested scale unit.
listSELECTlocation, resourceGroupName, subscriptionIdReturns a list of all scale units at a location.
scale_outEXEClocation, resourceGroupName, scaleUnit, subscriptionIdScales out a scale unit.
set_gpu_partition_sizeEXEClocation, resourceGroupName, scaleUnit, subscriptionIdSet GPU partition size.

SELECT examples

Returns a list of all scale units at a location.

SELECT
id,
name,
is_multi_node,
location,
logical_fault_domain,
model,
nodes,
resourceGroupName,
scaleUnit,
scale_unit_type,
state,
subscriptionId,
tags,
total_capacity,
type
FROM azure_stack.fabric_admin.vw_scale_units
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';