Class ManagedClusterNatGatewayProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterNatGatewayProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterNatGatewayProfile>
public final class ManagedClusterNatGatewayProfile
extends Object
implements com.azure.json.JsonSerializable<ManagedClusterNatGatewayProfile>
Profile of the managed cluster NAT gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterNatGatewayProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterNatGatewayProfile from the JsonReader.Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.Get the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withEffectiveOutboundIPs(List<ResourceReference> effectiveOutboundIPs) Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.withManagedOutboundIpProfile(ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile) Set the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.Methods inherited from class java.lang.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
-
ManagedClusterNatGatewayProfile
public ManagedClusterNatGatewayProfile()Creates an instance of ManagedClusterNatGatewayProfile class.
-
-
Method Details
-
managedOutboundIpProfile
Get the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.- Returns:
- the managedOutboundIpProfile value.
-
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.
-
effectiveOutboundIPs
Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.- Returns:
- the effectiveOutboundIPs value.
-
withEffectiveOutboundIPs
public ManagedClusterNatGatewayProfile withEffectiveOutboundIPs(List<ResourceReference> 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.
-
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.
-
withIdleTimeoutInMinutes
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ManagedClusterNatGatewayProfile>- Throws:
IOException
-
fromJson
public static ManagedClusterNatGatewayProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-