pulumi-vsphere 4.11.0a1713561492__py3-none-any.whl → 4.11.0a1714114315__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-vsphere might be problematic. Click here for more details.

Files changed (50) hide show
  1. pulumi_vsphere/_inputs.py +96 -232
  2. pulumi_vsphere/compute_cluster.py +700 -1477
  3. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -8
  4. pulumi_vsphere/datacenter.py +0 -8
  5. pulumi_vsphere/datastore_cluster.py +154 -350
  6. pulumi_vsphere/distributed_port_group.py +70 -175
  7. pulumi_vsphere/distributed_virtual_switch.py +308 -798
  8. pulumi_vsphere/file.py +0 -8
  9. pulumi_vsphere/get_compute_cluster.py +0 -4
  10. pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
  11. pulumi_vsphere/get_content_library.py +0 -4
  12. pulumi_vsphere/get_custom_attribute.py +0 -4
  13. pulumi_vsphere/get_datacenter.py +0 -4
  14. pulumi_vsphere/get_datastore.py +0 -4
  15. pulumi_vsphere/get_datastore_cluster.py +0 -4
  16. pulumi_vsphere/get_datastore_stats.py +0 -8
  17. pulumi_vsphere/get_distributed_virtual_switch.py +0 -4
  18. pulumi_vsphere/get_dynamic.py +0 -4
  19. pulumi_vsphere/get_folder.py +0 -4
  20. pulumi_vsphere/get_guest_os_customization.py +0 -4
  21. pulumi_vsphere/get_host.py +0 -4
  22. pulumi_vsphere/get_host_pci_device.py +4 -12
  23. pulumi_vsphere/get_host_thumbprint.py +0 -4
  24. pulumi_vsphere/get_host_vgpu_profile.py +0 -8
  25. pulumi_vsphere/get_license.py +0 -4
  26. pulumi_vsphere/get_network.py +0 -4
  27. pulumi_vsphere/get_policy.py +0 -4
  28. pulumi_vsphere/get_resource_pool.py +0 -8
  29. pulumi_vsphere/get_role.py +0 -4
  30. pulumi_vsphere/get_tag.py +0 -4
  31. pulumi_vsphere/get_tag_category.py +0 -4
  32. pulumi_vsphere/get_vapp_container.py +0 -4
  33. pulumi_vsphere/get_virtual_machine.py +0 -8
  34. pulumi_vsphere/get_vmfs_disks.py +0 -4
  35. pulumi_vsphere/guest_os_customization.py +0 -4
  36. pulumi_vsphere/ha_vm_override.py +189 -378
  37. pulumi_vsphere/host.py +0 -8
  38. pulumi_vsphere/host_port_group.py +0 -8
  39. pulumi_vsphere/host_virtual_switch.py +140 -287
  40. pulumi_vsphere/outputs.py +96 -232
  41. pulumi_vsphere/resource_pool.py +0 -12
  42. pulumi_vsphere/virtual_machine.py +599 -739
  43. pulumi_vsphere/virtual_machine_snapshot.py +0 -4
  44. pulumi_vsphere/vm_storage_policy.py +0 -12
  45. pulumi_vsphere/vnic.py +0 -8
  46. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/METADATA +1 -1
  47. pulumi_vsphere-4.11.0a1714114315.dist-info/RECORD +82 -0
  48. pulumi_vsphere-4.11.0a1713561492.dist-info/RECORD +0 -82
  49. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/WHEEL +0 -0
  50. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/top_level.txt +0 -0
@@ -260,7 +260,6 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
260
260
  then creates an affinity rule for these two virtual machines, ensuring they
261
261
  will run on the same host whenever possible.
262
262
 
263
- <!--Start PulumiCodeChooser -->
264
263
  ```python
265
264
  import pulumi
266
265
  import pulumi_vsphere as vsphere
@@ -293,13 +292,11 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
293
292
  compute_cluster_id=cluster.id,
294
293
  virtual_machine_ids=[v.id for k, v in vm])
295
294
  ```
296
- <!--End PulumiCodeChooser -->
297
295
 
298
296
  The following example creates an affinity rule for a set of virtual machines
299
297
  in the cluster by looking up the virtual machine UUIDs from the
300
298
  `VirtualMachine` data source.
301
299
 
302
- <!--Start PulumiCodeChooser -->
303
300
  ```python
304
301
  import pulumi
305
302
  import pulumi_vsphere as vsphere
@@ -319,7 +316,6 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
319
316
  compute_cluster_id=cluster.id,
320
317
  virtual_machine_ids=[__item.id for __item in vms_get_virtual_machine])
321
318
  ```
322
- <!--End PulumiCodeChooser -->
323
319
 
324
320
  ## Importing
325
321
 
@@ -382,7 +378,6 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
382
378
  then creates an affinity rule for these two virtual machines, ensuring they
383
379
  will run on the same host whenever possible.
384
380
 
385
- <!--Start PulumiCodeChooser -->
386
381
  ```python
387
382
  import pulumi
388
383
  import pulumi_vsphere as vsphere
@@ -415,13 +410,11 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
415
410
  compute_cluster_id=cluster.id,
416
411
  virtual_machine_ids=[v.id for k, v in vm])
417
412
  ```
418
- <!--End PulumiCodeChooser -->
419
413
 
420
414
  The following example creates an affinity rule for a set of virtual machines
421
415
  in the cluster by looking up the virtual machine UUIDs from the
422
416
  `VirtualMachine` data source.
423
417
 
424
- <!--Start PulumiCodeChooser -->
425
418
  ```python
426
419
  import pulumi
427
420
  import pulumi_vsphere as vsphere
@@ -441,7 +434,6 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
441
434
  compute_cluster_id=cluster.id,
442
435
  virtual_machine_ids=[__item.id for __item in vms_get_virtual_machine])
443
436
  ```
444
- <!--End PulumiCodeChooser -->
445
437
 
446
438
  ## Importing
447
439
 
@@ -241,18 +241,15 @@ class Datacenter(pulumi.CustomResource):
241
241
 
242
242
  ### Create datacenter on the root folder
243
243
 
244
- <!--Start PulumiCodeChooser -->
245
244
  ```python
246
245
  import pulumi
247
246
  import pulumi_vsphere as vsphere
248
247
 
249
248
  prod_datacenter = vsphere.Datacenter("prod_datacenter", name="my_prod_datacenter")
250
249
  ```
251
- <!--End PulumiCodeChooser -->
252
250
 
253
251
  ### Create datacenter on a subfolder
254
252
 
255
- <!--Start PulumiCodeChooser -->
256
253
  ```python
257
254
  import pulumi
258
255
  import pulumi_vsphere as vsphere
@@ -261,7 +258,6 @@ class Datacenter(pulumi.CustomResource):
261
258
  name="my_research_datacenter",
262
259
  folder="/research/")
263
260
  ```
264
- <!--End PulumiCodeChooser -->
265
261
 
266
262
  ## Importing
267
263
 
@@ -306,18 +302,15 @@ class Datacenter(pulumi.CustomResource):
306
302
 
307
303
  ### Create datacenter on the root folder
308
304
 
309
- <!--Start PulumiCodeChooser -->
310
305
  ```python
311
306
  import pulumi
312
307
  import pulumi_vsphere as vsphere
313
308
 
314
309
  prod_datacenter = vsphere.Datacenter("prod_datacenter", name="my_prod_datacenter")
315
310
  ```
316
- <!--End PulumiCodeChooser -->
317
311
 
318
312
  ### Create datacenter on a subfolder
319
313
 
320
- <!--Start PulumiCodeChooser -->
321
314
  ```python
322
315
  import pulumi
323
316
  import pulumi_vsphere as vsphere
@@ -326,7 +319,6 @@ class Datacenter(pulumi.CustomResource):
326
319
  name="my_research_datacenter",
327
320
  folder="/research/")
328
321
  ```
329
- <!--End PulumiCodeChooser -->
330
322
 
331
323
  ## Importing
332
324