Sample Exchange

 View Only

Get Attribute value from a vRO Configuration Element 

Jan 24, 2020 10:02 AM

This vRO Action code example shows how to get a vRO Configuration Element value.

This is usefull, if you need for example a cafeHost (vCACCAFE:VCACHost Object) in a vRO action and you want to use this action in vRA to provide for example a Drop-Down with Networks for a specific Businessgroup. 

For sure it is possible to pass the cafeHost as input into the action, but it is not possible to get the cafeHost as input, if you use this action in vRA.

Example:

If you have the following Configuration Element structure in vRO

Customer A -> vRA -> vRA Configuration

Where Customer A and vRA is a Folder and vRA is the Configuration Element

This Configuration Element has a Attribute called cafeHost. This Attribute has as Type vCACCAFE:VCACHost and the value is the Cafe Host Object.

If you now want to get the cafeHost Object you have provide the following input to the action.

categoryPath = "Customer A/vRA"

cfgName = "vRA Configuration"

attributeName = "cafeHost"

The return value will be the cafe Host Object, which can be used in the action itself.

 

 


#Orchestrator
#element
#vSphereBulkConfiguration
#7.x
#attribute
#vROPS
#configurationelement
#vRealizeOrchestrator
#MIT
#JavaScript

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
js file
snippet.js   1 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.