Changed1
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
Get Cluster Datastores
DescriptionGet the list of all datastores associated with the cluster.
Request
URLURL
https://sfo-vcf01.rainpole.io/v1/clusters/{id}/datastores
Path Parameters
Path Parameters
string
id
Required
Cluster ID
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
Datastore
of type(s) application/json
{
"datastoreType": "string",
"freeCapacityGB": 0,
"id": "string",
"name": "string",
"tags": [
{
"categoryId": "string",
"categoryName": "string",
"id": "string",
"name": "string"
}
],
"totalCapacityGB": 0,
"url": "string",
"vcDatacenterName": "string",
"vcInstanceUuid": "string",
"vmCount": 0
}
string
datastoreType
Optional
Datastore Type
number as double
freeCapacityGB
Optional
Free storage capacity in GB
string
id
Optional
Id of the datastore
string
name
Optional
Name of the datastore
number as double
totalCapacityGB
Optional
Total storage capacity in GB
string
url
Optional
URL of the datastore
string
vcDatacenterName
Optional
Name of the vCenter datacenter that this datastore resides
string
vcInstanceUuid
Optional
Instance UUID of the vCenter that manages this datastore
integer as int32
vmCount
Optional
Number of VMs on the datastore
Errors
Error
400
Bad Request
Error
404
Cluster Not Found
Error
500
Internal Server Error
Code Samples
cURL Command
curl https://sfo-vcf01.rainpole.io/v1/clusters/{id}/datastores
[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
What's changed in latest?
INTRODUCED