Last active
March 25, 2017 00:49
-
-
Save trisharia/af3f8234dae6861635ab777107957f2d to your computer and use it in GitHub Desktop.
Deletes a vCenter tag category 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 Category given its ID | |
// | |
// For vRO/VAPI 7.0+ | |
// | |
// Action Inputs: | |
// endpoint - VAPIEndpoint - VAPI Endpoint | |
// categoryId - string - ID of the vCenter Tag Category | |
// | |
// Return type: void | |
var client = endpoint.client(); | |
var catService = new com_vmware_cis_tagging_category(client); | |
catService.delete(categoryId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment