Skip to content

Instantly share code, notes, and snippets.

View trisharia's full-sized avatar

Trisha Navarro trisharia

View GitHub Profile
@trisharia
trisharia / getCasNetworkByName.js
Created September 13, 2019 00:01
Get all vRA/vRA Cloud Network by Name
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud network 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 / getCasNetworkById.js
Created September 12, 2019 23:59
Get all vRA/vRA Cloud Network by ID
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud network 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 / getCasMachineById
Created September 12, 2019 23:57
Get vRA/vRA Cloud Machine by ID
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud machine resource 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 / getCasDeploymentById.js
Last active September 12, 2019 23:58
Get a vRA/vRA Cloud Deployment by ID
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud deployment 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 / getCasCloudAccountById.js
Created September 12, 2019 23:52
Get a vRA/vRA Cloud Cloud Account by ID
// VMware vRealize Orchestrator action sample
//
// Get vRA/vRA Cloud cloud account 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 / getCasCloudZones.js
Created September 12, 2019 23:48
Get all vRA/vRA Cloud Cloud Zones
// VMware vRealize Orchestrator action sample
//
// Get an array of all vRA/vRA Cloud cloud zone details 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 / getCasProjects.js
Created September 12, 2019 23:47
Get all vRA/vRA Cloud Projects
// VMware vRealize Orchestrator action sample
//
// Get an array of all vRA/vRA Cloud project details 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 / getCasNetworks.js
Last active October 4, 2019 21:30
Get all vRA/vRA Cloud Networks
// VMware vRealize Orchestrator action sample
//
// Get an array of all vRA/vRA Cloud network details 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 / getCasFlavorMappings.js
Created September 12, 2019 23:44
Get all vRA/vRA Cloud Flavor Mappings
// VMware vRealize Orchestrator action sample
//
// Get an array of all vRA/vRA Cloud flavor mapping details 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 / getCasDeployments.js
Created September 12, 2019 23:42
Get all vRA/vRA Cloud Deployments
// VMware vRealize Orchestrator action sample
//
// Get an array of all vRA/vRA Cloud deployment details 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