- !ruby/object:Api::Type::NestedObject
name: 'virtualMachineScaleSet'
description: 'Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum api‐version: 2019‐03‐01'
required: false
azure_sdk_references: ['/virtualMachineScaleSet', '/properties/virtualMachineScaleSet']
properties:
- !ruby/object:Api::Type::String
name: 'id'
description: 'Resource Id'
required: false
azure_sdk_references: ['/virtualMachineScaleSet/id', '/properties/virtualMachineScaleSet/id']
I can conveniently flatten this object by writing a terraform.yaml:
But by doing this, the schema name will only contain id, the name of virtualMachineScaleSet is lost. This behaviour will easily cause conflict of the same keys in schema.
For instance, we have a definition:
I can conveniently flatten this object by writing a
terraform.yaml
:But by doing this, the schema name will only contain
id
, the name ofvirtualMachineScaleSet
is lost. This behaviour will easily cause conflict of the same keys in schema.