pulumi-vsphere 4.11.0__py3-none-any.whl → 4.11.0a1710920591__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 (65) hide show
  1. pulumi_vsphere/__init__.py +0 -28
  2. pulumi_vsphere/_inputs.py +236 -646
  3. pulumi_vsphere/_utilities.py +4 -40
  4. pulumi_vsphere/compute_cluster.py +1486 -756
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +34 -42
  6. pulumi_vsphere/content_library.py +10 -10
  7. pulumi_vsphere/datacenter.py +40 -33
  8. pulumi_vsphere/datastore_cluster.py +364 -154
  9. pulumi_vsphere/distributed_port_group.py +187 -131
  10. pulumi_vsphere/distributed_virtual_switch.py +828 -310
  11. pulumi_vsphere/entity_permissions.py +38 -59
  12. pulumi_vsphere/file.py +24 -16
  13. pulumi_vsphere/folder.py +28 -7
  14. pulumi_vsphere/get_compute_cluster.py +4 -0
  15. pulumi_vsphere/get_compute_cluster_host_group.py +20 -20
  16. pulumi_vsphere/get_content_library.py +10 -10
  17. pulumi_vsphere/get_content_library_item.py +8 -12
  18. pulumi_vsphere/get_custom_attribute.py +4 -0
  19. pulumi_vsphere/get_datacenter.py +4 -0
  20. pulumi_vsphere/get_datastore.py +16 -12
  21. pulumi_vsphere/get_datastore_cluster.py +4 -0
  22. pulumi_vsphere/get_datastore_stats.py +52 -46
  23. pulumi_vsphere/get_distributed_virtual_switch.py +4 -2
  24. pulumi_vsphere/get_dynamic.py +20 -18
  25. pulumi_vsphere/get_folder.py +6 -10
  26. pulumi_vsphere/get_guest_os_customization.py +47 -8
  27. pulumi_vsphere/get_host.py +4 -0
  28. pulumi_vsphere/get_host_pci_device.py +14 -8
  29. pulumi_vsphere/get_host_thumbprint.py +16 -12
  30. pulumi_vsphere/get_host_vgpu_profile.py +10 -4
  31. pulumi_vsphere/get_license.py +5 -2
  32. pulumi_vsphere/get_network.py +18 -14
  33. pulumi_vsphere/get_policy.py +4 -0
  34. pulumi_vsphere/get_resource_pool.py +18 -14
  35. pulumi_vsphere/get_role.py +8 -4
  36. pulumi_vsphere/get_tag.py +4 -0
  37. pulumi_vsphere/get_tag_category.py +4 -0
  38. pulumi_vsphere/get_vapp_container.py +4 -0
  39. pulumi_vsphere/get_virtual_machine.py +43 -60
  40. pulumi_vsphere/get_vmfs_disks.py +4 -0
  41. pulumi_vsphere/guest_os_customization.py +5 -55
  42. pulumi_vsphere/ha_vm_override.py +378 -189
  43. pulumi_vsphere/host.py +60 -49
  44. pulumi_vsphere/host_port_group.py +26 -14
  45. pulumi_vsphere/host_virtual_switch.py +287 -140
  46. pulumi_vsphere/license.py +32 -0
  47. pulumi_vsphere/nas_datastore.py +7 -7
  48. pulumi_vsphere/outputs.py +270 -672
  49. pulumi_vsphere/provider.py +6 -2
  50. pulumi_vsphere/pulumi-plugin.json +1 -2
  51. pulumi_vsphere/resource_pool.py +24 -50
  52. pulumi_vsphere/virtual_disk.py +34 -42
  53. pulumi_vsphere/virtual_machine.py +827 -598
  54. pulumi_vsphere/virtual_machine_snapshot.py +12 -8
  55. pulumi_vsphere/vm_storage_policy.py +127 -115
  56. pulumi_vsphere/vnic.py +105 -89
  57. {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/METADATA +1 -1
  58. pulumi_vsphere-4.11.0a1710920591.dist-info/RECORD +82 -0
  59. {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/WHEEL +1 -1
  60. pulumi_vsphere/get_host_base_images.py +0 -97
  61. pulumi_vsphere/offline_software_depot.py +0 -180
  62. pulumi_vsphere/supervisor.py +0 -962
  63. pulumi_vsphere/virtual_machine_class.py +0 -442
  64. pulumi_vsphere-4.11.0.dist-info/RECORD +0 -86
  65. {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/top_level.txt +0 -0
pulumi_vsphere/license.py CHANGED
@@ -165,6 +165,22 @@ class License(pulumi.CustomResource):
165
165
  """
166
166
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
167
167
 
168
+ ## Example Usage
169
+
170
+ <!--Start PulumiCodeChooser -->
171
+ ```python
172
+ import pulumi
173
+ import pulumi_vsphere as vsphere
174
+
175
+ license_key = vsphere.License("licenseKey",
176
+ labels={
177
+ "VpxClientLicenseLabel": "Hello World",
178
+ "Workflow": "Hello World",
179
+ },
180
+ license_key="452CQ-2EK54-K8742-00000-00000")
181
+ ```
182
+ <!--End PulumiCodeChooser -->
183
+
168
184
  :param str resource_name: The name of the resource.
169
185
  :param pulumi.ResourceOptions opts: Options for the resource.
170
186
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
@@ -179,6 +195,22 @@ class License(pulumi.CustomResource):
179
195
  """
180
196
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
181
197
 
198
+ ## Example Usage
199
+
200
+ <!--Start PulumiCodeChooser -->
201
+ ```python
202
+ import pulumi
203
+ import pulumi_vsphere as vsphere
204
+
205
+ license_key = vsphere.License("licenseKey",
206
+ labels={
207
+ "VpxClientLicenseLabel": "Hello World",
208
+ "Workflow": "Hello World",
209
+ },
210
+ license_key="452CQ-2EK54-K8742-00000-00000")
211
+ ```
212
+ <!--End PulumiCodeChooser -->
213
+
182
214
  :param str resource_name: The name of the resource.
183
215
  :param LicenseArgs args: The arguments to use to populate this resource's properties.
184
216
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -30,7 +30,7 @@ class NasDatastoreArgs:
30
30
  :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
31
31
  the hosts to mount the datastore on.
32
32
  :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
33
- servers. Only one element should be present for NFS v3 but multiple
33
+ server or servers. Only one element should be present for NFS v3 but multiple
34
34
  can be present for NFS v4.1. Forces a new resource if changed.
35
35
  :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
36
36
  resource if changed.
@@ -104,7 +104,7 @@ class NasDatastoreArgs:
104
104
  def remote_hosts(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
105
105
  """
106
106
  The hostnames or IP addresses of the remote
107
- servers. Only one element should be present for NFS v3 but multiple
107
+ server or servers. Only one element should be present for NFS v3 but multiple
108
108
  can be present for NFS v4.1. Forces a new resource if changed.
109
109
  """
110
110
  return pulumi.get(self, "remote_hosts")
@@ -303,7 +303,7 @@ class _NasDatastoreState:
303
303
  :param pulumi.Input[bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
304
304
  This field is only populated if the host supports virtual datastores.
305
305
  :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
306
- servers. Only one element should be present for NFS v3 but multiple
306
+ server or servers. Only one element should be present for NFS v3 but multiple
307
307
  can be present for NFS v4.1. Forces a new resource if changed.
308
308
  :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
309
309
  resource if changed.
@@ -529,7 +529,7 @@ class _NasDatastoreState:
529
529
  def remote_hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
530
530
  """
531
531
  The hostnames or IP addresses of the remote
532
- servers. Only one element should be present for NFS v3 but multiple
532
+ server or servers. Only one element should be present for NFS v3 but multiple
533
533
  can be present for NFS v4.1. Forces a new resource if changed.
534
534
  """
535
535
  return pulumi.get(self, "remote_hosts")
@@ -665,7 +665,7 @@ class NasDatastore(pulumi.CustomResource):
665
665
  :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
666
666
  changed.
667
667
  :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
668
- servers. Only one element should be present for NFS v3 but multiple
668
+ server or servers. Only one element should be present for NFS v3 but multiple
669
669
  can be present for NFS v4.1. Forces a new resource if changed.
670
670
  :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
671
671
  resource if changed.
@@ -817,7 +817,7 @@ class NasDatastore(pulumi.CustomResource):
817
817
  :param pulumi.Input[bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
818
818
  This field is only populated if the host supports virtual datastores.
819
819
  :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
820
- servers. Only one element should be present for NFS v3 but multiple
820
+ server or servers. Only one element should be present for NFS v3 but multiple
821
821
  can be present for NFS v4.1. Forces a new resource if changed.
822
822
  :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
823
823
  resource if changed.
@@ -981,7 +981,7 @@ class NasDatastore(pulumi.CustomResource):
981
981
  def remote_hosts(self) -> pulumi.Output[Sequence[str]]:
982
982
  """
983
983
  The hostnames or IP addresses of the remote
984
- servers. Only one element should be present for NFS v3 but multiple
984
+ server or servers. Only one element should be present for NFS v3 but multiple
985
985
  can be present for NFS v4.1. Forces a new resource if changed.
986
986
  """
987
987
  return pulumi.get(self, "remote_hosts")