All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.network.application.delivery.Controller Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.network.application.delivery;

import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.Location;
import com.softlayer.api.service.container.Graph;
import com.softlayer.api.service.container.bandwidth.GraphOutputs;
import com.softlayer.api.service.metric.tracking.object.Data;
import com.softlayer.api.service.network.Subnet;
import com.softlayer.api.service.network.Vlan;
import com.softlayer.api.service.network.application.delivery.controller.Type;
import com.softlayer.api.service.network.application.delivery.controller.configuration.History;
import com.softlayer.api.service.network.loadbalancer.LoadBalancerService;
import com.softlayer.api.service.network.loadbalancer.VirtualIpAddress;
import com.softlayer.api.service.provisioning.version1.Transaction;
import com.softlayer.api.service.software.component.Password;
import com.softlayer.api.service.tag.Reference;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.concurrent.Future;

/**
 * The SoftLayer_Network_Application_Delivery_Controller data type models a single instance of an application delivery controller. Local properties are read only, except for a ''notes'' property, which can be used to describe your application delivery controller service. The type's relational properties provide more information to the service's function and login information to the controller's backend management if advanced view is enabled. 
 *
 * @see SoftLayer_Network_Application_Delivery_Controller
 */
@ApiType("SoftLayer_Network_Application_Delivery_Controller")
public class Controller extends Entity {

    /**
     * The SoftLayer customer account that owns an application delivery controller record.
     */
    @ApiProperty
    protected Account account;

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    /**
     * The average daily public bandwidth usage for the current billing cycle.
     */
    @ApiProperty
    protected BigDecimal averageDailyPublicBandwidthUsage;

    public BigDecimal getAverageDailyPublicBandwidthUsage() {
        return averageDailyPublicBandwidthUsage;
    }

    public void setAverageDailyPublicBandwidthUsage(BigDecimal averageDailyPublicBandwidthUsage) {
        this.averageDailyPublicBandwidthUsage = averageDailyPublicBandwidthUsage;
    }

    /**
     * The billing item for a Application Delivery Controller.
     */
    @ApiProperty
    protected com.softlayer.api.service.billing.item.network.application.delivery.Controller billingItem;

    public com.softlayer.api.service.billing.item.network.application.delivery.Controller getBillingItem() {
        return billingItem;
    }

    public void setBillingItem(com.softlayer.api.service.billing.item.network.application.delivery.Controller billingItem) {
        this.billingItem = billingItem;
    }

    /**
     * Previous configurations for an Application Delivery Controller.
     */
    @ApiProperty
    protected List configurationHistory;

    public List getConfigurationHistory() {
        if (configurationHistory == null) {
            configurationHistory = new ArrayList();
        }
        return configurationHistory;
    }

    /**
     * The datacenter that the application delivery controller resides in.
     */
    @ApiProperty
    protected Location datacenter;

    public Location getDatacenter() {
        return datacenter;
    }

    public void setDatacenter(Location datacenter) {
        this.datacenter = datacenter;
    }

    /**
     * A brief description of an application delivery controller record.
     */
    @ApiProperty
    protected String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * The date in which the license for this application delivery controller will expire.
     */
    @ApiProperty
    protected GregorianCalendar licenseExpirationDate;

    public GregorianCalendar getLicenseExpirationDate() {
        return licenseExpirationDate;
    }

    public void setLicenseExpirationDate(GregorianCalendar licenseExpirationDate) {
        this.licenseExpirationDate = licenseExpirationDate;
    }

    /**
     * The virtual IP address records that belong to an application delivery controller based load balancer.
     */
    @ApiProperty
    protected List loadBalancers;

    public List getLoadBalancers() {
        if (loadBalancers == null) {
            loadBalancers = new ArrayList();
        }
        return loadBalancers;
    }

    /**
     * A flag indicating that this Application Delivery Controller is a managed resource.
     */
    @ApiProperty
    protected Boolean managedResourceFlag;

    public Boolean getManagedResourceFlag() {
        return managedResourceFlag;
    }

    public void setManagedResourceFlag(Boolean managedResourceFlag) {
        this.managedResourceFlag = managedResourceFlag;
    }

    /**
     * An application delivery controller's management ip address.
     */
    @ApiProperty
    protected String managementIpAddress;

    public String getManagementIpAddress() {
        return managementIpAddress;
    }

    public void setManagementIpAddress(String managementIpAddress) {
        this.managementIpAddress = managementIpAddress;
    }

    /**
     * The network VLAN that an application delivery controller resides on.
     */
    @ApiProperty
    protected Vlan networkVlan;

    public Vlan getNetworkVlan() {
        return networkVlan;
    }

    public void setNetworkVlan(Vlan networkVlan) {
        this.networkVlan = networkVlan;
    }

    /**
     * The network VLANs that an application delivery controller resides on.
     */
    @ApiProperty
    protected List networkVlans;

    public List getNetworkVlans() {
        if (networkVlans == null) {
            networkVlans = new ArrayList();
        }
        return networkVlans;
    }

    /**
     * The total public outbound bandwidth for the current billing cycle.
     */
    @ApiProperty
    protected BigDecimal outboundPublicBandwidthUsage;

    public BigDecimal getOutboundPublicBandwidthUsage() {
        return outboundPublicBandwidthUsage;
    }

    public void setOutboundPublicBandwidthUsage(BigDecimal outboundPublicBandwidthUsage) {
        this.outboundPublicBandwidthUsage = outboundPublicBandwidthUsage;
    }

    /**
     * The password used to connect to an application delivery controller's management interface when it is operating in advanced view mode.
     */
    @ApiProperty
    protected Password password;

    public Password getPassword() {
        return password;
    }

    public void setPassword(Password password) {
        this.password = password;
    }

    /**
     * An application delivery controller's primary public IP address.
     */
    @ApiProperty
    protected String primaryIpAddress;

    public String getPrimaryIpAddress() {
        return primaryIpAddress;
    }

    public void setPrimaryIpAddress(String primaryIpAddress) {
        this.primaryIpAddress = primaryIpAddress;
    }

    /**
     * The projected public outbound bandwidth for the current billing cycle.
     */
    @ApiProperty
    protected BigDecimal projectedPublicBandwidthUsage;

    public BigDecimal getProjectedPublicBandwidthUsage() {
        return projectedPublicBandwidthUsage;
    }

    public void setProjectedPublicBandwidthUsage(BigDecimal projectedPublicBandwidthUsage) {
        this.projectedPublicBandwidthUsage = projectedPublicBandwidthUsage;
    }

    /**
     * A network application controller's subnets. A subnet is a group of IP addresses
     */
    @ApiProperty
    protected List subnets;

    public List getSubnets() {
        if (subnets == null) {
            subnets = new ArrayList();
        }
        return subnets;
    }

    @ApiProperty
    protected List tagReferences;

    public List getTagReferences() {
        if (tagReferences == null) {
            tagReferences = new ArrayList();
        }
        return tagReferences;
    }

    @ApiProperty
    protected Type type;

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    @ApiProperty
    protected List virtualIpAddresses;

    public List getVirtualIpAddresses() {
        if (virtualIpAddresses == null) {
            virtualIpAddresses = new ArrayList();
        }
        return virtualIpAddresses;
    }

    /**
     * The unique identifier of the SoftLayer customer account that owns an application delivery controller record
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long accountId;

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        accountIdSpecified = true;
        this.accountId = accountId;
    }

    protected boolean accountIdSpecified;

    public boolean isAccountIdSpecified() {
        return accountIdSpecified;
    }

    public void unsetAccountId() {
        accountId = null;
        accountIdSpecified = false;
    }

    /**
     * The date that an application delivery controller record was created
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar createDate;

    public GregorianCalendar getCreateDate() {
        return createDate;
    }

    public void setCreateDate(GregorianCalendar createDate) {
        createDateSpecified = true;
        this.createDate = createDate;
    }

    protected boolean createDateSpecified;

    public boolean isCreateDateSpecified() {
        return createDateSpecified;
    }

    public void unsetCreateDate() {
        createDate = null;
        createDateSpecified = false;
    }

    /**
     * An application delivery controller's unique identifier
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        idSpecified = true;
        this.id = id;
    }

    protected boolean idSpecified;

    public boolean isIdSpecified() {
        return idSpecified;
    }

    public void unsetId() {
        id = null;
        idSpecified = false;
    }

    /**
     * The date that an application delivery controller record was last modified
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar modifyDate;

    public GregorianCalendar getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(GregorianCalendar modifyDate) {
        modifyDateSpecified = true;
        this.modifyDate = modifyDate;
    }

    protected boolean modifyDateSpecified;

    public boolean isModifyDateSpecified() {
        return modifyDateSpecified;
    }

    public void unsetModifyDate() {
        modifyDate = null;
        modifyDateSpecified = false;
    }

    /**
     * An application delivery controller's name
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        nameSpecified = true;
        this.name = name;
    }

    protected boolean nameSpecified;

    public boolean isNameSpecified() {
        return nameSpecified;
    }

    public void unsetName() {
        name = null;
        nameSpecified = false;
    }

    /**
     * Editable notes used to describe an application delivery controller's function
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String notes;

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        notesSpecified = true;
        this.notes = notes;
    }

    protected boolean notesSpecified;

    public boolean isNotesSpecified() {
        return notesSpecified;
    }

    public void unsetNotes() {
        notes = null;
        notesSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long typeId;

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        typeIdSpecified = true;
        this.typeId = typeId;
    }

    protected boolean typeIdSpecified;

    public boolean isTypeIdSpecified() {
        return typeIdSpecified;
    }

    public void unsetTypeId() {
        typeId = null;
        typeIdSpecified = false;
    }

    /**
     * A count of previous configurations for an Application Delivery Controller.
     */
    @ApiProperty
    protected Long configurationHistoryCount;

    public Long getConfigurationHistoryCount() {
        return configurationHistoryCount;
    }

    public void setConfigurationHistoryCount(Long configurationHistoryCount) {
        this.configurationHistoryCount = configurationHistoryCount;
    }

    /**
     * A count of the virtual IP address records that belong to an application delivery controller based load balancer.
     */
    @ApiProperty
    protected Long loadBalancerCount;

    public Long getLoadBalancerCount() {
        return loadBalancerCount;
    }

    public void setLoadBalancerCount(Long loadBalancerCount) {
        this.loadBalancerCount = loadBalancerCount;
    }

    /**
     * A count of the network VLANs that an application delivery controller resides on.
     */
    @ApiProperty
    protected Long networkVlanCount;

    public Long getNetworkVlanCount() {
        return networkVlanCount;
    }

    public void setNetworkVlanCount(Long networkVlanCount) {
        this.networkVlanCount = networkVlanCount;
    }

    /**
     * A count of a network application controller's subnets. A subnet is a group of IP addresses
     */
    @ApiProperty
    protected Long subnetCount;

    public Long getSubnetCount() {
        return subnetCount;
    }

    public void setSubnetCount(Long subnetCount) {
        this.subnetCount = subnetCount;
    }

    /**
     * A count of 
     */
    @ApiProperty
    protected Long tagReferenceCount;

    public Long getTagReferenceCount() {
        return tagReferenceCount;
    }

    public void setTagReferenceCount(Long tagReferenceCount) {
        this.tagReferenceCount = tagReferenceCount;
    }

    /**
     * A count of 
     */
    @ApiProperty
    protected Long virtualIpAddressCount;

    public Long getVirtualIpAddressCount() {
        return virtualIpAddressCount;
    }

    public void setVirtualIpAddressCount(Long virtualIpAddressCount) {
        this.virtualIpAddressCount = virtualIpAddressCount;
    }

    public Service asService(ApiClient client) {
        return service(client, id);
    }

    public static Service service(ApiClient client) {
        return client.createService(Service.class, null);
    }

    public static Service service(ApiClient client, Long id) {
        return client.createService(Service.class, id == null ? null : id.toString());
    }

    /**
     * SoftLayer_Network_Application_Delivery_Controller controls a single instance of SoftLayer's application delivery controller offerings. Application delivery controllers are capable of application filtering, layer 4 and layer 7 load balancing, and many other functions. Currently SoftLayer employs them as high power load balancers. Load balancing is accomplished similarly to SoftLayer's other load balancer options, through a collection of virtual IP address interfaces. 
*
* Application delivery controllers support an "advanced" configuration scheme, enabling access directly to the controller's backend management interface. Enable access to this interface via the [[SoftLayer_Network_Application_Delivery_Controller::enableAdvancedView|enableAdvancedView]] method in this service. Use the username "root" and password retrieved from this service along with the management IP address retrieved from this service. Be warned that direct access to the application delivery controller exposes a high degree of functionality. Be careful when directly editing your service to avoid interruption via misconfiguration. * * @see SoftLayer_Network_Application_Delivery_Controller */ @com.softlayer.api.annotation.ApiService("SoftLayer_Network_Application_Delivery_Controller") public static interface Service extends com.softlayer.api.Service { public ServiceAsync asAsync(); public Mask withNewMask(); public Mask withMask(); public void setMask(Mask mask); /** * Create or add to an application delivery controller based load balancer service. The loadBalancer parameter must have its ''name'', ''type'', ''sourcePort'', and ''virtualIpAddress'' properties populated. Changes are reflected immediately in the application delivery controller. * * @see SoftLayer_Network_Application_Delivery_Controller::createLiveLoadBalancer */ @ApiMethod(instanceRequired = true) public Boolean createLiveLoadBalancer(VirtualIpAddress loadBalancer); /** * Remove a virtual IP address from an application delivery controller based load balancer. Only the ''name'' property in the loadBalancer parameter must be populated. Changes are reflected immediately in the application delivery controller. * * @see SoftLayer_Network_Application_Delivery_Controller::deleteLiveLoadBalancer */ @ApiMethod(instanceRequired = true) public Boolean deleteLiveLoadBalancer(VirtualIpAddress loadBalancer); /** * Remove an entire load balancer service, including all virtual IP addresses, from and application delivery controller based load balancer. The ''name'' property the and ''name'' property within the ''vip'' property of the service parameter must be provided. Changes are reflected immediately in the application delivery controller. * * @see SoftLayer_Network_Application_Delivery_Controller::deleteLiveLoadBalancerService */ @ApiMethod(instanceRequired = true) public Boolean deleteLiveLoadBalancerService(LoadBalancerService service); /** * Edit an applications delivery controller record. Currently only a controller's notes property is editable. * * @see SoftLayer_Network_Application_Delivery_Controller::editObject */ @ApiMethod(instanceRequired = true) public Boolean editObject(Controller templateObject); /** * @see SoftLayer_Network_Application_Delivery_Controller::getBandwidthDataByDate */ @ApiMethod(instanceRequired = true) public List getBandwidthDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String networkType); /** * Use this method when needing a bandwidth image for a single application delivery controller. It will gather the correct input parameters for the generic graphing utility based on the date ranges * * @see SoftLayer_Network_Application_Delivery_Controller::getBandwidthImageByDate */ @ApiMethod(instanceRequired = true) public GraphOutputs getBandwidthImageByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String networkType); /** * Retrieve bandwidth graph by date. * * @see SoftLayer_Network_Application_Delivery_Controller::getCustomBandwidthDataByDate */ @ApiMethod(instanceRequired = true) public Graph getCustomBandwidthDataByDate(Graph graphData); /** * Get the graph image for an application delivery controller service based on the supplied graph type and metric. The available graph types are: 'connections' and 'status', and the available metrics are: 'day', 'week' and 'month'.
*
* This method returns the raw binary image data. * * @see SoftLayer_Network_Application_Delivery_Controller::getLiveLoadBalancerServiceGraphImage */ @ApiMethod(instanceRequired = true) public byte[] getLiveLoadBalancerServiceGraphImage(LoadBalancerService service, String graphType, String metric); /** * getObject retrieves the SoftLayer_Network_Application_Delivery_Controller object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Network_Application_Delivery_Controller service. You can only retrieve application delivery controllers that are associated with your SoftLayer customer account. * * @see SoftLayer_Network_Application_Delivery_Controller::getObject */ @ApiMethod(instanceRequired = true) public Controller getObject(); /** * Restore an application delivery controller's base configuration state. The configuration will be set to what it was when initially provisioned. * * @see SoftLayer_Network_Application_Delivery_Controller::restoreBaseConfiguration */ @ApiMethod(instanceRequired = true) public Boolean restoreBaseConfiguration(); /** * Restore an application delivery controller's configuration state. * * @see SoftLayer_Network_Application_Delivery_Controller::restoreConfiguration */ @ApiMethod(instanceRequired = true) public Boolean restoreConfiguration(Long configurationHistoryId); /** * Save an application delivery controller's configuration state. The notes property for this method is optional. * * @see SoftLayer_Network_Application_Delivery_Controller::saveCurrentConfiguration */ @ApiMethod(instanceRequired = true) public History saveCurrentConfiguration(String notes); /** * Update the the virtual IP address interface within an application delivery controller based load balancer identified by the ''name'' property in the loadBalancer parameter. You only need to set the properties in the loadBalancer parameter that you wish to change. Any virtual IP properties omitted or left empty are ignored. Changes are reflected immediately in the application delivery controller. * * @see SoftLayer_Network_Application_Delivery_Controller::updateLiveLoadBalancer */ @ApiMethod(instanceRequired = true) public Boolean updateLiveLoadBalancer(VirtualIpAddress loadBalancer); /** * Update the NetScaler VPX License.
*
* This service will create a transaction to update a NetScaler VPX License. After the license is updated the load balancer will reboot in order to apply the newly issued license
*
* The load balancer will be unavailable during the reboot. * * @see SoftLayer_Network_Application_Delivery_Controller::updateNetScalerLicense */ @ApiMethod(instanceRequired = true) public Transaction updateNetScalerLicense(); /** * The SoftLayer customer account that owns an application delivery controller record. * * @see SoftLayer_Network_Application_Delivery_Controller::getAccount */ @ApiMethod(instanceRequired = true) public Account getAccount(); /** * The average daily public bandwidth usage for the current billing cycle. * * @see SoftLayer_Network_Application_Delivery_Controller::getAverageDailyPublicBandwidthUsage */ @ApiMethod(instanceRequired = true) public BigDecimal getAverageDailyPublicBandwidthUsage(); /** * The billing item for a Application Delivery Controller. * * @see SoftLayer_Network_Application_Delivery_Controller::getBillingItem */ @ApiMethod(instanceRequired = true) public com.softlayer.api.service.billing.item.network.application.delivery.Controller getBillingItem(); /** * Previous configurations for an Application Delivery Controller. * * @see SoftLayer_Network_Application_Delivery_Controller::getConfigurationHistory */ @ApiMethod(instanceRequired = true) public List getConfigurationHistory(); /** * The datacenter that the application delivery controller resides in. * * @see SoftLayer_Network_Application_Delivery_Controller::getDatacenter */ @ApiMethod(instanceRequired = true) public Location getDatacenter(); /** * A brief description of an application delivery controller record. * * @see SoftLayer_Network_Application_Delivery_Controller::getDescription */ @ApiMethod(instanceRequired = true) public String getDescription(); /** * The date in which the license for this application delivery controller will expire. * * @see SoftLayer_Network_Application_Delivery_Controller::getLicenseExpirationDate */ @ApiMethod(instanceRequired = true) public GregorianCalendar getLicenseExpirationDate(); /** * The virtual IP address records that belong to an application delivery controller based load balancer. * * @see SoftLayer_Network_Application_Delivery_Controller::getLoadBalancers */ @ApiMethod(instanceRequired = true) public List getLoadBalancers(); /** * A flag indicating that this Application Delivery Controller is a managed resource. * * @see SoftLayer_Network_Application_Delivery_Controller::getManagedResourceFlag */ @ApiMethod(instanceRequired = true) public Boolean getManagedResourceFlag(); /** * An application delivery controller's management ip address. * * @see SoftLayer_Network_Application_Delivery_Controller::getManagementIpAddress */ @ApiMethod(instanceRequired = true) public String getManagementIpAddress(); /** * The network VLAN that an application delivery controller resides on. * * @see SoftLayer_Network_Application_Delivery_Controller::getNetworkVlan */ @ApiMethod(instanceRequired = true) public Vlan getNetworkVlan(); /** * The network VLANs that an application delivery controller resides on. * * @see SoftLayer_Network_Application_Delivery_Controller::getNetworkVlans */ @ApiMethod(instanceRequired = true) public List getNetworkVlans(); /** * The total public outbound bandwidth for the current billing cycle. * * @see SoftLayer_Network_Application_Delivery_Controller::getOutboundPublicBandwidthUsage */ @ApiMethod(instanceRequired = true) public BigDecimal getOutboundPublicBandwidthUsage(); /** * The password used to connect to an application delivery controller's management interface when it is operating in advanced view mode. * * @see SoftLayer_Network_Application_Delivery_Controller::getPassword */ @ApiMethod(instanceRequired = true) public Password getPassword(); /** * An application delivery controller's primary public IP address. * * @see SoftLayer_Network_Application_Delivery_Controller::getPrimaryIpAddress */ @ApiMethod(instanceRequired = true) public String getPrimaryIpAddress(); /** * The projected public outbound bandwidth for the current billing cycle. * * @see SoftLayer_Network_Application_Delivery_Controller::getProjectedPublicBandwidthUsage */ @ApiMethod(instanceRequired = true) public BigDecimal getProjectedPublicBandwidthUsage(); /** * A network application controller's subnets. A subnet is a group of IP addresses * * @see SoftLayer_Network_Application_Delivery_Controller::getSubnets */ @ApiMethod(instanceRequired = true) public List getSubnets(); /** * @see SoftLayer_Network_Application_Delivery_Controller::getTagReferences */ @ApiMethod(instanceRequired = true) public List getTagReferences(); /** * @see SoftLayer_Network_Application_Delivery_Controller::getType */ @ApiMethod(instanceRequired = true) public Type getType(); /** * @see SoftLayer_Network_Application_Delivery_Controller::getVirtualIpAddresses */ @ApiMethod(instanceRequired = true) public List getVirtualIpAddresses(); } public static interface ServiceAsync extends com.softlayer.api.ServiceAsync { public Mask withNewMask(); public Mask withMask(); public void setMask(Mask mask); /** * Async version of {@link Service#createLiveLoadBalancer} */ public Future createLiveLoadBalancer(VirtualIpAddress loadBalancer); public Future createLiveLoadBalancer(VirtualIpAddress loadBalancer, ResponseHandler callback); /** * Async version of {@link Service#deleteLiveLoadBalancer} */ public Future deleteLiveLoadBalancer(VirtualIpAddress loadBalancer); public Future deleteLiveLoadBalancer(VirtualIpAddress loadBalancer, ResponseHandler callback); /** * Async version of {@link Service#deleteLiveLoadBalancerService} */ public Future deleteLiveLoadBalancerService(LoadBalancerService service); public Future deleteLiveLoadBalancerService(LoadBalancerService service, ResponseHandler callback); /** * Async version of {@link Service#editObject} */ public Future editObject(Controller templateObject); public Future editObject(Controller templateObject, ResponseHandler callback); /** * Async version of {@link Service#getBandwidthDataByDate} */ public Future> getBandwidthDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String networkType); public Future getBandwidthDataByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String networkType, ResponseHandler> callback); /** * Async version of {@link Service#getBandwidthImageByDate} */ public Future getBandwidthImageByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String networkType); public Future getBandwidthImageByDate(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String networkType, ResponseHandler callback); /** * Async version of {@link Service#getCustomBandwidthDataByDate} */ public Future getCustomBandwidthDataByDate(Graph graphData); public Future getCustomBandwidthDataByDate(Graph graphData, ResponseHandler callback); /** * Async version of {@link Service#getLiveLoadBalancerServiceGraphImage} */ public Future getLiveLoadBalancerServiceGraphImage(LoadBalancerService service, String graphType, String metric); public Future getLiveLoadBalancerServiceGraphImage(LoadBalancerService service, String graphType, String metric, ResponseHandler callback); /** * Async version of {@link Service#getObject} */ public Future getObject(); public Future getObject(ResponseHandler callback); /** * Async version of {@link Service#restoreBaseConfiguration} */ public Future restoreBaseConfiguration(); public Future restoreBaseConfiguration(ResponseHandler callback); /** * Async version of {@link Service#restoreConfiguration} */ public Future restoreConfiguration(Long configurationHistoryId); public Future restoreConfiguration(Long configurationHistoryId, ResponseHandler callback); /** * Async version of {@link Service#saveCurrentConfiguration} */ public Future saveCurrentConfiguration(String notes); public Future saveCurrentConfiguration(String notes, ResponseHandler callback); /** * Async version of {@link Service#updateLiveLoadBalancer} */ public Future updateLiveLoadBalancer(VirtualIpAddress loadBalancer); public Future updateLiveLoadBalancer(VirtualIpAddress loadBalancer, ResponseHandler callback); /** * Async version of {@link Service#updateNetScalerLicense} */ public Future updateNetScalerLicense(); public Future updateNetScalerLicense(ResponseHandler callback); /** * Async version of {@link Service#getAccount} */ public Future getAccount(); /** * Async callback version of {@link Service#getAccount} */ public Future getAccount(ResponseHandler callback); /** * Async version of {@link Service#getAverageDailyPublicBandwidthUsage} */ public Future getAverageDailyPublicBandwidthUsage(); /** * Async callback version of {@link Service#getAverageDailyPublicBandwidthUsage} */ public Future getAverageDailyPublicBandwidthUsage(ResponseHandler callback); /** * Async version of {@link Service#getBillingItem} */ public Future getBillingItem(); /** * Async callback version of {@link Service#getBillingItem} */ public Future getBillingItem(ResponseHandler callback); /** * Async version of {@link Service#getConfigurationHistory} */ public Future> getConfigurationHistory(); /** * Async callback version of {@link Service#getConfigurationHistory} */ public Future getConfigurationHistory(ResponseHandler> callback); /** * Async version of {@link Service#getDatacenter} */ public Future getDatacenter(); /** * Async callback version of {@link Service#getDatacenter} */ public Future getDatacenter(ResponseHandler callback); /** * Async version of {@link Service#getDescription} */ public Future getDescription(); /** * Async callback version of {@link Service#getDescription} */ public Future getDescription(ResponseHandler callback); /** * Async version of {@link Service#getLicenseExpirationDate} */ public Future getLicenseExpirationDate(); /** * Async callback version of {@link Service#getLicenseExpirationDate} */ public Future getLicenseExpirationDate(ResponseHandler callback); /** * Async version of {@link Service#getLoadBalancers} */ public Future> getLoadBalancers(); /** * Async callback version of {@link Service#getLoadBalancers} */ public Future getLoadBalancers(ResponseHandler> callback); /** * Async version of {@link Service#getManagedResourceFlag} */ public Future getManagedResourceFlag(); /** * Async callback version of {@link Service#getManagedResourceFlag} */ public Future getManagedResourceFlag(ResponseHandler callback); /** * Async version of {@link Service#getManagementIpAddress} */ public Future getManagementIpAddress(); /** * Async callback version of {@link Service#getManagementIpAddress} */ public Future getManagementIpAddress(ResponseHandler callback); /** * Async version of {@link Service#getNetworkVlan} */ public Future getNetworkVlan(); /** * Async callback version of {@link Service#getNetworkVlan} */ public Future getNetworkVlan(ResponseHandler callback); /** * Async version of {@link Service#getNetworkVlans} */ public Future> getNetworkVlans(); /** * Async callback version of {@link Service#getNetworkVlans} */ public Future getNetworkVlans(ResponseHandler> callback); /** * Async version of {@link Service#getOutboundPublicBandwidthUsage} */ public Future getOutboundPublicBandwidthUsage(); /** * Async callback version of {@link Service#getOutboundPublicBandwidthUsage} */ public Future getOutboundPublicBandwidthUsage(ResponseHandler callback); /** * Async version of {@link Service#getPassword} */ public Future getPassword(); /** * Async callback version of {@link Service#getPassword} */ public Future getPassword(ResponseHandler callback); /** * Async version of {@link Service#getPrimaryIpAddress} */ public Future getPrimaryIpAddress(); /** * Async callback version of {@link Service#getPrimaryIpAddress} */ public Future getPrimaryIpAddress(ResponseHandler callback); /** * Async version of {@link Service#getProjectedPublicBandwidthUsage} */ public Future getProjectedPublicBandwidthUsage(); /** * Async callback version of {@link Service#getProjectedPublicBandwidthUsage} */ public Future getProjectedPublicBandwidthUsage(ResponseHandler callback); /** * Async version of {@link Service#getSubnets} */ public Future> getSubnets(); /** * Async callback version of {@link Service#getSubnets} */ public Future getSubnets(ResponseHandler> callback); /** * Async version of {@link Service#getTagReferences} */ public Future> getTagReferences(); /** * Async callback version of {@link Service#getTagReferences} */ public Future getTagReferences(ResponseHandler> callback); /** * Async version of {@link Service#getType} */ public Future getType(); /** * Async callback version of {@link Service#getType} */ public Future getType(ResponseHandler callback); /** * Async version of {@link Service#getVirtualIpAddresses} */ public Future> getVirtualIpAddresses(); /** * Async callback version of {@link Service#getVirtualIpAddresses} */ public Future getVirtualIpAddresses(ResponseHandler> callback); } public static class Mask extends com.softlayer.api.service.Entity.Mask { public com.softlayer.api.service.Account.Mask account() { return withSubMask("account", com.softlayer.api.service.Account.Mask.class); } public Mask averageDailyPublicBandwidthUsage() { withLocalProperty("averageDailyPublicBandwidthUsage"); return this; } public com.softlayer.api.service.billing.item.network.application.delivery.Controller.Mask billingItem() { return withSubMask("billingItem", com.softlayer.api.service.billing.item.network.application.delivery.Controller.Mask.class); } public com.softlayer.api.service.network.application.delivery.controller.configuration.History.Mask configurationHistory() { return withSubMask("configurationHistory", com.softlayer.api.service.network.application.delivery.controller.configuration.History.Mask.class); } public com.softlayer.api.service.Location.Mask datacenter() { return withSubMask("datacenter", com.softlayer.api.service.Location.Mask.class); } public Mask description() { withLocalProperty("description"); return this; } public Mask licenseExpirationDate() { withLocalProperty("licenseExpirationDate"); return this; } public com.softlayer.api.service.network.loadbalancer.VirtualIpAddress.Mask loadBalancers() { return withSubMask("loadBalancers", com.softlayer.api.service.network.loadbalancer.VirtualIpAddress.Mask.class); } public Mask managedResourceFlag() { withLocalProperty("managedResourceFlag"); return this; } public Mask managementIpAddress() { withLocalProperty("managementIpAddress"); return this; } public com.softlayer.api.service.network.Vlan.Mask networkVlan() { return withSubMask("networkVlan", com.softlayer.api.service.network.Vlan.Mask.class); } public com.softlayer.api.service.network.Vlan.Mask networkVlans() { return withSubMask("networkVlans", com.softlayer.api.service.network.Vlan.Mask.class); } public Mask outboundPublicBandwidthUsage() { withLocalProperty("outboundPublicBandwidthUsage"); return this; } public com.softlayer.api.service.software.component.Password.Mask password() { return withSubMask("password", com.softlayer.api.service.software.component.Password.Mask.class); } public Mask primaryIpAddress() { withLocalProperty("primaryIpAddress"); return this; } public Mask projectedPublicBandwidthUsage() { withLocalProperty("projectedPublicBandwidthUsage"); return this; } public com.softlayer.api.service.network.Subnet.Mask subnets() { return withSubMask("subnets", com.softlayer.api.service.network.Subnet.Mask.class); } public com.softlayer.api.service.tag.Reference.Mask tagReferences() { return withSubMask("tagReferences", com.softlayer.api.service.tag.Reference.Mask.class); } public com.softlayer.api.service.network.application.delivery.controller.Type.Mask type() { return withSubMask("type", com.softlayer.api.service.network.application.delivery.controller.Type.Mask.class); } public com.softlayer.api.service.network.application.delivery.controller.loadbalancer.VirtualIpAddress.Mask virtualIpAddresses() { return withSubMask("virtualIpAddresses", com.softlayer.api.service.network.application.delivery.controller.loadbalancer.VirtualIpAddress.Mask.class); } public Mask accountId() { withLocalProperty("accountId"); return this; } public Mask createDate() { withLocalProperty("createDate"); return this; } public Mask id() { withLocalProperty("id"); return this; } public Mask modifyDate() { withLocalProperty("modifyDate"); return this; } public Mask name() { withLocalProperty("name"); return this; } public Mask notes() { withLocalProperty("notes"); return this; } public Mask typeId() { withLocalProperty("typeId"); return this; } public Mask configurationHistoryCount() { withLocalProperty("configurationHistoryCount"); return this; } public Mask loadBalancerCount() { withLocalProperty("loadBalancerCount"); return this; } public Mask networkVlanCount() { withLocalProperty("networkVlanCount"); return this; } public Mask subnetCount() { withLocalProperty("subnetCount"); return this; } public Mask tagReferenceCount() { withLocalProperty("tagReferenceCount"); return this; } public Mask virtualIpAddressCount() { withLocalProperty("virtualIpAddressCount"); return this; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy