[{"label":"Latest (v36.3)","version":"latest"},{"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

PvdcStoragePolicy

A Provider VDC storage policy.


Properties

string
name Required

Unique name for the policy.


string
storagePolicyMoref Required

Unique Id in Virtual Center of the policy.


string
id Optional

Unique VCD Id for the policy.


boolean
isEnabled Optional

Enabled state of the policy, defaults to true.


providerVdcRef Optional

The PVDC that this policy belongs to.


integer as int64
totalCapacityMb Optional

Total capacity in MB for this storage policy


vcRef Optional

The VC that this policy belongs to.

JSON Example

{
	"name": "string",
	"storagePolicyMoref": "string"
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vcloud-cross-references:
    - cross-reference:
        alias: capabilityName
        description: |
            A filter to look up storage policies that contain certain capabilities.
            Example usage:
            filter?capabilityName==VSphere/Encryption
        referenced-property: name
        referenced-type: ./common/capability.yaml#/definitions/Capability
    - cross-reference:
        alias: entityTypeName
        description: |
            A filter to look up storage policies with the supported entity type.
            Example usage:
            filter?entityTypeName==com.vmware.vcloud.entity.vapp
        referenced-property: name
        referenced-type: '#/definitions/StoragePolicySupportedEntityType'
    - cross-reference:
        alias: supportsAllValidEntityTypes
        description: |
            A filter to look up storage policies which support all entity types
            Example usage:
            filter?supportsAllValidEntityTypes==true
        referenced-property: supportsAllValidEntityTypes
        referenced-type: '#/definitions/StoragePolicySettings'
x-vcloud-property-annotations:
    id:
        x-vcloud-constraints:
            - constraint: ReadOnly
            - constraint: NonSortable
            - args:
                - arg: providervdcstoragepolicy
              constraint: Urn
    providerVdcRef:
        x-vcloud-constraints:
            - constraint: ReadOnly
    storagePolicyMoref:
        x-vcloud-constraints:
            - constraint: ReadOnly
            - constraint: UUID
            - constraint: NonSortable
    totalCapacityMb:
        x-vcloud-constraints:
            - constraint: ReadOnly
    vcRef:
        x-vcloud-constraints:
            - constraint: ReadOnly
[{"label":"Latest (v36.3)","version":"latest"},{"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 35.2
Property Of

InlinePvdcStoragePolicies1
Returned By

Get Pvdc Storage Policy

Feedback

Was this page helpful?