Class LoadBalancer
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.LoadBalancer
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class LoadBalancer
extends com.ibm.cloud.sdk.core.service.model.GenericModel
LoadBalancer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The access mode for this load balancer: - `private`: reachable from within its VPC, at IP addresses in `private_ips` - `private_path`: reachable through an endpoint gateway - `public`: reachable from the internet at the IP addresses in `public_ips`.static interface
The availability of this load balancer: - `subnet`: remains available if at least one zone that the load balancer's subnets reside in is available - `region`: remains available if at least one zone in the region is available.static interface
The operating status of this load balancer.static interface
The provisioning status of this load balancer: - `active`: The load balancer is running.static interface
The resource type. -
Method Summary
Modifier and TypeMethodDescriptionGets the accessMode.Gets the availability.Gets the createdAt.getCrn()
Gets the crn.getDns()
Gets the dns.Gets the hostname.getHref()
Gets the href.getId()
Gets the id.Gets the listeners.Gets the logging.getName()
Gets the name.Gets the operatingStatus.getPools()
Gets the pools.Gets the privateIps.Gets the profile.Gets the provisioningStatus.Gets the publicIps.Gets the resourceGroup.Gets the resourceType.Gets the securityGroups.Gets the subnets.Gets the instanceGroupsSupported.Gets the isPrivatePath.Gets the isPublic.Gets the routeMode.Gets the securityGroupsSupported.Gets the sourceIpSessionPersistenceSupported.Gets the udpSupported.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getAccessMode
Gets the accessMode. The access mode for this load balancer: - `private`: reachable from within its VPC, at IP addresses in `private_ips` - `private_path`: reachable through an endpoint gateway - `public`: reachable from the internet at the IP addresses in `public_ips`. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the accessMode
-
getAvailability
Gets the availability. The availability of this load balancer: - `subnet`: remains available if at least one zone that the load balancer's subnets reside in is available - `region`: remains available if at least one zone in the region is available. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the availability
-
getCreatedAt
Gets the createdAt. The date and time that this load balancer was created.- Returns:
- the createdAt
-
getCrn
-
getDns
Gets the dns. The DNS configuration for this load balancer. If absent, DNS `A` records for this load balancer's `hostname` property will be added to the public DNS zone `lb.appdomain.cloud`. Not supported by private path load balancers.- Returns:
- the dns
-
getHostname
Gets the hostname. Fully qualified domain name assigned to this load balancer.- Returns:
- the hostname
-
getHref
-
getId
-
isInstanceGroupsSupported
Gets the instanceGroupsSupported. Indicates whether this load balancer supports instance groups.- Returns:
- the instanceGroupsSupported
-
isIsPrivatePath
Gets the isPrivatePath. Indicates whether this is a private path load balancer.- Returns:
- the isPrivatePath
-
isIsPublic
Gets the isPublic. The type of this load balancer, public or private.- Returns:
- the isPublic
-
getListeners
Gets the listeners. The listeners of this load balancer.- Returns:
- the listeners
-
getLogging
Gets the logging. The logging configuration for this load balancer.- Returns:
- the logging
-
getName
Gets the name. The name for this load balancer. The name is unique across all load balancers in the VPC.- Returns:
- the name
-
getOperatingStatus
Gets the operatingStatus. The operating status of this load balancer. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the operatingStatus
-
getPools
Gets the pools. The pools of this load balancer.- Returns:
- the pools
-
getPrivateIps
Gets the privateIps. The private IP addresses assigned to this load balancer. Will be empty if `is_private` is `false`.- Returns:
- the privateIps
-
getProfile
Gets the profile. The profile for this load balancer.- Returns:
- the profile
-
getProvisioningStatus
Gets the provisioningStatus. The provisioning status of this load balancer: - `active`: The load balancer is running. - `create_pending`: The load balancer is being created. - `delete_pending`: The load balancer is being deleted. - `maintenance_pending`: The load balancer is unavailable due to an internal error (contact IBM support). - `migrate_pending`: The load balancer is migrating to the requested configuration. Performance may be degraded. - `update_pending`: The load balancer is being updated to the requested configuration. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the provisioningStatus
-
getPublicIps
-
getResourceGroup
Gets the resourceGroup. The resource group for this load balancer.- Returns:
- the resourceGroup
-
getResourceType
-
isRouteMode
Gets the routeMode. Indicates whether route mode is enabled for this load balancer. At present, public load balancers are not supported with route mode enabled.- Returns:
- the routeMode
-
getSecurityGroups
Gets the securityGroups. The security groups targeting this load balancer. If empty, all inbound and outbound traffic is allowed.- Returns:
- the securityGroups
-
isSecurityGroupsSupported
Gets the securityGroupsSupported. Indicates whether this load balancer supports security groups.- Returns:
- the securityGroupsSupported
-
isSourceIpSessionPersistenceSupported
Gets the sourceIpSessionPersistenceSupported. Indicates whether this load balancer supports source IP session persistence.- Returns:
- the sourceIpSessionPersistenceSupported
-
getSubnets
Gets the subnets. The subnets this load balancer is provisioned in. All subnets will be in the same VPC.- Returns:
- the subnets
-
isUdpSupported
Gets the udpSupported. Indicates whether this load balancer supports UDP.- Returns:
- the udpSupported
-