forked from vmware/govmomi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task_manager.go
10412 lines (10406 loc) · 329 KB
/
task_manager.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Copyright (c) 2017-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package esx
import "github.com/vmware/govmomi/vim25/types"
// Description is the default template for the TaskManager description property.
// Capture method:
// govc object.collect -s -dump TaskManager:ha-taskmgr description
var Description = types.TaskDescription{
MethodInfo: []types.BaseElementDescription{
&types.ElementDescription{
Description: types.Description{
Label: "Set cluster resource custom value",
Summary: "Sets the value of a custom field for a cluster of objects as a unified compute-resource",
},
Key: "ClusterComputeResource.setCustomValue",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reload cluster",
Summary: "Reloads the cluster",
},
Key: "ClusterComputeResource.reload",
},
&types.ElementDescription{
Description: types.Description{
Label: "Rename cluster",
Summary: "Rename the compute-resource",
},
Key: "ClusterComputeResource.rename",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove cluster",
Summary: "Deletes the cluster compute-resource and removes it from its parent folder (if any)",
},
Key: "ClusterComputeResource.destroy",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add tag",
Summary: "Add a set of tags to the cluster",
},
Key: "ClusterComputeResource.addTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove tag",
Summary: "Removes a set of tags from the cluster",
},
Key: "ClusterComputeResource.removeTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveCustomValues",
Summary: "retrieveCustomValues",
},
Key: "ClusterComputeResource.retrieveCustomValues",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reconfigure cluster",
Summary: "Reconfigures a cluster",
},
Key: "ClusterComputeResource.reconfigureEx",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reconfigure cluster",
Summary: "Reconfigures a cluster",
},
Key: "ClusterComputeResource.reconfigure",
},
&types.ElementDescription{
Description: types.Description{
Label: "Apply recommendation",
Summary: "Applies a recommendation",
},
Key: "ClusterComputeResource.applyRecommendation",
},
&types.ElementDescription{
Description: types.Description{
Label: "Cancel recommendation",
Summary: "Cancels a recommendation",
},
Key: "ClusterComputeResource.cancelRecommendation",
},
&types.ElementDescription{
Description: types.Description{
Label: "Recommended power On hosts",
Summary: "Get recommendations for a location to power on a specific virtual machine",
},
Key: "ClusterComputeResource.recommendHostsForVm",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add host",
Summary: "Adds a new host to the cluster",
},
Key: "ClusterComputeResource.addHost",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add host and enable lockdown",
Summary: "Adds a new host to the cluster and enables lockdown mode on the host",
},
Key: "ClusterComputeResource.addHostWithAdminDisabled",
},
&types.ElementDescription{
Description: types.Description{
Label: "Move host into cluster",
Summary: "Moves a set of existing hosts into the cluster",
},
Key: "ClusterComputeResource.moveInto",
},
&types.ElementDescription{
Description: types.Description{
Label: "Move host into cluster",
Summary: "Moves a host into the cluster",
},
Key: "ClusterComputeResource.moveHostInto",
},
&types.ElementDescription{
Description: types.Description{
Label: "Refresh recommendations",
Summary: "Refreshes the list of recommendations",
},
Key: "ClusterComputeResource.refreshRecommendation",
},
&types.ElementDescription{
Description: types.Description{
Label: "Retrieve EVC",
Summary: "Retrieve Enhanced vMotion Compatibility information for this cluster",
},
Key: "ClusterComputeResource.evcManager",
},
&types.ElementDescription{
Description: types.Description{
Label: "Retrieve transitional EVC manager",
Summary: "Retrieve the transitional EVC manager for this cluster",
},
Key: "ClusterComputeResource.transitionalEVCManager",
},
&types.ElementDescription{
Description: types.Description{
Label: "Retrieve DAS advanced runtime information",
Summary: "Retrieve DAS advanced runtime information for this cluster",
},
Key: "ClusterComputeResource.retrieveDasAdvancedRuntimeInfo",
},
&types.ElementDescription{
Description: types.Description{
Label: "Retrieve vShpere HA data for cluster",
Summary: "Retrieves HA data for a cluster",
},
Key: "ClusterComputeResource.retrieveDasData",
},
&types.ElementDescription{
Description: types.Description{
Label: "Check VM admission in vSphere HA cluster",
Summary: "Checks if HA admission control allows a set of virtual machines to be powered on in the cluster",
},
Key: "ClusterComputeResource.checkDasAdmission",
},
&types.ElementDescription{
Description: types.Description{
Label: "Check cluster for vSphere HA configuration",
Summary: "Check how the specified HA config will affect the cluster state if high availability is enabled",
},
Key: "ClusterComputeResource.checkReconfigureDas",
},
&types.ElementDescription{
Description: types.Description{
Label: "checkReconfigureDasVmcp",
Summary: "checkReconfigureDasVmcp",
},
Key: "ClusterComputeResource.checkReconfigureDasVmcp",
},
&types.ElementDescription{
Description: types.Description{
Label: "DRS recommends hosts to evacuate",
Summary: "DRS recommends hosts to evacuate",
},
Key: "ClusterComputeResource.enterMaintenanceMode",
},
&types.ElementDescription{
Description: types.Description{
Label: "Find Fault Tolerance compatible hosts for placing secondary VM",
Summary: "Find the set of Fault Tolerance compatible hosts for placing secondary of a given primary virtual machine",
},
Key: "ClusterComputeResource.queryFaultToleranceCompatibleHosts",
},
&types.ElementDescription{
Description: types.Description{
Label: "Find Fault Tolerance compatible datastores for a VM",
Summary: "Find the set of Fault Tolerance compatible datastores for a given virtual machine",
},
Key: "ClusterComputeResource.queryFaultToleranceCompatibleDatastores",
},
&types.ElementDescription{
Description: types.Description{
Label: "Verify FaultToleranceConfigSpec",
Summary: "Verify whether a given FaultToleranceConfigSpec satisfies the requirements for Fault Tolerance",
},
Key: "ClusterComputeResource.verifyFaultToleranceConfigSpec",
},
&types.ElementDescription{
Description: types.Description{
Label: "Check Fault Tolerance compatibility for VM",
Summary: "Check whether a VM is compatible for turning on Fault Tolerance",
},
Key: "ClusterComputeResource.queryCompatibilityForFaultTolerance",
},
&types.ElementDescription{
Description: types.Description{
Label: "Call DRS for cross vMotion placement recommendations",
Summary: "Calls vSphere DRS for placement recommendations when migrating a VM across vCenter Server instances and virtual switches",
},
Key: "ClusterComputeResource.placeVm",
},
&types.ElementDescription{
Description: types.Description{
Label: "Find rules for VM",
Summary: "Locates all affinity and anti-affinity rules the specified VM participates in",
},
Key: "ClusterComputeResource.findRulesForVm",
},
&types.ElementDescription{
Description: types.Description{
Label: "stampAllRulesWithUuid",
Summary: "stampAllRulesWithUuid",
},
Key: "ClusterComputeResource.stampAllRulesWithUuid",
},
&types.ElementDescription{
Description: types.Description{
Label: "getResourceUsage",
Summary: "getResourceUsage",
},
Key: "ClusterComputeResource.getResourceUsage",
},
&types.ElementDescription{
Description: types.Description{
Label: "queryDrmDumpHistory",
Summary: "queryDrmDumpHistory",
},
Key: "ClusterComputeResource.queryDrmDumpHistory",
},
&types.ElementDescription{
Description: types.Description{
Label: "generateDrmBundle",
Summary: "generateDrmBundle",
},
Key: "ClusterComputeResource.generateDrmBundle",
},
&types.ElementDescription{
Description: types.Description{
Label: "Set datastore cluster custom value",
Summary: "Sets the value of a custom field of a datastore cluster",
},
Key: "StoragePod.setCustomValue",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reload datastore cluster",
Summary: "Reloads the datastore cluster",
},
Key: "StoragePod.reload",
},
&types.ElementDescription{
Description: types.Description{
Label: "Rename a datastore cluster",
Summary: "Rename a datastore cluster",
},
Key: "StoragePod.rename",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove a datastore cluster",
Summary: "Remove a datastore cluster",
},
Key: "StoragePod.destroy",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add tags to datastore cluster",
Summary: "Adds a set of tags to a datastore cluster",
},
Key: "StoragePod.addTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove tags from datastore cluster",
Summary: "Removes a set of tags from a datastore cluster",
},
Key: "StoragePod.removeTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveCustomValues",
Summary: "retrieveCustomValues",
},
Key: "StoragePod.retrieveCustomValues",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create folder",
Summary: "Creates a new folder",
},
Key: "StoragePod.createFolder",
},
&types.ElementDescription{
Description: types.Description{
Label: "Move datastores into a datastore cluster",
Summary: "Move datastores into a datastore cluster",
},
Key: "StoragePod.moveInto",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create virtual machine",
Summary: "Creates a new virtual machine",
},
Key: "StoragePod.createVm",
},
&types.ElementDescription{
Description: types.Description{
Label: "Register virtual machine",
Summary: "Adds an existing virtual machine to this datastore cluster",
},
Key: "StoragePod.registerVm",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create cluster",
Summary: "Creates a new cluster compute-resource in this datastore cluster",
},
Key: "StoragePod.createCluster",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create cluster",
Summary: "Creates a new cluster compute-resource in this datastore cluster",
},
Key: "StoragePod.createClusterEx",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add standalone host",
Summary: "Creates a new single-host compute-resource",
},
Key: "StoragePod.addStandaloneHost",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add standalone host and enable lockdown mode",
Summary: "Creates a new single-host compute-resource and enables lockdown mode on the host",
},
Key: "StoragePod.addStandaloneHostWithAdminDisabled",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create datacenter",
Summary: "Create a new datacenter with the given name",
},
Key: "StoragePod.createDatacenter",
},
&types.ElementDescription{
Description: types.Description{
Label: "Unregister and delete",
Summary: "Recursively deletes all child virtual machine folders and unregisters all virtual machines",
},
Key: "StoragePod.unregisterAndDestroy",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create vSphere Distributed Switch",
Summary: "Creates a vSphere Distributed Switch",
},
Key: "StoragePod.createDistributedVirtualSwitch",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create datastore cluster",
Summary: "Creates a new datastore cluster",
},
Key: "StoragePod.createStoragePod",
},
&types.ElementDescription{
Description: types.Description{
Label: "vSphere Distributed Switch set custom value",
Summary: "vSphere Distributed Switch set custom value",
},
Key: "DistributedVirtualSwitch.setCustomValue",
},
&types.ElementDescription{
Description: types.Description{
Label: "vSphere Distributed Switch reload",
Summary: "vSphere Distributed Switch reload",
},
Key: "DistributedVirtualSwitch.reload",
},
&types.ElementDescription{
Description: types.Description{
Label: "Rename vSphere Distributed Switch",
Summary: "Rename vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.rename",
},
&types.ElementDescription{
Description: types.Description{
Label: "Delete vSphere Distributed Switch",
Summary: "Delete vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.destroy",
},
&types.ElementDescription{
Description: types.Description{
Label: "vSphere Distributed Switch add tag",
Summary: "vSphere Distributed Switch add tag",
},
Key: "DistributedVirtualSwitch.addTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "vSphere Distributed Switch remove tag",
Summary: "vSphere Distributed Switch remove tag",
},
Key: "DistributedVirtualSwitch.removeTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveCustomValues",
Summary: "retrieveCustomValues",
},
Key: "DistributedVirtualSwitch.retrieveCustomValues",
},
&types.ElementDescription{
Description: types.Description{
Label: "Retrieve dvPort keys",
Summary: "Retrieve dvPort keys",
},
Key: "DistributedVirtualSwitch.fetchPortKeys",
},
&types.ElementDescription{
Description: types.Description{
Label: "Retrieve dvPorts",
Summary: "Retrieve dvPorts",
},
Key: "DistributedVirtualSwitch.fetchPorts",
},
&types.ElementDescription{
Description: types.Description{
Label: "Query vSphere Distributed Switch used virtual LAN ID",
Summary: "Query vSphere Distributed Switch used virtual LAN ID",
},
Key: "DistributedVirtualSwitch.queryUsedVlanId",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reconfigure vSphere Distributed Switch",
Summary: "Reconfigure vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.reconfigure",
},
&types.ElementDescription{
Description: types.Description{
Label: "vSphere Distributed Switch product specification operation",
Summary: "vSphere Distributed Switch product specification operation",
},
Key: "DistributedVirtualSwitch.performProductSpecOperation",
},
&types.ElementDescription{
Description: types.Description{
Label: "Merge vSphere Distributed Switches",
Summary: "Merge vSphere Distributed Switches",
},
Key: "DistributedVirtualSwitch.merge",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add Distributed Port Group",
Summary: "Add Distributed Port Group",
},
Key: "DistributedVirtualSwitch.addPortgroups",
},
&types.ElementDescription{
Description: types.Description{
Label: "Move dvPorts",
Summary: "Move dvPorts",
},
Key: "DistributedVirtualSwitch.movePort",
},
&types.ElementDescription{
Description: types.Description{
Label: "Update vSphere Distributed Switch capability",
Summary: "Update vSphere Distributed Switch capability",
},
Key: "DistributedVirtualSwitch.updateCapability",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reconfigure dvPort",
Summary: "Reconfigure dvPort",
},
Key: "DistributedVirtualSwitch.reconfigurePort",
},
&types.ElementDescription{
Description: types.Description{
Label: "Refresh dvPort state",
Summary: "Refresh dvPort state",
},
Key: "DistributedVirtualSwitch.refreshPortState",
},
&types.ElementDescription{
Description: types.Description{
Label: "Rectify host in vSphere Distributed Switch",
Summary: "Rectify host in vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.rectifyHost",
},
&types.ElementDescription{
Description: types.Description{
Label: "Update network resource pools on vSphere Distributed Switch",
Summary: "Update network resource pools on vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.updateNetworkResourcePool",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add network resource pools on vSphere Distributed Switch",
Summary: "Add network resource pools on vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.addNetworkResourcePool",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove network resource pools on vSphere Distributed Switch",
Summary: "Remove network resource pools on vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.removeNetworkResourcePool",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reconfigure a network resource pool on a distributed switch",
Summary: "Reconfigures the network resource pool on a distributed switch",
},
Key: "DistributedVirtualSwitch.reconfigureVmVnicNetworkResourcePool",
},
&types.ElementDescription{
Description: types.Description{
Label: "Update network I/O control on vSphere Distributed Switch",
Summary: "Update network I/O control on vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.enableNetworkResourceManagement",
},
&types.ElementDescription{
Description: types.Description{
Label: "Get vSphere Distributed Switch configuration spec to rollback",
Summary: "Get vSphere Distributed Switch configuration spec to rollback",
},
Key: "DistributedVirtualSwitch.rollback",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add Distributed Port Group",
Summary: "Add Distributed Port Group",
},
Key: "DistributedVirtualSwitch.addPortgroup",
},
&types.ElementDescription{
Description: types.Description{
Label: "Update health check configuration on vSphere Distributed Switch",
Summary: "Update health check configuration on vSphere Distributed Switch",
},
Key: "DistributedVirtualSwitch.updateHealthCheckConfig",
},
&types.ElementDescription{
Description: types.Description{
Label: "Look up portgroup based on portgroup key",
Summary: "Look up portgroup based on portgroup key",
},
Key: "DistributedVirtualSwitch.lookupPortgroup",
},
&types.ElementDescription{
Description: types.Description{
Label: "Set datacenter custom value",
Summary: "Sets the value of a custom field of a datacenter",
},
Key: "Datacenter.setCustomValue",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reload datacenter",
Summary: "Reloads the datacenter",
},
Key: "Datacenter.reload",
},
&types.ElementDescription{
Description: types.Description{
Label: "Rename datacenter",
Summary: "Rename the datacenter",
},
Key: "Datacenter.rename",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove datacenter",
Summary: "Deletes the datacenter and removes it from its parent folder (if any)",
},
Key: "Datacenter.destroy",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add tag",
Summary: "Add a set of tags to the datacenter",
},
Key: "Datacenter.addTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove tag",
Summary: "Remove a set of tags from the datacenter",
},
Key: "Datacenter.removeTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveCustomValues",
Summary: "retrieveCustomValues",
},
Key: "Datacenter.retrieveCustomValues",
},
&types.ElementDescription{
Description: types.Description{
Label: "Query connection information",
Summary: "Gets information of a host that can be used in the connection wizard",
},
Key: "Datacenter.queryConnectionInfo",
},
&types.ElementDescription{
Description: types.Description{
Label: "queryConnectionInfoViaSpec",
Summary: "queryConnectionInfoViaSpec",
},
Key: "Datacenter.queryConnectionInfoViaSpec",
},
&types.ElementDescription{
Description: types.Description{
Label: "Initialize powering On",
Summary: "Initialize tasks for powering on virtual machines",
},
Key: "Datacenter.powerOnVm",
},
&types.ElementDescription{
Description: types.Description{
Label: "Query configuration option descriptor",
Summary: "Retrieve the list of configuration option keys available in this datacenter",
},
Key: "Datacenter.queryConfigOptionDescriptor",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reconfigure datacenter",
Summary: "Reconfigures the datacenter",
},
Key: "Datacenter.reconfigure",
},
&types.ElementDescription{
Description: types.Description{
Label: "Set virtual machine custom value",
Summary: "Sets the value of a custom field of a virtual machine",
},
Key: "VirtualMachine.setCustomValue",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reload virtual machine",
Summary: "Reloads the virtual machine",
},
Key: "VirtualMachine.reload",
},
&types.ElementDescription{
Description: types.Description{
Label: "Rename virtual machine",
Summary: "Rename the virtual machine",
},
Key: "VirtualMachine.rename",
},
&types.ElementDescription{
Description: types.Description{
Label: "Delete virtual machine",
Summary: "Delete this virtual machine. Deleting this virtual machine also deletes its contents and removes it from its parent folder (if any).",
},
Key: "VirtualMachine.destroy",
},
&types.ElementDescription{
Description: types.Description{
Label: "Add Tag",
Summary: "Add a set of tags to the virtual machine",
},
Key: "VirtualMachine.addTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove tag",
Summary: "Remove a set of tags from the virtual machine",
},
Key: "VirtualMachine.removeTag",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveCustomValues",
Summary: "retrieveCustomValues",
},
Key: "VirtualMachine.retrieveCustomValues",
},
&types.ElementDescription{
Description: types.Description{
Label: "Refresh virtual machine storage information",
Summary: "Refresh storage information for the virtual machine",
},
Key: "VirtualMachine.refreshStorageInfo",
},
&types.ElementDescription{
Description: types.Description{
Label: "Retrieve virtual machine backup agent",
Summary: "Retrieves the backup agent for the virtual machine",
},
Key: "VirtualMachine.retrieveBackupAgent",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create virtual machine snapshot",
Summary: "Create a new snapshot of this virtual machine",
},
Key: "VirtualMachine.createSnapshot",
},
&types.ElementDescription{
Description: types.Description{
Label: "Create virtual machine snapshot",
Summary: "Create a new snapshot of this virtual machine",
},
Key: "VirtualMachine.createSnapshotEx",
},
&types.ElementDescription{
Description: types.Description{
Label: "Revert to current snapshot",
Summary: "Reverts the virtual machine to the current snapshot",
},
Key: "VirtualMachine.revertToCurrentSnapshot",
},
&types.ElementDescription{
Description: types.Description{
Label: "Remove all snapshots",
Summary: "Remove all the snapshots associated with this virtual machine",
},
Key: "VirtualMachine.removeAllSnapshots",
},
&types.ElementDescription{
Description: types.Description{
Label: "Consolidate virtual machine disk files",
Summary: "Consolidate disk files of this virtual machine",
},
Key: "VirtualMachine.consolidateDisks",
},
&types.ElementDescription{
Description: types.Description{
Label: "Estimate virtual machine disks consolidation space requirement",
Summary: "Estimate the temporary space required to consolidate disk files.",
},
Key: "VirtualMachine.estimateStorageRequirementForConsolidate",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reconfigure virtual machine",
Summary: "Reconfigure this virtual machine",
},
Key: "VirtualMachine.reconfigure",
},
&types.ElementDescription{
Description: types.Description{
Label: "Upgrade VM compatibility",
Summary: "Upgrade virtual machine compatibility to the latest version",
},
Key: "VirtualMachine.upgradeVirtualHardware",
},
&types.ElementDescription{
Description: types.Description{
Label: "Extract OVF environment",
Summary: "Returns the XML document that represents the OVF environment",
},
Key: "VirtualMachine.extractOvfEnvironment",
},
&types.ElementDescription{
Description: types.Description{
Label: "Power On virtual machine",
Summary: "Power On this virtual machine",
},
Key: "VirtualMachine.powerOn",
},
&types.ElementDescription{
Description: types.Description{
Label: "Power Off virtual machine",
Summary: "Power Off this virtual machine",
},
Key: "VirtualMachine.powerOff",
},
&types.ElementDescription{
Description: types.Description{
Label: "Suspend virtual machine",
Summary: "Suspend virtual machine",
},
Key: "VirtualMachine.suspend",
},
&types.ElementDescription{
Description: types.Description{
Label: "Reset virtual machine",
Summary: "Reset this virtual machine",
},
Key: "VirtualMachine.reset",
},
&types.ElementDescription{
Description: types.Description{
Label: "Initiate guest OS shutdown",
Summary: "Issues a command to the guest operating system to perform a clean shutdown of all services",
},
Key: "VirtualMachine.shutdownGuest",
},
&types.ElementDescription{
Description: types.Description{
Label: "Initiate guest OS reboot",
Summary: "Issues a command to the guest operating system asking it to perform a reboot",
},
Key: "VirtualMachine.rebootGuest",
},
&types.ElementDescription{
Description: types.Description{
Label: "Initiate guest OS standby",
Summary: "Issues a command to the guest operating system to prepare for a suspend operation",
},
Key: "VirtualMachine.standbyGuest",
},
&types.ElementDescription{
Description: types.Description{
Label: "Answer virtual machine question",
Summary: "Respond to a question that is blocking this virtual machine",
},
Key: "VirtualMachine.answer",
},
&types.ElementDescription{
Description: types.Description{
Label: "Customize virtual machine guest OS",
Summary: "Customize a virtual machine's guest operating system",
},
Key: "VirtualMachine.customize",
},
&types.ElementDescription{
Description: types.Description{
Label: "Check customization specification",
Summary: "Check the customization specification against the virtual machine configuration",
},
Key: "VirtualMachine.checkCustomizationSpec",
},
&types.ElementDescription{
Description: types.Description{
Label: "Migrate virtual machine",
Summary: "Migrate a virtual machine's execution to a specific resource pool or host",
},
Key: "VirtualMachine.migrate",
},
&types.ElementDescription{
Description: types.Description{
Label: "Relocate virtual machine",
Summary: "Relocate the virtual machine to a specific location",
},
Key: "VirtualMachine.relocate",
},
&types.ElementDescription{
Description: types.Description{
Label: "Clone virtual machine",
Summary: "Creates a clone of this virtual machine",
},
Key: "VirtualMachine.clone",
},
&types.ElementDescription{
Description: types.Description{
Label: "instantClone",
Summary: "instantClone",
},
Key: "VirtualMachine.instantClone",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveInstantCloneChildren",
Summary: "retrieveInstantCloneChildren",
},
Key: "VirtualMachine.retrieveInstantCloneChildren",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveInstantCloneParent",
Summary: "retrieveInstantCloneParent",
},
Key: "VirtualMachine.retrieveInstantCloneParent",
},
&types.ElementDescription{
Description: types.Description{
Label: "markAsInstantCloneParent",
Summary: "markAsInstantCloneParent",
},
Key: "VirtualMachine.markAsInstantCloneParent",
},
&types.ElementDescription{
Description: types.Description{
Label: "unmarkAsInstantCloneParent",
Summary: "unmarkAsInstantCloneParent",
},
Key: "VirtualMachine.unmarkAsInstantCloneParent",
},
&types.ElementDescription{
Description: types.Description{
Label: "createForkChild",
Summary: "createForkChild",
},
Key: "VirtualMachine.createForkChild",
},
&types.ElementDescription{
Description: types.Description{
Label: "enableForkParent",
Summary: "enableForkParent",
},
Key: "VirtualMachine.enableForkParent",
},
&types.ElementDescription{
Description: types.Description{
Label: "disableForkParent",
Summary: "disableForkParent",
},
Key: "VirtualMachine.disableForkParent",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveForkChildren",
Summary: "retrieveForkChildren",
},
Key: "VirtualMachine.retrieveForkChildren",
},
&types.ElementDescription{
Description: types.Description{
Label: "retrieveForkParent",
Summary: "retrieveForkParent",
},
Key: "VirtualMachine.retrieveForkParent",
},
&types.ElementDescription{
Description: types.Description{
Label: "Export OVF template",
Summary: "Exports the virtual machine as an OVF template",
},
Key: "VirtualMachine.exportVm",
},
&types.ElementDescription{
Description: types.Description{
Label: "Mark virtual machine as template",
Summary: "Virtual machine is marked as a template",
},
Key: "VirtualMachine.markAsTemplate",
},
&types.ElementDescription{
Description: types.Description{
Label: "Mark as virtual machine",
Summary: "Reassociate a virtual machine with a host or resource pool",
},
Key: "VirtualMachine.markAsVirtualMachine",
},
&types.ElementDescription{
Description: types.Description{
Label: "Unregister virtual machine",
Summary: "Removes this virtual machine from the inventory without removing any of the virtual machine files on disk",
},
Key: "VirtualMachine.unregister",
},
&types.ElementDescription{
Description: types.Description{