Share via


ManagedClusterStaticEgressGatewayProfile Class

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

Implements

public final class ManagedClusterStaticEgressGatewayProfile
implements JsonSerializable<ManagedClusterStaticEgressGatewayProfile>

The Static Egress Gateway addon configuration for the cluster.

Constructor Summary

Constructor Description
ManagedClusterStaticEgressGatewayProfile()

Creates an instance of ManagedClusterStaticEgressGatewayProfile class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Enable Static Egress Gateway addon.

static ManagedClusterStaticEgressGatewayProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterStaticEgressGatewayProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterStaticEgressGatewayProfile withEnabled(Boolean enabled)

Set the enabled property: Enable Static Egress Gateway addon.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterStaticEgressGatewayProfile

public ManagedClusterStaticEgressGatewayProfile()

Creates an instance of ManagedClusterStaticEgressGatewayProfile class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.

Returns:

the enabled value.

fromJson

public static ManagedClusterStaticEgressGatewayProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterStaticEgressGatewayProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterStaticEgressGatewayProfile 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 ManagedClusterStaticEgressGatewayProfile.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ManagedClusterStaticEgressGatewayProfile withEnabled(Boolean enabled)

Set the enabled property: Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.

Parameters:

enabled - the enabled value to set.

Returns:

the ManagedClusterStaticEgressGatewayProfile object itself.

Applies to