Samples
The samples directory in the extracted CloudClient directory contains the following sample scripts. These sample scripts are for a Linux or MacOSX environment.
Script Name | Description |
---|---|
ApproveRequest.sh | Approved/Reject submitted requests |
DeployAmazonServer.sh | Provision an Amazon instance |
DeployVSphereServer.sh | Provision an vSphere instance |
ListCatalogItems.sh.sh | Outputs Catalog Items a user has access to |
ListMachines.sh.sh | Outputs machines a user has access to |
PowerOffMachine.sh | Power Off a specified machine |
vCOWorkflowDetail.sh | VCO Workflow detail |
GetVSphereReservationSchema.sh | Get vSphere reservation schema |
GetComputeResourceFieldValues.sh | Get Compute resources from available vSphere endpoints |
GetVSphereReservationFieldsValues.sh | Get values for all fields in a vSphere reservation schema |
GenerateVSphereReservationTemplate.sh | Generate a sample json file to use for creating a vSphere reservation |
CreateVSphereReservation.sh | Create a vSphere reservation |
See scripting for more details
Copyright 2016 VMware, Inc. All rights reserved.