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
All Methods Instance Methods Abstract Methods 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 it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
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
void setMask(LoadBalancer.Mask mask)
-
createObject
@ApiMethod LoadBalancer createObject(LoadBalancer templateObject)
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
@ApiMethod(instanceRequired=true) Boolean 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
@ApiMethod(instanceRequired=true) Boolean editObject(LoadBalancer templateObject)
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
@ApiMethod(instanceRequired=true) LoadBalancer getObject()
- See Also:
- SoftLayer_Scale_LoadBalancer::getObject
-
getAllocationPercent
@ApiMethod(instanceRequired=true) Long getAllocationPercent()
The percentage of connections allocated to this virtual server.
-
getHealthCheck
@ApiMethod(instanceRequired=true) Check getHealthCheck()
The health check for this configuration.
-
getRoutingMethod
@ApiMethod(instanceRequired=true) Method getRoutingMethod()
The routing method.
-
getRoutingType
@ApiMethod(instanceRequired=true) Type getRoutingType()
The routing type.
-
getScaleGroup
@ApiMethod(instanceRequired=true) Group getScaleGroup()
The group this load balancer configuration is for.
-
getVirtualIpAddressId
@ApiMethod(instanceRequired=true) Long getVirtualIpAddressId()
The ID of the virtual IP address.
-
getVirtualServer
@ApiMethod(instanceRequired=true) VirtualServer getVirtualServer()
The virtual server for this configuration.
-
getVirtualServerPort
@ApiMethod(instanceRequired=true) Long getVirtualServerPort()
The port on the virtual server.
-
-