Class VirtualMachineScaleSetInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class VirtualMachineScaleSetInner
extends com.azure.core.management.Resource
Describes a Virtual Machine Scale Set.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualMachineScaleSetInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set.Get the automaticRepairsPolicy property: Policy for automatic repairs.Get the constrainedMaximumCapacity property: Optional property which must either be set to True or omitted.Get the doNotRunExtensionsOnOverprovisionedVMs property: When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept.etag()Get the etag property: Etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates.Get the extendedLocation property: The extended location of the Virtual Machine Scale Set.static VirtualMachineScaleSetInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineScaleSetInner from the JsonReader.Get the highSpeedInterconnectPlacement property: Specifies the high speed interconnect placement for the virtual machine scale set.com.azure.core.management.SubResourceGet the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale set resides in.id()Get the id property: Fully qualified resource Id for the resource.identity()Get the identity property: The identity of the virtual machine scale set, if configured.name()Get the name property: The name of the resource.Get the orchestrationMode property: Specifies the orchestration mode for the virtual machine scale set.Get the overprovision property: Specifies whether the Virtual Machine Scale Set should be overprovisioned.Get the placement property: Placement section specifies the user-defined constraints for virtual machine scale set hardware placement.plan()Get the plan property: Specifies information about the marketplace image used to create the virtual machine.Get the platformFaultDomainCount property: Fault Domain count for each placement group.Get the priorityMixPolicy property: Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.Get the provisioningState property: The provisioning state, which only appears in the response.com.azure.core.management.SubResourceGet the proximityPlacementGroup property: Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.Get the resiliencyPolicy property: Policy for Resiliency.Get the scaleInPolicy property: Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.Get the scheduledEventsPolicy property: The ScheduledEventsPolicy.Get the singlePlacementGroup property: When true this limits the scale set to a single placement group, of max size 100 virtual machines.sku()Get the sku property: The virtual machine scale set sku.Get the skuProfile property: Specifies the sku profile for the virtual machine scale set.Get the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.com.azure.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Get the timeCreated property: Specifies the time at which the Virtual Machine Scale Set resource was created.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.uniqueId()Get the uniqueId property: Specifies the ID which uniquely identifies a Virtual Machine Scale Set.Get the upgradePolicy property: The upgrade policy.voidvalidate()Validates the instance.Get the virtualMachineProfile property: The virtual machine profile.withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities) Set the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set.withAutomaticRepairsPolicy(AutomaticRepairsPolicy automaticRepairsPolicy) Set the automaticRepairsPolicy property: Policy for automatic repairs.withConstrainedMaximumCapacity(Boolean constrainedMaximumCapacity) Set the constrainedMaximumCapacity property: Optional property which must either be set to True or omitted.withDoNotRunExtensionsOnOverprovisionedVMs(Boolean doNotRunExtensionsOnOverprovisionedVMs) Set the doNotRunExtensionsOnOverprovisionedVMs property: When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept.withExtendedLocation(ExtendedLocation extendedLocation) Set the extendedLocation property: The extended location of the Virtual Machine Scale Set.withHighSpeedInterconnectPlacement(HighSpeedInterconnectPlacement highSpeedInterconnectPlacement) Set the highSpeedInterconnectPlacement property: Specifies the high speed interconnect placement for the virtual machine scale set.withHostGroup(com.azure.core.management.SubResource hostGroup) Set the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale set resides in.withIdentity(VirtualMachineScaleSetIdentity identity) Set the identity property: The identity of the virtual machine scale set, if configured.withLocation(String location) withOrchestrationMode(OrchestrationMode orchestrationMode) Set the orchestrationMode property: Specifies the orchestration mode for the virtual machine scale set.withOverprovision(Boolean overprovision) Set the overprovision property: Specifies whether the Virtual Machine Scale Set should be overprovisioned.withPlacement(Placement placement) Set the placement property: Placement section specifies the user-defined constraints for virtual machine scale set hardware placement.Set the plan property: Specifies information about the marketplace image used to create the virtual machine.withPlatformFaultDomainCount(Integer platformFaultDomainCount) Set the platformFaultDomainCount property: Fault Domain count for each placement group.withPriorityMixPolicy(PriorityMixPolicy priorityMixPolicy) Set the priorityMixPolicy property: Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup) Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.withResiliencyPolicy(ResiliencyPolicy resiliencyPolicy) Set the resiliencyPolicy property: Policy for Resiliency.withScaleInPolicy(ScaleInPolicy scaleInPolicy) Set the scaleInPolicy property: Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.withScheduledEventsPolicy(ScheduledEventsPolicy scheduledEventsPolicy) Set the scheduledEventsPolicy property: The ScheduledEventsPolicy.withSinglePlacementGroup(Boolean singlePlacementGroup) Set the singlePlacementGroup property: When true this limits the scale set to a single placement group, of max size 100 virtual machines.Set the sku property: The virtual machine scale set sku.withSkuProfile(SkuProfile skuProfile) Set the skuProfile property: Specifies the sku profile for the virtual machine scale set.withSpotRestorePolicy(SpotRestorePolicy spotRestorePolicy) Set the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.withUpgradePolicy(UpgradePolicy upgradePolicy) Set the upgradePolicy property: The upgrade policy.withVirtualMachineProfile(VirtualMachineScaleSetVMProfile virtualMachineProfile) Set the virtualMachineProfile property: The virtual machine profile.withZonalPlatformFaultDomainAlignMode(ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode) Set the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count.withZoneBalance(Boolean zoneBalance) Set the zoneBalance property: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone.Set the zones property: The availability zones.Get the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count.Get the zoneBalance property: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone.zones()Get the zones property: The availability zones.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualMachineScaleSetInner
public VirtualMachineScaleSetInner()Creates an instance of VirtualMachineScaleSetInner class.
-
-
Method Details
-
sku
-
withSku
Set the sku property: The virtual machine scale set sku.- Parameters:
sku- the sku value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
plan
Get the plan property: Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.- Returns:
- the plan value.
-
withPlan
Set the plan property: Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.- Parameters:
plan- the plan value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
identity
Get the identity property: The identity of the virtual machine scale set, if configured.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the virtual machine scale set, if configured.- Parameters:
identity- the identity value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
zones
-
withZones
Set the zones property: The availability zones.- Parameters:
zones- the zones value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
extendedLocation
Get the extendedLocation property: The extended location of the Virtual Machine Scale Set.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: The extended location of the Virtual Machine Scale Set.- Parameters:
extendedLocation- the extendedLocation value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
etag
Get the etag property: Etag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates.- Returns:
- the etag value.
-
placement
Get the placement property: Placement section specifies the user-defined constraints for virtual machine scale set hardware placement. This property cannot be changed once VMSS is provisioned. Minimum api-version: 2025-04-01.- Returns:
- the placement value.
-
withPlacement
Set the placement property: Placement section specifies the user-defined constraints for virtual machine scale set hardware placement. This property cannot be changed once VMSS is provisioned. Minimum api-version: 2025-04-01.- Parameters:
placement- the placement value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
upgradePolicy
Get the upgradePolicy property: The upgrade policy.- Returns:
- the upgradePolicy value.
-
withUpgradePolicy
Set the upgradePolicy property: The upgrade policy.- Parameters:
upgradePolicy- the upgradePolicy value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
scheduledEventsPolicy
Get the scheduledEventsPolicy property: The ScheduledEventsPolicy.- Returns:
- the scheduledEventsPolicy value.
-
withScheduledEventsPolicy
public VirtualMachineScaleSetInner withScheduledEventsPolicy(ScheduledEventsPolicy scheduledEventsPolicy) Set the scheduledEventsPolicy property: The ScheduledEventsPolicy.- Parameters:
scheduledEventsPolicy- the scheduledEventsPolicy value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
automaticRepairsPolicy
Get the automaticRepairsPolicy property: Policy for automatic repairs.- Returns:
- the automaticRepairsPolicy value.
-
withAutomaticRepairsPolicy
public VirtualMachineScaleSetInner withAutomaticRepairsPolicy(AutomaticRepairsPolicy automaticRepairsPolicy) Set the automaticRepairsPolicy property: Policy for automatic repairs.- Parameters:
automaticRepairsPolicy- the automaticRepairsPolicy value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
virtualMachineProfile
Get the virtualMachineProfile property: The virtual machine profile.- Returns:
- the virtualMachineProfile value.
-
withVirtualMachineProfile
public VirtualMachineScaleSetInner withVirtualMachineProfile(VirtualMachineScaleSetVMProfile virtualMachineProfile) Set the virtualMachineProfile property: The virtual machine profile.- Parameters:
virtualMachineProfile- the virtualMachineProfile value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state, which only appears in the response.- Returns:
- the provisioningState value.
-
overprovision
Get the overprovision property: Specifies whether the Virtual Machine Scale Set should be overprovisioned.- Returns:
- the overprovision value.
-
withOverprovision
Set the overprovision property: Specifies whether the Virtual Machine Scale Set should be overprovisioned.- Parameters:
overprovision- the overprovision value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
doNotRunExtensionsOnOverprovisionedVMs
Get the doNotRunExtensionsOnOverprovisionedVMs property: When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.- Returns:
- the doNotRunExtensionsOnOverprovisionedVMs value.
-
withDoNotRunExtensionsOnOverprovisionedVMs
public VirtualMachineScaleSetInner withDoNotRunExtensionsOnOverprovisionedVMs(Boolean doNotRunExtensionsOnOverprovisionedVMs) Set the doNotRunExtensionsOnOverprovisionedVMs property: When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.- Parameters:
doNotRunExtensionsOnOverprovisionedVMs- the doNotRunExtensionsOnOverprovisionedVMs value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
uniqueId
Get the uniqueId property: Specifies the ID which uniquely identifies a Virtual Machine Scale Set.- Returns:
- the uniqueId value.
-
singlePlacementGroup
Get the singlePlacementGroup property: When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.- Returns:
- the singlePlacementGroup value.
-
withSinglePlacementGroup
Set the singlePlacementGroup property: When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.- Parameters:
singlePlacementGroup- the singlePlacementGroup value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
zoneBalance
Get the zoneBalance property: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.- Returns:
- the zoneBalance value.
-
withZoneBalance
Set the zoneBalance property: Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.- Parameters:
zoneBalance- the zoneBalance value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
platformFaultDomainCount
Get the platformFaultDomainCount property: Fault Domain count for each placement group.- Returns:
- the platformFaultDomainCount value.
-
withPlatformFaultDomainCount
Set the platformFaultDomainCount property: Fault Domain count for each placement group.- Parameters:
platformFaultDomainCount- the platformFaultDomainCount value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
proximityPlacementGroup
public com.azure.core.management.SubResource proximityPlacementGroup()Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.- Returns:
- the proximityPlacementGroup value.
-
withProximityPlacementGroup
public VirtualMachineScaleSetInner withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup) Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.- Parameters:
proximityPlacementGroup- the proximityPlacementGroup value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
hostGroup
public com.azure.core.management.SubResource hostGroup()Get the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.- Returns:
- the hostGroup value.
-
withHostGroup
Set the hostGroup property: Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.- Parameters:
hostGroup- the hostGroup value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
additionalCapabilities
Get the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.- Returns:
- the additionalCapabilities value.
-
withAdditionalCapabilities
public VirtualMachineScaleSetInner withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities) Set the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.- Parameters:
additionalCapabilities- the additionalCapabilities value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
scaleInPolicy
Get the scaleInPolicy property: Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.- Returns:
- the scaleInPolicy value.
-
withScaleInPolicy
Set the scaleInPolicy property: Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.- Parameters:
scaleInPolicy- the scaleInPolicy value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
orchestrationMode
Get the orchestrationMode property: Specifies the orchestration mode for the virtual machine scale set.- Returns:
- the orchestrationMode value.
-
withOrchestrationMode
Set the orchestrationMode property: Specifies the orchestration mode for the virtual machine scale set.- Parameters:
orchestrationMode- the orchestrationMode value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
spotRestorePolicy
Get the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.- Returns:
- the spotRestorePolicy value.
-
withSpotRestorePolicy
Set the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.- Parameters:
spotRestorePolicy- the spotRestorePolicy value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
priorityMixPolicy
Get the priorityMixPolicy property: Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.- Returns:
- the priorityMixPolicy value.
-
withPriorityMixPolicy
Set the priorityMixPolicy property: Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.- Parameters:
priorityMixPolicy- the priorityMixPolicy value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
timeCreated
Get the timeCreated property: Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.- Returns:
- the timeCreated value.
-
constrainedMaximumCapacity
Get the constrainedMaximumCapacity property: Optional property which must either be set to True or omitted.- Returns:
- the constrainedMaximumCapacity value.
-
withConstrainedMaximumCapacity
public VirtualMachineScaleSetInner withConstrainedMaximumCapacity(Boolean constrainedMaximumCapacity) Set the constrainedMaximumCapacity property: Optional property which must either be set to True or omitted.- Parameters:
constrainedMaximumCapacity- the constrainedMaximumCapacity value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
resiliencyPolicy
Get the resiliencyPolicy property: Policy for Resiliency.- Returns:
- the resiliencyPolicy value.
-
withResiliencyPolicy
Set the resiliencyPolicy property: Policy for Resiliency.- Parameters:
resiliencyPolicy- the resiliencyPolicy value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
zonalPlatformFaultDomainAlignMode
Get the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count.- Returns:
- the zonalPlatformFaultDomainAlignMode value.
-
withZonalPlatformFaultDomainAlignMode
public VirtualMachineScaleSetInner withZonalPlatformFaultDomainAlignMode(ZonalPlatformFaultDomainAlignMode zonalPlatformFaultDomainAlignMode) Set the zonalPlatformFaultDomainAlignMode property: Specifies the align mode between Virtual Machine Scale Set compute and storage Fault Domain count.- Parameters:
zonalPlatformFaultDomainAlignMode- the zonalPlatformFaultDomainAlignMode value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
skuProfile
Get the skuProfile property: Specifies the sku profile for the virtual machine scale set.- Returns:
- the skuProfile value.
-
withSkuProfile
Set the skuProfile property: Specifies the sku profile for the virtual machine scale set.- Parameters:
skuProfile- the skuProfile value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
highSpeedInterconnectPlacement
Get the highSpeedInterconnectPlacement property: Specifies the high speed interconnect placement for the virtual machine scale set.- Returns:
- the highSpeedInterconnectPlacement value.
-
withHighSpeedInterconnectPlacement
public VirtualMachineScaleSetInner withHighSpeedInterconnectPlacement(HighSpeedInterconnectPlacement highSpeedInterconnectPlacement) Set the highSpeedInterconnectPlacement property: Specifies the high speed interconnect placement for the virtual machine scale set.- Parameters:
highSpeedInterconnectPlacement- the highSpeedInterconnectPlacement value to set.- Returns:
- the VirtualMachineScaleSetInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
public static VirtualMachineScaleSetInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualMachineScaleSetInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualMachineScaleSetInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the VirtualMachineScaleSetInner.
-