Class OpenShiftManagedClusterProperties

java.lang.Object
com.azure.resourcemanager.containerservice.fluent.models.OpenShiftManagedClusterProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<OpenShiftManagedClusterProperties>

public final class OpenShiftManagedClusterProperties extends Object implements com.azure.json.JsonSerializable<OpenShiftManagedClusterProperties>
Properties of the OpenShift managed cluster.
  • Constructor Details

    • OpenShiftManagedClusterProperties

      public OpenShiftManagedClusterProperties()
      Creates an instance of OpenShiftManagedClusterProperties class.
  • Method Details

    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.
      Returns:
      the provisioningState value.
    • openShiftVersion

      public String openShiftVersion()
      Get the openShiftVersion property: Version of OpenShift specified when creating the cluster.
      Returns:
      the openShiftVersion value.
    • withOpenShiftVersion

      public OpenShiftManagedClusterProperties withOpenShiftVersion(String openShiftVersion)
      Set the openShiftVersion property: Version of OpenShift specified when creating the cluster.
      Parameters:
      openShiftVersion - the openShiftVersion value to set.
      Returns:
      the OpenShiftManagedClusterProperties object itself.
    • clusterVersion

      public String clusterVersion()
      Get the clusterVersion property: Version of OpenShift specified when creating the cluster.
      Returns:
      the clusterVersion value.
    • publicHostname

      public String publicHostname()
      Get the publicHostname property: Service generated FQDN for OpenShift API server.
      Returns:
      the publicHostname value.
    • fqdn

      public String fqdn()
      Get the fqdn property: Service generated FQDN for OpenShift API server loadbalancer internal hostname.
      Returns:
      the fqdn value.
    • networkProfile

      public NetworkProfile networkProfile()
      Get the networkProfile property: Configuration for OpenShift networking.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public OpenShiftManagedClusterProperties withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: Configuration for OpenShift networking.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the OpenShiftManagedClusterProperties object itself.
    • routerProfiles

      public List<OpenShiftRouterProfile> routerProfiles()
      Get the routerProfiles property: Configuration for OpenShift router(s).
      Returns:
      the routerProfiles value.
    • withRouterProfiles

      public OpenShiftManagedClusterProperties withRouterProfiles(List<OpenShiftRouterProfile> routerProfiles)
      Set the routerProfiles property: Configuration for OpenShift router(s).
      Parameters:
      routerProfiles - the routerProfiles value to set.
      Returns:
      the OpenShiftManagedClusterProperties object itself.
    • masterPoolProfile

      public OpenShiftManagedClusterMasterPoolProfile masterPoolProfile()
      Get the masterPoolProfile property: Configuration for OpenShift master VMs.
      Returns:
      the masterPoolProfile value.
    • withMasterPoolProfile

      public OpenShiftManagedClusterProperties withMasterPoolProfile(OpenShiftManagedClusterMasterPoolProfile masterPoolProfile)
      Set the masterPoolProfile property: Configuration for OpenShift master VMs.
      Parameters:
      masterPoolProfile - the masterPoolProfile value to set.
      Returns:
      the OpenShiftManagedClusterProperties object itself.
    • agentPoolProfiles

      public List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles()
      Get the agentPoolProfiles property: Configuration of OpenShift cluster VMs.
      Returns:
      the agentPoolProfiles value.
    • withAgentPoolProfiles

      public OpenShiftManagedClusterProperties withAgentPoolProfiles(List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles)
      Set the agentPoolProfiles property: Configuration of OpenShift cluster VMs.
      Parameters:
      agentPoolProfiles - the agentPoolProfiles value to set.
      Returns:
      the OpenShiftManagedClusterProperties object itself.
    • authProfile

      public OpenShiftManagedClusterAuthProfile 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 OpenShiftManagedClusterProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<OpenShiftManagedClusterProperties>
      Throws:
      IOException
    • fromJson

      public static OpenShiftManagedClusterProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OpenShiftManagedClusterProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OpenShiftManagedClusterProperties 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 OpenShiftManagedClusterProperties.