Skip to main content

fleets_virtual_machine_scale_sets

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

Overview

Namefleets_virtual_machine_scale_sets
TypeResource
Idazure.azure_fleet.fleets_virtual_machine_scale_sets

Fields

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
idstringThe compute RP resource id of the virtualMachineScaleSet "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}"
namestringThe name of the virtualMachineScaleSet
errorobjectError Information when operationStatus is Failed
operationStatusstringThis represents the operationStatus of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.
typestringType of the virtualMachineScaleSet

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, nameList VirtualMachineScaleSet resources by Fleet

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
namestringThe name of the Fleet
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

List VirtualMachineScaleSet resources by Fleet

SELECT
id,
name,
error,
operationStatus,
type
FROM azure.azure_fleet.fleets_virtual_machine_scale_sets
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
;