Sample Exchange

 View Only

Tagging Workflow 

Mar 10, 2017 05:53 PM

Tagging Workflow

Demonstrates tagging CRUD operations
Step 1: Create a Tag category.
Step 2: Create a Tag under the category.
Step 3: Retrieve the managed object id of an existing cluster from its name.
Step 4: Assign the tag to the cluster.
Additional steps when clearData flag is set to TRUE:
Step 5: Detach the tag from the cluster.
Step 6: Delete the tag.
Step 7: Delete the tag category.
Note: the sample needs an existing cluster


This sample is a part of the VMware vSphere Automation SDK for Python

To build and run this sample, please use git to clone the entire SDK locally:
git clone https://github.com/vmware/vsphere-automation-sdk-python.git
The README.md file in the root of the Github project contains a quick start guide and instructions to build and run the samples. The SDK is open source, so the README also contains instructions on how you can contribute samples back to the SDK!
#Rest
#vSphereAutomationSDKforPython
#vSphere
#Pyvmomi
#vSphereAutomation
#Python
#MIT

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

Tags and Keywords

Related Entries and Links

No Related Resource entered.