@itentialopensource/adapter-vmware_vcenter 0.8.2 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/AUTH.md +10 -13
  2. package/CALLS.md +655 -22
  3. package/CHANGELOG.md +16 -0
  4. package/CONTRIBUTING.md +1 -160
  5. package/ENHANCE.md +2 -2
  6. package/README.md +32 -23
  7. package/SYSTEMINFO.md +13 -4
  8. package/adapter.js +157 -329
  9. package/adapterBase.js +549 -879
  10. package/changelogs/changelog.md +187 -0
  11. package/metadata.json +60 -0
  12. package/package.json +24 -24
  13. package/pronghorn.json +974 -635
  14. package/propertiesSchema.json +422 -31
  15. package/refs?service=git-upload-pack +0 -0
  16. package/report/adapter-openapi.json +4014 -0
  17. package/report/adapter-openapi.yaml +3108 -0
  18. package/report/adapterInfo.json +8 -8
  19. package/report/updateReport1691507527594.json +120 -0
  20. package/report/updateReport1692202545966.json +120 -0
  21. package/report/updateReport1694461552745.json +120 -0
  22. package/sampleProperties.json +63 -2
  23. package/test/integration/adapterTestBasicGet.js +2 -4
  24. package/test/integration/adapterTestConnectivity.js +91 -42
  25. package/test/integration/adapterTestIntegration.js +130 -2
  26. package/test/unit/adapterBaseTestUnit.js +388 -313
  27. package/test/unit/adapterTestUnit.js +338 -112
  28. package/utils/adapterInfo.js +1 -1
  29. package/utils/addAuth.js +1 -1
  30. package/utils/artifactize.js +1 -1
  31. package/utils/checkMigrate.js +1 -1
  32. package/utils/entitiesToDB.js +2 -2
  33. package/utils/findPath.js +1 -1
  34. package/utils/methodDocumentor.js +260 -0
  35. package/utils/modify.js +13 -15
  36. package/utils/packModificationScript.js +1 -1
  37. package/utils/pre-commit.sh +2 -0
  38. package/utils/taskMover.js +309 -0
  39. package/utils/tbScript.js +89 -34
  40. package/utils/tbUtils.js +41 -21
  41. package/utils/testRunner.js +1 -1
  42. package/utils/troubleshootingAdapter.js +9 -6
  43. package/workflows/README.md +0 -3
package/CALLS.md CHANGED
@@ -19,7 +19,7 @@ These are adapter methods that IAP or you might use. There are some other method
19
19
  </tr>
20
20
  <tr>
21
21
  <td style="padding:15px">healthCheck(callback)</td>
22
- <td style="padding:15px">This call ensures that the adapter can communicate with VMware vCenter. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
22
+ <td style="padding:15px">This call ensures that the adapter can communicate with Adapter for VMware vCenter. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
23
23
  <td style="padding:15px">No</td>
24
24
  </tr>
25
25
  <tr>
@@ -29,7 +29,7 @@ These are adapter methods that IAP or you might use. There are some other method
29
29
  </tr>
30
30
  <tr>
31
31
  <td style="padding:15px">encryptProperty(property, technique, callback)</td>
32
- <td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with VMware vCenter.</td>
32
+ <td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Adapter for VMware vCenter.</td>
33
33
  <td style="padding:15px">No</td>
34
34
  </tr>
35
35
  <tr>
@@ -37,11 +37,6 @@ These are adapter methods that IAP or you might use. There are some other method
37
37
  <td style="padding:15px">This call provides the ability to update the adapter configuration from IAP - includes actions, schema, mockdata and other configurations.</td>
38
38
  <td style="padding:15px">Yes</td>
39
39
  </tr>
40
- <tr>
41
- <td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
42
- <td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
43
- <td style="padding:15px">Yes</td>
44
- </tr>
45
40
  <tr>
46
41
  <td style="padding:15px">iapSuspendAdapter(mode, callback)</td>
47
42
  <td style="padding:15px">This call provides the ability to suspend the adapter and either have requests rejected or put into a queue to be processed after the adapter is resumed.</td>
@@ -57,12 +52,16 @@ These are adapter methods that IAP or you might use. There are some other method
57
52
  <td style="padding:15px">This call will return the requests that are waiting in the queue if throttling is enabled.</td>
58
53
  <td style="padding:15px">Yes</td>
59
54
  </tr>
55
+ <tr>
56
+ <td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
57
+ <td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
58
+ <td style="padding:15px">Yes</td>
59
+ </tr>
60
60
  <tr>
61
61
  <td style="padding:15px">iapTroubleshootAdapter(props, persistFlag, adapter, callback)</td>
62
62
  <td style="padding:15px">This call can be used to check on the performance of the adapter - it checks connectivity, healthcheck and basic get calls.</td>
63
63
  <td style="padding:15px">Yes</td>
64
64
  </tr>
65
-
66
65
  <tr>
67
66
  <td style="padding:15px">iapRunAdapterHealthcheck(adapter, callback)</td>
68
67
  <td style="padding:15px">This call will return the results of a healthcheck.</td>
@@ -83,6 +82,21 @@ These are adapter methods that IAP or you might use. There are some other method
83
82
  <td style="padding:15px">This call will push the adapter configuration from the entities directory into the Adapter or IAP Database.</td>
84
83
  <td style="padding:15px">Yes</td>
85
84
  </tr>
85
+ <tr>
86
+ <td style="padding:15px">iapDeactivateTasks(tasks, callback)</td>
87
+ <td style="padding:15px">This call provides the ability to remove tasks from the adapter.</td>
88
+ <td style="padding:15px">Yes</td>
89
+ </tr>
90
+ <tr>
91
+ <td style="padding:15px">iapActivateTasks(tasks, callback)</td>
92
+ <td style="padding:15px">This call provides the ability to add deactivated tasks back into the adapter.</td>
93
+ <td style="padding:15px">Yes</td>
94
+ </tr>
95
+ <tr>
96
+ <td style="padding:15px">iapExpandedGenericAdapterRequest(metadata, uriPath, restMethod, pathVars, queryData, requestBody, addlHeaders, callback)</td>
97
+ <td style="padding:15px">This is an expanded Generic Call. The metadata object allows us to provide many new capabilities within the generic request.</td>
98
+ <td style="padding:15px">Yes</td>
99
+ </tr>
86
100
  <tr>
87
101
  <td style="padding:15px">genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
88
102
  <td style="padding:15px">This call allows you to provide the path to have the adapter call. It is an easy way to incorporate paths that have not been built into the adapter yet.</td>
@@ -94,19 +108,42 @@ These are adapter methods that IAP or you might use. There are some other method
94
108
  <td style="padding:15px">Yes</td>
95
109
  </tr>
96
110
  <tr>
97
- <td style="padding:15px">iapHasAdapterEntity(entityType, entityId, callback)</td>
98
- <td style="padding:15px">This call verifies the adapter has the specific entity.</td>
99
- <td style="padding:15px">No</td>
111
+ <td style="padding:15px">iapRunAdapterLint(callback)</td>
112
+ <td style="padding:15px">Runs lint on the addapter and provides the information back.</td>
113
+ <td style="padding:15px">Yes</td>
100
114
  </tr>
101
115
  <tr>
102
- <td style="padding:15px">iapVerifyAdapterCapability(entityType, actionType, entityId, callback)</td>
103
- <td style="padding:15px">This call verifies the adapter can perform the provided action on the specific entity.</td>
104
- <td style="padding:15px">No</td>
116
+ <td style="padding:15px">iapRunAdapterTests(callback)</td>
117
+ <td style="padding:15px">Runs baseunit and unit tests on the adapter and provides the information back.</td>
118
+ <td style="padding:15px">Yes</td>
105
119
  </tr>
106
120
  <tr>
107
- <td style="padding:15px">iapUpdateAdapterEntityCache()</td>
108
- <td style="padding:15px">This call will update the entity cache.</td>
109
- <td style="padding:15px">No</td>
121
+ <td style="padding:15px">iapGetAdapterInventory(callback)</td>
122
+ <td style="padding:15px">This call provides some inventory related information about the adapter.</td>
123
+ <td style="padding:15px">Yes</td>
124
+ </tr>
125
+ </table>
126
+ <br>
127
+
128
+ ### Adapter Cache Calls
129
+
130
+ These are adapter methods that are used for adapter caching. If configured, the adapter will cache based on the interval provided. However, you can force a population of the cache manually as well.
131
+
132
+ <table border="1" class="bordered-table">
133
+ <tr>
134
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
135
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
136
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
137
+ </tr>
138
+ <tr>
139
+ <td style="padding:15px">iapPopulateEntityCache(entityTypes, callback)</td>
140
+ <td style="padding:15px">This call populates the adapter cache.</td>
141
+ <td style="padding:15px">Yes</td>
142
+ </tr>
143
+ <tr>
144
+ <td style="padding:15px">iapRetrieveEntitiesCache(entityType, options, callback)</td>
145
+ <td style="padding:15px">This call retrieves the specific items from the adapter cache.</td>
146
+ <td style="padding:15px">Yes</td>
110
147
  </tr>
111
148
  </table>
112
149
  <br>
@@ -129,27 +166,27 @@ These are adapter methods that are used to integrate to IAP Brokers. This adapte
129
166
  <tr>
130
167
  <td style="padding:15px">getDevice(deviceName, callback)</td>
131
168
  <td style="padding:15px">This call returns the details of the requested device.</td>
132
- <td style="padding:15px">Yes</td>
169
+ <td style="padding:15px">No</td>
133
170
  </tr>
134
171
  <tr>
135
172
  <td style="padding:15px">getDevicesFiltered(options, callback)</td>
136
173
  <td style="padding:15px">This call returns the list of devices that match the criteria provided in the options filter.</td>
137
- <td style="padding:15px">Yes</td>
174
+ <td style="padding:15px">No</td>
138
175
  </tr>
139
176
  <tr>
140
177
  <td style="padding:15px">isAlive(deviceName, callback)</td>
141
178
  <td style="padding:15px">This call returns whether the device status is active</td>
142
- <td style="padding:15px">Yes</td>
179
+ <td style="padding:15px">No</td>
143
180
  </tr>
144
181
  <tr>
145
182
  <td style="padding:15px">getConfig(deviceName, format, callback)</td>
146
183
  <td style="padding:15px">This call returns the configuration for the selected device.</td>
147
- <td style="padding:15px">Yes</td>
184
+ <td style="padding:15px">No</td>
148
185
  </tr>
149
186
  <tr>
150
187
  <td style="padding:15px">iapGetDeviceCount(callback)</td>
151
188
  <td style="padding:15px">This call returns the count of devices.</td>
152
- <td style="padding:15px">Yes</td>
189
+ <td style="padding:15px">No</td>
153
190
  </tr>
154
191
  </table>
155
192
  <br>
@@ -165,5 +202,601 @@ Specific adapter calls are built based on the API of the VMware vCenter. The Ada
165
202
  <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Path</span></th>
166
203
  <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
167
204
  </tr>
205
+ <tr>
206
+ <td style="padding:15px">postComvmwarevcenterinventorydatastoreactionfind(callback)</td>
207
+ <td style="padding:15px">Returns datastore information for the specified datastores. The key in the {@term result} {@term map} is the datastore identifier and the value in the {@term map} is the datastore information.</td>
208
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/inventory/datastore?{query}</td>
209
+ <td style="padding:15px">Yes</td>
210
+ </tr>
211
+ <tr>
212
+ <td style="padding:15px">postComvmwarevcenterinventorynetworkactionfind(callback)</td>
213
+ <td style="padding:15px">Returns network information for the specified vCenter Server networks. The key in the {@term result} {@term map} is the network identifier and the value in the {@term map} is the network information.</td>
214
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/inventory/network?{query}</td>
215
+ <td style="padding:15px">Yes</td>
216
+ </tr>
217
+ <tr>
218
+ <td style="padding:15px">postComvmwarevcenterisoimageidlibraryItemactionmount(libraryItem, callback)</td>
219
+ <td style="padding:15px">Mounts an ISO image from a content library on a virtual machine.</td>
220
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/iso/image/id:{pathv1}?{query}</td>
221
+ <td style="padding:15px">Yes</td>
222
+ </tr>
223
+ <tr>
224
+ <td style="padding:15px">postComvmwarevcenterisoimageidvmactionunmount(vm, callback)</td>
225
+ <td style="padding:15px">Unmounts a previously mounted CD-ROM using an ISO image as a backing.</td>
226
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/iso/image/id:{pathv1}?{query}</td>
227
+ <td style="padding:15px">Yes</td>
228
+ </tr>
229
+ <tr>
230
+ <td style="padding:15px">getComvmwarevcenterovfexportFlag(callback)</td>
231
+ <td style="padding:15px">Returns information about the supported export flags by the server. <p> The supported flags are: <dl> <dt>PRESERVE_MAC</dt> <dd>Include MAC addresses for network adapters.</dd> <dt>EXTRA_CONFIG</dt> <dd>Include extra configuration in OVF export.</dd> </dl> <p> Future server versions might support additional flags.</td>
232
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/export-flag?{query}</td>
233
+ <td style="padding:15px">Yes</td>
234
+ </tr>
235
+ <tr>
236
+ <td style="padding:15px">getComvmwarevcenterovfimportFlag(callback)</td>
237
+ <td style="padding:15px">Returns information about the import flags supported by the deployment platform. <p> The supported flags are: <dl> <dt>LAX</dt> <dd>Lax mode parsing of the OVF descriptor.</dd> </dl> <p> Future server versions might support additional flags.</td>
238
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/import-flag?{query}</td>
239
+ <td style="padding:15px">Yes</td>
240
+ </tr>
241
+ <tr>
242
+ <td style="padding:15px">postComvmwarevcenterovflibraryItem(clientTokensourcetargetcreateSpec, callback)</td>
243
+ <td style="padding:15px">Creates a library item in content library from a virtual machine or virtual appliance. <p> This {@term operation} creates a library item in content library whose content is an OVF package derived from a source virtual machine or virtual appliance, using the supplied create specification. The OVF package may be stored as in a newly created library item or in an in an existing library item. For an existing library item whose content is updated by this {@term operation}, the original content is overwritten. </p></td>
244
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/library-item?{query}</td>
245
+ <td style="padding:15px">Yes</td>
246
+ </tr>
247
+ <tr>
248
+ <td style="padding:15px">postComvmwarevcenterovflibraryItemidovfLibraryItemIdactiondeploy(ovfLibraryItemId, clientTokentargetdeploymentSpec, callback)</td>
249
+ <td style="padding:15px">Deploys an OVF package stored in content library to a newly created virtual machine or virtual appliance. <p> This {@term operation} deploys an OVF package which is stored in the library item specified by {@param.name ovfLibraryItemId}. It uses the deployment specification in {@param.name deploymentSpec} to deploy the OVF package to the location specified by {@param.name target}. </p></td>
250
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/library-item/id:{pathv1}?{query}</td>
251
+ <td style="padding:15px">Yes</td>
252
+ </tr>
253
+ <tr>
254
+ <td style="padding:15px">postComvmwarevcenterovflibraryItemidovfLibraryItemIdactionfilter(ovfLibraryItemId, target, callback)</td>
255
+ <td style="padding:15px">Queries an OVF package stored in content library to retrieve information to use when deploying the package. See {@link #deploy}. <p> This {@term operation} retrieves information from the descriptor of the OVF package stored in the library item specified by {@param.name ovfLibraryItemId}. The information returned by the {@term operation} can be used to populate the deployment specification (see {@link ResourcePoolDeploymentSpec} when deploying the OVF package to the deployment target specified by {@param.name target}. </p></td>
256
+ <td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/library-item/id:{pathv1}?{query}</td>
257
+ <td style="padding:15px">Yes</td>
258
+ </tr>
259
+ <tr>
260
+ <td style="padding:15px">getVcentercluster(filterfolders, filterclusters, filternames, filterdatacenters, callback)</td>
261
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) clusters in vCenter matching the Cluster.FilterSpec.</td>
262
+ <td style="padding:15px">{base_path}/{version}/vcenter/cluster?{query}</td>
263
+ <td style="padding:15px">Yes</td>
264
+ </tr>
265
+ <tr>
266
+ <td style="padding:15px">getVcenterclustercluster(cluster, callback)</td>
267
+ <td style="padding:15px">Retrieves information about the cluster corresponding to cluster.</td>
268
+ <td style="padding:15px">{base_path}/{version}/vcenter/cluster/{pathv1}?{query}</td>
269
+ <td style="padding:15px">Yes</td>
270
+ </tr>
271
+ <tr>
272
+ <td style="padding:15px">postVcenterdatacenter(spec, callback)</td>
273
+ <td style="padding:15px">Create a new datacenter in the vCenter inventory</td>
274
+ <td style="padding:15px">{base_path}/{version}/vcenter/datacenter?{query}</td>
275
+ <td style="padding:15px">Yes</td>
276
+ </tr>
277
+ <tr>
278
+ <td style="padding:15px">getVcenterdatacenter(filterfolders, filterdatacenters, filternames, callback)</td>
279
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) datacenters in vCenter matching the Datacenter.FilterSpec.</td>
280
+ <td style="padding:15px">{base_path}/{version}/vcenter/datacenter?{query}</td>
281
+ <td style="padding:15px">Yes</td>
282
+ </tr>
283
+ <tr>
284
+ <td style="padding:15px">getVcenterdatacenterdatacenter(datacenter, callback)</td>
285
+ <td style="padding:15px">Retrieves information about the datacenter corresponding to datacenter.</td>
286
+ <td style="padding:15px">{base_path}/{version}/vcenter/datacenter/{pathv1}?{query}</td>
287
+ <td style="padding:15px">Yes</td>
288
+ </tr>
289
+ <tr>
290
+ <td style="padding:15px">deleteVcenterdatacenterdatacenter(datacenter, force, callback)</td>
291
+ <td style="padding:15px">Delete an empty datacenter from the vCenter Server</td>
292
+ <td style="padding:15px">{base_path}/{version}/vcenter/datacenter/{pathv1}?{query}</td>
293
+ <td style="padding:15px">Yes</td>
294
+ </tr>
295
+ <tr>
296
+ <td style="padding:15px">getVcenterdatastore(filterdatastores, filterfolders, filternames, filtertypes, filterdatacenters, callback)</td>
297
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec.</td>
298
+ <td style="padding:15px">{base_path}/{version}/vcenter/datastore?{query}</td>
299
+ <td style="padding:15px">Yes</td>
300
+ </tr>
301
+ <tr>
302
+ <td style="padding:15px">getVcenterdatastoredatastore(datastore, callback)</td>
303
+ <td style="padding:15px">Retrieves information about the datastore indicated by datastore.</td>
304
+ <td style="padding:15px">{base_path}/{version}/vcenter/datastore/{pathv1}?{query}</td>
305
+ <td style="padding:15px">Yes</td>
306
+ </tr>
307
+ <tr>
308
+ <td style="padding:15px">getVcenterfolder(filterfolders, filterparentFolders, filtertype, filternames, filterdatacenters, callback)</td>
309
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the Folder.FilterSpec.</td>
310
+ <td style="padding:15px">{base_path}/{version}/vcenter/folder?{query}</td>
311
+ <td style="padding:15px">Yes</td>
312
+ </tr>
313
+ <tr>
314
+ <td style="padding:15px">postVcenterhost(spec, callback)</td>
315
+ <td style="padding:15px">Add a new standalone host in the vCenter inventory. The newly connected host will be in connected state. The vCenter Server will verify the SSL certificate before adding the host to its inventory. In the case where the SSL certificate cannot be verified because the Certificate Authority is not recognized or the certificate is self signed, the vCenter Server will fall back to thumbprint verification mode as defined by Host.CreateSpec.ThumbprintVerification.</td>
316
+ <td style="padding:15px">{base_path}/{version}/vcenter/host?{query}</td>
317
+ <td style="padding:15px">Yes</td>
318
+ </tr>
319
+ <tr>
320
+ <td style="padding:15px">getVcenterhost(filterfolders, filterstandalone, filterhosts, filternames, filterclusters, filterdatacenters, filterconnectionStates, callback)</td>
321
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) hosts in vCenter matching the Host.FilterSpec.</td>
322
+ <td style="padding:15px">{base_path}/{version}/vcenter/host?{query}</td>
323
+ <td style="padding:15px">Yes</td>
324
+ </tr>
325
+ <tr>
326
+ <td style="padding:15px">deleteVcenterhosthost(host, callback)</td>
327
+ <td style="padding:15px">Remove a standalone host from the vCenter Server.</td>
328
+ <td style="padding:15px">{base_path}/{version}/vcenter/host/{pathv1}?{query}</td>
329
+ <td style="padding:15px">Yes</td>
330
+ </tr>
331
+ <tr>
332
+ <td style="padding:15px">postVcenterhosthostconnect(host, callback)</td>
333
+ <td style="padding:15px">Connect to the host corresponding to host previously added to the vCenter server.</td>
334
+ <td style="padding:15px">{base_path}/{version}/vcenter/host/{pathv1}/connect?{query}</td>
335
+ <td style="padding:15px">Yes</td>
336
+ </tr>
337
+ <tr>
338
+ <td style="padding:15px">postVcenterhosthostdisconnect(host, callback)</td>
339
+ <td style="padding:15px">Disconnect the host corresponding to host from the vCenter server</td>
340
+ <td style="padding:15px">{base_path}/{version}/vcenter/host/{pathv1}/disconnect?{query}</td>
341
+ <td style="padding:15px">Yes</td>
342
+ </tr>
343
+ <tr>
344
+ <td style="padding:15px">getVcenternetwork(filterfolders, filterdatacenters, filternetworks, filtertypes, filternames, callback)</td>
345
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the Network.FilterSpec.</td>
346
+ <td style="padding:15px">{base_path}/{version}/vcenter/network?{query}</td>
347
+ <td style="padding:15px">Yes</td>
348
+ </tr>
349
+ <tr>
350
+ <td style="padding:15px">getVcenterresourcePool(filterparentResourcePools, filterhosts, filternames, filterclusters, filterdatacenters, filterresourcePools, callback)</td>
351
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec.</td>
352
+ <td style="padding:15px">{base_path}/{version}/vcenter/resource-pool?{query}</td>
353
+ <td style="padding:15px">Yes</td>
354
+ </tr>
355
+ <tr>
356
+ <td style="padding:15px">getVcenterresourcePoolresourcePool(resourcepool, callback)</td>
357
+ <td style="padding:15px">Retrieves information about the resource pool indicated by resourcePool.</td>
358
+ <td style="padding:15px">{base_path}/{version}/vcenter/resource-pool/{pathv1}?{query}</td>
359
+ <td style="padding:15px">Yes</td>
360
+ </tr>
361
+ <tr>
362
+ <td style="padding:15px">postVcentervm(spec, callback)</td>
363
+ <td style="padding:15px">Creates a virtual machine.</td>
364
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm?{query}</td>
365
+ <td style="padding:15px">Yes</td>
366
+ </tr>
367
+ <tr>
368
+ <td style="padding:15px">getVcentervm(filterfolders, filterpowerStates, filterhosts, filternames, filterclusters, filterdatacenters, filterresourcePools, filtervms, callback)</td>
369
+ <td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec.</td>
370
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm?{query}</td>
371
+ <td style="padding:15px">Yes</td>
372
+ </tr>
373
+ <tr>
374
+ <td style="padding:15px">deleteVcentervmvm(vm, callback)</td>
375
+ <td style="padding:15px">Deletes a virtual machine.</td>
376
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}?{query}</td>
377
+ <td style="padding:15px">Yes</td>
378
+ </tr>
379
+ <tr>
380
+ <td style="padding:15px">getVcentervmvm(vm, callback)</td>
381
+ <td style="padding:15px">Returns information about a virtual machine.</td>
382
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}?{query}</td>
383
+ <td style="padding:15px">Yes</td>
384
+ </tr>
385
+ <tr>
386
+ <td style="padding:15px">getVcentervmvmhardware(vm, callback)</td>
387
+ <td style="padding:15px">Returns the virtual hardware settings of a virtual machine.</td>
388
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware?{query}</td>
389
+ <td style="padding:15px">Yes</td>
390
+ </tr>
391
+ <tr>
392
+ <td style="padding:15px">patchVcentervmvmhardware(vm, spec, callback)</td>
393
+ <td style="padding:15px">Updates the virtual hardware settings of a virtual machine.</td>
394
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware?{query}</td>
395
+ <td style="padding:15px">Yes</td>
396
+ </tr>
397
+ <tr>
398
+ <td style="padding:15px">postVcentervmvmhardwareactionupgrade(vm, version, callback)</td>
399
+ <td style="padding:15px">Upgrades the virtual machine to a newer virtual hardware version.</td>
400
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/action/upgrade?{query}</td>
401
+ <td style="padding:15px">Yes</td>
402
+ </tr>
403
+ <tr>
404
+ <td style="padding:15px">postVcentervmvmhardwareadaptersata(vm, spec, callback)</td>
405
+ <td style="padding:15px">Adds a virtual SATA adapter to the virtual machine.</td>
406
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata?{query}</td>
407
+ <td style="padding:15px">Yes</td>
408
+ </tr>
409
+ <tr>
410
+ <td style="padding:15px">getVcentervmvmhardwareadaptersata(vm, callback)</td>
411
+ <td style="padding:15px">Returns commonly used information about the virtual SATA adapters belonging to the virtual machine.</td>
412
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata?{query}</td>
413
+ <td style="padding:15px">Yes</td>
414
+ </tr>
415
+ <tr>
416
+ <td style="padding:15px">deleteVcentervmvmhardwareadaptersataadapter(vm, adapter, callback)</td>
417
+ <td style="padding:15px">Removes a virtual SATA adapter from the virtual machine.</td>
418
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata/{pathv2}?{query}</td>
419
+ <td style="padding:15px">Yes</td>
420
+ </tr>
421
+ <tr>
422
+ <td style="padding:15px">getVcentervmvmhardwareadaptersataadapter(vm, adapter, callback)</td>
423
+ <td style="padding:15px">Returns information about a virtual SATA adapter.</td>
424
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata/{pathv2}?{query}</td>
425
+ <td style="padding:15px">Yes</td>
426
+ </tr>
427
+ <tr>
428
+ <td style="padding:15px">postVcentervmvmhardwareadapterscsi(vm, spec, callback)</td>
429
+ <td style="padding:15px">Adds a virtual SCSI adapter to the virtual machine.</td>
430
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi?{query}</td>
431
+ <td style="padding:15px">Yes</td>
432
+ </tr>
433
+ <tr>
434
+ <td style="padding:15px">getVcentervmvmhardwareadapterscsi(vm, callback)</td>
435
+ <td style="padding:15px">Returns commonly used information about the virtual SCSI adapters belonging to the virtual machine.</td>
436
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi?{query}</td>
437
+ <td style="padding:15px">Yes</td>
438
+ </tr>
439
+ <tr>
440
+ <td style="padding:15px">getVcentervmvmhardwareadapterscsiadapter(vm, adapter, callback)</td>
441
+ <td style="padding:15px">Returns information about a virtual SCSI adapter.</td>
442
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi/{pathv2}?{query}</td>
443
+ <td style="padding:15px">Yes</td>
444
+ </tr>
445
+ <tr>
446
+ <td style="padding:15px">patchVcentervmvmhardwareadapterscsiadapter(vm, adapter, spec, callback)</td>
447
+ <td style="padding:15px">Updates the configuration of a virtual SCSI adapter.</td>
448
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi/{pathv2}?{query}</td>
449
+ <td style="padding:15px">Yes</td>
450
+ </tr>
451
+ <tr>
452
+ <td style="padding:15px">deleteVcentervmvmhardwareadapterscsiadapter(vm, adapter, callback)</td>
453
+ <td style="padding:15px">Removes a virtual SCSI adapter from the virtual machine.</td>
454
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi/{pathv2}?{query}</td>
455
+ <td style="padding:15px">Yes</td>
456
+ </tr>
457
+ <tr>
458
+ <td style="padding:15px">getVcentervmvmhardwareboot(vm, callback)</td>
459
+ <td style="padding:15px">Returns the boot-related settings of a virtual machine.</td>
460
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot?{query}</td>
461
+ <td style="padding:15px">Yes</td>
462
+ </tr>
463
+ <tr>
464
+ <td style="padding:15px">patchVcentervmvmhardwareboot(vm, spec, callback)</td>
465
+ <td style="padding:15px">Updates the boot-related settings of a virtual machine.</td>
466
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot?{query}</td>
467
+ <td style="padding:15px">Yes</td>
468
+ </tr>
469
+ <tr>
470
+ <td style="padding:15px">putVcentervmvmhardwarebootdevice(vm, devices, callback)</td>
471
+ <td style="padding:15px">Sets the virtual devices that will be used to boot the virtual machine. The virtual machine will check the devices in order, attempting to boot from each, until the virtual machine boots successfully. If the list is empty, the virtual machine will use a default boot sequence. There should be no more than one instance of Device.Entry for a given device type except ETHERNET in the list.</td>
472
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot/device?{query}</td>
473
+ <td style="padding:15px">Yes</td>
474
+ </tr>
475
+ <tr>
476
+ <td style="padding:15px">getVcentervmvmhardwarebootdevice(vm, callback)</td>
477
+ <td style="padding:15px">Returns an ordered list of boot devices for the virtual machine. If the list is empty, the virtual machine uses a default boot sequence.</td>
478
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot/device?{query}</td>
479
+ <td style="padding:15px">Yes</td>
480
+ </tr>
481
+ <tr>
482
+ <td style="padding:15px">postVcentervmvmhardwarecdrom(vm, spec, callback)</td>
483
+ <td style="padding:15px">Adds a virtual CD-ROM device to the virtual machine.</td>
484
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom?{query}</td>
485
+ <td style="padding:15px">Yes</td>
486
+ </tr>
487
+ <tr>
488
+ <td style="padding:15px">getVcentervmvmhardwarecdrom(vm, callback)</td>
489
+ <td style="padding:15px">Returns commonly used information about the virtual CD-ROM devices belonging to the virtual machine.</td>
490
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom?{query}</td>
491
+ <td style="padding:15px">Yes</td>
492
+ </tr>
493
+ <tr>
494
+ <td style="padding:15px">patchVcentervmvmhardwarecdromcdrom(vm, cdrom, spec, callback)</td>
495
+ <td style="padding:15px">Updates the configuration of a virtual CD-ROM device.</td>
496
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}?{query}</td>
497
+ <td style="padding:15px">Yes</td>
498
+ </tr>
499
+ <tr>
500
+ <td style="padding:15px">getVcentervmvmhardwarecdromcdrom(vm, cdrom, callback)</td>
501
+ <td style="padding:15px">Returns information about a virtual CD-ROM device.</td>
502
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}?{query}</td>
503
+ <td style="padding:15px">Yes</td>
504
+ </tr>
505
+ <tr>
506
+ <td style="padding:15px">deleteVcentervmvmhardwarecdromcdrom(vm, cdrom, callback)</td>
507
+ <td style="padding:15px">Removes a virtual CD-ROM device from the virtual machine.</td>
508
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}?{query}</td>
509
+ <td style="padding:15px">Yes</td>
510
+ </tr>
511
+ <tr>
512
+ <td style="padding:15px">postVcentervmvmhardwarecdromcdromconnect(vm, cdrom, callback)</td>
513
+ <td style="padding:15px">Connects a virtual CD-ROM device of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
514
+ For a powered-off virtual machine, the Cdrom.update operation may be used to configure the virtual CD-ROM device to start in the connected state when the virtual machine is powered on.
515
+ </td>
516
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}/connect?{query}</td>
517
+ <td style="padding:15px">Yes</td>
518
+ </tr>
519
+ <tr>
520
+ <td style="padding:15px">postVcentervmvmhardwarecdromcdromdisconnect(vm, cdrom, callback)</td>
521
+ <td style="padding:15px">Disconnects a virtual CD-ROM device of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the CD-ROM device is not connected to its backing resource.
522
+ For a powered-off virtual machine, the Cdrom.update operation may be used to configure the virtual CD-ROM device to start in the disconnected state when the virtual machine is powered on.
523
+ </td>
524
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}/disconnect?{query}</td>
525
+ <td style="padding:15px">Yes</td>
526
+ </tr>
527
+ <tr>
528
+ <td style="padding:15px">getVcentervmvmhardwarecpu(vm, callback)</td>
529
+ <td style="padding:15px">Returns the CPU-related settings of a virtual machine.</td>
530
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cpu?{query}</td>
531
+ <td style="padding:15px">Yes</td>
532
+ </tr>
533
+ <tr>
534
+ <td style="padding:15px">patchVcentervmvmhardwarecpu(vm, spec, callback)</td>
535
+ <td style="padding:15px">Updates the CPU-related settings of a virtual machine.</td>
536
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cpu?{query}</td>
537
+ <td style="padding:15px">Yes</td>
538
+ </tr>
539
+ <tr>
540
+ <td style="padding:15px">postVcentervmvmhardwaredisk(vm, spec, callback)</td>
541
+ <td style="padding:15px">Adds a virtual disk to the virtual machine. While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk.</td>
542
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk?{query}</td>
543
+ <td style="padding:15px">Yes</td>
544
+ </tr>
545
+ <tr>
546
+ <td style="padding:15px">getVcentervmvmhardwaredisk(vm, callback)</td>
547
+ <td style="padding:15px">Returns commonly used information about the virtual disks belonging to the virtual machine.</td>
548
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk?{query}</td>
549
+ <td style="padding:15px">Yes</td>
550
+ </tr>
551
+ <tr>
552
+ <td style="padding:15px">getVcentervmvmhardwarediskdisk(vm, disk, callback)</td>
553
+ <td style="padding:15px">Returns information about a virtual disk.</td>
554
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk/{pathv2}?{query}</td>
555
+ <td style="padding:15px">Yes</td>
556
+ </tr>
557
+ <tr>
558
+ <td style="padding:15px">deleteVcentervmvmhardwarediskdisk(vm, disk, callback)</td>
559
+ <td style="padding:15px">Removes a virtual disk from the virtual machine. This operation does not destroy the VMDK file that backs the virtual disk. It only detaches the VMDK file from the virtual machine. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.</td>
560
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk/{pathv2}?{query}</td>
561
+ <td style="padding:15px">Yes</td>
562
+ </tr>
563
+ <tr>
564
+ <td style="padding:15px">patchVcentervmvmhardwarediskdisk(vm, disk, spec, callback)</td>
565
+ <td style="padding:15px">Updates the configuration of a virtual disk. An update operation can be used to detach the existing VMDK file and attach another VMDK file to the virtual machine.</td>
566
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk/{pathv2}?{query}</td>
567
+ <td style="padding:15px">Yes</td>
568
+ </tr>
569
+ <tr>
570
+ <td style="padding:15px">postVcentervmvmhardwareethernet(vm, spec, callback)</td>
571
+ <td style="padding:15px">Adds a virtual Ethernet adapter to the virtual machine.</td>
572
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet?{query}</td>
573
+ <td style="padding:15px">Yes</td>
574
+ </tr>
575
+ <tr>
576
+ <td style="padding:15px">getVcentervmvmhardwareethernet(vm, callback)</td>
577
+ <td style="padding:15px">Returns commonly used information about the virtual Ethernet adapters belonging to the virtual machine.</td>
578
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet?{query}</td>
579
+ <td style="padding:15px">Yes</td>
580
+ </tr>
581
+ <tr>
582
+ <td style="padding:15px">patchVcentervmvmhardwareethernetnic(vm, nic, spec, callback)</td>
583
+ <td style="padding:15px">Updates the configuration of a virtual Ethernet adapter.</td>
584
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}?{query}</td>
585
+ <td style="padding:15px">Yes</td>
586
+ </tr>
587
+ <tr>
588
+ <td style="padding:15px">getVcentervmvmhardwareethernetnic(vm, nic, callback)</td>
589
+ <td style="padding:15px">Returns information about a virtual Ethernet adapter.</td>
590
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}?{query}</td>
591
+ <td style="padding:15px">Yes</td>
592
+ </tr>
593
+ <tr>
594
+ <td style="padding:15px">deleteVcentervmvmhardwareethernetnic(vm, nic, callback)</td>
595
+ <td style="padding:15px">Removes a virtual Ethernet adapter from the virtual machine.</td>
596
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}?{query}</td>
597
+ <td style="padding:15px">Yes</td>
598
+ </tr>
599
+ <tr>
600
+ <td style="padding:15px">postVcentervmvmhardwareethernetnicconnect(vm, nic, callback)</td>
601
+ <td style="padding:15px">Connects a virtual Ethernet adapter of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
602
+ For a powered-off virtual machine, the Ethernet.update operation may be used to configure the virtual Ethernet adapter to start in the connected state when the virtual machine is powered on.
603
+ </td>
604
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}/connect?{query}</td>
605
+ <td style="padding:15px">Yes</td>
606
+ </tr>
607
+ <tr>
608
+ <td style="padding:15px">postVcentervmvmhardwareethernetnicdisconnect(vm, nic, callback)</td>
609
+ <td style="padding:15px">Disconnects a virtual Ethernet adapter of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the Ethernet adapter is not connected to its backing resource.
610
+ For a powered-off virtual machine, the Ethernet.update operation may be used to configure the virtual Ethernet adapter to start in the disconnected state when the virtual machine is powered on.
611
+ </td>
612
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}/disconnect?{query}</td>
613
+ <td style="padding:15px">Yes</td>
614
+ </tr>
615
+ <tr>
616
+ <td style="padding:15px">postVcentervmvmhardwarefloppy(vm, spec, callback)</td>
617
+ <td style="padding:15px">Adds a virtual floppy drive to the virtual machine.</td>
618
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy?{query}</td>
619
+ <td style="padding:15px">Yes</td>
620
+ </tr>
621
+ <tr>
622
+ <td style="padding:15px">getVcentervmvmhardwarefloppy(vm, callback)</td>
623
+ <td style="padding:15px">Returns commonly used information about the virtual floppy drives belonging to the virtual machine.</td>
624
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy?{query}</td>
625
+ <td style="padding:15px">Yes</td>
626
+ </tr>
627
+ <tr>
628
+ <td style="padding:15px">deleteVcentervmvmhardwarefloppyfloppy(vm, floppy, callback)</td>
629
+ <td style="padding:15px">Removes a virtual floppy drive from the virtual machine.</td>
630
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}?{query}</td>
631
+ <td style="padding:15px">Yes</td>
632
+ </tr>
633
+ <tr>
634
+ <td style="padding:15px">patchVcentervmvmhardwarefloppyfloppy(vm, floppy, spec, callback)</td>
635
+ <td style="padding:15px">Updates the configuration of a virtual floppy drive.</td>
636
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}?{query}</td>
637
+ <td style="padding:15px">Yes</td>
638
+ </tr>
639
+ <tr>
640
+ <td style="padding:15px">getVcentervmvmhardwarefloppyfloppy(vm, floppy, callback)</td>
641
+ <td style="padding:15px">Returns information about a virtual floppy drive.</td>
642
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}?{query}</td>
643
+ <td style="padding:15px">Yes</td>
644
+ </tr>
645
+ <tr>
646
+ <td style="padding:15px">postVcentervmvmhardwarefloppyfloppyconnect(vm, floppy, callback)</td>
647
+ <td style="padding:15px">Connects a virtual floppy drive of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
648
+ For a powered-off virtual machine, the Floppy.update operation may be used to configure the virtual floppy drive to start in the connected state when the virtual machine is powered on.
649
+ </td>
650
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}/connect?{query}</td>
651
+ <td style="padding:15px">Yes</td>
652
+ </tr>
653
+ <tr>
654
+ <td style="padding:15px">postVcentervmvmhardwarefloppyfloppydisconnect(vm, floppy, callback)</td>
655
+ <td style="padding:15px">Disconnects a virtual floppy drive of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the floppy drive is not connected to its backing resource.
656
+ For a powered-off virtual machine, the Floppy.update operation may be used to configure the virtual floppy floppy to start in the disconnected state when the virtual machine is powered on.
657
+ </td>
658
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}/disconnect?{query}</td>
659
+ <td style="padding:15px">Yes</td>
660
+ </tr>
661
+ <tr>
662
+ <td style="padding:15px">patchVcentervmvmhardwarememory(vm, spec, callback)</td>
663
+ <td style="padding:15px">Updates the memory-related settings of a virtual machine.</td>
664
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/memory?{query}</td>
665
+ <td style="padding:15px">Yes</td>
666
+ </tr>
667
+ <tr>
668
+ <td style="padding:15px">getVcentervmvmhardwarememory(vm, callback)</td>
669
+ <td style="padding:15px">Returns the memory-related settings of a virtual machine.</td>
670
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/memory?{query}</td>
671
+ <td style="padding:15px">Yes</td>
672
+ </tr>
673
+ <tr>
674
+ <td style="padding:15px">postVcentervmvmhardwareparallel(vm, spec, callback)</td>
675
+ <td style="padding:15px">Adds a virtual parallel port to the virtual machine.</td>
676
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel?{query}</td>
677
+ <td style="padding:15px">Yes</td>
678
+ </tr>
679
+ <tr>
680
+ <td style="padding:15px">getVcentervmvmhardwareparallel(vm, callback)</td>
681
+ <td style="padding:15px">Returns commonly used information about the virtual parallel ports belonging to the virtual machine.</td>
682
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel?{query}</td>
683
+ <td style="padding:15px">Yes</td>
684
+ </tr>
685
+ <tr>
686
+ <td style="padding:15px">deleteVcentervmvmhardwareparallelport(vm, port, callback)</td>
687
+ <td style="padding:15px">Removes a virtual parallel port from the virtual machine.</td>
688
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}?{query}</td>
689
+ <td style="padding:15px">Yes</td>
690
+ </tr>
691
+ <tr>
692
+ <td style="padding:15px">patchVcentervmvmhardwareparallelport(vm, port, spec, callback)</td>
693
+ <td style="padding:15px">Updates the configuration of a virtual parallel port.</td>
694
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}?{query}</td>
695
+ <td style="padding:15px">Yes</td>
696
+ </tr>
697
+ <tr>
698
+ <td style="padding:15px">getVcentervmvmhardwareparallelport(vm, port, callback)</td>
699
+ <td style="padding:15px">Returns information about a virtual parallel port.</td>
700
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}?{query}</td>
701
+ <td style="padding:15px">Yes</td>
702
+ </tr>
703
+ <tr>
704
+ <td style="padding:15px">postVcentervmvmhardwareparallelportconnect(vm, port, callback)</td>
705
+ <td style="padding:15px">Connects a virtual parallel port of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
706
+ For a powered-off virtual machine, the Parallel.update operation may be used to configure the virtual parallel port to start in the connected state when the virtual machine is powered on.
707
+ </td>
708
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}/connect?{query}</td>
709
+ <td style="padding:15px">Yes</td>
710
+ </tr>
711
+ <tr>
712
+ <td style="padding:15px">postVcentervmvmhardwareparallelportdisconnect(vm, port, callback)</td>
713
+ <td style="padding:15px">Disconnects a virtual parallel port of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the parallel port is not connected to its backing.
714
+ For a powered-off virtual machine, the Parallel.update operation may be used to configure the virtual parallel port to start in the disconnected state when the virtual machine is powered on.
715
+ </td>
716
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}/disconnect?{query}</td>
717
+ <td style="padding:15px">Yes</td>
718
+ </tr>
719
+ <tr>
720
+ <td style="padding:15px">postVcentervmvmhardwareserial(vm, spec, callback)</td>
721
+ <td style="padding:15px">Adds a virtual serial port to the virtual machine.</td>
722
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial?{query}</td>
723
+ <td style="padding:15px">Yes</td>
724
+ </tr>
725
+ <tr>
726
+ <td style="padding:15px">getVcentervmvmhardwareserial(vm, callback)</td>
727
+ <td style="padding:15px">Returns commonly used information about the virtual serial ports belonging to the virtual machine.</td>
728
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial?{query}</td>
729
+ <td style="padding:15px">Yes</td>
730
+ </tr>
731
+ <tr>
732
+ <td style="padding:15px">patchVcentervmvmhardwareserialport(vm, port, spec, callback)</td>
733
+ <td style="padding:15px">Updates the configuration of a virtual serial port.</td>
734
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}?{query}</td>
735
+ <td style="padding:15px">Yes</td>
736
+ </tr>
737
+ <tr>
738
+ <td style="padding:15px">getVcentervmvmhardwareserialport(vm, port, callback)</td>
739
+ <td style="padding:15px">Returns information about a virtual serial port.</td>
740
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}?{query}</td>
741
+ <td style="padding:15px">Yes</td>
742
+ </tr>
743
+ <tr>
744
+ <td style="padding:15px">deleteVcentervmvmhardwareserialport(vm, port, callback)</td>
745
+ <td style="padding:15px">Removes a virtual serial port from the virtual machine.</td>
746
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}?{query}</td>
747
+ <td style="padding:15px">Yes</td>
748
+ </tr>
749
+ <tr>
750
+ <td style="padding:15px">postVcentervmvmhardwareserialportconnect(vm, port, callback)</td>
751
+ <td style="padding:15px">Connects a virtual serial port of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
752
+ For a powered-off virtual machine, the Serial.update operation may be used to configure the virtual serial port to start in the connected state when the virtual machine is powered on.
753
+ </td>
754
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}/connect?{query}</td>
755
+ <td style="padding:15px">Yes</td>
756
+ </tr>
757
+ <tr>
758
+ <td style="padding:15px">postVcentervmvmhardwareserialportdisconnect(vm, port, callback)</td>
759
+ <td style="padding:15px">Disconnects a virtual serial port of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the serial port is not connected to its backing.
760
+ For a powered-off virtual machine, the Serial.update operation may be used to configure the virtual serial port to start in the disconnected state when the virtual machine is powered on.
761
+ </td>
762
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}/disconnect?{query}</td>
763
+ <td style="padding:15px">Yes</td>
764
+ </tr>
765
+ <tr>
766
+ <td style="padding:15px">getVcentervmvmpower(vm, callback)</td>
767
+ <td style="padding:15px">Returns the power state information of a virtual machine.</td>
768
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power?{query}</td>
769
+ <td style="padding:15px">Yes</td>
770
+ </tr>
771
+ <tr>
772
+ <td style="padding:15px">postVcentervmvmpowerreset(vm, callback)</td>
773
+ <td style="padding:15px">Resets a powered-on virtual machine.</td>
774
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/reset?{query}</td>
775
+ <td style="padding:15px">Yes</td>
776
+ </tr>
777
+ <tr>
778
+ <td style="padding:15px">postVcentervmvmpowerstart(vm, callback)</td>
779
+ <td style="padding:15px">Powers on a powered-off or suspended virtual machine.</td>
780
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/start?{query}</td>
781
+ <td style="padding:15px">Yes</td>
782
+ </tr>
783
+ <tr>
784
+ <td style="padding:15px">postVcentervmvmpowerstop(vm, callback)</td>
785
+ <td style="padding:15px">Powers off a powered-on or suspended virtual machine.</td>
786
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/stop?{query}</td>
787
+ <td style="padding:15px">Yes</td>
788
+ </tr>
789
+ <tr>
790
+ <td style="padding:15px">postVcentervmvmpowersuspend(vm, callback)</td>
791
+ <td style="padding:15px">Suspends a powered-on virtual machine.</td>
792
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/suspend?{query}</td>
793
+ <td style="padding:15px">Yes</td>
794
+ </tr>
795
+ <tr>
796
+ <td style="padding:15px">postVcentervmtemplatedeploy(item, requestBody, callback)</td>
797
+ <td style="padding:15px">Creates a Virtual Machine from the template</td>
798
+ <td style="padding:15px">{base_path}/{version}/vcenter/vm-template/library-items/{pathv1}?{query}</td>
799
+ <td style="padding:15px">Yes</td>
800
+ </tr>
168
801
  </table>
169
802
  <br>