StorageContainer

A Storage Container, which can be a Datastore or a Datastore Cluster.


Properties

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.

JSON Example

{
	"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"
	}
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vcloud-cross-references:
- cross-reference:
    alias: storagePolicyName
    description: |
      A filter to look up Storage Containers that support certain Storage Policies by name.
      Sorting by this filter is not supported. This filter is not supported for datastores that are part of a Datastore Cluster .
      Example usage:
      ?filter=storagePolicyName==iops-policy
- cross-reference:
    alias: storagePolicyId
    description: |
      A filter to look up Storage Containers that support certain Storage Policies by Storage Policy ID.
      Sorting by this filter is not supported. This filter is not supported for datastores that are part of a Datastore Cluster.
      Example usage:
      ?filter=storagePolicyId==urn:vcloud:storagepolicy:UUID
x-vcloud-property-annotations:
  datastoreType:
    x-vcloud-constraints:
    - constraint: ReadOnly
  id:
    x-vcloud-constraints:
    - constraint: ReadOnly
    - constraint: NonSortable
    - args:
      - arg: storagecontainer
      constraint: Urn
  iopsCapacity:
    x-vcloud-constraints:
    - constraint: ReadOnly
  isDatastoreCluster:
    x-vcloud-constraints:
    - constraint: ReadOnly
  isDeleted:
    x-vcloud-constraints:
    - constraint: ReadOnly
  isEnabled:
    x-vcloud-constraints:
    - constraint: ReadOnly
  moref:
    x-vcloud-constraints:
    - constraint: ReadOnly
    - constraint: NonSortable
  name:
    x-vcloud-constraints:
    - constraint: ReadOnly
  provisionedStorageMb:
    x-vcloud-constraints:
    - constraint: ReadOnly
  totalStorageMb:
    x-vcloud-constraints:
    - constraint: ReadOnly
  usedStorageMb:
    x-vcloud-constraints:
    - constraint: ReadOnly
  vcRef:
    x-vcloud-constraints:
    - constraint: ReadOnly
Availability
Added in 36.0
Property Of

InlineStorageContainers
Returned By

Get Storage Container

Feedback

Was this page helpful?