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/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail

Get Cluster Datastores

Description

Get the list of all datastores associated with the cluster.

Request

Request

URL

URL


get
https://sfo-vcf01.rainpole.io/v1/clusters/{id}/datastores
Copy

Path Parameters

Path Parameters

string
id Required

Cluster ID


Response

Response

Response Body

Response 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


array of Tag
tags Optional

List of assigned tags for 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

Errors

Error
400

Bad Request


Error
404

Cluster Not Found


Error
500

Internal Server Error

Code Samples

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/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
What's changed in 5.0.0?
INTRODUCED
Feedback

Was this page helpful?