vcfa_action

VCF Automation — ABX actions (/abx/api/resources/actions).

ABX (Action Based Extensibility) actions are serverless code (Python, Node, PowerShell) that VCFA invokes either on demand (catalog item) or via event subscriptions (post-provisioning, etc.).

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

Create an ABX action.

spec keys: name, description, projectId, orgId, runtime (python/nodejs/powershell), entrypoint, source (the inline code), inputs, shared, system, timeoutSeconds, memoryInMB, dependencies, actionType, provider, faasProvider, cpuShares.

saltext.vcf.clients.vcfa_action.run(opts, action_id, inputs=None, profile=None)[source]

Invoke an action on demand. Returns the action-run record.