ManagedClusterLoadBalancerProfileManagedOutboundIPs Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs

Implements

public final class ManagedClusterLoadBalancerProfileManagedOutboundIPs
implements JsonSerializable<ManagedClusterLoadBalancerProfileManagedOutboundIPs>

Desired managed outbound IPs for the cluster load balancer.

Constructor Summary

Constructor Description
ManagedClusterLoadBalancerProfileManagedOutboundIPs()

Creates an instance of ManagedClusterLoadBalancerProfileManagedOutboundIPs class.

Method Summary

Modifier and Type Method and Description
Integer count()

Get the count property: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer.

Integer countIPv6()

Get the countIPv6 property: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer.

static ManagedClusterLoadBalancerProfileManagedOutboundIPs fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterLoadBalancerProfileManagedOutboundIPs from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterLoadBalancerProfileManagedOutboundIPs withCount(Integer count)

Set the count property: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer.

ManagedClusterLoadBalancerProfileManagedOutboundIPs withCountIPv6(Integer countIPv6)

Set the countIPv6 property: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer.

Methods inherited from java.lang.Object

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.

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.

fromJson

public static ManagedClusterLoadBalancerProfileManagedOutboundIPs fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to