Class NodeProfile
java.lang.Object
com.azure.resourcemanager.workloads.models.NodeProfile
- Direct Known Subclasses:
SearchProfile
,VmssNodesProfile
VM or VMSS node profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dataDisks property: Data disks details.name()
Get the name property: VM or VMSS name.Get the nodeResourceIds property: VM/VMSS resource ARM Ids.nodeSku()
Get the nodeSku property: VM SKU for node(s).osDisk()
Get the osDisk property: OS disk details.osImage()
Get the osImage property: OS image used for creating the nodes.void
validate()
Validates the instance.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.
-
Constructor Details
-
NodeProfile
public NodeProfile()
-
-
Method Details
-
name
Get the name property: VM or VMSS name.- Returns:
- the name value.
-
withName
Set the name property: VM or VMSS name.- Parameters:
name
- the name value to set.- Returns:
- the NodeProfile object itself.
-
nodeSku
Get the nodeSku property: VM SKU for node(s).- Returns:
- the nodeSku value.
-
withNodeSku
Set the nodeSku property: VM SKU for node(s).- Parameters:
nodeSku
- the nodeSku value to set.- Returns:
- the NodeProfile object itself.
-
osImage
Get the osImage property: OS image used for creating the nodes.- Returns:
- the osImage value.
-
withOsImage
Set the osImage property: OS image used for creating the nodes.- Parameters:
osImage
- the osImage value to set.- Returns:
- the NodeProfile object itself.
-
osDisk
Get the osDisk property: OS disk details.- Returns:
- the osDisk value.
-
withOsDisk
Set the osDisk property: OS disk details.- Parameters:
osDisk
- the osDisk value to set.- Returns:
- the NodeProfile object itself.
-
dataDisks
Get the dataDisks property: Data disks details. This property is not in use right now.- Returns:
- the dataDisks value.
-
withDataDisks
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
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.
-