Skip to content

Instantly share code, notes, and snippets.

View trisharia's full-sized avatar

Trisha Navarro trisharia

View GitHub Profile
@trisharia
trisharia / getCasProjectEntitlements.js
Created September 13, 2019 00:12
Get all vRA/vRA Cloud Project Entitlements
// 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 September 13, 2019 00:10
Get all vRA/vRA Cloud Project by name
// 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 September 13, 2019 00:05
Get all vRA/vRA Cloud Network Domain by name
// 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 September 13, 2019 00:04
Get all vRA/vRA Cloud Network by name and external region ID
// 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
@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 / 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 / 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 / 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