pulumi-vsphere 4.14.0a1745952392__py3-none-any.whl → 4.14.0a1747752163__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 (61) hide show
  1. pulumi_vsphere/compute_cluster.py +11 -13
  2. pulumi_vsphere/compute_cluster_host_group.py +71 -3
  3. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +1 -3
  4. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +5 -3
  5. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +5 -3
  6. pulumi_vsphere/compute_cluster_vm_group.py +5 -3
  7. pulumi_vsphere/compute_cluster_vm_host_rule.py +5 -3
  8. pulumi_vsphere/content_library.py +5 -3
  9. pulumi_vsphere/content_library_item.py +5 -3
  10. pulumi_vsphere/custom_attribute.py +5 -3
  11. pulumi_vsphere/datacenter.py +1 -3
  12. pulumi_vsphere/datastore_cluster.py +89 -3
  13. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +5 -3
  14. pulumi_vsphere/distributed_port_group.py +5 -3
  15. pulumi_vsphere/distributed_virtual_switch.py +5 -3
  16. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +1 -3
  17. pulumi_vsphere/dpm_host_override.py +89 -3
  18. pulumi_vsphere/drs_vm_override.py +5 -3
  19. pulumi_vsphere/entity_permissions.py +1 -3
  20. pulumi_vsphere/file.py +35 -52
  21. pulumi_vsphere/folder.py +17 -15
  22. pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
  23. pulumi_vsphere/get_datastore_cluster.py +1 -1
  24. pulumi_vsphere/get_datastore_stats.py +0 -4
  25. pulumi_vsphere/get_dynamic.py +0 -4
  26. pulumi_vsphere/get_folder.py +130 -8
  27. pulumi_vsphere/get_guest_os_customization.py +21 -2
  28. pulumi_vsphere/get_license.py +8 -6
  29. pulumi_vsphere/get_network.py +35 -1
  30. pulumi_vsphere/get_ovf_vm_template.py +4 -4
  31. pulumi_vsphere/guest_os_customization.py +1 -3
  32. pulumi_vsphere/ha_vm_override.py +5 -3
  33. pulumi_vsphere/host.py +61 -9
  34. pulumi_vsphere/host_port_group.py +1 -3
  35. pulumi_vsphere/host_virtual_switch.py +5 -3
  36. pulumi_vsphere/license.py +67 -29
  37. pulumi_vsphere/nas_datastore.py +63 -3
  38. pulumi_vsphere/offline_software_depot.py +5 -3
  39. pulumi_vsphere/outputs.py +33 -0
  40. pulumi_vsphere/provider.py +21 -3
  41. pulumi_vsphere/pulumi-plugin.json +1 -1
  42. pulumi_vsphere/resource_pool.py +490 -166
  43. pulumi_vsphere/role.py +1 -3
  44. pulumi_vsphere/storage_drs_vm_override.py +5 -3
  45. pulumi_vsphere/supervisor.py +3 -5
  46. pulumi_vsphere/tag.py +5 -3
  47. pulumi_vsphere/tag_category.py +5 -3
  48. pulumi_vsphere/vapp_container.py +5 -3
  49. pulumi_vsphere/vapp_entity.py +5 -3
  50. pulumi_vsphere/virtual_disk.py +5 -3
  51. pulumi_vsphere/virtual_machine.py +5 -7
  52. pulumi_vsphere/virtual_machine_class.py +5 -7
  53. pulumi_vsphere/virtual_machine_snapshot.py +1 -3
  54. pulumi_vsphere/vm_storage_policy.py +1 -3
  55. pulumi_vsphere/vmfs_datastore.py +5 -3
  56. pulumi_vsphere/vnic.py +1 -3
  57. {pulumi_vsphere-4.14.0a1745952392.dist-info → pulumi_vsphere-4.14.0a1747752163.dist-info}/METADATA +3 -3
  58. pulumi_vsphere-4.14.0a1747752163.dist-info/RECORD +87 -0
  59. {pulumi_vsphere-4.14.0a1745952392.dist-info → pulumi_vsphere-4.14.0a1747752163.dist-info}/WHEEL +1 -1
  60. pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +0 -87
  61. {pulumi_vsphere-4.14.0a1745952392.dist-info → pulumi_vsphere-4.14.0a1747752163.dist-info}/top_level.txt +0 -0
pulumi_vsphere/license.py CHANGED
@@ -24,8 +24,10 @@ class LicenseArgs:
24
24
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
25
25
  """
26
26
  The set of arguments for constructing a License resource.
27
- :param pulumi.Input[builtins.str] license_key: The license key to add.
28
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
27
+ :param pulumi.Input[builtins.str] license_key: The license key value.
28
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of labels to be applied to the license key.
29
+
30
+ > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
29
31
  """
30
32
  pulumi.set(__self__, "license_key", license_key)
31
33
  if labels is not None:
@@ -35,7 +37,7 @@ class LicenseArgs:
35
37
  @pulumi.getter(name="licenseKey")
36
38
  def license_key(self) -> pulumi.Input[builtins.str]:
37
39
  """
38
- The license key to add.
40
+ The license key value.
39
41
  """
40
42
  return pulumi.get(self, "license_key")
41
43
 
@@ -47,7 +49,9 @@ class LicenseArgs:
47
49
  @pulumi.getter
48
50
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
49
51
  """
50
- A map of key/value pairs to be attached as labels (tags) to the license key.
52
+ A map of labels to be applied to the license key.
53
+
54
+ > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
51
55
  """
52
56
  return pulumi.get(self, "labels")
53
57
 
@@ -68,11 +72,13 @@ class _LicenseState:
68
72
  """
69
73
  Input properties used for looking up and filtering License resources.
70
74
  :param pulumi.Input[builtins.str] edition_key: The product edition of the license key.
71
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
72
- :param pulumi.Input[builtins.str] license_key: The license key to add.
73
- :param pulumi.Input[builtins.str] name: The display name for the license.
74
- :param pulumi.Input[builtins.int] total: Total number of units (example: CPUs) contained in the license.
75
- :param pulumi.Input[builtins.int] used: The number of units (example: CPUs) assigned to this license.
75
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of labels to be applied to the license key.
76
+
77
+ > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
78
+ :param pulumi.Input[builtins.str] license_key: The license key value.
79
+ :param pulumi.Input[builtins.str] name: The display name for the license key.
80
+ :param pulumi.Input[builtins.int] total: The total number of units contained in the license key.
81
+ :param pulumi.Input[builtins.int] used: The number of units assigned to this license key.
76
82
  """
77
83
  if edition_key is not None:
78
84
  pulumi.set(__self__, "edition_key", edition_key)
@@ -103,7 +109,9 @@ class _LicenseState:
103
109
  @pulumi.getter
104
110
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
105
111
  """
106
- A map of key/value pairs to be attached as labels (tags) to the license key.
112
+ A map of labels to be applied to the license key.
113
+
114
+ > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
107
115
  """
108
116
  return pulumi.get(self, "labels")
109
117
 
@@ -115,7 +123,7 @@ class _LicenseState:
115
123
  @pulumi.getter(name="licenseKey")
116
124
  def license_key(self) -> Optional[pulumi.Input[builtins.str]]:
117
125
  """
118
- The license key to add.
126
+ The license key value.
119
127
  """
120
128
  return pulumi.get(self, "license_key")
121
129
 
@@ -127,7 +135,7 @@ class _LicenseState:
127
135
  @pulumi.getter
128
136
  def name(self) -> Optional[pulumi.Input[builtins.str]]:
129
137
  """
130
- The display name for the license.
138
+ The display name for the license key.
131
139
  """
132
140
  return pulumi.get(self, "name")
133
141
 
@@ -139,7 +147,7 @@ class _LicenseState:
139
147
  @pulumi.getter
140
148
  def total(self) -> Optional[pulumi.Input[builtins.int]]:
141
149
  """
142
- Total number of units (example: CPUs) contained in the license.
150
+ The total number of units contained in the license key.
143
151
  """
144
152
  return pulumi.get(self, "total")
145
153
 
@@ -151,7 +159,7 @@ class _LicenseState:
151
159
  @pulumi.getter
152
160
  def used(self) -> Optional[pulumi.Input[builtins.int]]:
153
161
  """
154
- The number of units (example: CPUs) assigned to this license.
162
+ The number of units assigned to this license key.
155
163
  """
156
164
  return pulumi.get(self, "used")
157
165
 
@@ -160,10 +168,8 @@ class _LicenseState:
160
168
  pulumi.set(self, "used", value)
161
169
 
162
170
 
171
+ @pulumi.type_token("vsphere:index/license:License")
163
172
  class License(pulumi.CustomResource):
164
-
165
- pulumi_type = "vsphere:index/license:License"
166
-
167
173
  @overload
168
174
  def __init__(__self__,
169
175
  resource_name: str,
@@ -174,10 +180,25 @@ class License(pulumi.CustomResource):
174
180
  """
175
181
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
176
182
 
183
+ ## Example Usage
184
+
185
+ ```python
186
+ import pulumi
187
+ import pulumi_vsphere as vsphere
188
+
189
+ license_key = vsphere.License("licenseKey",
190
+ license_key="00000-00000-00000-00000-00000",
191
+ labels={
192
+ "VpxClientLicenseLabel": "example",
193
+ })
194
+ ```
195
+
177
196
  :param str resource_name: The name of the resource.
178
197
  :param pulumi.ResourceOptions opts: Options for the resource.
179
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
180
- :param pulumi.Input[builtins.str] license_key: The license key to add.
198
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of labels to be applied to the license key.
199
+
200
+ > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
201
+ :param pulumi.Input[builtins.str] license_key: The license key value.
181
202
  """
182
203
  ...
183
204
  @overload
@@ -188,6 +209,19 @@ class License(pulumi.CustomResource):
188
209
  """
189
210
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
190
211
 
212
+ ## Example Usage
213
+
214
+ ```python
215
+ import pulumi
216
+ import pulumi_vsphere as vsphere
217
+
218
+ license_key = vsphere.License("licenseKey",
219
+ license_key="00000-00000-00000-00000-00000",
220
+ labels={
221
+ "VpxClientLicenseLabel": "example",
222
+ })
223
+ ```
224
+
191
225
  :param str resource_name: The name of the resource.
192
226
  :param LicenseArgs args: The arguments to use to populate this resource's properties.
193
227
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -246,11 +280,13 @@ class License(pulumi.CustomResource):
246
280
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
247
281
  :param pulumi.ResourceOptions opts: Options for the resource.
248
282
  :param pulumi.Input[builtins.str] edition_key: The product edition of the license key.
249
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of key/value pairs to be attached as labels (tags) to the license key.
250
- :param pulumi.Input[builtins.str] license_key: The license key to add.
251
- :param pulumi.Input[builtins.str] name: The display name for the license.
252
- :param pulumi.Input[builtins.int] total: Total number of units (example: CPUs) contained in the license.
253
- :param pulumi.Input[builtins.int] used: The number of units (example: CPUs) assigned to this license.
283
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of labels to be applied to the license key.
284
+
285
+ > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
286
+ :param pulumi.Input[builtins.str] license_key: The license key value.
287
+ :param pulumi.Input[builtins.str] name: The display name for the license key.
288
+ :param pulumi.Input[builtins.int] total: The total number of units contained in the license key.
289
+ :param pulumi.Input[builtins.int] used: The number of units assigned to this license key.
254
290
  """
255
291
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
256
292
 
@@ -276,7 +312,9 @@ class License(pulumi.CustomResource):
276
312
  @pulumi.getter
277
313
  def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
278
314
  """
279
- A map of key/value pairs to be attached as labels (tags) to the license key.
315
+ A map of labels to be applied to the license key.
316
+
317
+ > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
280
318
  """
281
319
  return pulumi.get(self, "labels")
282
320
 
@@ -284,7 +322,7 @@ class License(pulumi.CustomResource):
284
322
  @pulumi.getter(name="licenseKey")
285
323
  def license_key(self) -> pulumi.Output[builtins.str]:
286
324
  """
287
- The license key to add.
325
+ The license key value.
288
326
  """
289
327
  return pulumi.get(self, "license_key")
290
328
 
@@ -292,7 +330,7 @@ class License(pulumi.CustomResource):
292
330
  @pulumi.getter
293
331
  def name(self) -> pulumi.Output[builtins.str]:
294
332
  """
295
- The display name for the license.
333
+ The display name for the license key.
296
334
  """
297
335
  return pulumi.get(self, "name")
298
336
 
@@ -300,7 +338,7 @@ class License(pulumi.CustomResource):
300
338
  @pulumi.getter
301
339
  def total(self) -> pulumi.Output[builtins.int]:
302
340
  """
303
- Total number of units (example: CPUs) contained in the license.
341
+ The total number of units contained in the license key.
304
342
  """
305
343
  return pulumi.get(self, "total")
306
344
 
@@ -308,7 +346,7 @@ class License(pulumi.CustomResource):
308
346
  @pulumi.getter
309
347
  def used(self) -> pulumi.Output[builtins.int]:
310
348
  """
311
- The number of units (example: CPUs) assigned to this license.
349
+ The number of units assigned to this license key.
312
350
  """
313
351
  return pulumi.get(self, "used")
314
352
 
@@ -626,10 +626,8 @@ class _NasDatastoreState:
626
626
  pulumi.set(self, "url", value)
627
627
 
628
628
 
629
+ @pulumi.type_token("vsphere:index/nasDatastore:NasDatastore")
629
630
  class NasDatastore(pulumi.CustomResource):
630
-
631
- pulumi_type = "vsphere:index/nasDatastore:NasDatastore"
632
-
633
631
  @overload
634
632
  def __init__(__self__,
635
633
  resource_name: str,
@@ -656,12 +654,43 @@ class NasDatastore(pulumi.CustomResource):
656
654
  multiple hosts, you must specify each host that you want to add in the
657
655
  `host_system_ids` argument.
658
656
 
657
+ ## Example Usage
658
+
659
+ The following example would set up a NFS v3 share on 3 hosts connected through
660
+ vCenter in the same datacenter - `esxi1`, `esxi2`, and `esxi3`. The remote host
661
+ is named `nfs` and has `/export/test` exported.
662
+
663
+ ```python
664
+ import pulumi
665
+ import pulumi_vsphere as vsphere
666
+
667
+ config = pulumi.Config()
668
+ hosts = config.get_object("hosts")
669
+ if hosts is None:
670
+ hosts = [
671
+ "esxi-01.example.com",
672
+ "esxi-02.example.com",
673
+ "esxi-03.example.com",
674
+ ]
675
+ datacenter = vsphere.get_datacenter(name="dc-01")
676
+ hosts_get_host = [vsphere.get_host(name=hosts[__index],
677
+ datacenter_id=datacenter.id) for __index in range(len(hosts))]
678
+ datastore = vsphere.NasDatastore("datastore",
679
+ name="test",
680
+ host_system_ids=[[__item["id"] for __item in esxi_hosts]],
681
+ type="NFS",
682
+ remote_hosts=["nfs"],
683
+ remote_path="/export/test")
684
+ ```
685
+
659
686
  ## Import
660
687
 
661
688
  An existing NAS datastore can be imported into this resource via
662
689
 
663
690
  its managed object ID, via the following command:
664
691
 
692
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
693
+
665
694
  ```sh
666
695
  $ pulumi import vsphere:index/nasDatastore:NasDatastore datastore datastore-123
667
696
  ```
@@ -735,12 +764,43 @@ class NasDatastore(pulumi.CustomResource):
735
764
  multiple hosts, you must specify each host that you want to add in the
736
765
  `host_system_ids` argument.
737
766
 
767
+ ## Example Usage
768
+
769
+ The following example would set up a NFS v3 share on 3 hosts connected through
770
+ vCenter in the same datacenter - `esxi1`, `esxi2`, and `esxi3`. The remote host
771
+ is named `nfs` and has `/export/test` exported.
772
+
773
+ ```python
774
+ import pulumi
775
+ import pulumi_vsphere as vsphere
776
+
777
+ config = pulumi.Config()
778
+ hosts = config.get_object("hosts")
779
+ if hosts is None:
780
+ hosts = [
781
+ "esxi-01.example.com",
782
+ "esxi-02.example.com",
783
+ "esxi-03.example.com",
784
+ ]
785
+ datacenter = vsphere.get_datacenter(name="dc-01")
786
+ hosts_get_host = [vsphere.get_host(name=hosts[__index],
787
+ datacenter_id=datacenter.id) for __index in range(len(hosts))]
788
+ datastore = vsphere.NasDatastore("datastore",
789
+ name="test",
790
+ host_system_ids=[[__item["id"] for __item in esxi_hosts]],
791
+ type="NFS",
792
+ remote_hosts=["nfs"],
793
+ remote_path="/export/test")
794
+ ```
795
+
738
796
  ## Import
739
797
 
740
798
  An existing NAS datastore can be imported into this resource via
741
799
 
742
800
  its managed object ID, via the following command:
743
801
 
802
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
803
+
744
804
  ```sh
745
805
  $ pulumi import vsphere:index/nasDatastore:NasDatastore datastore datastore-123
746
806
  ```
@@ -82,10 +82,8 @@ class _OfflineSoftwareDepotState:
82
82
  pulumi.set(self, "location", value)
83
83
 
84
84
 
85
+ @pulumi.type_token("vsphere:index/offlineSoftwareDepot:OfflineSoftwareDepot")
85
86
  class OfflineSoftwareDepot(pulumi.CustomResource):
86
-
87
- pulumi_type = "vsphere:index/offlineSoftwareDepot:OfflineSoftwareDepot"
88
-
89
87
  @overload
90
88
  def __init__(__self__,
91
89
  resource_name: str,
@@ -97,6 +95,8 @@ class OfflineSoftwareDepot(pulumi.CustomResource):
97
95
 
98
96
  ## Example Usage
99
97
 
98
+ ### S
99
+
100
100
  :param str resource_name: The name of the resource.
101
101
  :param pulumi.ResourceOptions opts: Options for the resource.
102
102
  :param pulumi.Input[builtins.str] location: The URL where the depot source is hosted.
@@ -112,6 +112,8 @@ class OfflineSoftwareDepot(pulumi.CustomResource):
112
112
 
113
113
  ## Example Usage
114
114
 
115
+ ### S
116
+
115
117
  :param str resource_name: The name of the resource.
116
118
  :param OfflineSoftwareDepotArgs args: The arguments to use to populate this resource's properties.
117
119
  :param pulumi.ResourceOptions opts: Options for the resource.
pulumi_vsphere/outputs.py CHANGED
@@ -3674,7 +3674,10 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
3674
3674
  computer_name: builtins.str,
3675
3675
  domain_admin_user: builtins.str,
3676
3676
  domain_ou: builtins.str,
3677
+ full_name: builtins.str,
3677
3678
  join_domain: builtins.str,
3679
+ organization_name: builtins.str,
3680
+ product_key: builtins.str,
3678
3681
  run_once_command_lists: Sequence[builtins.str],
3679
3682
  time_zone: builtins.int,
3680
3683
  workgroup: builtins.str,
@@ -3686,7 +3689,10 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
3686
3689
  :param builtins.str computer_name: The hostname for this virtual machine.
3687
3690
  :param builtins.str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
3688
3691
  :param builtins.str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
3692
+ :param builtins.str full_name: The full name of the user of this virtual machine.
3689
3693
  :param builtins.str join_domain: The Active Directory domain for the virtual machine to join.
3694
+ :param builtins.str organization_name: The organization name this virtual machine is being installed for.
3695
+ :param builtins.str product_key: The product key for this virtual machine.
3690
3696
  :param Sequence[builtins.str] run_once_command_lists: A list of commands to run at first user logon, after guest customization.
3691
3697
  :param builtins.int time_zone: The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
3692
3698
  :param builtins.str workgroup: The workgroup for this virtual machine if not joining an Active Directory domain.
@@ -3698,7 +3704,10 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
3698
3704
  pulumi.set(__self__, "computer_name", computer_name)
3699
3705
  pulumi.set(__self__, "domain_admin_user", domain_admin_user)
3700
3706
  pulumi.set(__self__, "domain_ou", domain_ou)
3707
+ pulumi.set(__self__, "full_name", full_name)
3701
3708
  pulumi.set(__self__, "join_domain", join_domain)
3709
+ pulumi.set(__self__, "organization_name", organization_name)
3710
+ pulumi.set(__self__, "product_key", product_key)
3702
3711
  pulumi.set(__self__, "run_once_command_lists", run_once_command_lists)
3703
3712
  pulumi.set(__self__, "time_zone", time_zone)
3704
3713
  pulumi.set(__self__, "workgroup", workgroup)
@@ -3753,6 +3762,14 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
3753
3762
  """
3754
3763
  return pulumi.get(self, "domain_ou")
3755
3764
 
3765
+ @property
3766
+ @pulumi.getter(name="fullName")
3767
+ def full_name(self) -> builtins.str:
3768
+ """
3769
+ The full name of the user of this virtual machine.
3770
+ """
3771
+ return pulumi.get(self, "full_name")
3772
+
3756
3773
  @property
3757
3774
  @pulumi.getter(name="joinDomain")
3758
3775
  def join_domain(self) -> builtins.str:
@@ -3761,6 +3778,22 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
3761
3778
  """
3762
3779
  return pulumi.get(self, "join_domain")
3763
3780
 
3781
+ @property
3782
+ @pulumi.getter(name="organizationName")
3783
+ def organization_name(self) -> builtins.str:
3784
+ """
3785
+ The organization name this virtual machine is being installed for.
3786
+ """
3787
+ return pulumi.get(self, "organization_name")
3788
+
3789
+ @property
3790
+ @pulumi.getter(name="productKey")
3791
+ def product_key(self) -> builtins.str:
3792
+ """
3793
+ The product key for this virtual machine.
3794
+ """
3795
+ return pulumi.get(self, "product_key")
3796
+
3764
3797
  @property
3765
3798
  @pulumi.getter(name="runOnceCommandLists")
3766
3799
  def run_once_command_lists(self) -> Sequence[builtins.str]:
@@ -247,10 +247,8 @@ class ProviderArgs:
247
247
  pulumi.set(self, "vsphere_server", value)
248
248
 
249
249
 
250
+ @pulumi.type_token("pulumi:providers:vsphere")
250
251
  class Provider(pulumi.ProviderResource):
251
-
252
- pulumi_type = "pulumi:providers:vsphere"
253
-
254
252
  @overload
255
253
  def __init__(__self__,
256
254
  resource_name: str,
@@ -440,3 +438,23 @@ class Provider(pulumi.ProviderResource):
440
438
  """
441
439
  return pulumi.get(self, "vsphere_server")
442
440
 
441
+ @pulumi.output_type
442
+ class TerraformConfigResult:
443
+ def __init__(__self__, result=None):
444
+ if result and not isinstance(result, dict):
445
+ raise TypeError("Expected argument 'result' to be a dict")
446
+ pulumi.set(__self__, "result", result)
447
+
448
+ @property
449
+ @pulumi.getter
450
+ def result(self) -> Mapping[str, Any]:
451
+ return pulumi.get(self, "result")
452
+
453
+ def terraform_config(__self__) -> pulumi.Output['Provider.TerraformConfigResult']:
454
+ """
455
+ This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
456
+ """
457
+ __args__ = dict()
458
+ __args__['__self__'] = __self__
459
+ return pulumi.runtime.call('pulumi:providers:vsphere/terraformConfig', __args__, res=__self__, typ=Provider.TerraformConfigResult)
460
+
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "vsphere",
4
- "version": "4.14.0-alpha.1745952392"
4
+ "version": "4.14.0-alpha.1747752163"
5
5
  }