Releases: zertico/softlayer
v0.0.16
Account_Link_Bluemix
SoftLayer is improving the linking to Bluemix accounts; now there is a service to get a SoftLayer_Account_Link_Bluemix datatype, and we have 4 methods:
- getAccount - get Account related to this link
- getObject - get an specific Account Link Object
- getServiceProvider
- getSupportTierType(message)
Network_Application_Delivery_Controller_LoadBalancer_Service
When you have an LB service, it is useful to get the health check, and now it's possible when you have an LB service. Now it's feasible to get a service group directly.
Check this two methods for further information
Network_Application_Delivery_Controller_LoadBalancer_Service_Group
This method was added to the service:
Ticket_Attachment_File
Now has a service to support some operations, the service contains for methods:
- getExtensionWhitelist
- getObject
- getTicket
- getUpdate
Check the methods on the service page
ps: If you have any trouble uploading a file, you can check what file extensions are allowed using the getExtensionWhitelist method.
Softlayer::Ticket::Attachment::File.get_extension_whitelist
# ["doc", "msg", "ovpn", "p7s" ... ]User_Customer_OpenIdConnect
If you are using OpenID Connect, check these 4 new methods that were added:
- getAccessTokenFromOpenIdConnectAuthorizeRedirect
- getDefaultAccount
- getMappedAccounts - Retrieve a list of all the accounts that belong to this customer.
- setDefaultAccount
v0.0.15
SoftLayer_Account
Added the relational properties:
allowsBluemixAccountLinkingFlag- Flag indicating if this account can
be linked with Bluemix.bluemixLinkedFlag- Returns true if this account is linked to IBM
Bluemix, false if not.
Obviously, we have methods getAllowsBluemixAccountLinkingFlag and
getBluemixLinkedFlag to retrieve both flags.
And the following methods were added:
linkExternalAccount- This method will link this SoftLayer account
with the provided external account.setAbuseEmails- Set this account's abuse emails.
The documentation says no much about these methods, probably they are used
internally by SoftLayer, if we have any further information (as always),
we will post here.
SoftLayer_Hardware_SecurityModule
This service has received a lot of modifications, to start, now the
service inherits from SoftLayer_Hardware_Server
Many methods were added, more than 50, so if you use this service we
recommend to check the service
documentation
SoftLayer_Network_Bandwidth_Version1_Allotment
When creating an object, now returns a data type with the same type of
the service (was a boolean previously).
SoftLayer_Network_Service_Resource_MonitoringHub
Added the method adnServicesIp
SoftLayer_Network_Storage_Schedule
Added the methods replicaSnapshotCount and replicaSnapshots; also
the method getReplicaSnapshots was added too.
The method is used to retrieve replica snapshots which have been created
as the result of this schedule's execution. And the attributes (that are
relational and count properties), are used to retrieve a
SoftLayer_Network_Storage
instance.
SoftLayer_Software_Component_Security_SafeNet
Datatype
added with properties:
hardwareId- Hardware Identification Number for the server this Software Component is
installed upon.id- An ID number identifying this Software Component (Software Installation)manufacturerActivationCode- The manufacturer code that is needed to activate a license.manufacturerLicenseInstance- A license key for this specific installation of software, if it is
needed.
According to documentation
This object specifies a specific Software Component: A SafeNet
instance. SafeNet installations have custom configurations for
password requirements.
SoftLayer_User_Customer
The attribute managedByOidcFlag was renamed to
managerByOpenIdConnectFlag
SoftLayer_User_Customer_Invitation
Two methods were added to this service:
getObjectgetUser
So probably SoftLayer will generate invitation internally, and you can
get the invitation objects via API once you use a getObject in the
datatype
there're some properties to consume like code, createDate, statusId.
Not sure what is the real use for this service, once we have more
information we are going to post here.
SoftLayer_User_Customer_OpenIdConnect
This service was added to support OpenID Connect, so if you would like
to use OpenID with SoftLayer, we recommend to check the service
documentation
SoftLayer_Utility_Network
The following methods were removed:
isPingablepingtraceroute
v0.0.14
SoftLayer_Network_Subnet
Fields totalIpAddresses and usableIpAddressCount are changed from nonNegativeInteger to decimal (in WSDL) and on ruby it results in a change from Integer to Float.
SoftLayer_User_Customer_Link
Added a defaultFlag (Integer) field.
v0.0.13
SoftLayer_Container_Product_Order_Cart
The data types was removed, including its items SoftLayer_Container_Product_Order_Cart_Item
SoftLayer_Network_Component_Detail
This other datatype was removed too.
SoftLayer_Software_Component_AntivirusSpyware
On message updateAntivirusSpywarePolicy, it now accepts an enforce parameter, that is a boolean type.
v0.0.12
SoftLayer_Account
Was added the getVmWareActiveAccountLicenseKeys that returns an array of strings that is a collection of active VMware software account license keys.
SoftLayer_Notification_Occurence_Event
Notification of occurrence events, are related when can cause a disruption on a service, and now were added a property acknowledgedFlag (and a method to get its value getAcknowledgedFlag) that indicates whether or not this event has been acknowledged by the user. My guess is it's for SoftLayer internal control.
SoftLayer_Software_AccountLicense
The service now has the getAllObjects method to get all account licenses.
SoftLayer_User_Customer
On this datatype was added managedByOIDCFlag, honestly, I have no idea what it means, do you? :)
New Types
Related to license additions were added two data types SoftLayer_Billing_Item_Software_License and SoftLayer_Container_Product_Order_Software_License.
The first one is an specialization of SoftLayer_Billing_Item_Software that contains resource that is a relationship to a software license billing item. The second one brings no additional specialization on the class.
v0.0.11
Features
- Improved generator, now re generating the modules (now more failures when autoloading constants)
Updates for 04/18/2016
SoftLayer_Network_Monitor_Version1_Query_Host
Method get_subnet was removed.
SoftLayer_Notification_Occurence_Resouce_Network_Storage
New types added for storage notification
SoftLayer_Notification_Occurence_Resouce_Network_Storage_LockboxSoftLayer_Notification_Occurence_Resouce_Network_Storage_NasSoftLayer_Notification_Occurence_Resouce_Network_Storage_Iscsi_EqualLogicSoftLayer_Notification_Occurence_Resouce_Network_Storage_Lockbox
These four types has attributes hostname, private_ip and resource_type, so probably the idea was provide types for more specific notifications.
v0.0.10
SoftLayer_Network_Storage
Added the method getManualSnapshots where you can get the manually created snapshots associated with this network storage volume, a good observation is that this method does not support pagination by result limit and offset.
as SoftLayer_Network_Storage_Backup_Evault and SoftLayer_Network_Storage_Iscsi inherits the network storage object, both received the method too.
on the relation properties, now we have manualSnapshotsCount, to get the total
SoftLayer_Product_Package_Server
Added the properties datacenters for the these server package, so on this property we can access a comma-separated list of datacenters names this server is available in, check this example:
servers = Softlayer::Product::Package::Server.get_all_objects
servers.size
# => 55
servers.first.datacenters
# => "ams01,ams03,che01,dal01,dal05,dal06,dal07,dal09,fra02,hkg02,hou02,lon02,mel01,mex01,mil01,mon01,par01,sjc01,sjc03,sao01,sea01,sng01,syd01,tok02,tor01,wdc01,wdc04"if you would like to list all servers available on sao01
sao01_servers = servers.select { |x| x.datacenters =~ /sao01/ }
sao01_servers.size
# => 34v0.0.9
SoftLayer_Account
Added methods getAccountLicenses and getActiveAccountLicenses so you can retrieve the account software licenses owned by an account, and for the second method you can, of course, just get the active licenses.
A count for each property was added, so accountLicenseCount and activeAccountLicenseCount, show the total for each license.
SoftLayer_Search
The SoftLayer_Search service was introduced to search for almost every devices of an account, according to the documentation:
SoftLayer's account historical service allows users to access a broad overview of devices for that account and historical details concerning the overall function and performance of the devices on that account
the service has the following methods:
advancedSearchSearch for SoftLayer Resources by simple terms.getObjectTypesReturn a collection of indexed object types.searchSearch for SoftLayer Resources by simple phrase.
I do really belive that search deserves it's own post, stay tuned.
SoftLayer_Software_AcccountLicense
It's the service and datatype for the methods explained on SoftLayer_Account section.
According to documentations
SoftLayer_Software_AccountLicense is the application class that handles a special type of Software License. Most software licenses are licensed to a specific hardware ID or IP address, this is tied to an account.
the service has the following methods:
getAccountRetrieve the customer account this Account License belongs to.getBillingItemRetrieve the billing item for a software account license.getObjectRetrieve a SoftLayer_Software_AccountLicense record.getSoftwareDescriptionRetrieve the SoftLayer_Software_Description that this account license is for.
Types
- SoftLayer_Entity
- SoftLayer_Container_Resource_Metadata_ServiceResource SoftLayer_Resource_Metadata#getServiceResources now is returning an array of this
ServiceResource, instead of an array ofSoftLayer_Network_Service_Resource
v0.0.8
Features
- Now you need to pass a hash as a parameter to any method, this is useful to pass Softlayer objects and they are automatically converted to hash using the method below
- Added
#to_softlayermethod to Softlayer::Model, Array and Hash to make easier to send objects as parameters on requests
Fixes
- Workaround on issue that need to pass an array inside an array