Skip to main content

scale_units

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

Overview

Namescale_units
TypeResource
Idazure_stack.compute_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
propertiesobjectThe scale unit operator view properties.
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, location, scaleUnitNameGet the scale unit view.

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.
scaleUnitNamestringName of the scale unit.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get the scale unit view.

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