Class OpenShiftManagedClusterInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.containerservice.fluent.models.OpenShiftManagedClusterInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class OpenShiftManagedClusterInner
extends com.azure.core.management.Resource
OpenShift Managed cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OpenShiftManagedClusterInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the agentPoolProfiles property: Configuration of OpenShift cluster VMs.Get the authProfile property: Configures OpenShift authentication.Get the clusterVersion property: Version of OpenShift specified when creating the cluster.fqdn()Get the fqdn property: Service generated FQDN for OpenShift API server loadbalancer internal hostname.static OpenShiftManagedClusterInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OpenShiftManagedClusterInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the masterPoolProfile property: Configuration for OpenShift master VMs.name()Get the name property: The name of the resource.Get the networkProfile property: Configuration for OpenShift networking.Get the openShiftVersion property: Version of OpenShift specified when creating the cluster.plan()Get the plan property: Define the resource plan as required by ARM for billing purposes.Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.Get the publicHostname property: Service generated FQDN for OpenShift API server.Get the routerProfiles property: Configuration for OpenShift router(s).com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withAgentPoolProfiles(List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles) Set the agentPoolProfiles property: Configuration of OpenShift cluster VMs.withAuthProfile(OpenShiftManagedClusterAuthProfile authProfile) Set the authProfile property: Configures OpenShift authentication.withLocation(String location) withMasterPoolProfile(OpenShiftManagedClusterMasterPoolProfile masterPoolProfile) Set the masterPoolProfile property: Configuration for OpenShift master VMs.withNetworkProfile(NetworkProfile networkProfile) Set the networkProfile property: Configuration for OpenShift networking.withOpenShiftVersion(String openShiftVersion) Set the openShiftVersion property: Version of OpenShift specified when creating the cluster.withPlan(PurchasePlan plan) Set the plan property: Define the resource plan as required by ARM for billing purposes.withRouterProfiles(List<OpenShiftRouterProfile> routerProfiles) Set the routerProfiles property: Configuration for OpenShift router(s).Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
OpenShiftManagedClusterInner
public OpenShiftManagedClusterInner()Creates an instance of OpenShiftManagedClusterInner class.
-
-
Method Details
-
plan
Get the plan property: Define the resource plan as required by ARM for billing purposes.- Returns:
- the plan value.
-
withPlan
Set the plan property: Define the resource plan as required by ARM for billing purposes.- Parameters:
plan- the plan value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.- Returns:
- the provisioningState value.
-
openShiftVersion
Get the openShiftVersion property: Version of OpenShift specified when creating the cluster.- Returns:
- the openShiftVersion value.
-
withOpenShiftVersion
Set the openShiftVersion property: Version of OpenShift specified when creating the cluster.- Parameters:
openShiftVersion- the openShiftVersion value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
clusterVersion
Get the clusterVersion property: Version of OpenShift specified when creating the cluster.- Returns:
- the clusterVersion value.
-
publicHostname
Get the publicHostname property: Service generated FQDN for OpenShift API server.- Returns:
- the publicHostname value.
-
fqdn
Get the fqdn property: Service generated FQDN for OpenShift API server loadbalancer internal hostname.- Returns:
- the fqdn value.
-
networkProfile
Get the networkProfile property: Configuration for OpenShift networking.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: Configuration for OpenShift networking.- Parameters:
networkProfile- the networkProfile value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
routerProfiles
Get the routerProfiles property: Configuration for OpenShift router(s).- Returns:
- the routerProfiles value.
-
withRouterProfiles
Set the routerProfiles property: Configuration for OpenShift router(s).- Parameters:
routerProfiles- the routerProfiles value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
masterPoolProfile
Get the masterPoolProfile property: Configuration for OpenShift master VMs.- Returns:
- the masterPoolProfile value.
-
withMasterPoolProfile
public OpenShiftManagedClusterInner withMasterPoolProfile(OpenShiftManagedClusterMasterPoolProfile masterPoolProfile) Set the masterPoolProfile property: Configuration for OpenShift master VMs.- Parameters:
masterPoolProfile- the masterPoolProfile value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
agentPoolProfiles
Get the agentPoolProfiles property: Configuration of OpenShift cluster VMs.- Returns:
- the agentPoolProfiles value.
-
withAgentPoolProfiles
public OpenShiftManagedClusterInner withAgentPoolProfiles(List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles) Set the agentPoolProfiles property: Configuration of OpenShift cluster VMs.- Parameters:
agentPoolProfiles- the agentPoolProfiles value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
authProfile
Get the authProfile property: Configures OpenShift authentication.- Returns:
- the authProfile value.
-
withAuthProfile
Set the authProfile property: Configures OpenShift authentication.- Parameters:
authProfile- the authProfile value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
public static OpenShiftManagedClusterInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OpenShiftManagedClusterInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OpenShiftManagedClusterInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the OpenShiftManagedClusterInner.
-