We are a part of DST India team and currently we are working for an offering for our client where we are trying to integrate performance and endurance storage features (of SoftLayer) in ICO using REST API provided by SoftLayer. I have gone through SoftLayer documentation but I'm not able to find the same.
So, Could you kindly provide us following information?
- please provide API for creating endurance storage (along with the parameters required)
- please provide API for creating performance storage (along with the parameters required)
- please provide API for attaching endurance storage (along with the parameters required)
- please provide API for attaching performance storage (along with the parameters required)
To order Endurance, execute:
Configuration:
URL:
Method: POST
Json Payload:
Notes:
How to get the valid item prices to order Endurance/Performance Storage?
Execute the following according to package to use:
To Order Performance Storage:
Configuration:
URL:
Method: POST
Json Payload:
To authorize/allow hosts, please execute:
Method: POST
The Above request is used to authorize “Endurance” and “Performance” If you want to authorize “Virtual Guest”,“IpAddress” or “Hardware”, valid values for “objectType” are:
“SoftLayer_Virtual_Guest “,”SoftLayer_Network_Subnet_IpAddress”, ”SoftLayer_Hardware” respectively.
Reference:
The “network storage” and VSI/Bar Metal/Subnet must to be located in the same location/datacenter. These requests help us to get available hosts can be authorized to an specific “network storage” as we can see in the Portal:
To get valid available subnets with associated IP addresses, execute:
To get valid available virtual guests, please execute:
Available Bar metal:
Update 1:
Additionally, to get network Storage list, please see: SoftLayer_Account::getNetworkStorage
This is an example, where the result displays properties like: “location” and “network storage type” using
object Masks
.Using filters:
Filtering by network Storage Type:
“Endurance Storage”
or“Block Storage (Performance)”
Other link may help you:
API for Listing All Performance Storages for a user