Class SearchProfile
java.lang.Object
com.azure.resourcemanager.workloads.models.NodeProfile
com.azure.resourcemanager.workloads.models.SearchProfile
Search profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the searchType property: Search type.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.withSearchType
(SearchType searchType) Set the searchType property: Search type.Methods inherited from class com.azure.resourcemanager.workloads.models.NodeProfile
dataDisks, name, nodeResourceIds, nodeSku, osDisk, osImage
-
Constructor Details
-
SearchProfile
public SearchProfile()
-
-
Method Details
-
searchType
Get the searchType property: Search type.- Returns:
- the searchType value.
-
withSearchType
Set the searchType property: Search type.- Parameters:
searchType
- the searchType value to set.- Returns:
- the SearchProfile 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.
-