Skip to content

Support file|block volume-list --order #1339

@allmightyspiff

Description

@allmightyspiff

ibmcloud cli has the following option we should also add.

Order 64570100 was placed.
 > Storage as a Service
 > Block Storage
 > 25 GBs
 > 200 IOPS
 > 20 GB (Snapshot Space)

You may run 'C:\Program Files\IBM\Cloud\bin\ibmcloud.exe sl block volume-list --order 64570100' to find this block volume after it is ready.

 ibmcloud.exe sl block volume-list --order 64570100
2020/09/08 17:34:13 [DEBUG] Request URL:  GET https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getIscsiNetworkStorage.json?objectFilter=%7B%22iscsiNetworkStorage%22%3A%7B%22billingItem%22%3A%7B%22orderItem%22%3A%7B%22order%22%3A%7B%22id%22%3A%7B%22operation%22%3A64570100%7D%7D%7D%7D%2C%22storageType%22%3A%7B%22keyName%22%3A%7B%22operation%22%3A%22%2A%3D+BLOCK_STORAGE%22%7D%7D%7D%7D&objectMask=mask%5Bid%2Cusername%2CserviceResource.datacenter.name%2CstorageType.keyName%2CcapacityGb%2CbytesUsed%2ClunId%5D
2020/09/08 17:34:13 [DEBUG] Parameters:
2020/09/08 17:34:14 [DEBUG] Status Code:  200
2020/09/08 17:34:14 [DEBUG] Response:  [{"capacityGb":25,"id":168669398,"username":"SL02SL307608-38","lunId":"1","serviceResource":{"id":7779,"name":"Storage Type 02 Block Aggregate stbf-dal0903a","datacenter":{"name":"dal09"},"type":{"type":"NETAPP_STOR_AGGR"}},"storageType":{"keyName":"PERFORMANCE_BLOCK_STORAGE"}}]
id          username          datacenter   storage_type                capacity_gb   bytes_used   lunId
168669398   SL02SL307608-38   dal09        performance_block_storage   25            -            1

Metadata

Metadata

Assignees

Labels

OrderingAnything related to ordering

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions