Class ManagedClusterLoadBalancerProfileManagedOutboundIPs

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs
All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterLoadBalancerProfileManagedOutboundIPs>

public final class ManagedClusterLoadBalancerProfileManagedOutboundIPs extends Object implements com.azure.json.JsonSerializable<ManagedClusterLoadBalancerProfileManagedOutboundIPs>
Desired managed outbound IPs for the cluster load balancer.
  • Constructor Details

    • ManagedClusterLoadBalancerProfileManagedOutboundIPs

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

    • count

      public Integer count()
      Get the count property: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
      Returns:
      the count value.
    • withCount

      Set the count property: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
      Parameters:
      count - the count value to set.
      Returns:
      the ManagedClusterLoadBalancerProfileManagedOutboundIPs object itself.
    • countIPv6

      public Integer countIPv6()
      Get the countIPv6 property: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
      Returns:
      the countIPv6 value.
    • withCountIPv6

      Set the countIPv6 property: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
      Parameters:
      countIPv6 - the countIPv6 value to set.
      Returns:
      the ManagedClusterLoadBalancerProfileManagedOutboundIPs 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<ManagedClusterLoadBalancerProfileManagedOutboundIPs>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterLoadBalancerProfileManagedOutboundIPs fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ManagedClusterLoadBalancerProfileManagedOutboundIPs from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ManagedClusterLoadBalancerProfileManagedOutboundIPs 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 ManagedClusterLoadBalancerProfileManagedOutboundIPs.