6.1.0
Table Of Contents
- Using the vCenter Orchestrator Plug-In for vCloud Automation Center 6.1
- Contents
- Using the vCenter Orchestrator Plug-In for vCloud Automation Center 6.1
- Introduction to the VMware vCenter Orchestrator Plug-In for vCloud Automation Center
- Configuring the vCloud Automation Center Plug-In
- Using the vCloud Automation Center Plug-In
- Using the vCloud Automation Center Plug-In Inventory
- Using the vCloud Automation Center Plug-In Administration Workflows
- Using the vCloud Automation Center Plug-In Infrastructure Administration Workflows
- Using the vCloud Automation Center Plug-In Requests Workflows
- Using the vCloud Automation Center Plug-In Sample Workflows
- Access the vCloud Automation Center Plug-In API
- Examples of Scripts for Common vCloud Automation Center Tasks
- Examples of Scripts for CRUD vCloud Automation Center Infrastructure Administration Tasks
- Examples of Scripts for Finding vCloud Automation Center Entities
- An Example Script for Getting a Virtual Machine Provisioned as a vCloud Automation Center Catalog Resource
- An Example Script for Content Transfer Between vCloud Automation Center Hosts
- Index
Workflow Description
Wait for resource action request Waits for a resource action request to complete.
Wait for work item Waits for a work item to complete.
Using the vCloud Automation Center Plug-In Sample Workflows
You can use the sample workflows as examples, or as starting points for creating your own custom
workflows.
You can find these workflows on the Workflows view of the Orchestrator client, in the Sample subdirectory
of the plug-in library.
Workflow Name Description
Create a permission Provides a sample script that interacts with the authorization client and permission service to
create a new permission in vCloud Automation Center.
Create a tenant Creates a tenant with the same vCAC host and Identity Store configuration as the default tenant.
To run this workflow, select the vCAC host added with system administrator credentials. You can
change the Identity Store settings before running the workflow.
List catalog items Returns a list of catalog items for the selected tenant.
Access the vCloud Automation Center Plug-In API
Orchestrator provides an API Explorer to allow you to search the vCloud Automation Center plug-in API
and see the documentation for JavaScript objects that you can use in scripted elements.
For updated vCloud Automation Center API documentation, see
https://www.vmware.com/support/pubs/vcac-pubs.html.
Procedure
1 Log in to the Orchestrator client as an administrator.
2 Select Tools > API Explorer.
3 Double-click the vCAC and VCACCAFE modules in the left pane to expand the hierarchical list of
vCloud Automation Center plug-in API objects.
What to do next
You can copy code from API elements and paste it into scripting boxes. For more information about API
scripting, see Developing with VMware vCenter Orchestrator.
Examples of Scripts for Common vCloud Automation Center Tasks
You can cut, paste, and edit the JavaScript examples to write scripts for common vCloud Automation Center
tasks.
For more information about scripting in vCenter Orchestrator, see Developing with VMware vCenter
Orchestrator.
Example: Create a vCloud Automation Center Approval Policy
This example script performs the following actions:
1 Gets the approval policy type.
2 Sets the user and group whose approval is required.
3 Sets the approval levels.
Using the vCenter Orchestrator Plug-In for vCloud Automation Center 6.1
20 VMware, Inc.