Class ManagedClusterLoadBalancerProfileManagedOutboundIPs
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs
-
public final class ManagedClusterLoadBalancerProfileManagedOutboundIPs extends Object
Desired managed outbound IPs for the cluster load balancer.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterLoadBalancerProfileManagedOutboundIPs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercount()Get the count property: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer.IntegercountIPv6()Get the countIPv6 property: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer.voidvalidate()Validates the instance.ManagedClusterLoadBalancerProfileManagedOutboundIPswithCount(Integer count)Set the count property: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer.ManagedClusterLoadBalancerProfileManagedOutboundIPswithCountIPv6(Integer countIPv6)Set the countIPv6 property: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer.
-
-
-
Method Detail
-
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
public ManagedClusterLoadBalancerProfileManagedOutboundIPs withCount(Integer count)
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
public ManagedClusterLoadBalancerProfileManagedOutboundIPs withCountIPv6(Integer countIPv6)
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.
-
-