scale_units
Creates, updates, deletes, gets or lists a scale_units
resource.
Overview
Name | scale_units |
Type | Resource |
Id | azure_stack.compute_admin.scale_units |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | The scale unit operator view properties. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , location , scaleUnitName | Get 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.
Name | Datatype | Description |
---|---|---|
location | string | The name of Azure region. |
scaleUnitName | string | Name of the scale unit. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
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
;