Class OrchestratorVersionProfile
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.OrchestratorVersionProfile
The profile of an orchestrator and its available versions.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OrchestratorVersionProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultProperty property: Installed by default if version is not specified.Get the isPreview property: Whether Kubernetes version is currently in preview.Get the orchestratorType property: Orchestrator type.Get the orchestratorVersion property: Orchestrator version major.minor.patch, for example 1.21.9.upgrades()
Get the upgrades property: The list of available upgrade versions.void
validate()
Validates the instance.withUpgrades
(List<OrchestratorProfile> upgrades) Set the upgrades property: The list of available upgrade versions.
-
Constructor Details
-
OrchestratorVersionProfile
public OrchestratorVersionProfile()Creates an instance of OrchestratorVersionProfile class.
-
-
Method Details
-
isPreview
Get the isPreview property: Whether Kubernetes version is currently in preview.- Returns:
- the isPreview value.
-
defaultProperty
Get the defaultProperty property: Installed by default if version is not specified.- Returns:
- the defaultProperty value.
-
orchestratorType
Get the orchestratorType property: Orchestrator type.- Returns:
- the orchestratorType value.
-
orchestratorVersion
Get the orchestratorVersion property: Orchestrator version major.minor.patch, for example 1.21.9.- Returns:
- the orchestratorVersion value.
-
upgrades
Get the upgrades property: The list of available upgrade versions.- Returns:
- the upgrades value.
-
withUpgrades
Set the upgrades property: The list of available upgrade versions.- Parameters:
upgrades
- the upgrades value to set.- Returns:
- the OrchestratorVersionProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-