Interface Server.Service
- All Superinterfaces:
Hardware.Service,Maskable,ResultLimitable,Service
- All Known Subinterfaces:
SecurityModule.Service,SecurityModule750.Service
- Enclosing class:
- Server
@ApiService("SoftLayer_Hardware_Server") public static interface Server.Service extends Hardware.Service
Every SoftLayer server is defined in the SoftLayer_Hardware_Server service. SoftLayer servers have all the functionality of SoftLayer_Hardware with the of server specific data and functionality such as Operating System reload dates and motherboard components. The SoftLayer_Hardware service is a convenient way to obtain general information about your SoftLayer server. Use the data returned by these methods with other API services to get more detailed information about your services and to make changes to your servers and services.
- See Also:
- SoftLayer_Hardware_Server
-
Method Summary
Modifier and Type Method Description BooleanactivatePrivatePort()Activate a server's private network interface to the maximum available speed.BooleanactivatePublicPort()Activate a server's public network interface to the maximum available speed.Server.ServiceAsyncasAsync()Get an async version of this serviceBooleanbootToRescueLayer(String noOsBootEnvironment)The Rescue Kernel is designed to provide you with the ability to bring a server online in order to troubleshoot system problems that would normally only be resolved by an OS Reload.BooleancreateFirmwareReflashTransaction(Long ipmi, Long raidController, Long bios)You can launch firmware reflash by selecting from your server list.BooleancreateFirmwareUpdateTransaction(Long ipmi, Long raidController, Long bios, Long harddrive)You can launch firmware updates by selecting from your server list.BooleancreateHyperThreadingUpdateTransaction(Long disableHyperthreading)You can launch hyper-threading update by selecting from your server list.ServercreateObject(Server templateObject)
.create_object > li > div { padding-top: .5em; padding-bottom: .5em}
createObject() enables the creation of servers on an account.BooleancreatePostSoftwareInstallTransaction(List<String> installCodes, Boolean returnBoolean)BooleaneditObject(Server templateObject)Edit a server's propertiesItemgetActiveNetworkFirewallBillingItem()The billing item for a server's attached network firewall.List<Ticket>getActiveTickets()TransactiongetActiveTransaction()Transaction currently running for server.List<Transaction>getActiveTransactions()Any active transaction(s) that are currently running for the server (example: os reload).List<Stratum>getAvailableMonitoring()An object that stores the maximum level for the monitoring query types and response types.BigDecimalgetAverageDailyBandwidthUsage()The average daily total bandwidth usage for the current billing cycle.BigDecimalgetAverageDailyPrivateBandwidthUsage()The average daily private bandwidth usage for the current billing cycle.List<Data>getBackendBandwidthUsage(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of private bandwidth utilization records between a given date range.List<Detail>getBackendBandwidthUse(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of private bandwidth utilization records between a given date range.List<Data>getBandwidthForDateRange(GregorianCalendar startDate, GregorianCalendar endDate)Retrieve a collection of bandwidth data from an individual public or private network tracking object.GraphOutputsgetBandwidthImage(String networkType, String snapshotRange, Boolean draw, GregorianCalendar dateSpecified, GregorianCalendar dateSpecifiedEnd)Use this method when needing a bandwidth image for a single server.List<Usage>getBillingCycleBandwidthUsage()The raw bandwidth usage data for the current billing cycle.UsagegetBillingCyclePrivateBandwidthUsage()The raw private bandwidth usage data for the current billing cycle.UsagegetBillingCyclePublicBandwidthUsage()The raw public bandwidth usage data for the current billing cycle.BooleangetBiosPasswordNullFlag()Determine if BIOS password should be left as null.List<String>getBootModeOptions()Retrieve the valid boot modes for this serverCaptureEnabledgetCaptureEnabledFlag()Determine if the server is able to be image captured.BooleangetContainsSolidStateDrivesFlag()ControlPanelgetControlPanel()A server's control panel.BigDecimalgetCost()The total cost of a server, measured in US Dollars ($USD).SummarygetCurrentBandwidthSummary()An object that provides commonly used bandwidth summary components for the current billing cycle.byte[]getCurrentBenchmarkCertificationResultFile()Attempt to retrieve the file associated with the current benchmark certification result, if such a file exists.GraphgetCustomBandwidthDataByDate(Graph graphData)Retrieve bandwidth graph by date.BooleangetCustomerInstalledOperatingSystemFlag()Indicates if a server has a Customer Installed OSBooleangetCustomerOwnedFlag()Indicates if a server is a customer owned device.List<Subnet>getFirewallProtectableSubnets()Get the subnets associated with this server that are protectable by a network component firewall.List<Data>getFrontendBandwidthUsage(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of public bandwidth utilization records between a given date range.List<Detail>getFrontendBandwidthUse(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of public bandwidth utilization records between a given date range.ServergetHardwareByIpAddress(String ipAddress)Retrieve a server by searching for the primary IP address.BooleangetHasSingleRootVirtualizationBillingItemFlag()Determine if hardware has Single Root IO VIrtualization (SR-IOV) billing item.BigDecimalgetInboundPrivateBandwidthUsage()The total private inbound bandwidth for this hardware for the current billing cycle.BooleangetIsCloudReadyNodeCertified()Determine if hardware object has the IBM_CLOUD_READY_NODE_CERTIFIED attribute.BooleangetIsIpmiDisabled()Determine if remote management has been disabled due to port speed.BooleangetIsVirtualPrivateCloudNode()Determine if hardware object is a Virtual Private Cloud node.List<Item>getItemPricesFromSoftwareDescriptions(List<Description> softwareDescriptions, Boolean includeTranslationsFlag, Boolean returnAllPricesFlag)Return a collection of SoftLayer_Item_Price objects from a collection of SoftLayer_Software_DescriptionTransactiongetLastOperatingSystemReload()The last transaction that a server's operating system was loaded.List<Group>getLogicalVolumeStorageGroups()Returns a list of logical volumes on the physical machine.ComponentgetManagementNetworkComponent()Retrieve the remote management network component attached with this server.LonggetMetricTrackingObjectId()The metric tracking object id for this server.List<Hardware>getMonitoringUserNotification()The monitoring notification objects for this hardware.List<IpAddress>getNetworkComponentFirewallProtectableIpAddresses()Get the IP addresses associated with this server that are protectable by a network component firewall.ServergetObjectForServer()getObject retrieves the SoftLayer_Hardware_Server object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Hardware service.TicketgetOpenCancellationTicket()An open ticket requesting cancellation of this server, if one exists.BigDecimalgetOutboundPrivateBandwidthUsage()The total private outbound bandwidth for this hardware for the current billing cycle.LonggetOverBandwidthAllocationFlag()Whether the bandwidth usage for this hardware for the current billing cycle exceeds the allocation.List<PmInfo>getPMInfo()Retrieve a server's hardware state via its internal sensors.LonggetPrimaryDriveSize()SummarygetPrivateBandwidthDataSummary()Retrieve a brief summary of a server's private network bandwidth usage.byte[]getPrivateBandwidthGraphImage(String startTime, String endTime)Retrieve a graph of a server's private network bandwidth usage over the specified time frame.StringgetPrivateIpAddress()A server's primary private IP address.ComponentgetPrivateNetworkComponent()Retrieve the private network component attached with this server.VlangetPrivateVlan()Retrieve the backend VLAN for the primary IP address of the serverVlangetPrivateVlanByIpAddress(String ipAddress)
*** DEPRECATED ***
Retrieve a backend network VLAN by searching for an IP addressLonggetProjectedOverBandwidthAllocationFlag()Whether the bandwidth usage for this hardware for the current billing cycle is projected to exceed the allocation.BigDecimalgetProjectedPublicBandwidthUsage()The projected public outbound bandwidth for this hardware for the current billing cycle.GregorianCalendargetProvisionDate()SummarygetPublicBandwidthDataSummary()Retrieve a brief summary of a server's public network bandwidth usage.byte[]getPublicBandwidthGraphImage(GregorianCalendar startTime, GregorianCalendar endTime)Retrieve a graph of a server's public network bandwidth usage over the specified time frame.LonggetPublicBandwidthTotal(Long startTime, Long endTime)Retrieve the total number of bytes used by a server over a specified time period via the data warehouse tracking objects for this hardware.ComponentgetPublicNetworkComponent()Retrieve a SoftLayer server's public network component.VlangetPublicVlan()Retrieve the frontend VLAN for the primary IP address of the serverVlangetPublicVlanByHostname(String hostname)Retrieve the frontend network Vlan by searching the hostname of a serverBooleangetReadyNodeFlag()Determine if hardware object is vSan Ready Node.List<Request>getRecentRemoteManagementCommands()The last five commands issued to the server's remote management card.RegistrygetRegionalInternetRegistry()RemoteManagementgetRemoteManagement()A server's remote management card.List<User>getRemoteManagementUsers()User(s) who have access to issue commands and/or interact with the server's remote management card.List<Domain>getReverseDomainRecords()Retrieve the reverse domain records associated with this server.List<SensorReading>getSensorDataForServer()Retrieve a server's hardware state via its internal sensors.SensorReadingsWithGraphsgetSensorDataWithGraphsForServer()Retrieves the raw data returned from the server's remote management card.DetailsgetServerDetails()Retrieve a server's hardware components, software, and network components.List<SensorSpeed>getServerFanSpeedGraphsForServer()Retrieve the server's fan speeds and displays them using tachometer graphs.StringgetServerPowerStateForServer()Retrieves the power state for the server.List<SensorTemperature>getServerTemperatureGraphsForServer()Retrieve the server's temperature and displays them using thermometer graphs.BooleangetSoftwareGuardExtensionEnabled()Determine if hardware object has Software Guard Extension (SGX) enabled.RemoteManagementgetStatisticsRemoteManagement()A server's remote management card used for statistics.BooleangetUefiBootFlag()Whether to use UEFI boot instead of BIOS.List<Customer>getUsers()A list of users that have access to this computing instance.List<Group>getValidBlockDeviceTemplateGroups(String visibility)This method will return the list of block device template groups that are valid to the host.List<Guest>getVirtualGuests()A hardware server's virtual servers.List<UpdateItem>getWindowsUpdateAvailableUpdates()Retrieve a list of Windows updates available for a server from the local SoftLayer Windows Server Update Services (WSUS) server.List<UpdateItem>getWindowsUpdateInstalledUpdates()Retrieve a list of Windows updates installed on a server as reported by the local SoftLayer Windows Server Update Services (WSUS) server.StatusgetWindowsUpdateStatus()This method returns an update status record for this server.BooleaninitiateIderaBareMetalRestore()Idera Bare Metal Server Restore is a backup agent designed specifically for making full system restores made with Idera Server Backup.BooleaninitiateR1SoftBareMetalRestore()R1Soft Bare Metal Server Restore is an R1Soft disk agent designed specifically for making full system restores made with R1Soft CDP Server backup.BooleanisBackendPingable()Issues a ping command and returns the success (true) or failure (false) of the ping command.BooleanisPingableForServer()Issues a ping command and returns the success (true) or failure (false) of the ping command.BooleanisWindowsServer()Determine if the server runs any version of the Microsoft Windows operating systems.List<Request>massFirmwareReflash(List<Long> hardwareIds, Boolean ipmi, Boolean raidController, Boolean bios)You can launch firmware reflashes by selecting from your server list.List<Request>massFirmwareUpdate(List<Long> hardwareIds, Boolean ipmi, Boolean raidController, Boolean bios, Boolean harddrive)You can launch firmware updates by selecting from your server list.List<Request>massHyperThreadingUpdate(List<Long> hardwareIds, Boolean disableHyperthreading)You can launch hyper-threading update by selecting from your server list.StringmassReloadOperatingSystem(List<String> hardwareIds, String token, Configuration config)Reloads current or customer specified operating system configuration.List<Request>massSparePool(List<String> hardwareIds, String action, Boolean newOrder)The ability to place multiple bare metal servers in a state where they are powered down and ports closed yet still allocated to the customer as a part of the Spare Pool program.StringpingForServer()Issues a ping command to the server and returns the ping response.VoidpopulateServerRam(String ramSerialString)BooleanpowerCycleForServer()Power off then power on the server via powerstrip.BooleanpowerOffForServer()This method will power off the server via the server's remote management card.BooleanpowerOnForServer()Power on server via its remote management card.BooleanrebootDefaultForServer()Attempts to reboot the server by issuing a reset (soft reboot) command to the server's remote management card.BooleanrebootHardForServer()Reboot the server by issuing a cycle command to the server's remote management card.BooleanrebootSoftForServer()Reboot the server by issuing a reset command to the server's remote management card.StringreloadCurrentOperatingSystemConfiguration(String token)Reloads current operating system configuration.StringreloadOperatingSystem(String token, Configuration config)Reloads current or customer specified operating system configuration.BooleanrunPassmarkCertificationBenchmark()You can launch a new Passmark hardware test by selecting from your server list.voidsetMask(Server.Mask mask)BooleansetOperatingSystemPassword(String newPassword)Changes the password that we have stored in our database for a servers' Operating SystemBooleansetPrivateNetworkInterfaceSpeed(Long newSpeed, String redundancy)Set the private network interface speed and redundancy configuration.BooleansetPublicNetworkInterfaceSpeed(Long newSpeed, String redundancy)Set the public network interface speed and redundancy configuration.List<Attribute>setUserMetadata(List<String> metadata)Sets the data that will be written to the configuration drive.BooleanshutdownPrivatePort()Disconnect a server's private network interface.BooleanshutdownPublicPort()Disconnect a server's public network interface.BooleansparePool(String action, Boolean newOrder)The ability to place bare metal servers in a state where they are powered down, and ports closed yet still allocated to the customer as a part of the Spare Pool program.BooleantestRaidAlertService()Test the RAID Alert service by sending the service a request to store a test email for this server.BooleantoggleManagementInterface(Boolean enabled)Attempt to toggle the IPMI interface.BooleanupdateIpmiPassword(String password)This method will update the root IPMI password on this SoftLayer_Hardware.BooleanvalidatePartitionsForOperatingSystem(Description operatingSystem, List<Partition> partitions)Validates a collection of partitions for an operating systemServer.MaskwithMask()Use the existing mask on this service or create it if not presentServer.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.service.Hardware.Service
allowAccessToNetworkStorage, allowAccessToNetworkStorageList, captureImage, createObject, deleteObject, deleteSoftwareComponentPasswords, deleteTag, editSoftwareComponentPasswords, executeRemoteScript, findByIpAddress, generateOrderTemplate, getAccount, getActiveComponents, getActiveNetworkMonitorIncident, getAllowedHost, getAllowedNetworkStorage, getAllowedNetworkStorageReplicas, getAllPowerComponents, getAntivirusSpywareSoftwareComponent, getAttachedNetworkStorages, getAttributes, getAvailableNetworkStorages, getAverageDailyPublicBandwidthUsage, getBackendIncomingBandwidth, getBackendNetworkComponents, getBackendOutgoingBandwidth, getBackendRouters, getBandwidthAllocation, getBandwidthAllotmentDetail, getBenchmarkCertifications, getBillingItem, getBillingItemFlag, getBlockCancelBecauseDisconnectedFlag, getBusinessContinuanceInsuranceFlag, getChildrenHardware, getComponentDetailsXML, getComponents, getContinuousDataProtectionSoftwareComponent, getCreateObjectOptions, getCurrentBillableBandwidthUsage, getCurrentBillingDetail, getCurrentBillingTotal, getDailyAverage, getDatacenter, getDatacenterName, getDaysInSparePool, getDownlinkHardware, getDownlinkNetworkHardware, getDownlinkServers, getDownlinkVirtualGuests, getDownstreamHardwareBindings, getDownstreamNetworkHardware, getDownstreamNetworkHardwareWithIncidents, getDownstreamServers, getDownstreamVirtualGuests, getDriveControllers, getEvaultNetworkStorage, getFirewallServiceComponent, getFixedConfigurationPreset, getFrontendIncomingBandwidth, getFrontendNetworkComponents, getFrontendOutgoingBandwidth, getFrontendRouters, getGlobalIdentifier, getHardDrives, getHardwareChassis, getHardwareFunction, getHardwareFunctionDescription, getHardwareStatus, getHasTrustedPlatformModuleBillingItemFlag, getHostIpsSoftwareComponent, getHourlyBandwidth, getHourlyBillingFlag, getInboundBandwidthUsage, getInboundPublicBandwidthUsage, getLastTransaction, getLatestNetworkMonitorIncident, getLocation, getLocationPathString, getLockboxNetworkStorage, getManagedResourceFlag, getMemory, getMemoryCapacity, getMetricTrackingObject, getModules, getMonitoringServiceComponent, getMotherboard, getNetworkCards, getNetworkComponents, getNetworkGatewayMember, getNetworkGatewayMemberFlag, getNetworkManagementIpAddress, getNetworkMonitorAttachedDownHardware, getNetworkMonitorAttachedDownVirtualGuests, getNetworkMonitorIncidents, getNetworkMonitors, getNetworkStatus, getNetworkStatusAttribute, getNetworkStorage, getNetworkVlans, getNextBillingCycleBandwidthAllocation, getNotesHistory, getNvRamCapacity, getNvRamComponentModels, getObject, getOperatingSystem, getOperatingSystemReferenceCode, getOutboundBandwidthUsage, getOutboundPublicBandwidthUsage, getParentBay, getParentHardware, getPointOfPresenceLocation, getPowerComponents, getPowerSupply, getPrimaryBackendIpAddress, getPrimaryBackendNetworkComponent, getPrimaryIpAddress, getPrimaryNetworkComponent, getPrivateBandwidthData, getPrivateNetworkOnlyFlag, getProcessorCoreAmount, getProcessorPhysicalCoreAmount, getProcessors, getPublicBandwidthData, getRack, getRaidControllers, getRecentEvents, getRemoteManagementAccounts, getRemoteManagementComponent, getResourceConfigurations, getResourceGroupMemberReferences, getResourceGroupRoles, getResourceGroups, getRouters, getScaleAssets, getSecurityScanRequests, getSensorData, getSensorDataWithGraphs, getServerFanSpeedGraphs, getServerPowerState, getServerRoom, getServerTemperatureGraphs, getServiceProvider, getSoftwareComponents, getSparePoolBillingItem, getSshKeys, getStorageGroups, getStorageNetworkComponents, getTagReferences, getTopLevelLocation, getTransactionHistory, getUpgradeItemPrices, getUpgradeRequest, getUplinkHardware, getUplinkNetworkComponents, getUserData, getVirtualChassis, getVirtualChassisSiblings, getVirtualHost, getVirtualizationPlatform, getVirtualLicenses, getVirtualRack, getVirtualRackId, getVirtualRackName, importVirtualHost, isPingable, ping, powerCycle, powerOff, powerOn, rebootDefault, rebootHard, rebootSoft, removeAccessToNetworkStorage, removeAccessToNetworkStorageList, removeTags, setMask, setTagsMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Server.ServiceAsync asAsync()Description copied from interface:ServiceGet an async version of this service- Specified by:
asAsyncin interfaceHardware.Service- Specified by:
asAsyncin interfaceService
-
withNewMask
Server.Mask withNewMask()Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceHardware.Service- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Server.Mask withMask()Description copied from interface:MaskableUse the existing mask on this service or create it if not present- Specified by:
withMaskin interfaceHardware.Service- Specified by:
withMaskin interfaceMaskable
-
setMask
-
activatePrivatePort
Activate a server's private network interface to the maximum available speed. This operation is an alias for [[SoftLayer_Hardware_Server/setPrivateNetworkInterfaceSpeed]] with a $newSpeed of -1 and a $redundancy of "redundant" or unspecified (which results in the best available redundancy state).
Receipt of a response does not indicate completion of the configuration change. Any subsequent attempts to request the interface change speed or state, while changes are pending, will result in a busy error.
A response of true indicates a change was required to activate the interface; thus changes are pending. A response of false indicates the interface was already active, and thus no changes are pending. -
activatePublicPort
Activate a server's public network interface to the maximum available speed. This operation is an alias for [[SoftLayer_Hardware_Server/setPublicNetworkInterfaceSpeed]] with a $newSpeed of -1 and a $redundancy of "redundant" or unspecified (which results in the best available redundancy state).
Receipt of a response does not indicate completion of the configuration change. Any subsequent attempts to request the interface change speed or state, while changes are pending, will result in a busy error.
A response of true indicates a change was required to activate the interface; thus changes are pending. A response of false indicates the interface was already active, and thus no changes are pending. -
bootToRescueLayer
The Rescue Kernel is designed to provide you with the ability to bring a server online in order to troubleshoot system problems that would normally only be resolved by an OS Reload. The correct Rescue Kernel will be selected based upon the currently installed operating system. When the rescue kernel process is initiated, the server will shutdown and reboot on to the public network with the same IP's assigned to the server to allow for remote connections. It will bring your server offline for approximately 10 minutes while the rescue is in progress. The root/administrator password will be the same as what is listed in the portal for the server. -
createFirmwareReflashTransaction
@ApiMethod(instanceRequired=true) Boolean createFirmwareReflashTransaction(Long ipmi, Long raidController, Long bios)You can launch firmware reflash by selecting from your server list. It will bring your server offline for approximately 60 minutes while the flashes are in progress.
In the event of a hardware failure during this our datacenter engineers will be notified of the problem automatically. They will then replace any failed components to bring your server back online, and will be contacting you to ensure that impact on your server is minimal. -
createFirmwareUpdateTransaction
@ApiMethod(instanceRequired=true) Boolean createFirmwareUpdateTransaction(Long ipmi, Long raidController, Long bios, Long harddrive)You can launch firmware updates by selecting from your server list. It will bring your server offline for approximately 20 minutes while the updates are in progress.
In the event of a hardware failure during this test our datacenter engineers will be notified of the problem automatically. They will then replace any failed components to bring your server back online, and will be contacting you to ensure that impact on your server is minimal. -
createHyperThreadingUpdateTransaction
@ApiMethod(instanceRequired=true) Boolean createHyperThreadingUpdateTransaction(Long disableHyperthreading)You can launch hyper-threading update by selecting from your server list. It will bring your server offline for approximately 60 minutes while the update is in progress.
In the event of a hardware failure during this our datacenter engineers will be notified of the problem automatically. They will then replace any failed components to bring your server back online, and will be contacting you to ensure that impact on your server is minimal. -
createObject
createObject() enables the creation of servers on an account. This
method is a simplified alternative to interacting with the ordering system directly.
In order to create a server, a template object must be sent in with a few required
values.
When this method returns an order will have been placed for a server of the specified configuration.
To determine when the server is available you can poll the server via [[SoftLayer_Hardware/getObject|getObject]],
checking theprovisionDateproperty.
WhenprovisionDateis not null, the server will be ready. Be sure to use theglobalIdentifier
as your initialization parameter.
Warning: Servers created via this method will incur charges on your account. For testing input parameters see [[SoftLayer_Hardware/generateOrderTemplate|generateOrderTemplate]].
Input - [[SoftLayer_Hardware (type)|SoftLayer_Hardware]]
hostname
Hostname for the server.- Required
- Type - string
domain
Domain for the server.- Required
- Type - string
processorCoreAmount
The number of logical CPU cores to allocate.- Required
- Type - int
- See [[SoftLayer_Hardware/getCreateObjectOptions|getCreateObjectOptions]] for available options.
memoryCapacity
The amount of memory to allocate in gigabytes.- Required
- Type - int
- See [[SoftLayer_Hardware/getCreateObjectOptions|getCreateObjectOptions]] for available options.
hourlyBillingFlag
Specifies the billing type for the server.- Required
- Type - boolean
- When true the server will be billed on hourly usage, otherwise it will be billed on a monthly basis.
operatingSystemReferenceCode
An identifier for the operating system to provision the server with.- Required
- Type - string
- See [[SoftLayer_Hardware/getCreateObjectOptions|getCreateObjectOptions]] for available options.
datacenter.name
Specifies which datacenter the server is to be provisioned in.- Required
- Type - string
- The
datacenterproperty is a [[SoftLayer_Location (type)|location]] structure with thenamefield set. - See [[SoftLayer_Hardware/getCreateObjectOptions|getCreateObjectOptions]] for available options.
{
"datacenter": {
"name": "dal05"
}
}
networkComponents.maxSpeed
Specifies the connection speed for the server's network components.- Optional
- Type - int
- Default - The highest available zero cost port speed will be used.
- Description - The
networkComponentsproperty is an array with a single [[SoftLayer_Network_Component (type)|network component]] structure. ThemaxSpeedproperty must be set to specify the network uplink speed, in megabits per second, of the server. - See [[SoftLayer_Hardware/getCreateObjectOptions|getCreateObjectOptions]] for available options.
{
"networkComponents": [
{
"maxSpeed": 1000
}
]
}
networkComponents.redundancyEnabledFlag
Specifies whether or not the server's network components should be in redundancy groups.- Optional
- Type - bool
- Default -
false - Description - The
networkComponentsproperty is an array with a single [[SoftLayer_Network_Component (type)|network component]] structure. When theredundancyEnabledFlagproperty is true the server's network components will be in redundancy groups.
{
"networkComponents": [
{
"redundancyEnabledFlag": false
}
]
}
privateNetworkOnlyFlag
Specifies whether or not the server only has access to the private network- Optional
- Type - boolean
- Default -
false - When true this flag specifies that a server is to only have access to the private network.
primaryNetworkComponent.networkVlan.id
Specifies the network vlan which is to be used for the frontend interface of the server.- Optional
- Type - int
- Description - The
primaryNetworkComponentproperty is a [[SoftLayer_Network_Component (type)|network component]] structure with thenetworkVlanproperty populated with a [[SoftLayer_Network_Vlan (type)|vlan]] structure. Theidproperty must be set to specify the frontend network vlan of the server.
{
"primaryNetworkComponent": {
"networkVlan": {
"id": 1
}
}
}
primaryBackendNetworkComponent.networkVlan.id
Specifies the network vlan which is to be used for the backend interface of the server.- Optional
- Type - int
- Description - The
primaryBackendNetworkComponentproperty is a [[SoftLayer_Network_Component (type)|network component]] structure with thenetworkVlanproperty populated with a [[SoftLayer_Network_Vlan (type)|vlan]] structure. Theidproperty must be set to specify the backend network vlan of the server.
{
"primaryBackendNetworkComponent": {
"networkVlan": {
"id": 2
}
}
}
fixedConfigurationPreset.keyName
- Optional
- Type - string
- Description - The
fixedConfigurationPresetproperty is a [[SoftLayer_Product_Package_Preset (type)|fixed configuration preset]] structure. ThekeyNameproperty must be set to specify preset to use. - If a fixed configuration preset is used
processorCoreAmount,memoryCapacityandhardDrivesproperties must not be set. - See [[SoftLayer_Hardware/getCreateObjectOptions|getCreateObjectOptions]] for available options.
{
"fixedConfigurationPreset": {
"keyName": "SOME_KEY_NAME"
}
}
userData.value
Arbitrary data to be made available to the server.- Optional
- Type - string
- Description - The
userDataproperty is an array with a single [[SoftLayer_Hardware_Attribute (type)|attribute]] structure with thevalueproperty set to an arbitrary value. - This value can be retrieved via the [[SoftLayer_Resource_Metadata/getUserMetadata|getUserMetadata]] method from a request originating from the server. This is primarily useful for providing data to software that may be on the server and configured to execute upon first boot.
{
"userData": [
{
"value": "someValue"
}
]
}
hardDrives
Hard drive settings for the server- Optional
- Type - SoftLayer_Hardware_Component
- Default - The largest available capacity for a zero cost primary disk will be used.
- Description - The
hardDrivesproperty is an array of [[SoftLayer_Hardware_Component (type)|hardware component]] structures.
- Each hard drive must specify the
capacityproperty. - See [[SoftLayer_Hardware/getCreateObjectOptions|getCreateObjectOptions]] for available options.
{
"hardDrives": [
{
"capacity": 500
}
]
}
sshKeys
SSH keys to install on the server upon provisioning.- Optional
- Type - array of [[SoftLayer_Security_Ssh_Key (type)|SoftLayer_Security_Ssh_Key]]
- Description - The
sshKeysproperty is an array of [[SoftLayer_Security_Ssh_Key (type)|SSH Key]] structures with theidproperty set to the value of an existing SSH key. - To create a new SSH key, call [[SoftLayer_Security_Ssh_Key/createObject|createObject]] on the [[SoftLayer_Security_Ssh_Key]] service.
- To obtain a list of existing SSH keys, call [[SoftLayer_Account/getSshKeys|getSshKeys]] on the [[SoftLayer_Account]] service.
{
"sshKeys": [
{
"id": 123
}
]
}
postInstallScriptUri
Specifies the uri location of the script to be downloaded and run after installation is complete.- Optional
- Type - string
REST Example
curl -X POST -d '{
"parameters":[
{
"hostname": "host1",
"domain": "example.com",
"processorCoreAmount": 2,
"memoryCapacity": 2,
"hourlyBillingFlag": true,
"operatingSystemReferenceCode": "UBUNTU_LATEST"
}
]
}' https://api.softlayer.com/rest/v3/SoftLayer_Hardware.json
HTTP/1.1 201 Created
Location: https://api.softlayer.com/rest/v3/SoftLayer_Hardware/f5a3fcff-db1d-4b7c-9fa0-0349e41c29c5/getObject
{
"accountId": 232298,
"bareMetalInstanceFlag": null,
"domain": "example.com",
"hardwareStatusId": null,
"hostname": "host1",
"id": null,
"serviceProviderId": null,
"serviceProviderResourceId": null,
"globalIdentifier": "f5a3fcff-db1d-4b7c-9fa0-0349e41c29c5",
"hourlyBillingFlag": true,
"memoryCapacity": 2,
"operatingSystemReferenceCode": "UBUNTU_LATEST",
"processorCoreAmount": 2
}
- See Also:
- SoftLayer_Hardware_Server::createObject
-
createPostSoftwareInstallTransaction
@ApiMethod(instanceRequired=true) Boolean createPostSoftwareInstallTransaction(List<String> installCodes, Boolean returnBoolean) -
editObject
Edit a server's properties- See Also:
- SoftLayer_Hardware_Server::editObject
-
getBackendBandwidthUsage
@ApiMethod(instanceRequired=true) List<Data> getBackendBandwidthUsage(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of private bandwidth utilization records between a given date range.
This method represents the NEW version of getFrontendBandwidthUse -
getBackendBandwidthUse
@ApiMethod(instanceRequired=true) List<Detail> getBackendBandwidthUse(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of private bandwidth utilization records between a given date range. -
getBandwidthForDateRange
@ApiMethod(instanceRequired=true) List<Data> getBandwidthForDateRange(GregorianCalendar startDate, GregorianCalendar endDate)Retrieve a collection of bandwidth data from an individual public or private network tracking object. Data is ideal if you with to employ your own traffic storage and graphing systems. -
getBandwidthImage
@ApiMethod(instanceRequired=true) GraphOutputs getBandwidthImage(String networkType, String snapshotRange, Boolean draw, GregorianCalendar dateSpecified, GregorianCalendar dateSpecifiedEnd)Use this method when needing a bandwidth image for a single server. It will gather the correct input parameters for the generic graphing utility automatically based on the snapshot specified. Use the $draw flag to suppress the generation of the actual binary PNG image. -
getBootModeOptions
Retrieve the valid boot modes for this server -
getCurrentBenchmarkCertificationResultFile
Attempt to retrieve the file associated with the current benchmark certification result, if such a file exists. If there is no file for this benchmark certification result, calling this method throws an exception. -
getCustomBandwidthDataByDate
Retrieve bandwidth graph by date. -
getFirewallProtectableSubnets
Get the subnets associated with this server that are protectable by a network component firewall. -
getFrontendBandwidthUsage
@ApiMethod(instanceRequired=true) List<Data> getFrontendBandwidthUsage(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of public bandwidth utilization records between a given date range.
This method represents the NEW version of getFrontendBandwidthUse -
getFrontendBandwidthUse
@ApiMethod(instanceRequired=true) List<Detail> getFrontendBandwidthUse(GregorianCalendar startDate, GregorianCalendar endDate)Use this method to return an array of public bandwidth utilization records between a given date range. -
getHardwareByIpAddress
Retrieve a server by searching for the primary IP address. -
getItemPricesFromSoftwareDescriptions
@ApiMethod(instanceRequired=true) List<Item> getItemPricesFromSoftwareDescriptions(List<Description> softwareDescriptions, Boolean includeTranslationsFlag, Boolean returnAllPricesFlag)Return a collection of SoftLayer_Item_Price objects from a collection of SoftLayer_Software_Description -
getManagementNetworkComponent
Retrieve the remote management network component attached with this server. -
getNetworkComponentFirewallProtectableIpAddresses
@ApiMethod(instanceRequired=true) List<IpAddress> getNetworkComponentFirewallProtectableIpAddresses()Get the IP addresses associated with this server that are protectable by a network component firewall. Note, this may not return all values for IPv6 subnets for this server. Please use getFirewallProtectableSubnets to get all protectable subnets. -
getObjectForServer
getObject retrieves the SoftLayer_Hardware_Server object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Hardware service. You can only retrieve servers from the account that your portal user is assigned to.- See Also:
- SoftLayer_Hardware_Server::getObject
-
getPMInfo
Retrieve a server's hardware state via its internal sensors. Remote sensor data is transmitted to the SoftLayer API by way of the server's remote management card. Sensor data measures system temperatures, voltages, and other local server settings. Sensor data is cached for 30 seconds. Calls made to getSensorData for the same server within 30 seconds of each other will return the same data. Subsequent calls will return new data once the cache expires.- See Also:
- SoftLayer_Hardware_Server::getPMInfo
-
getPrimaryDriveSize
-
getPrivateBandwidthDataSummary
Retrieve a brief summary of a server's private network bandwidth usage. getPrivateBandwidthDataSummary retrieves a server's bandwidth allocation for its billing period, its estimated usage during its billing period, and an estimation of how much bandwidth it will use during its billing period based on its current usage. A server's projected bandwidth usage increases in accuracy as it progresses through its billing period. -
getPrivateBandwidthGraphImage
@ApiMethod(instanceRequired=true) byte[] getPrivateBandwidthGraphImage(String startTime, String endTime)Retrieve a graph of a server's private network bandwidth usage over the specified time frame. If no time frame is specified then getPublicBandwidthGraphImage retrieves the last 24 hours of public bandwidth usage. getPublicBandwidthGraphImage returns a PNG image -
getPrivateNetworkComponent
Retrieve the private network component attached with this server. -
getPrivateVlan
Retrieve the backend VLAN for the primary IP address of the server -
getPrivateVlanByIpAddress
*** DEPRECATED ***
Retrieve a backend network VLAN by searching for an IP address -
getProvisionDate
-
getPublicBandwidthDataSummary
Retrieve a brief summary of a server's public network bandwidth usage. getPublicBandwidthDataSummary retrieves a server's bandwidth allocation for its billing period, its estimated usage during its billing period, and an estimation of how much bandwidth it will use during its billing period based on its current usage. A server's projected bandwidth usage increases in accuracy as it progresses through its billing period. -
getPublicBandwidthGraphImage
@ApiMethod(instanceRequired=true) byte[] getPublicBandwidthGraphImage(GregorianCalendar startTime, GregorianCalendar endTime)Retrieve a graph of a server's public network bandwidth usage over the specified time frame. If no time frame is specified then getPublicBandwidthGraphImage retrieves the last 24 hours of public bandwidth usage. getPublicBandwidthGraphImage returns a PNG image measuring 827 pixels by 293 pixels. THIS METHOD GENERATES GRAPHS BASED ON THE NEW DATA WAREHOUSE REPOSITORY. -
getPublicBandwidthTotal
Retrieve the total number of bytes used by a server over a specified time period via the data warehouse tracking objects for this hardware. -
getPublicNetworkComponent
Retrieve a SoftLayer server's public network component. Some servers are only connected to the private network and may not have a public network component. In that case getPublicNetworkComponent returns a null object. -
getPublicVlan
Retrieve the frontend VLAN for the primary IP address of the server- See Also:
- SoftLayer_Hardware_Server::getPublicVlan
-
getPublicVlanByHostname
Retrieve the frontend network Vlan by searching the hostname of a server -
getReverseDomainRecords
Retrieve the reverse domain records associated with this server. -
getSensorDataForServer
@ApiMethod(value="getSensorData", instanceRequired=true) List<SensorReading> getSensorDataForServer()Retrieve a server's hardware state via its internal sensors. Remote sensor data is transmitted to the SoftLayer API by way of the server's remote management card. Sensor data measures system temperatures, voltages, and other local server settings. Sensor data is cached for 30 seconds. Calls made to getSensorData for the same server within 30 seconds of each other will return the same data. Subsequent calls will return new data once the cache expires.- See Also:
- SoftLayer_Hardware_Server::getSensorData
-
getSensorDataWithGraphsForServer
@ApiMethod(value="getSensorDataWithGraphs", instanceRequired=true) SensorReadingsWithGraphs getSensorDataWithGraphsForServer()Retrieves the raw data returned from the server's remote management card. For more details of what is returned please refer to the getSensorData method. Along with the raw data, graphs for the cpu and system temperatures and fan speeds are also returned. -
getServerDetails
Retrieve a server's hardware components, software, and network components. getServerDetails is an aggregation function that combines the results of [[SoftLayer_Hardware_Server::getComponents]], [[SoftLayer_Hardware_Server::getSoftware]], and [[SoftLayer_Hardware_Server::getNetworkComponents]] in a single container. -
getServerFanSpeedGraphsForServer
@ApiMethod(value="getServerFanSpeedGraphs", instanceRequired=true) List<SensorSpeed> getServerFanSpeedGraphsForServer()Retrieve the server's fan speeds and displays them using tachometer graphs. Data used to construct graphs is retrieved from the server's remote management card. All graphs returned will have a title associated with it. -
getServerPowerStateForServer
@ApiMethod(value="getServerPowerState", instanceRequired=true) String getServerPowerStateForServer()Retrieves the power state for the server. The server's power status is retrieved from its remote management card. This will return 'on' or 'off'. -
getServerTemperatureGraphsForServer
@ApiMethod(value="getServerTemperatureGraphs", instanceRequired=true) List<SensorTemperature> getServerTemperatureGraphsForServer()Retrieve the server's temperature and displays them using thermometer graphs. Temperatures retrieved are CPU(s) and system temperatures. Data used to construct graphs is retrieved from the server's remote management card. All graphs returned will have a title associated with it. -
getValidBlockDeviceTemplateGroups
This method will return the list of block device template groups that are valid to the host. For instance, it will only retrieve FLEX images. -
getWindowsUpdateAvailableUpdates
Retrieve a list of Windows updates available for a server from the local SoftLayer Windows Server Update Services (WSUS) server. Windows servers provisioned by SoftLayer are configured to use the local WSUS server via the private network by default. -
getWindowsUpdateInstalledUpdates
Retrieve a list of Windows updates installed on a server as reported by the local SoftLayer Windows Server Update Services (WSUS) server. Windows servers provisioned by SoftLayer are configured to use the local WSUS server via the private network by default. -
getWindowsUpdateStatus
This method returns an update status record for this server. That record will specify if the server is missing updates, or has updates that must be reinstalled or require a reboot to go into affect. -
initiateIderaBareMetalRestore
Idera Bare Metal Server Restore is a backup agent designed specifically for making full system restores made with Idera Server Backup. -
initiateR1SoftBareMetalRestore
R1Soft Bare Metal Server Restore is an R1Soft disk agent designed specifically for making full system restores made with R1Soft CDP Server backup. -
isBackendPingable
Issues a ping command and returns the success (true) or failure (false) of the ping command. -
isPingableForServer
Issues a ping command and returns the success (true) or failure (false) of the ping command.- See Also:
- SoftLayer_Hardware_Server::isPingable
-
isWindowsServer
Determine if the server runs any version of the Microsoft Windows operating systems. Return ''true'' if it does and ''false if otherwise. -
massFirmwareReflash
@ApiMethod List<Request> massFirmwareReflash(List<Long> hardwareIds, Boolean ipmi, Boolean raidController, Boolean bios)You can launch firmware reflashes by selecting from your server list. It will bring your server offline for approximately 60 minutes while the reflashes are in progress.
In the event of a hardware failure during this test our datacenter engineers will be notified of the problem automatically. They will then replace any failed components to bring your server back online. They will be contact you to ensure that impact on your server is minimal. -
massFirmwareUpdate
@ApiMethod List<Request> massFirmwareUpdate(List<Long> hardwareIds, Boolean ipmi, Boolean raidController, Boolean bios, Boolean harddrive)You can launch firmware updates by selecting from your server list. It will bring your server offline for approximately 20 minutes while the updates are in progress.
In the event of a hardware failure during this test our datacenter engineers will be notified of the problem automatically. They will then replace any failed components to bring your server back online, and will be contacting you to ensure that impact on your server is minimal. -
massHyperThreadingUpdate
@ApiMethod List<Request> massHyperThreadingUpdate(List<Long> hardwareIds, Boolean disableHyperthreading)You can launch hyper-threading update by selecting from your server list. It will bring your server offline for approximately 60 minutes while the updates are in progress.
In the event of a hardware failure during this update our datacenter engineers will be notified of the problem automatically. They will then replace any failed components to bring your server back online. They will be in contact with you to ensure that impact on your server is minimal. -
massReloadOperatingSystem
@ApiMethod String massReloadOperatingSystem(List<String> hardwareIds, String token, Configuration config)Reloads current or customer specified operating system configuration.
This service has a confirmation protocol for proceeding with the reload. To proceed with the reload without confirmation, simply pass in 'FORCE' as the token parameter. To proceed with the reload with confirmation, simply call the service with no parameter. A token string will be returned by this service. The token will remain active for 10 minutes. Use this token as the parameter to confirm that a reload is to be performed for the server.
As a precaution, we strongly recommend backing up all data before reloading the operating system. The reload will format the primary disk and will reconfigure the server to the current specifications on record.
The reload will take AT MINIMUM 66 minutes. -
massSparePool
The ability to place multiple bare metal servers in a state where they are powered down and ports closed yet still allocated to the customer as a part of the Spare Pool program.- See Also:
- SoftLayer_Hardware_Server::massSparePool
-
pingForServer
Issues a ping command to the server and returns the ping response.- See Also:
- SoftLayer_Hardware_Server::ping
-
populateServerRam
-
powerCycleForServer
Power off then power on the server via powerstrip. The power cycle command is equivalent to unplugging the server from the powerstrip and then plugging the server back into the powerstrip. This should only be used as a last resort. If a reboot command has been issued successfully in the past 20 minutes, another remote management command (rebootSoft, rebootHard, powerOn, powerOff and powerCycle) will not be allowed. This is to avoid any type of server failures.- See Also:
- SoftLayer_Hardware_Server::powerCycle
-
powerOffForServer
This method will power off the server via the server's remote management card.- See Also:
- SoftLayer_Hardware_Server::powerOff
-
powerOnForServer
Power on server via its remote management card. If a reboot command has been issued successfully in the past 20 minutes, another remote management command (rebootSoft, rebootHard, powerOn, powerOff and powerCycle) will not be allowed. This is to avoid any type of server failures.- See Also:
- SoftLayer_Hardware_Server::powerOn
-
rebootDefaultForServer
Attempts to reboot the server by issuing a reset (soft reboot) command to the server's remote management card. If the reset (soft reboot) attempt is unsuccessful, a power cycle command will be issued via the powerstrip. The power cycle command is equivalent to unplugging the server from the powerstrip and then plugging the server back into the powerstrip. If a reboot command has been issued successfully in the past 20 minutes, another remote management command (rebootSoft, rebootHard, powerOn, powerOff and powerCycle) will not be allowed. This is to avoid any type of server failures.- See Also:
- SoftLayer_Hardware_Server::rebootDefault
-
rebootHardForServer
Reboot the server by issuing a cycle command to the server's remote management card. This is equivalent to pressing the 'Reset' button on the server. This command is issued immediately and will not wait for processes to shutdown. After this command is issued, the server may take a few moments to boot up as server may run system disks checks. If a reboot command has been issued successfully in the past 20 minutes, another remote management command (rebootSoft, rebootHard, powerOn, powerOff and powerCycle) will not be allowed. This is to avoid any type of server failures.- See Also:
- SoftLayer_Hardware_Server::rebootHard
-
rebootSoftForServer
Reboot the server by issuing a reset command to the server's remote management card. This is a graceful reboot. The servers will allow all process to shutdown gracefully before rebooting. If a reboot command has been issued successfully in the past 20 minutes, another remote management command (rebootSoft, rebootHard, powerOn, powerOff and powerCycle) will not be allowed. This is to avoid any type of server failures.- See Also:
- SoftLayer_Hardware_Server::rebootSoft
-
reloadCurrentOperatingSystemConfiguration
Reloads current operating system configuration.
This service has a confirmation protocol for proceeding with the reload. To proceed with the reload without confirmation, simply pass in 'FORCE' as the token parameter. To proceed with the reload with confirmation, simply call the service with no parameter. A token string will be returned by this service. The token will remain active for 10 minutes. Use this token as the parameter to confirm that a reload is to be performed for the server.
As a precaution, we strongly recommend backing up all data before reloading the operating system. The reload will format the primary disk and will reconfigure the server to the current specifications on record.
The reload will take AT MINIMUM 66 minutes. -
reloadOperatingSystem
Reloads current or customer specified operating system configuration.
This service has a confirmation protocol for proceeding with the reload. To proceed with the reload without confirmation, simply pass in 'FORCE' as the token parameter. To proceed with the reload with confirmation, simply call the service with no parameter. A token string will be returned by this service. The token will remain active for 10 minutes. Use this token as the parameter to confirm that a reload is to be performed for the server.
As a precaution, we strongly recommend backing up all data before reloading the operating system. The reload will format the primary disk and will reconfigure the server to the current specifications on record.
The reload will take AT MINIMUM 66 minutes. -
runPassmarkCertificationBenchmark
You can launch a new Passmark hardware test by selecting from your server list. It will bring your server offline for approximately 20 minutes while the testing is in progress, and will publish a certificate with the results to your hardware details page.
While the hard drives are tested for the initial deployment, the Passmark Certificate utility will not test the hard drives on your live server. This is to ensure that no data is overwritten. If you would like to test the server's hard drives, you can have the full Passmark suite installed to your server free of charge through a new Support ticket.
While the test itself does not overwrite any data on the server, it is recommended that you make full off-server backups of all data prior to launching the test. The Passmark hardware test is designed to force any latent hardware issues to the surface, so hardware failure is possible.
In the event of a hardware failure during this test our datacenter engineers will be notified of the problem automatically. They will then replace any failed components to bring your server back online, and will be contacting you to ensure that impact on your server is minimal. -
setOperatingSystemPassword
Changes the password that we have stored in our database for a servers' Operating System -
setPrivateNetworkInterfaceSpeed
@ApiMethod(instanceRequired=true) Boolean setPrivateNetworkInterfaceSpeed(Long newSpeed, String redundancy)Set the private network interface speed and redundancy configuration.
Possible $newSpeed values are -1 (maximum available), 0 (disconnect), 10, 100, 1000, and 10000; not all values are available to every server. The maximum speed is limited by the speed requested during provisioning. All intermediate speeds are limited by the capability of the pod the server is deployed in. No guarantee is made that a speed other than what was requested during provisioning will be available.
If specified, possible $redundancy values are either "redundant" or "degraded". Not specifying a redundancy mode will use the best possible redundancy available to the server. However, specifying a redundacy mode that is not available to the server will result in an error. "redundant" indicates all available interfaces should be active. "degraded" indicates only the primary interface should be active. Irrespective of the number of interfaces available to a server, it is only possible to have either a single interface or all interfaces active.
Receipt of a response does not indicate completion of the configuration change. Any subsequent attempts to request the interface change speed or state, while changes are pending, will result in a busy error.
A response of true indicates a change was required to achieve the desired interface configuration; thus changes are pending. A response of false indicates the current interface configuration matches the desired configuration, and thus no changes are pending.
Backwards Compatibility Until February 27th, 2019
In order to provide a period of transition to the new API, some backwards compatible behaviors will be active during this period.- A "doubled" (eg. 200) speed value will be translated to a redundancy value of "redundant". If a redundancy value is specified, it is assumed no translation is needed and will result in an error due to doubled speeds no longer being valid.
- A non-doubled (eg. 100) speed value without a redundancy value will be translated to a redundancy value of "degraded".
-
setPublicNetworkInterfaceSpeed
@ApiMethod(instanceRequired=true) Boolean setPublicNetworkInterfaceSpeed(Long newSpeed, String redundancy)Set the public network interface speed and redundancy configuration.
Possible $newSpeed values are -1 (maximum available), 0 (disconnect), 10, 100, 1000, and 10000; not all values are available to every server. The maximum speed is limited by the speed requested during provisioning. All intermediate speeds are limited by the capability of the pod the server is deployed in. No guarantee is made that a speed other than what was requested during provisioning will be available.
If specified, possible $redundancy values are either "redundant" or "degraded". Not specifying a redundancy mode will use the best possible redundancy available to the server. However, specifying a redundacy mode that is not available to the server will result in an error. "redundant" indicates all available interfaces should be active. "degraded" indicates only the primary interface should be active. Irrespective of the number of interfaces available to a server, it is only possible to have either a single interface or all interfaces active.
Receipt of a response does not indicate completion of the configuration change. Any subsequent attempts to request the interface change speed or state, while changes are pending, will result in a busy error.
A response of true indicates a change was required to achieve the desired interface configuration; thus changes are pending. A response of false indicates the current interface configuration matches the desired configuration, and thus no changes are pending.
Backwards Compatibility Until February 27th, 2019
In order to provide a period of transition to the new API, some backwards compatible behaviors will be active during this period.- A "doubled" (eg. 200) speed value will be translated to a redundancy value of "redundant". If a redundancy value is specified, it is assumed no translation is needed and will result in an error due to doubled speeds no longer being valid.
- A non-doubled (eg. 100) speed value without a redundancy value will be translated to a redundancy value of "degraded".
-
setUserMetadata
Sets the data that will be written to the configuration drive. -
shutdownPrivatePort
Disconnect a server's private network interface. This operation is an alias for calling [[SoftLayer_Hardware_Server/setPrivateNetworkInterfaceSpeed]] with a $newSpeed of 0 and unspecified $redundancy.
Receipt of a response does not indicate completion of the configuration change. Any subsequent attempts to request the interface change speed or state, while changes are pending, will result in a busy error.
A response of true indicates a change was required to disconnect the interface; thus changes are pending. A response of false indicates the interface was already disconnected, and thus no changes are pending. -
shutdownPublicPort
Disconnect a server's public network interface. This operation is an alias for [[SoftLayer_Hardware_Server/setPublicNetworkInterfaceSpeed]] with a $newSpeed of 0 and unspecified $redundancy.
Receipt of a response does not indicate completion of the configuration change. Any subsequent attempts to request the interface change speed or state, while changes are pending, will result in a busy error.
A response of true indicates a change was required to disconnect the interface; thus changes are pending. A response of false indicates the interface was already disconnected, and thus no changes are pending. -
sparePool
The ability to place bare metal servers in a state where they are powered down, and ports closed yet still allocated to the customer as a part of the Spare Pool program.- See Also:
- SoftLayer_Hardware_Server::sparePool
-
testRaidAlertService
Test the RAID Alert service by sending the service a request to store a test email for this server. The server must have an account ID and MAC address. A RAID controller must also be installed. -
toggleManagementInterface
Attempt to toggle the IPMI interface. If there is an active transaction on the server, it will throw an exception. This method creates a transaction to toggle the interface. It is not instant. -
updateIpmiPassword
This method will update the root IPMI password on this SoftLayer_Hardware.- Specified by:
updateIpmiPasswordin interfaceHardware.Service- See Also:
- SoftLayer_Hardware_Server::updateIpmiPassword
-
validatePartitionsForOperatingSystem
@ApiMethod Boolean validatePartitionsForOperatingSystem(Description operatingSystem, List<Partition> partitions)Validates a collection of partitions for an operating system -
getActiveNetworkFirewallBillingItem
The billing item for a server's attached network firewall. -
getActiveTickets
-
getActiveTransaction
Transaction currently running for server. -
getActiveTransactions
Any active transaction(s) that are currently running for the server (example: os reload). -
getAvailableMonitoring
An object that stores the maximum level for the monitoring query types and response types. -
getAverageDailyBandwidthUsage
The average daily total bandwidth usage for the current billing cycle. -
getAverageDailyPrivateBandwidthUsage
The average daily private bandwidth usage for the current billing cycle. -
getBillingCycleBandwidthUsage
The raw bandwidth usage data for the current billing cycle. One object will be returned for each network this server is attached to. -
getBillingCyclePrivateBandwidthUsage
The raw private bandwidth usage data for the current billing cycle. -
getBillingCyclePublicBandwidthUsage
The raw public bandwidth usage data for the current billing cycle. -
getBiosPasswordNullFlag
Determine if BIOS password should be left as null. -
getCaptureEnabledFlag
Determine if the server is able to be image captured. If unable to image capture a reason will be provided. -
getContainsSolidStateDrivesFlag
-
getControlPanel
A server's control panel. -
getCost
The total cost of a server, measured in US Dollars ($USD).- See Also:
- SoftLayer_Hardware_Server::getCost
-
getCurrentBandwidthSummary
An object that provides commonly used bandwidth summary components for the current billing cycle. -
getCustomerInstalledOperatingSystemFlag
Indicates if a server has a Customer Installed OS -
getCustomerOwnedFlag
Indicates if a server is a customer owned device. -
getHasSingleRootVirtualizationBillingItemFlag
Determine if hardware has Single Root IO VIrtualization (SR-IOV) billing item. -
getInboundPrivateBandwidthUsage
The total private inbound bandwidth for this hardware for the current billing cycle. -
getIsCloudReadyNodeCertified
Determine if hardware object has the IBM_CLOUD_READY_NODE_CERTIFIED attribute. -
getIsIpmiDisabled
Determine if remote management has been disabled due to port speed. -
getIsVirtualPrivateCloudNode
Determine if hardware object is a Virtual Private Cloud node. -
getLastOperatingSystemReload
The last transaction that a server's operating system was loaded. -
getLogicalVolumeStorageGroups
Returns a list of logical volumes on the physical machine. -
getMetricTrackingObjectId
The metric tracking object id for this server. -
getMonitoringUserNotification
The monitoring notification objects for this hardware. Each object links this hardware instance to a user account that will be notified if monitoring on this hardware object fails -
getOpenCancellationTicket
An open ticket requesting cancellation of this server, if one exists. -
getOutboundPrivateBandwidthUsage
The total private outbound bandwidth for this hardware for the current billing cycle. -
getOverBandwidthAllocationFlag
Whether the bandwidth usage for this hardware for the current billing cycle exceeds the allocation. -
getPrivateIpAddress
A server's primary private IP address. -
getProjectedOverBandwidthAllocationFlag
Whether the bandwidth usage for this hardware for the current billing cycle is projected to exceed the allocation. -
getProjectedPublicBandwidthUsage
The projected public outbound bandwidth for this hardware for the current billing cycle. -
getReadyNodeFlag
Determine if hardware object is vSan Ready Node. -
getRecentRemoteManagementCommands
The last five commands issued to the server's remote management card. -
getRegionalInternetRegistry
-
getRemoteManagement
A server's remote management card. -
getRemoteManagementUsers
User(s) who have access to issue commands and/or interact with the server's remote management card. -
getSoftwareGuardExtensionEnabled
Determine if hardware object has Software Guard Extension (SGX) enabled. -
getStatisticsRemoteManagement
A server's remote management card used for statistics. -
getUefiBootFlag
Whether to use UEFI boot instead of BIOS. -
getUsers
A list of users that have access to this computing instance.- See Also:
- SoftLayer_Hardware_Server::getUsers
-
getVirtualGuests
A hardware server's virtual servers.
-