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.

ManagedClusterNATGatewayProfileOutboundIpPrefixes outboundIpPrefixes()

Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the managed NAT Gateway.

ManagedClusterNATGatewayProfileOutboundIPs outboundIps()

Get the outboundIps property: Desired outbound IP resources for the managed NAT Gateway.

ManagedClusterNATGatewaySku sku()

Get the sku property: The SKU of the managed cluster NAT Gateway.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

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.

ManagedClusterNatGatewayProfile withOutboundIpPrefixes(ManagedClusterNATGatewayProfileOutboundIpPrefixes outboundIpPrefixes)

Set the outboundIpPrefixes property: Desired outbound IP Prefix resources for the managed NAT Gateway.

ManagedClusterNatGatewayProfile withOutboundIps(ManagedClusterNATGatewayProfileOutboundIPs outboundIps)

Set the outboundIps property: Desired outbound IP resources for the managed NAT Gateway.

ManagedClusterNatGatewayProfile withSku(ManagedClusterNATGatewaySku sku)

Set the sku property: The SKU of the managed 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<ResourceReference> 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.

outboundIpPrefixes

public ManagedClusterNATGatewayProfileOutboundIpPrefixes outboundIpPrefixes()

Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the managed NAT Gateway. Only compatible with NAT Gateway V2.

Returns:

the outboundIpPrefixes value.

outboundIps

public ManagedClusterNATGatewayProfileOutboundIPs outboundIps()

Get the outboundIps property: Desired outbound IP resources for the managed NAT Gateway.

Returns:

the outboundIps value.

sku

public ManagedClusterNATGatewaySku sku()

Get the sku property: The SKU of the managed cluster NAT Gateway. Defaults to 'StandardV2' where available in the region, otherwise 'Standard'.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withOutboundIpPrefixes

public ManagedClusterNatGatewayProfile withOutboundIpPrefixes(ManagedClusterNATGatewayProfileOutboundIpPrefixes outboundIpPrefixes)

Set the outboundIpPrefixes property: Desired outbound IP Prefix resources for the managed NAT Gateway. Only compatible with NAT Gateway V2.

Parameters:

outboundIpPrefixes - the outboundIpPrefixes value to set.

Returns:

the ManagedClusterNatGatewayProfile object itself.

withOutboundIps

public ManagedClusterNatGatewayProfile withOutboundIps(ManagedClusterNATGatewayProfileOutboundIPs outboundIps)

Set the outboundIps property: Desired outbound IP resources for the managed NAT Gateway.

Parameters:

outboundIps - the outboundIps value to set.

Returns:

the ManagedClusterNatGatewayProfile object itself.

withSku

public ManagedClusterNatGatewayProfile withSku(ManagedClusterNATGatewaySku sku)

Set the sku property: The SKU of the managed cluster NAT Gateway. Defaults to 'StandardV2' where available in the region, otherwise 'Standard'.

Parameters:

sku - the sku value to set.

Returns:

the ManagedClusterNatGatewayProfile object itself.

Applies to