Package com.softlayer.api.service.scale
Interface LoadBalancer.Service
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- LoadBalancer
@ApiService("SoftLayer_Scale_LoadBalancer") public static interface LoadBalancer.Service extends Service
A scale load balancer is a configuration for a load balancer virtual server that autoscaled members will be automatically configured for.
- See Also:
- SoftLayer_Scale_LoadBalancer
-
Method Summary
Modifier and Type Method Description LoadBalancer.ServiceAsyncasAsync()Get an async version of this serviceLoadBalancercreateObject(LoadBalancer templateObject)Create a load balancer for a scale group.BooleandeleteObject()Delete this load balancer configuration.BooleaneditObject(LoadBalancer templateObject)Edit this load balancer configuration.LonggetAllocationPercent()The percentage of connections allocated to this virtual server.CheckgetHealthCheck()The health check for this configuration.LoadBalancergetObject()MethodgetRoutingMethod()The routing method.TypegetRoutingType()The routing type.GroupgetScaleGroup()The group this load balancer configuration is for.LonggetVirtualIpAddressId()The ID of the virtual IP address.VirtualServergetVirtualServer()The virtual server for this configuration.LonggetVirtualServerPort()The port on the virtual server.voidsetMask(LoadBalancer.Mask mask)LoadBalancer.MaskwithMask()Use the existing mask on this service or create it if not presentLoadBalancer.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
LoadBalancer.ServiceAsync asAsync()Description copied from interface:ServiceGet an async version of this service -
withNewMask
LoadBalancer.Mask withNewMask()Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
LoadBalancer.Mask withMask()Description copied from interface:MaskableUse the existing mask on this service or create it if not present -
setMask
-
createObject
Create a load balancer for a scale group. Once created, the configuration will be used to configure the load balancers for autoscaled members.
If the given virtual server port exists for the given virtual IP address, it is reused here if all the other values match. Otherwise, the virtual server port will be created. -
deleteObject
Delete this load balancer configuration. Note, this does not affect existing scaled members. Once deleted however, future scaled members will not be load balanced with this configuration. -
editObject
Edit this load balancer configuration. Note, this does not affect existing scaled members. Once edited however, future scaled members will be load balanced with this configuration.- See Also:
- SoftLayer_Scale_LoadBalancer::editObject
-
getObject
- See Also:
- SoftLayer_Scale_LoadBalancer::getObject
-
getAllocationPercent
The percentage of connections allocated to this virtual server. -
getHealthCheck
The health check for this configuration. -
getRoutingMethod
The routing method. -
getRoutingType
The routing type. -
getScaleGroup
The group this load balancer configuration is for. -
getVirtualIpAddressId
The ID of the virtual IP address. -
getVirtualServer
The virtual server for this configuration. -
getVirtualServerPort
The port on the virtual server.
-