Class ManagedClusterIngressProfileGatewayConfiguration

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

public final class ManagedClusterIngressProfileGatewayConfiguration extends Object implements com.azure.json.JsonSerializable<ManagedClusterIngressProfileGatewayConfiguration>
Configuration for managed Gateway API CRDs. See https://aka.ms/k8s-gateway-api for more details.
  • Constructor Details

    • ManagedClusterIngressProfileGatewayConfiguration

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

    • installation

      public ManagedGatewayType installation()
      Get the installation property: Configuration for the managed Gateway API installation. If not specified, the default is 'Disabled'. See https://aka.ms/k8s-gateway-api for more details.
      Returns:
      the installation value.
    • withInstallation

      Set the installation property: Configuration for the managed Gateway API installation. If not specified, the default is 'Disabled'. See https://aka.ms/k8s-gateway-api for more details.
      Parameters:
      installation - the installation value to set.
      Returns:
      the ManagedClusterIngressProfileGatewayConfiguration 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<ManagedClusterIngressProfileGatewayConfiguration>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterIngressProfileGatewayConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ManagedClusterIngressProfileGatewayConfiguration from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ManagedClusterIngressProfileGatewayConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ManagedClusterIngressProfileGatewayConfiguration.