Skip to content

Instantly share code, notes, and snippets.

View trisharia's full-sized avatar

Trisha Navarro trisharia

View GitHub Profile
@trisharia
trisharia / getNetworkNamesOfComputeResource.js
Created May 12, 2018 01:01
Get the network names of a compute resource (IaaS)
// VMware vRealize Orchestrator action sample
//
// Get the network names of a compute resource (IaaS)
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// vcacHost - vCAC:VCACHost - vRA IaaS Host
// reservationEntity - vCAC:Entity - Compute resource entity
//
@trisharia
trisharia / getComputeResourceOfReservation.js
Last active May 12, 2018 01:00
Get the compute resource of a vRA reservation (IaaS)
// VMware vRealize Orchestrator action sample
//
// Get the compute resource of a vRA reservation (IaaS)
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// vcacHost - vCAC:VCACHost - vRA IaaS Host
// reservationEntity - vCAC:Entity - Reservation entity
//
@trisharia
trisharia / getNetworkNamesOfReservationName.js
Last active May 12, 2018 00:56
Get the network names of a vRA reservation (IaaS)
// VMware vRealize Orchestrator action sample
//
// Get the network names of a vRA reservation (IaaS)
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// vcacHost - vCAC:VCACHost - vRA IaaS Host
// reservationName - string - Reservation name
//
@trisharia
trisharia / getReservationsOfComputeResource.js
Created May 12, 2018 00:54
Get the reservations of a vRA compute resource
// VMware vRealize Orchestrator action sample
//
// Get the reservations of a vRA compute resource
// For vRO/VRA 7.0+
//
// Action Inputs:
// cafeHost - vCACCAFE:VCACHost - vRA host
// computeResourceName - string - Compute resource name
//
// Return type: Array/vCACCAFE:Reservation - Reservations of compute resource
@trisharia
trisharia / getReservationPolicyNameById.js
Created May 12, 2018 00:53
Get the name of a vRA reservation policy given its ID
// VMware vRealize Orchestrator action sample
//
// Get the name of a vRA reservation policy given its ID
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// cafeHost - vCACCAFE:VCACHost - vRA host
// reservationPolicyId - string - Reservation policy ID
//
@trisharia
trisharia / getReservationPolicyByName.js
Created May 12, 2018 00:53
Get a vRA reservation policy given its name
// VMware vRealize Orchestrator action sample
//
// Get a vRA reservation policy given its name
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// cafeHost - vCACCAFE:VCACHost - vRA host
// name - string - Reservation policy name
//
@trisharia
trisharia / getAllReservationPolicies.js
Created May 12, 2018 00:52
Get all the reservation policies of a vRA instance
// VMware vRealize Orchestrator action sample
//
// Get all the reservation policies of a vRA instance
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// cafeHost - vCACCAFE:VCACHost - vRA host
//
// Return type: Array/Any - Collection of vCACCAFE:vCACCAFEReservationPolicy
@trisharia
trisharia / getReservationIdByName.js
Created May 12, 2018 00:51
Get the ID of a vRA reservation given its name
// VMware vRealize Orchestrator action sample
//
// Get the ID of a vRA reservation given its name
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// cafeHost - vCACCAFE:VCACHost - vRA host
// name - string - Name of a Reservation
//
@trisharia
trisharia / getReservationByName.js
Created May 12, 2018 00:51
Get a vRA reservation object given its name
// VMware vRealize Orchestrator action sample
//
// Get a vRA reservation object given its name
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// cafeHost - vCACCAFE:VCACHost - vRA host
// name - string - Name of a Reservation
//
@trisharia
trisharia / getReservationById.js
Created May 12, 2018 00:50
Get a vRA reservation object given its ID
// VMware vRealize Orchestrator action sample
//
// Get a vRA reservation object given its ID
//
// For vRO/VRA 7.0+
//
// Action Inputs:
// cafeHost - vCACCAFE:VCACHost - vRA host
// reservationId - string - ID of a Reservation
//