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

StoragePolicyConsumer

A consumer type for a storage policy.


Properties

entityRef Optional

The entity that consumes the storage policy.


integer as int64
storageConsumedMb Optional

Storage consumed by the entity in MB

JSON Example

{
	"entityRef": {
		"id": "string",
		"name": "string"
	},
	"storageConsumedMb": 0
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vcloud-property-annotations:
    entityRef:
        x-vcloud-constraints:
            - constraint: ReadOnly
            - args:
                - arg: vm
                - arg: vapptemplate
                - arg: media
                - arg: disk
              constraint: Urn
    storageConsumedMb:
        x-vcloud-constraints:
            - constraint: ReadOnly
[{"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
Availability
Added in 37.2
Property Of

InlineStoragePolicyConsumers1
What's changed in latest?

New! in version latest

Feedback

Was this page helpful?