[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Get Storage Container

Description

Get specified Datastore or Datastore Cluster.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/storageContainers/{storageContainerUrn}
Copy

Path Parameters

Path Parameters

string
storageContainerUrn Required

storageContainerUrn


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns StorageContainer of type(s) application/json;version=37.0
{
	"datastoreType": "string",
	"id": "string",
	"iopsCapacity": 0,
	"isDatastoreCluster": false,
	"isDeleted": false,
	"isEnabled": false,
	"moref": "string",
	"name": "string",
	"provisionedStorageMb": 0,
	"totalStorageMb": 0,
	"usedStorageMb": 0,
	"vcRef": {
		"id": "string",
		"name": "string"
	}
}
string
datastoreType Optional

Datastore Type of the Storage Container.


string
id Optional

Unique VCD Id for the Storage Container.


integer as int64
iopsCapacity Optional

Total IOPS capacity for this Storage Container.


boolean
isDatastoreCluster Optional

True if this Storage Container is a Datastore Cluster.


boolean
isDeleted Optional

Deleted state of the Storage Container.


boolean
isEnabled Optional

True if this Storage Container is enabled. Unset if this storage container is part of a Datastore Cluster


string
moref Optional

Unique Id in Virtual Center of the Storage Container.


string
name Optional

Name for the Storage Container.


integer as int64
provisionedStorageMb Optional

Total provisioned storage in MB for this Storage Container.


integer as int64
totalStorageMb Optional

Total storage in MB for this Storage Container.


integer as int64
usedStorageMb Optional

Total used storage in MB for this Storage Container.


vcRef Optional

The VC that this Storage Container belongs to.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/storageContainers/{storageContainerUrn}


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?