Package com.ibm.cloud.is.vpc.v1.model
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.GenericModelLoadBalancer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLoadBalancer.OperatingStatusThe operating status of this load balancer.static interfaceLoadBalancer.ProvisioningStatusThe provisioning status of this load balancer: - `active`: The load balancer is running.static interfaceLoadBalancer.ResourceTypeThe resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Gets the createdAt.StringgetCrn()Gets the crn.LoadBalancerDNSgetDns()Gets the dns.StringgetHostname()Gets the hostname.StringgetHref()Gets the href.StringgetId()Gets the id.List<LoadBalancerListenerReference>getListeners()Gets the listeners.LoadBalancerLogginggetLogging()Gets the logging.StringgetName()Gets the name.StringgetOperatingStatus()Gets the operatingStatus.List<LoadBalancerPoolReference>getPools()Gets the pools.List<LoadBalancerPrivateIpsItem>getPrivateIps()Gets the privateIps.LoadBalancerProfileReferencegetProfile()Gets the profile.StringgetProvisioningStatus()Gets the provisioningStatus.List<IP>getPublicIps()Gets the publicIps.ResourceGroupReferencegetResourceGroup()Gets the resourceGroup.StringgetResourceType()Gets the resourceType.List<SecurityGroupReference>getSecurityGroups()Gets the securityGroups.List<SubnetReference>getSubnets()Gets the subnets.BooleanisInstanceGroupsSupported()Gets the instanceGroupsSupported.BooleanisIsPublic()Gets the isPublic.BooleanisRouteMode()Gets the routeMode.BooleanisSecurityGroupsSupported()Gets the securityGroupsSupported.BooleanisUdpSupported()Gets the udpSupported.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that this load balancer was created.- Returns:
- the createdAt
-
getCrn
public String getCrn()
Gets the crn. The load balancer's CRN.- Returns:
- the crn
-
getDns
public LoadBalancerDNS 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`.- Returns:
- the dns
-
getHostname
public String getHostname()
Gets the hostname. Fully qualified domain name assigned to this load balancer.- Returns:
- the hostname
-
getHref
public String getHref()
Gets the href. The load balancer's canonical URL.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this load balancer.- Returns:
- the id
-
isInstanceGroupsSupported
public Boolean isInstanceGroupsSupported()
Gets the instanceGroupsSupported. Indicates whether this load balancer supports instance groups.- Returns:
- the instanceGroupsSupported
-
isIsPublic
public Boolean isIsPublic()
Gets the isPublic. The type of this load balancer, public or private.- Returns:
- the isPublic
-
getListeners
public List<LoadBalancerListenerReference> getListeners()
Gets the listeners. The listeners of this load balancer.- Returns:
- the listeners
-
getLogging
public LoadBalancerLogging getLogging()
Gets the logging. The logging configuration for this load balancer.- Returns:
- the logging
-
getName
public String 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
public String getOperatingStatus()
Gets the operatingStatus. The operating status of this load balancer.- Returns:
- the operatingStatus
-
getPools
public List<LoadBalancerPoolReference> getPools()
Gets the pools. The pools of this load balancer.- Returns:
- the pools
-
getPrivateIps
public List<LoadBalancerPrivateIpsItem> getPrivateIps()
Gets the privateIps. The private IP addresses assigned to this load balancer.- Returns:
- the privateIps
-
getProfile
public LoadBalancerProfileReference getProfile()
Gets the profile. The profile for this load balancer.- Returns:
- the profile
-
getProvisioningStatus
public String 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 are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the load balancer on which the unexpected property value was encountered.- Returns:
- the provisioningStatus
-
getPublicIps
public List<IP> getPublicIps()
Gets the publicIps. The public IP addresses assigned to this load balancer. Applicable only for public load balancers.- Returns:
- the publicIps
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this load balancer.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
isRouteMode
public Boolean 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
public List<SecurityGroupReference> getSecurityGroups()
Gets the securityGroups. The security groups targeting this load balancer. If empty, all inbound and outbound traffic is allowed. Applicable only for load balancers that support security groups.- Returns:
- the securityGroups
-
isSecurityGroupsSupported
public Boolean isSecurityGroupsSupported()
Gets the securityGroupsSupported. Indicates whether this load balancer supports security groups.- Returns:
- the securityGroupsSupported
-
getSubnets
public List<SubnetReference> getSubnets()
Gets the subnets. The subnets this load balancer is provisioned in. The load balancer's availability depends on the availability of the zones that the subnets reside in. All subnets will be in the same VPC.- Returns:
- the subnets
-
isUdpSupported
public Boolean isUdpSupported()
Gets the udpSupported. Indicates whether this load balancer supports UDP.- Returns:
- the udpSupported
-
-