Custom Attributes and Tags (vAPI)

In this recipe, we will see how to create and use custom attributes and tags. We are talking about vCenter tags and not about Orchestrator tags, which have no common ground. This recipe will also use the vAPI plugin.

Getting ready

You need to have a VM to which you can tag or assign a custom attribute.

For tagging, you need to have a vAPI vCenter Endpoint. See the Getting started with vAPI recipe in this chapter.

How to do it...

We will split this recipe into two parts. The first part concerns Custom Attributes, while the second concerns Tags.

Custom Attributes

Please note that Custom Attributes are only visible in the vSphere Client (also called Fat client or c-Client).

We will now work through the lifecycle of a Custom ...

Get VMware vRealize Orchestrator Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.