Forum Discussion
Julian_Balog_34
Jan 27, 2014Historic F5 Account
Or, if you would be looking at querying the actual disk partitions, the iControl REST API would be:
https://device/mgmt/tm/sys/disk/
and then:
https://device/mgmt/tm/sys/disk/application-volume/
which would return a response similar to:
{
"kind": "tm:sys:disk:application-volume:application-volumecollectionstate",
"selfLink": "https://localhost/mgmt/tm/sys/disk/application-volume?ver=11.5.0",
"items": [
{
"kind": "tm:sys:disk:application-volume:application-volumestate",
"name": "afmdata",
"fullPath": "afmdata",
"generation": 52,
"selfLink": "https://localhost/mgmt/tm/sys/disk/application-volume/afmdata?ver=11.5.0",
"logicalDisk": "HD1",
"owner": "afm",
"preservability": "precious",
"resizeable": "false",
"size": 3900
},
{
"kind": "tm:sys:disk:application-volume:application-volumestate",
"name": "mysqldb_HD1.1",
"fullPath": "mysqldb_HD1.1",
"generation": 52,
"selfLink": "https://localhost/mgmt/tm/sys/disk/application-volume/mysqldb_HD1.1?ver=11.5.0",
"logicalDisk": "HD1",
"owner": "mysql",
"preservability": "precious",
"resizeable": "false",
"size": 12288,
"volumeSetVisibilityRestraint": "HD1.1"
},
{
"kind": "tm:sys:disk:application-volume:application-volumestate",
"name": "mysqldb_HD1.2",
"fullPath": "mysqldb_HD1.2",
"generation": 52,
"selfLink": "https://localhost/mgmt/tm/sys/disk/application-volume/mysqldb_HD1.2?ver=11.5.0",
"logicalDisk": "HD1",
"owner": "mysql",
"preservability": "precious",
"resizeable": "false",
"size": 12288,
"volumeSetVisibilityRestraint": "HD1.2"
}
]
}