Partilhar via


IstioIngressGateway Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.IstioIngressGateway

Implements

public final class IstioIngressGateway
implements JsonSerializable<IstioIngressGateway>

Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.

Constructor Summary

Constructor Description
IstioIngressGateway()

Creates an instance of IstioIngressGateway class.

Method Summary

Modifier and Type Method and Description
boolean enabled()

Get the enabled property: Whether to enable the ingress gateway.

static IstioIngressGateway fromJson(JsonReader jsonReader)

Reads an instance of IstioIngressGateway from the JsonReader.

IstioIngressGatewayMode mode()

Get the mode property: Mode of an ingress gateway.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IstioIngressGateway withEnabled(boolean enabled)

Set the enabled property: Whether to enable the ingress gateway.

IstioIngressGateway withMode(IstioIngressGatewayMode mode)

Set the mode property: Mode of an ingress gateway.

Methods inherited from java.lang.Object

Constructor Details

IstioIngressGateway

public IstioIngressGateway()

Creates an instance of IstioIngressGateway class.

Method Details

enabled

public boolean enabled()

Get the enabled property: Whether to enable the ingress gateway.

Returns:

the enabled value.

fromJson

public static IstioIngressGateway fromJson(JsonReader jsonReader)

Reads an instance of IstioIngressGateway from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IstioIngressGateway if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

mode

public IstioIngressGatewayMode mode()

Get the mode property: Mode of an ingress gateway.

Returns:

the mode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public IstioIngressGateway withEnabled(boolean enabled)

Set the enabled property: Whether to enable the ingress gateway.

Parameters:

enabled - the enabled value to set.

Returns:

the IstioIngressGateway object itself.

withMode

public IstioIngressGateway withMode(IstioIngressGatewayMode mode)

Set the mode property: Mode of an ingress gateway.

Parameters:

mode - the mode value to set.

Returns:

the IstioIngressGateway object itself.

Applies to