Configuring the VCF Automation Backend Plugin#
This guide covers the configuration options available for the VCF Automation backend plugin.
Configuration File#
The plugin is configured through your app-config.yaml
. Here's the basic configuration:
vcfAutomation:
name: my-vcf-01
majorVersion: 9
orgName: my-org # This is needed only in VCFA 9 and above
organizationType: 'all-apps' # Options: 'vm-apps' (default) or 'all-apps' for VCF 9 organization types
baseUrl: 'https://your-vcf-automation-instance'
authentication:
username: 'your-username'
password: 'your-password'
The plugin does support multi instance config in the following format:
vcfAutomation:
instances:
- name: my-vcf-01
baseUrl: 'https://your-vcf-automation-instance'
majorVersion: 8
authentication:
username: 'your-username'
password: 'your-password'
domain: 'your-domain'
- name: my-vcf-02
baseUrl: 'https://your-vcf-02-automation-instance'
majorVersion: 9
orgName: my-org # This is needed only in VCFA 9 and above
organizationType: 'all-apps' # Options: 'vm-apps' (default) or 'all-apps' for VCF 9 organization types
authentication:
username: 'your-username'
password: 'your-password'
API Endpoints#
The plugin exposes the following endpoints:
GET /api/vcf-automation/deployments/:id
- Get deployment detailsGET /api/vcf-automation/resources/:id
- Get resource detailsGET /api/vcf-automation/projects/:id
- Get project detailsGET /api/vcf-automation/projects
- Get all projectsGET /api/vcf-automation/deployments
- Get all deploymentsGET /api/vcf-automation/deployments/:id/resources
- Get all resources for a deploymentPOST /api/vcf-automation/deployments/:id/operations
- Execute deployment operationsGET /api/vcf-automation/events
- Stream VCF eventsGET /api/vcf-automation/supervisor-resources
- List all supervisor resources (paginated)GET /api/vcf-automation/supervisor-resources/:id
- Get specific supervisor resource detailsGET /api/vcf-automation/supervisor-namespaces
- List all supervisor namespacesGET /api/vcf-automation/supervisor-namespaces/:id
- Get specific supervisor namespace detailsGET /api/vcf-automation/resources/:resourceId/power-actions/:action
- Check VM power action validity (deployment-managed)POST /api/vcf-automation/resources/:resourceId/power-actions/:action
- Execute VM power action (deployment-managed)GET /api/vcf-automation/standalone-vms/:namespaceUrnId/:namespaceName/:vmName/status
- Get standalone VM statusPUT /api/vcf-automation/standalone-vms/:namespaceUrnId/:namespaceName/:vmName/power-state
- Update standalone VM power state
Note: VM power management requires the vcf-automation.vm-power-management.run
permission, which is defined in the vcf-automation-common
plugin.