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 Details

    • ManagedClusterNatGatewayProfile

      public ManagedClusterNatGatewayProfile()
      Creates an instance of ManagedClusterNatGatewayProfile class.
  • Method Details

    • managedOutboundIpProfile

      public ManagedClusterManagedOutboundIpProfile 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

      public List<ResourceReference> effectiveOutboundIPs()
      Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.
      Returns:
      the effectiveOutboundIPs value.
    • 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.