vcfa_resource_action

VCF Automation — resource actions (/form-service/api/custom/resource-actions).

Resource actions are day-2 operations bound to a deployment resource type (vSphere VM, NSX network, etc.). Each action either runs an ABX action or kicks off a vRO workflow.

The API path is the legacy form-service surface; some VCFA versions also expose this through /abx/api/resources/resource-actions — this module sticks to the form-service path as canonical for 9.x.

saltext.vcf.clients.vcfa_resource_action.create(opts, spec, profile=None)[source]

Register a resource action.

spec keys: name, displayName, description, projectId, orgId, resourceType (e.g. Cloud.vSphere.Machine), runnableType (extensibility.abx / extensibility.vro), runnableId, inputParameters, criteria, formDefinition, status (DRAFT / RELEASED).