Class VmssNodesProfile

java.lang.Object
com.azure.resourcemanager.workloads.models.NodeProfile
com.azure.resourcemanager.workloads.models.VmssNodesProfile

public final class VmssNodesProfile extends NodeProfile
VMSS profile.
  • Constructor Details

    • VmssNodesProfile

      public VmssNodesProfile()
  • Method Details

    • autoScaleMinCount

      public Integer autoScaleMinCount()
      Get the autoScaleMinCount property: Minimum number of nodes for autoscale.
      Returns:
      the autoScaleMinCount value.
    • withAutoScaleMinCount

      public VmssNodesProfile withAutoScaleMinCount(Integer autoScaleMinCount)
      Set the autoScaleMinCount property: Minimum number of nodes for autoscale.
      Parameters:
      autoScaleMinCount - the autoScaleMinCount value to set.
      Returns:
      the VmssNodesProfile object itself.
    • autoScaleMaxCount

      public Integer autoScaleMaxCount()
      Get the autoScaleMaxCount property: Maximum number of nodes for autoscale.
      Returns:
      the autoScaleMaxCount value.
    • withAutoScaleMaxCount

      public VmssNodesProfile withAutoScaleMaxCount(Integer autoScaleMaxCount)
      Set the autoScaleMaxCount property: Maximum number of nodes for autoscale.
      Parameters:
      autoScaleMaxCount - the autoScaleMaxCount value to set.
      Returns:
      the VmssNodesProfile object itself.
    • withName

      public VmssNodesProfile withName(String name)
      Set the name property: VM or VMSS name.
      Overrides:
      withName in class NodeProfile
      Parameters:
      name - the name value to set.
      Returns:
      the NodeProfile object itself.
    • withNodeSku

      public VmssNodesProfile withNodeSku(String nodeSku)
      Set the nodeSku property: VM SKU for node(s).
      Overrides:
      withNodeSku in class NodeProfile
      Parameters:
      nodeSku - the nodeSku value to set.
      Returns:
      the NodeProfile object itself.
    • withOsImage

      public VmssNodesProfile withOsImage(OsImageProfile osImage)
      Set the osImage property: OS image used for creating the nodes.
      Overrides:
      withOsImage in class NodeProfile
      Parameters:
      osImage - the osImage value to set.
      Returns:
      the NodeProfile object itself.
    • withOsDisk

      public VmssNodesProfile withOsDisk(DiskInfo osDisk)
      Set the osDisk property: OS disk details.
      Overrides:
      withOsDisk in class NodeProfile
      Parameters:
      osDisk - the osDisk value to set.
      Returns:
      the NodeProfile object itself.
    • withDataDisks

      public VmssNodesProfile withDataDisks(List<DiskInfo> dataDisks)
      Set the dataDisks property: Data disks details. This property is not in use right now.
      Overrides:
      withDataDisks in class NodeProfile
      Parameters:
      dataDisks - the dataDisks value to set.
      Returns:
      the NodeProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class NodeProfile
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.