Closed narkarum closed 4 years ago
Example:
--json-filter='{"networkStorage":{"datacenter":{"name":{"operation":"mon01"}}}}'
Hey @narkarum , Issues with the SLCLI go in softlayer-python
That being said, your filter is not quite correct, try the following.
slcli -v --format=json call-api SoftLayer_Account getNetworkStorage --limit=1000 --mask="mask[id;serviceResource.datacenter.name]" --json-filter='{"networkStorage":{"serviceResource":{"datacenter":{"name":{"operation":"mon01"}}}}}'
Example:
Above command is not filtering the datacenter name. It is displaying all volumes and from all datacenters.