Creates a new compute policy in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
if you do not have all of the privileges described as follows:
- Operation execution requires ComputePolicy.Manage.
Specification for the new policy to be created. The new policy will be an instance of the capability that has the creation type (see Capabilities.Info.create-spec-type) equal to the type of the specified value (see spec).
The parameter must contain all the attributes defined in CreateSpec.
com.vmware.vapi.std.errors.already_exists : if a policy with the same name is already present on this vCenter server. | com.vmware.vapi.std.errors.invalid_argument : if a parameter passed in the spec is invalid.