ComputePoliciesCreateSpec
The CreateSpec structure contains common information used to create a new policy.
Properties
string
capability
Required
Identifier of the capability this policy is based on. if unset, then the name of capability structure will be used to distinguish the policy type. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability.
string
description
Required
Description of the policy.
string
name
Required
Name of the policy. The name needs to be unique within this vCenter server.
JSON Example
{
"capability": "string",
"description": "string",
"name": "string"
}