Last active
March 25, 2017 00:56
-
-
Save trisharia/80847f660dd045cc77949c531c13bf3c to your computer and use it in GitHub Desktop.
Deletes a vCenter tag given its ID via VAPI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// VMware vRealize Orchestrator action sample | |
// | |
// This sample deletes a vCenter Tag given its ID | |
// | |
// For vRO/VAPI 7.0+ | |
// | |
// Action Inputs: | |
// endpoint - VAPIEndpoint - VAPI Endpoint | |
// tagId - string - ID of the vCenter Tag | |
// | |
// Return type: void | |
var tagClient = endpoint.client(); | |
var tagService = new com_vmware_cis_tagging_tag(tagClient); | |
tagService.delete(tagId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment