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 Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterIngressProfileGatewayConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterIngressProfileGatewayConfiguration from the JsonReader.Get the installation property: Configuration for the managed Gateway API installation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withInstallation(ManagedGatewayType installation) Set the installation property: Configuration for the managed Gateway API installation.Methods inherited from class 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
-
ManagedClusterIngressProfileGatewayConfiguration
public ManagedClusterIngressProfileGatewayConfiguration()Creates an instance of ManagedClusterIngressProfileGatewayConfiguration class.
-
-
Method Details
-
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
public ManagedClusterIngressProfileGatewayConfiguration withInstallation(ManagedGatewayType installation) 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
- Specified by:
toJsonin interfacecom.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.
-