Created
December 11, 2018 20:03
-
-
Save kclinden/39170c5be74b1ad4c1d5fbfe464e133f to your computer and use it in GitHub Desktop.
Associate Tag
This file contains hidden or 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
//Inputs: vapiEndpoint [VAPI:VAPIEndpoint], object_id_type [string], object_id_id [string], tag_id [string] | |
//Outputs: void | |
var object_id = new com_vmware_vapi_std_dynamic__ID() | |
object_id.type = object_id_type; | |
object_id.id = object_id_id; | |
var client = vapiEndpoint.client(); | |
var service = new com_vmware_cis_tagging_tag__association(client); | |
service.attach(tag_id,object_id); | |
client.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment