Class 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.
    • 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
      • 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
      • getPrivateIps

        public List<LoadBalancerPrivateIpsItem> getPrivateIps()
        Gets the privateIps. The private IP addresses assigned to this load balancer.
        Returns:
        the privateIps
      • 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 may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
        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