Class VmssNodesProfile
java.lang.Object
com.azure.resourcemanager.workloads.models.NodeProfile
com.azure.resourcemanager.workloads.models.VmssNodesProfile
VMSS profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the autoScaleMaxCount property: Maximum number of nodes for autoscale.Get the autoScaleMinCount property: Minimum number of nodes for autoscale.void
validate()
Validates the instance.withAutoScaleMaxCount
(Integer autoScaleMaxCount) Set the autoScaleMaxCount property: Maximum number of nodes for autoscale.withAutoScaleMinCount
(Integer autoScaleMinCount) Set the autoScaleMinCount property: Minimum number of nodes for autoscale.withDataDisks
(List<DiskInfo> dataDisks) Set the dataDisks property: Data disks details.Set the name property: VM or VMSS name.withNodeSku
(String nodeSku) Set the nodeSku property: VM SKU for node(s).withOsDisk
(DiskInfo osDisk) Set the osDisk property: OS disk details.withOsImage
(OsImageProfile osImage) Set the osImage property: OS image used for creating the nodes.Methods inherited from class com.azure.resourcemanager.workloads.models.NodeProfile
dataDisks, name, nodeResourceIds, nodeSku, osDisk, osImage
-
Constructor Details
-
VmssNodesProfile
public VmssNodesProfile()
-
-
Method Details
-
autoScaleMinCount
Get the autoScaleMinCount property: Minimum number of nodes for autoscale.- Returns:
- the autoScaleMinCount value.
-
withAutoScaleMinCount
Set the autoScaleMinCount property: Minimum number of nodes for autoscale.- Parameters:
autoScaleMinCount
- the autoScaleMinCount value to set.- Returns:
- the VmssNodesProfile object itself.
-
autoScaleMaxCount
Get the autoScaleMaxCount property: Maximum number of nodes for autoscale.- Returns:
- the autoScaleMaxCount value.
-
withAutoScaleMaxCount
Set the autoScaleMaxCount property: Maximum number of nodes for autoscale.- Parameters:
autoScaleMaxCount
- the autoScaleMaxCount value to set.- Returns:
- the VmssNodesProfile object itself.
-
withName
Set the name property: VM or VMSS name.- Overrides:
withName
in classNodeProfile
- Parameters:
name
- the name value to set.- Returns:
- the NodeProfile object itself.
-
withNodeSku
Set the nodeSku property: VM SKU for node(s).- Overrides:
withNodeSku
in classNodeProfile
- Parameters:
nodeSku
- the nodeSku value to set.- Returns:
- the NodeProfile object itself.
-
withOsImage
Set the osImage property: OS image used for creating the nodes.- Overrides:
withOsImage
in classNodeProfile
- Parameters:
osImage
- the osImage value to set.- Returns:
- the NodeProfile object itself.
-
withOsDisk
Set the osDisk property: OS disk details.- Overrides:
withOsDisk
in classNodeProfile
- Parameters:
osDisk
- the osDisk value to set.- Returns:
- the NodeProfile object itself.
-
withDataDisks
Set the dataDisks property: Data disks details. This property is not in use right now.- Overrides:
withDataDisks
in classNodeProfile
- Parameters:
dataDisks
- the dataDisks value to set.- Returns:
- the NodeProfile object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classNodeProfile
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-