Skip to content

Instantly share code, notes, and snippets.

Avatar

Trisha Navarro trisharia

View GitHub Profile
@trisharia
trisharia / addCasCatalogSourceToProject.js
Created Sep 13, 2019
Add vRA/vRA Cloud Catalog Source to Project
View addCasCatalogSourceToProject.js
// VMware vRealize Orchestrator action sample
//
// Add a vRA/vRA Cloud catalog source to a given project
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / createCasProject.js
Created Sep 13, 2019
Create vRA/vRA Cloud Project
View createCasProject.js
// VMware vRealize Orchestrator action sample
//
// Create a vRA/vRA Cloud project
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
// Hint: to understand the format for the JSON input parameters, do a GET on existing projects
// shown here: https://gist.github.com/trisharia/a7345c779601fdd380b99acc764fb666
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
@trisharia
trisharia / tagCasNetwork.js
Created Sep 13, 2019
Tag vRA/vRA Cloud Network
View tagCasNetwork.js
// VMware vRealize Orchestrator action sample
//
// Add/update tags on a vRA/vRA Cloud network
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / patchCasDeployment.js
Created Sep 13, 2019
Patch vRA/vRA Cloud Deployment
View patchCasDeployment.js
// VMware vRealize Orchestrator action sample
//
// Update a vRA/vRA Cloud deployment
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / getCasCloudZoneByName.js
Created Sep 13, 2019
Get all vRA/vRA Cloud Cloud Zone by name
View getCasCloudZoneByName.js
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud cloud zone details in JSON format, given its name
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / getCasCloudZoneById.js
Created Sep 13, 2019
Get all vRA/vRA Cloud Cloud Zone by ID
View getCasCloudZoneById.js
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud cloud zone details in JSON format, given its ID
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / getCasProjectEntitlements.js
Created Sep 13, 2019
Get all vRA/vRA Cloud Project Entitlements
View getCasProjectEntitlements.js
// VMware vRealize Orchestrator action sample
//
// Get an array of all vRA/vRA Cloud entitlement details for a given project in JSON format
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / getCasProjectByName.js
Created Sep 13, 2019
Get all vRA/vRA Cloud Project by name
View getCasProjectByName.js
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud project details in JSON format, given its name
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / getCasNetworkDomainByName.js
Created Sep 13, 2019
Get all vRA/vRA Cloud Network Domain by name
View getCasNetworkDomainByName.js
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud network domain details in JSON format, given its name
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API
@trisharia
trisharia / getCasNetworkByNameAndExternalRegionId.js
Created Sep 13, 2019
Get all vRA/vRA Cloud Network by name and external region ID
View getCasNetworkByNameAndExternalRegionId.js
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud network details in JSON format, given its name and external region ID
// Assumes the presence of action System.getModule("com.vmware.pso.rest").executeTransientRESTOperation
// Obtain the action here: https://gist.github.com/trisharia/7b62fcdf12600511b3d7e9b635981b2c
//
// For vRA Cloud 7.0+ and vRA 8.0+
//
// Action Inputs:
// cspBaseUrl - string - Base URL for connecting to VMware Cloud Services RESTful API