Currently, I use this IBM Cli command to get list of volumes sanctioned:
ibmcloud sl block volume-list
I wanted to get the same data using IBM Cloud API (or Python SDK).
I tried this IBM Cloud's VPC API but that only seem to list disk under a VPC
The official IBM Cloud API list does not seem to have any SoftLayer / Infrastructure APIs.
Running the following command with trace enabled
shows that this API is called:
You might want to test getIscsiNetworkStorage, even if it is a legacy API.