ManagedClusterNatGatewayProfile Class

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

Implements

public final class ManagedClusterNatGatewayProfile
implements JsonSerializable<ManagedClusterNatGatewayProfile>

Profile of the managed cluster NAT gateway.

Constructor Summary

Constructor Description
ManagedClusterNatGatewayProfile()

Creates an instance of ManagedClusterNatGatewayProfile class.

Method Summary

Modifier and Type Method and Description
List<ResourceReference> effectiveOutboundIPs()

Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.

static ManagedClusterNatGatewayProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterNatGatewayProfile from the JsonReader.

Integer idleTimeoutInMinutes()

Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.

ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile()

Get the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterNatGatewayProfile withEffectiveOutboundIPs(List<ResourceReference> effectiveOutboundIPs)

Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.

ManagedClusterNatGatewayProfile withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)

Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.

ManagedClusterNatGatewayProfile withManagedOutboundIpProfile(ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile)

Set the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterNatGatewayProfile

public ManagedClusterNatGatewayProfile()

Creates an instance of ManagedClusterNatGatewayProfile class.

Method Details

effectiveOutboundIPs

public List effectiveOutboundIPs()

Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.

Returns:

the effectiveOutboundIPs value.

fromJson

public static ManagedClusterNatGatewayProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterNatGatewayProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

idleTimeoutInMinutes

public Integer idleTimeoutInMinutes()

Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.

Returns:

the idleTimeoutInMinutes value.

managedOutboundIpProfile

public ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile()

Get the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.

Returns:

the managedOutboundIpProfile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEffectiveOutboundIPs

public ManagedClusterNatGatewayProfile withEffectiveOutboundIPs(List effectiveOutboundIPs)

Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.

Parameters:

effectiveOutboundIPs - the effectiveOutboundIPs value to set.

Returns:

the ManagedClusterNatGatewayProfile object itself.

withIdleTimeoutInMinutes

public ManagedClusterNatGatewayProfile withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)

Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.

Parameters:

idleTimeoutInMinutes - the idleTimeoutInMinutes value to set.

Returns:

the ManagedClusterNatGatewayProfile object itself.

withManagedOutboundIpProfile

public ManagedClusterNatGatewayProfile withManagedOutboundIpProfile(ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile)

Set the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.

Parameters:

managedOutboundIpProfile - the managedOutboundIpProfile value to set.

Returns:

the ManagedClusterNatGatewayProfile object itself.

Applies to