Class VirtualMachineScaleSetHardwareProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineScaleSetHardwareProfile
-
public final class VirtualMachineScaleSetHardwareProfile extends Object
Specifies the hardware settings for the virtual machine scale set.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetHardwareProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.VMSizePropertiesvmSizeProperties()Get the vmSizeProperties property: Specifies the properties for customizing the size of the virtual machine.VirtualMachineScaleSetHardwareProfilewithVmSizeProperties(VMSizeProperties vmSizeProperties)Set the vmSizeProperties property: Specifies the properties for customizing the size of the virtual machine.
-
-
-
Method Detail
-
vmSizeProperties
public VMSizeProperties vmSizeProperties()
Get the vmSizeProperties property: Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. <br><br> Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.- Returns:
- the vmSizeProperties value.
-
withVmSizeProperties
public VirtualMachineScaleSetHardwareProfile withVmSizeProperties(VMSizeProperties vmSizeProperties)
Set the vmSizeProperties property: Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. <br><br> Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.- Parameters:
vmSizeProperties- the vmSizeProperties value to set.- Returns:
- the VirtualMachineScaleSetHardwareProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-