Class NodeProfile

java.lang.Object
com.azure.resourcemanager.workloads.models.NodeProfile
Direct Known Subclasses:
SearchProfile, VmssNodesProfile

public class NodeProfile extends Object
VM or VMSS node profile.
  • Constructor Details

    • NodeProfile

      public NodeProfile()
  • Method Details

    • name

      public String name()
      Get the name property: VM or VMSS name.
      Returns:
      the name value.
    • withName

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

      public String nodeSku()
      Get the nodeSku property: VM SKU for node(s).
      Returns:
      the nodeSku value.
    • withNodeSku

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

      public OsImageProfile osImage()
      Get the osImage property: OS image used for creating the nodes.
      Returns:
      the osImage value.
    • withOsImage

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

      public DiskInfo osDisk()
      Get the osDisk property: OS disk details.
      Returns:
      the osDisk value.
    • withOsDisk

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

      public List<DiskInfo> dataDisks()
      Get the dataDisks property: Data disks details. This property is not in use right now.
      Returns:
      the dataDisks value.
    • withDataDisks

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

      public List<String> nodeResourceIds()
      Get the nodeResourceIds property: VM/VMSS resource ARM Ids.
      Returns:
      the nodeResourceIds value.
    • validate

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