ManagedClusterLoadBalancerProfile Class

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

Implements

public final class ManagedClusterLoadBalancerProfile
implements JsonSerializable<ManagedClusterLoadBalancerProfile>

Profile of the managed cluster load balancer.

Constructor Summary

Constructor Description
ManagedClusterLoadBalancerProfile()

Creates an instance of ManagedClusterLoadBalancerProfile class.

Method Summary

Modifier and Type Method and Description
Integer allocatedOutboundPorts()

Get the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.

BackendPoolType backendPoolType()

Get the backendPoolType property: The type of the managed inbound Load Balancer BackendPool.

List<ResourceReference> effectiveOutboundIPs()

Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.

Boolean enableMultipleStandardLoadBalancers()

Get the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.

static ManagedClusterLoadBalancerProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterLoadBalancerProfile from the JsonReader.

Integer idleTimeoutInMinutes()

Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.

ManagedClusterLoadBalancerProfileManagedOutboundIPs managedOutboundIPs()

Get the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.

ManagedClusterLoadBalancerProfileOutboundIPs outboundIPs()

Get the outboundIPs property: Desired outbound IP resources for the cluster load balancer.

ManagedClusterLoadBalancerProfileOutboundIpPrefixes outboundIpPrefixes()

Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterLoadBalancerProfile withAllocatedOutboundPorts(Integer allocatedOutboundPorts)

Set the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.

ManagedClusterLoadBalancerProfile withBackendPoolType(BackendPoolType backendPoolType)

Set the backendPoolType property: The type of the managed inbound Load Balancer BackendPool.

ManagedClusterLoadBalancerProfile withEffectiveOutboundIPs(List<ResourceReference> effectiveOutboundIPs)

Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.

ManagedClusterLoadBalancerProfile withEnableMultipleStandardLoadBalancers(Boolean enableMultipleStandardLoadBalancers)

Set the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.

ManagedClusterLoadBalancerProfile withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)

Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.

ManagedClusterLoadBalancerProfile withManagedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPs managedOutboundIPs)

Set the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.

ManagedClusterLoadBalancerProfile withOutboundIPs(ManagedClusterLoadBalancerProfileOutboundIPs outboundIPs)

Set the outboundIPs property: Desired outbound IP resources for the cluster load balancer.

ManagedClusterLoadBalancerProfile withOutboundIpPrefixes(ManagedClusterLoadBalancerProfileOutboundIpPrefixes outboundIpPrefixes)

Set the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterLoadBalancerProfile

public ManagedClusterLoadBalancerProfile()

Creates an instance of ManagedClusterLoadBalancerProfile class.

Method Details

allocatedOutboundPorts

public Integer allocatedOutboundPorts()

Get the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.

Returns:

the allocatedOutboundPorts value.

backendPoolType

public BackendPoolType backendPoolType()

Get the backendPoolType property: The type of the managed inbound Load Balancer BackendPool.

Returns:

the backendPoolType value.

effectiveOutboundIPs

public List effectiveOutboundIPs()

Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.

Returns:

the effectiveOutboundIPs value.

enableMultipleStandardLoadBalancers

public Boolean enableMultipleStandardLoadBalancers()

Get the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.

Returns:

the enableMultipleStandardLoadBalancers value.

fromJson

public static ManagedClusterLoadBalancerProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterLoadBalancerProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterLoadBalancerProfile 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 ManagedClusterLoadBalancerProfile.

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 30 minutes.

Returns:

the idleTimeoutInMinutes value.

managedOutboundIPs

public ManagedClusterLoadBalancerProfileManagedOutboundIPs managedOutboundIPs()

Get the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.

Returns:

the managedOutboundIPs value.

outboundIPs

public ManagedClusterLoadBalancerProfileOutboundIPs outboundIPs()

Get the outboundIPs property: Desired outbound IP resources for the cluster load balancer.

Returns:

the outboundIPs value.

outboundIpPrefixes

public ManagedClusterLoadBalancerProfileOutboundIpPrefixes outboundIpPrefixes()

Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.

Returns:

the outboundIpPrefixes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllocatedOutboundPorts

public ManagedClusterLoadBalancerProfile withAllocatedOutboundPorts(Integer allocatedOutboundPorts)

Set the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.

Parameters:

allocatedOutboundPorts - the allocatedOutboundPorts value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

withBackendPoolType

public ManagedClusterLoadBalancerProfile withBackendPoolType(BackendPoolType backendPoolType)

Set the backendPoolType property: The type of the managed inbound Load Balancer BackendPool.

Parameters:

backendPoolType - the backendPoolType value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

withEffectiveOutboundIPs

public ManagedClusterLoadBalancerProfile withEffectiveOutboundIPs(List effectiveOutboundIPs)

Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.

Parameters:

effectiveOutboundIPs - the effectiveOutboundIPs value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

withEnableMultipleStandardLoadBalancers

public ManagedClusterLoadBalancerProfile withEnableMultipleStandardLoadBalancers(Boolean enableMultipleStandardLoadBalancers)

Set the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.

Parameters:

enableMultipleStandardLoadBalancers - the enableMultipleStandardLoadBalancers value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

withIdleTimeoutInMinutes

public ManagedClusterLoadBalancerProfile 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 30 minutes.

Parameters:

idleTimeoutInMinutes - the idleTimeoutInMinutes value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

withManagedOutboundIPs

public ManagedClusterLoadBalancerProfile withManagedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPs managedOutboundIPs)

Set the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.

Parameters:

managedOutboundIPs - the managedOutboundIPs value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

withOutboundIPs

public ManagedClusterLoadBalancerProfile withOutboundIPs(ManagedClusterLoadBalancerProfileOutboundIPs outboundIPs)

Set the outboundIPs property: Desired outbound IP resources for the cluster load balancer.

Parameters:

outboundIPs - the outboundIPs value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

withOutboundIpPrefixes

public ManagedClusterLoadBalancerProfile withOutboundIpPrefixes(ManagedClusterLoadBalancerProfileOutboundIpPrefixes outboundIpPrefixes)

Set the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.

Parameters:

outboundIpPrefixes - the outboundIpPrefixes value to set.

Returns:

the ManagedClusterLoadBalancerProfile object itself.

Applies to