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

PvdcComputePolicy2

Pvdc compute policy that contains PVDC specific configuration for workloads. (Version 2.0.0)


Properties

string
name Required

Display name.


string
policyType Required

The discriminator type is used to differentiate among various sub policy types.


string
description Optional

string
id Optional

UUID for pVDC compute policy. This is immutable.


string
pvdcId Optional

URN for Provider vDC. If not provided, then this policy is considered Global.

JSON Example

{
    "name": "myPolicy",
    "policyType": "PvdcKubernetesPolicy"
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vcloud-cross-references:
    - cross-reference:
        alias: pvdc
        description: |
            A filter to look up PVDC compute policies belonging to the given PVDC.
            An empty global policy belongs to all PVDCs and hence will be returned
            by this filter too.
            Supported filters:
              pvdc==urn:vcloud:providervdc:${UUID}
        x-vcloud-added-in: "35.2"
    - cross-reference:
        alias: vgpuProfileName
        description: |
            A filter to return the provider vDC compute policies that refer to the given vgpuProfileName.
        referenced-property: name
        referenced-type: ./compute-policy/vgpu-profiles.yaml#/definitions/VgpuProfile
        x-vcloud-added-in: "36.2"
[{"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 35.0
Property Of

InlinePvdcComputePolicies21
Parameter To

Create Pvdc Compute Policy
Update Pvdc Compute Policy
Returned By

Create Pvdc Compute Policy
Get Pvdc Compute Policy
Update Pvdc Compute Policy

Feedback

Was this page helpful?