Class ManagedClusterLoadBalancerProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile
-
public final class ManagedClusterLoadBalancerProfile extends Object
Profile of the managed cluster load balancer.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterLoadBalancerProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerallocatedOutboundPorts()Get the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.List<ResourceReference>effectiveOutboundIPs()Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.BooleanenableMultipleStandardLoadBalancers()Get the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.IntegeridleTimeoutInMinutes()Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.ManagedClusterLoadBalancerProfileManagedOutboundIPsmanagedOutboundIPs()Get the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.ManagedClusterLoadBalancerProfileOutboundIpPrefixesoutboundIpPrefixes()Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.ManagedClusterLoadBalancerProfileOutboundIPsoutboundIPs()Get the outboundIPs property: Desired outbound IP resources for the cluster load balancer.voidvalidate()Validates the instance.ManagedClusterLoadBalancerProfilewithAllocatedOutboundPorts(Integer allocatedOutboundPorts)Set the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.ManagedClusterLoadBalancerProfilewithEffectiveOutboundIPs(List<ResourceReference> effectiveOutboundIPs)Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster load balancer.ManagedClusterLoadBalancerProfilewithEnableMultipleStandardLoadBalancers(Boolean enableMultipleStandardLoadBalancers)Set the enableMultipleStandardLoadBalancers property: Enable multiple standard load balancers per AKS cluster or not.ManagedClusterLoadBalancerProfilewithIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.ManagedClusterLoadBalancerProfilewithManagedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPs managedOutboundIPs)Set the managedOutboundIPs property: Desired managed outbound IPs for the cluster load balancer.ManagedClusterLoadBalancerProfilewithOutboundIpPrefixes(ManagedClusterLoadBalancerProfileOutboundIpPrefixes outboundIpPrefixes)Set the outboundIpPrefixes property: Desired outbound IP Prefix resources for the cluster load balancer.ManagedClusterLoadBalancerProfilewithOutboundIPs(ManagedClusterLoadBalancerProfileOutboundIPs outboundIPs)Set the outboundIPs property: Desired outbound IP resources for the cluster load balancer.
-
-
-
Method Detail
-
managedOutboundIPs
public ManagedClusterLoadBalancerProfileManagedOutboundIPs 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
public ManagedClusterLoadBalancerProfileOutboundIpPrefixes 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
public ManagedClusterLoadBalancerProfileOutboundIPs 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
public List<ResourceReference> 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
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.
-
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.
-
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.
-
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.
-
enableMultipleStandardLoadBalancers
public Boolean 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.
-
-