Class ManagedClusterLoadBalancerProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterLoadBalancerProfile>
public final class ManagedClusterLoadBalancerProfile
extends Object
implements com.azure.json.JsonSerializable<ManagedClusterLoadBalancerProfile>
Profile of the managed cluster load balancer.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterLoadBalancerProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.Get the backendPoolType property: The type of the managed inbound Load Balancer BackendPool.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.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterLoadBalancerProfile from the JsonReader.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.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAllocatedOutboundPorts(Integer allocatedOutboundPorts) Set the allocatedOutboundPorts property: The desired number of allocated SNAT ports per VM.withBackendPoolType(BackendPoolType backendPoolType) Set the backendPoolType property: The type of the managed inbound Load Balancer BackendPool.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedClusterLoadBalancerProfile
public ManagedClusterLoadBalancerProfile()Creates an instance of ManagedClusterLoadBalancerProfile class.
-
-
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.
-
backendPoolType
Get the backendPoolType property: The type of the managed inbound Load Balancer BackendPool.- Returns:
- the backendPoolType value.
-
withBackendPoolType
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ManagedClusterLoadBalancerProfile>- Throws:
IOException
-
fromJson
public static ManagedClusterLoadBalancerProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-