VMware Cloud Community
DurgadeviN
Contributor
Contributor

Add tags to vRA provisioned VM

After a little bit of pain I am able to assign tags to vRA-provisioned virtual machines on vCenter through vRO.

have a look into workflow.

1) Configure VAPI endpoint in vRO.

2) Create property definitions (vRA.Deployment.Tags) in vRA.

3) Create a subscription Event Machine Provisioning as below.

pastedImage_4.png

4) Edit Blueprint and Add custom property Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.MachineProvisioned

pastedImage_0.png

Inputs : payload

Schema:

pastedImage_1.png

0 Kudos
2 Replies
mcity
Contributor
Contributor

Hall all

I am new to vRA, trying to follow your instructions on tagging, but I am getting lost.

The screen shot for subscription has truncated some characters, Data->LifeCycle state-....is it for even/state/phase/ same as MPSMasterWorkflow3..

Thanks

0 Kudos
mcity
Contributor
Contributor

Importing the workflow throws an error, 'the metadata.yaml file is missing in the .zip file.'
0 Kudos