Class ManagedClusterLoadBalancerProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile
Profile of the managed cluster load balancer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.Get the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.Get the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.Get the outboundIPs property: Desired outbound IP resources for the cluster load balancer.voidvalidate()Validates the instance.withAllocatedOutboundPorts(Integer allocatedOutboundPorts) Set the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.withEffectiveOutboundIPs(List<ResourceReference> effectiveOutboundIPs) Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.withEnableMultipleStandardLoadBalancers(Boolean enableMultipleStandardLoadBalancers) Set the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.withManagedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPs managedOutboundIPs) Set the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.withOutboundIpPrefixes(ManagedClusterLoadBalancerProfileOutboundIpPrefixes outboundIpPrefixes) Set the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.Set the outboundIPs property: Desired outbound IP resources for the cluster load balancer.
-
Constructor Details
-
ManagedClusterLoadBalancerProfile
public ManagedClusterLoadBalancerProfile()
-
-
Method Details
-
managedOutboundIPs
Get the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.- Returns:
- the managedOutboundIPs value.
-
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.
-
outboundIpPrefixes
Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.- Returns:
- the outboundIpPrefixes value.
-
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.
-
outboundIPs
Get the outboundIPs property: Desired outbound IP resources for the cluster load balancer.- Returns:
- the outboundIPs value.
-
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.
-
effectiveOutboundIPs
Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.- Returns:
- the effectiveOutboundIPs value.
-
withEffectiveOutboundIPs
public ManagedClusterLoadBalancerProfile withEffectiveOutboundIPs(List<ResourceReference> 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.
-
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.
-
withAllocatedOutboundPorts
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.
-
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.
-
withIdleTimeoutInMinutes
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.
-
enableMultipleStandardLoadBalancers
Get the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.- Returns:
- the enableMultipleStandardLoadBalancers value.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-