Hi,
I am new to VRO and need some help. I have VRO 7.3.1 installed. If multiple VC's are added to VRO then while creating workflows how do I mention to select a particular VC to connect to run my workflows.
Please help.
Usually, you pass it as an input parameter of type VC:SdkConnection, and then use its value in the scripting code of workflow / action.
You can check out-of-the-box workflows, for example 'Unregister a vCenter Server extension' or 'Get vCenter entities by properties', to see how such input parameter is used.
Another option is to not pass is as input parameter, but in a scripting code enumerate all existing connections (using VcPlugin.allSdkConnections) and pick the one that matches some criteria.
Hi,
Connection to a particular vCenter is represented in vRO scripting by type VC:SdkConnection (VcSdkConnection scripting object).
Thanks for the reply llian.
If I have the following VC's added to a vRO then where do I need to mention VC:SdkConnection in the schema. What are the ways I can achieve it using VC:SdkConnection like through action elements, scriptable task etc.
VC1
VC2
VC3
VC4
Sorry I am very new to vRO and it will be very helpful if anyone can explain it.
Usually, you pass it as an input parameter of type VC:SdkConnection, and then use its value in the scripting code of workflow / action.
You can check out-of-the-box workflows, for example 'Unregister a vCenter Server extension' or 'Get vCenter entities by properties', to see how such input parameter is used.
Another option is to not pass is as input parameter, but in a scripting code enumerate all existing connections (using VcPlugin.allSdkConnections) and pick the one that matches some criteria.
Excellent. Thanks for your help. Much appreciated.