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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectProperties of a scale unit.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, location, scaleUnitReturns the requested scale unit.
listselectsubscriptionId, resourceGroupName, location$filterReturns a list of all scale units at a location.
scale_outexecsubscriptionId, resourceGroupName, location, scaleUnitScales out a scale unit.
set_gpu_partition_sizeexecsubscriptionId, resourceGroupName, location, scaleUnitSet GPU partition size.

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
locationstringThe name of Azure region.
resourceGroupNamestringName of the resource group.
scaleUnitstringName of the scale units.
subscriptionIdstringThe ID of the target subscription.
$filterstringOData filter parameter.

SELECT examples

Returns the requested scale unit.

SELECT
id,
name,
properties,
type
FROM azure_stack.fabric_admin.scale_units
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND scaleUnit = '{{ scaleUnit }}' -- required
;

Lifecycle Methods

Scales out a scale unit.

EXEC azure_stack.fabric_admin.scale_units.scale_out 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@location='{{ location }}' --required,
@scaleUnit='{{ scaleUnit }}' --required
@@json=
'{
"nodeList": "{{ nodeList }}",
"awaitStorageConvergence": {{ awaitStorageConvergence }}
}'
;