SoftLayer Virtual Guest
From SoftLayer Development Network Wiki
This page refers to the SoftLayer_Virtual_Guest service. For information on the SoftLayer_Virtual_Guest data type please see SoftLayer_Virtual_Guest (type).
Overview
The virtual guest service provides a common interface to any virtualization platform supported by SoftLayer. The interaction with various third party APIs is not needed when implementing this service to administer your guests. The SoftLayer_Virtual_Guest service also controls individual CloudLayer Computing Instances purchased from SoftLayer in a way that is analogous to the SoftLayer_Hardware_Server service's control over physical hardware purchased form SoftLayer.
Endpoints
| SOAP WSDL | http://api.service.softlayer.com/soap/v3/SoftLayer_Virtual_Guest?wsdl |
| XML-RPC | http://api.service.softlayer.com/xmlrpc/v3/SoftLayer_Virtual_Guest |
Methods
activatePrivatePort
Shuts down the public port
- returns
- boolean
- parameters
- None
activatePublicPort
Shuts down the public port
- returns
- boolean
- parameters
- None
createArchiveTransaction
Block Devices can be grouped together in and backed up in an archive for later use. This method generates a transaction to perform an archive of the provided block devices.
- returns
- parameters
- string groupName
- SoftLayer_Virtual_Guest_Block_DeviceArray blockDevices
editObject
Edit a computing instance's properties
- returns
- boolean
- parameters
- SoftLayer_Virtual_Guest templateObject
getAccount
Retrieve the account that a virtual guest belongs to.
- returns
- parameters
- None
getActiveTransaction
Retrieve a transaction that is still be performed on a cloud server.
- returns
- parameters
- None
getAntivirusSpywareSoftwareComponent
Retrieve a antivirus / spyware software component object.
- returns
- parameters
- None
getAvailableMonitoring
Retrieve an object that stores the maximum level for the monitoring query types and response types.
- returns
- parameters
- None
getAverageDailyPrivateBandwidthUsage
Retrieve the average daily private bandwidth usage for the current billing cycle.
- returns
- float
- parameters
- None
getAverageDailyPublicBandwidthUsage
Retrieve the average daily public bandwidth usage for the current billing cycle.
- returns
- float
- parameters
- None
getBackendNetworkComponents
Retrieve a guests's backend network components.
- returns
- parameters
- None
getBackendRouters
Retrieve a guest's backend or private router.
- returns
- parameters
- None
getBandwidthAllocation
Retrieve a computing instance's allotted bandwidth (measured in GB).
- returns
- decimal
- parameters
- None
getBandwidthAllotmentDetail
Retrieve a computing instance's allotted detail record. Allotment details link bandwidth allocation with allotments.
- returns
- parameters
- None
getBandwidthDataByDate
Retrieve the amount of network traffic that occurred for the specified time frame for a computing instance.
- returns
- parameters
getBandwidthImage
Retrieve a visual representation of the amount of network traffic that occurred for the specified time frame for a computing instance.
- returns
- parameters
- string networkType
- string snapshotRange
- dateTime dateSpecified
getBandwidthImageByDate
Retrieve a visual representation of the amount of network traffic that occurred for the specified time frame for a computing instance.
- returns
- parameters
getBandwidthTotal
Retrieve total amount of network traffic that was in use during the time specified by the input parameters for a computing instance.
- returns
- unsigned long
- parameters
- integer startDateTime
- integer endDateTime
- string direction
- string side
getBillingCycleBandwidthUsage
Retrieve the raw bandwidth usage data for the current billing cycle. One object will be returned for each network this server is attached to.
- returns
- parameters
- None
getBillingCyclePrivateBandwidthUsage
Retrieve the raw private bandwidth usage data for the current billing cycle.
- returns
- parameters
- None
getBillingCyclePublicBandwidthUsage
Retrieve the raw public bandwidth usage data for the current billing cycle.
- returns
- parameters
- None
getBillingItem
Retrieve the billing item for a CloudLayer Compute Instance.
- returns
- parameters
- None
getBlockDevices
Retrieve a computing instance's block devices. Block devices link disk images to computing instances.
- returns
- parameters
- None
getConsoleAccessLog
get console access logs
- returns
- parameters
- None
getConsoleIpAddressRecord
Retrieve a record containing information about a computing instance's console IP and port number.
- returns
- parameters
- None
getControlPanel
Retrieve a guest's control panel.
- returns
- parameters
- None
getCpuMetricDataByDate
Retrieve records containing the percentage of the amount of time that a cpu was in use for the specified time frame for a computing instance.
- returns
- parameters
getCpuMetricImage
Retrieve a visual representation of the percentage of the amount of time that a cpu was in use for the specified time frame for a computing instance.
- returns
- parameters
- string snapshotRange
- dateTime dateSpecified
getCpuMetricImageByDate
Retrieve a visual representation of the percentage of the amount of time that a cpu was in use for the specified time frame for a computing instance.
- returns
- parameters
getCurrentBillingDetail
Get the detail billing data for this instance's current billing period. This excludes bandwidth usage.
- returns
- parameters
- None
getCurrentBillingTotal
Get the total billing price for this instance's hourly usage up to this point. This includes total includes all bandwidth charges.
- returns
- decimal
- parameters
- None
getDataMinMax
Retrieve the dates that the maximum and minimum data was received for a computing instance
- returns
- parameters
- None
getDatacenter
Retrieve the datacenter that a virtual guest resides in.
- returns
- parameters
- None
getEvaultNetworkStorage
Retrieve a guest's associated EVault network storage service account.
- returns
- parameters
- None
getFirewallServiceComponent
Retrieve a computing instance's hardware firewall services.
- returns
- parameters
- None
getFrontendNetworkComponents
Retrieve a guests's frontend network components.
- returns
- parameters
- None
getFrontendRouters
Retrieve a guest's frontend or public router.
- returns
- parameters
- None
getHost
Retrieve the virtual host on which a virtual guest resides.
- returns
- parameters
- None
getHostIpsSoftwareComponent
Retrieve a host IPS software component object.
- returns
- parameters
- None
getHourlyBillingFlag
Retrieve whether or not a computing instance is billed hourly instead of monthly.
- returns
- boolean
- parameters
- None
getInboundPrivateBandwidthUsage
Retrieve the total private inbound bandwidth for this computing instance for the current billing cycle.
- returns
- decimal
- parameters
- None
getInboundPublicBandwidthUsage
Retrieve the total public inbound bandwidth for this computing instance for the current billing cycle.
- returns
- decimal
- parameters
- None
getLastOperatingSystemReload
Retrieve the last transaction that a cloud server's operating system was loaded.
- returns
- parameters
- None
getLastTransaction
Retrieve the last transaction a cloud server had performed.
- returns
- parameters
- None
getLocation
Retrieve where guest is located within SoftLayer's location hierarchy.
- returns
- parameters
- None
getMemoryMetricDataByDate
Retrieve records containing the amount memory that was used for the specified time frame for a computing instance.
- returns
- parameters
getMemoryMetricImage
Retrieve a visual representation of the amount of memory used for the specified time frame for a computing instance.
- returns
- parameters
- string snapshotRange
- dateTime dateSpecified
getMemoryMetricImageByDate
Retrieve a visual representation of the amount of memory used for the specified time frame for a computing instance.
- returns
- parameters
getMetricTrackingObject
Retrieve a guest's metric tracking object.
- returns
- parameters
- None
getMonitoringUserNotification
Retrieve the monitoring notification objects for this guest. Each object links this guest instance to a user account that will be notified if monitoring on this guest object fails
- returns
- parameters
- None
getNetworkComponentFirewallProtectableIpAddresses
Get the IP addresses associated with this CloudLayer computing instance that are protectable by a network component firewall.
- returns
- parameters
- None
getNetworkComponents
Retrieve a guests's network components.
- returns
- parameters
- None
getNetworkMonitors
Retrieve a guests's network monitors.
- returns
- parameters
- None
getNetworkStorage
Retrieve a guest's associated network storage accounts.
- returns
- parameters
- None
getNetworkVlans
Retrieve the network Vlans that a guest's network components are associated with.
- returns
- parameters
- None
getObject
Retrieve a SoftLayer_Virtual_Guest record.
- returns
- parameters
- None
getOperatingSystem
Retrieve a guest's operating system.
- returns
- parameters
- None
getOrderTemplate
Obtain an order container that is ready to be sent to the SoftLayer_Product_Order::placeOrder method.
- returns
- parameters
- string billingType
getOutboundPrivateBandwidthUsage
Retrieve the total private outbound bandwidth for this computing instance for the current billing cycle.
- returns
- decimal
- parameters
- None
getOutboundPublicBandwidthUsage
Retrieve the total public outbound bandwidth for this computing instance for the current billing cycle.
- returns
- decimal
- parameters
- None
getPowerState
Retrieve the current power state of a virtual guest.
- returns
- parameters
- None
getPrimaryBackendIpAddress
Retrieve a guest's primary private IP address.
- returns
- string
- parameters
- None
getPrimaryBackendNetworkComponent
Retrieve a guest's primary backend network component.
- returns
- parameters
- None
getPrimaryIpAddress
Retrieve the guest's primary public IP address.
- returns
- string
- parameters
- None
getPrimaryNetworkComponent
Retrieve a guest's primary public network component.
- returns
- parameters
- None
getProvisionDate
Retrieve the date a cloud server was ordered.
- returns
- parameters
- None
getRecentMetricData
Recent metric data for a guest
- returns
- parameters
- unsigned integer time
getReverseDomainRecords
Retrieve the reverse domain records associated with a server.
- returns
- parameters
- None
getSecurityScanRequests
Retrieve a guest's vulnerability scan requests.
- returns
- parameters
- None
getServerRoom
Retrieve the server room that a guest is located at. There may be more than one server room for every data center.
- returns
- parameters
- None
getSoftwareComponents
Retrieve a guest's installed software.
- returns
- parameters
- None
getUpgradeItemPrices
Retrieve a computing instance's upgradeable items.
- returns
- parameters
- boolean includeDowngradeItemPrices
getUpgradeRequest
Retrieve a computing instance's associated upgrade request object if any.
- returns
- parameters
- None
getUsers
Retrieve a list of users that have access to this computing instance.
- returns
- parameters
- None
getVirtualRack
Retrieve the name of the bandwidth allotment that a hardware belongs too.
- returns
- parameters
- None
getVirtualRackId
Retrieve the id of the bandwidth allotment that a computing instance belongs too.
- returns
- integer
- parameters
- None
getVirtualRackName
Retrieve the name of the bandwidth allotment that a computing instance belongs too.
- returns
- string
- parameters
- None
isBackendPingable
Verifies if a guest's backend ip address is pingable.
- returns
- boolean
- parameters
- None
isPingable
Verifies if guest is pingable.
- returns
- boolean
- parameters
- None
pause
Pause a guest.
- returns
- boolean
- parameters
- None
powerCycle
Power cycle a guest.
- returns
- boolean
- parameters
- None
powerOff
Power off a guest.
- returns
- boolean
- parameters
- None
powerOffSoft
Cleanly shut down a guest and disable power
- returns
- boolean
- parameters
- None
powerOn
Power on a guest.
- returns
- boolean
- parameters
- None
rebootDefault
Power cycle a guest.
- returns
- boolean
- parameters
- None
rebootHard
Power cycle a guest.
- returns
- boolean
- parameters
- None
rebootSoft
Attempt to complete a soft reboot of a guest by shutting down the operating system.
- returns
- boolean
- parameters
- None
reloadCurrentOperatingSystemConfiguration
Perform an OS reload
- returns
- parameters
- None
reloadOperatingSystem
Reloads operating system configuration.
- returns
- string
- parameters
- string token
- SoftLayer_Container_Hardware_Server_Configuration config
resume
Resume a guest.
- returns
- boolean
- parameters
- None
setPrivateNetworkInterfaceSpeed
Updates the private network interface (eth0) speed.
- returns
- boolean
- parameters
- integer newSpeed
setPublicNetworkInterfaceSpeed
Updates the public network interface (eth1) speed.
- returns
- boolean
- parameters
- integer newSpeed
shutdownPrivatePort
Shuts down the public port
- returns
- boolean
- parameters
- None
shutdownPublicPort
Shuts down the public port
- returns
- boolean
- parameters
- None

