pulumi-vsphere 4.14.0a1741243116__py3-none-any.whl → 4.14.0a1745952392__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 (86) hide show
  1. pulumi_vsphere/__init__.py +1 -0
  2. pulumi_vsphere/_inputs.py +969 -968
  3. pulumi_vsphere/compute_cluster.py +921 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +46 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +46 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
  10. pulumi_vsphere/config/__init__.py +1 -0
  11. pulumi_vsphere/config/__init__.pyi +1 -0
  12. pulumi_vsphere/config/vars.py +1 -0
  13. pulumi_vsphere/content_library.py +46 -42
  14. pulumi_vsphere/content_library_item.py +88 -84
  15. pulumi_vsphere/custom_attribute.py +32 -28
  16. pulumi_vsphere/datacenter.py +67 -63
  17. pulumi_vsphere/datastore_cluster.py +354 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
  19. pulumi_vsphere/distributed_port_group.py +648 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
  22. pulumi_vsphere/dpm_host_override.py +60 -56
  23. pulumi_vsphere/drs_vm_override.py +60 -56
  24. pulumi_vsphere/entity_permissions.py +32 -28
  25. pulumi_vsphere/file.py +98 -94
  26. pulumi_vsphere/folder.py +74 -70
  27. pulumi_vsphere/get_compute_cluster.py +13 -12
  28. pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
  29. pulumi_vsphere/get_content_library.py +7 -6
  30. pulumi_vsphere/get_content_library_item.py +17 -16
  31. pulumi_vsphere/get_custom_attribute.py +8 -7
  32. pulumi_vsphere/get_datacenter.py +8 -7
  33. pulumi_vsphere/get_datastore.py +17 -16
  34. pulumi_vsphere/get_datastore_cluster.py +13 -12
  35. pulumi_vsphere/get_datastore_stats.py +17 -16
  36. pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
  37. pulumi_vsphere/get_dynamic.py +17 -16
  38. pulumi_vsphere/get_folder.py +7 -6
  39. pulumi_vsphere/get_guest_os_customization.py +11 -10
  40. pulumi_vsphere/get_host.py +13 -12
  41. pulumi_vsphere/get_host_base_images.py +3 -2
  42. pulumi_vsphere/get_host_pci_device.py +23 -22
  43. pulumi_vsphere/get_host_thumbprint.py +17 -16
  44. pulumi_vsphere/get_host_vgpu_profile.py +12 -11
  45. pulumi_vsphere/get_license.py +12 -11
  46. pulumi_vsphere/get_network.py +18 -17
  47. pulumi_vsphere/get_ovf_vm_template.py +89 -88
  48. pulumi_vsphere/get_policy.py +7 -6
  49. pulumi_vsphere/get_resource_pool.py +12 -11
  50. pulumi_vsphere/get_role.py +20 -19
  51. pulumi_vsphere/get_tag.py +13 -12
  52. pulumi_vsphere/get_tag_category.py +10 -9
  53. pulumi_vsphere/get_vapp_container.py +12 -11
  54. pulumi_vsphere/get_virtual_machine.py +204 -203
  55. pulumi_vsphere/get_vmfs_disks.py +18 -17
  56. pulumi_vsphere/guest_os_customization.py +60 -56
  57. pulumi_vsphere/ha_vm_override.py +214 -210
  58. pulumi_vsphere/host.py +200 -196
  59. pulumi_vsphere/host_port_group.py +256 -252
  60. pulumi_vsphere/host_virtual_switch.py +298 -294
  61. pulumi_vsphere/license.py +60 -56
  62. pulumi_vsphere/nas_datastore.py +214 -210
  63. pulumi_vsphere/offline_software_depot.py +18 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +101 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +214 -210
  68. pulumi_vsphere/role.py +39 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +74 -70
  70. pulumi_vsphere/supervisor.py +158 -154
  71. pulumi_vsphere/tag.py +46 -42
  72. pulumi_vsphere/tag_category.py +60 -56
  73. pulumi_vsphere/vapp_container.py +214 -210
  74. pulumi_vsphere/vapp_entity.py +144 -140
  75. pulumi_vsphere/virtual_disk.py +102 -98
  76. pulumi_vsphere/virtual_machine.py +1043 -1039
  77. pulumi_vsphere/virtual_machine_class.py +88 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +102 -98
  79. pulumi_vsphere/vm_storage_policy.py +32 -28
  80. pulumi_vsphere/vmfs_datastore.py +151 -147
  81. pulumi_vsphere/vnic.py +116 -112
  82. {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
  83. pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
  85. pulumi_vsphere-4.14.0a1741243116.dist-info/RECORD +0 -87
  86. {pulumi_vsphere-4.14.0a1741243116.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
pulumi_vsphere/license.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,12 +20,12 @@ __all__ = ['LicenseArgs', 'License']
19
20
  @pulumi.input_type
20
21
  class LicenseArgs:
21
22
  def __init__(__self__, *,
22
- license_key: pulumi.Input[str],
23
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
23
+ license_key: pulumi.Input[builtins.str],
24
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
24
25
  """
25
26
  The set of arguments for constructing a License resource.
26
- :param pulumi.Input[str] license_key: The license key to add.
27
- :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.
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.
28
29
  """
29
30
  pulumi.set(__self__, "license_key", license_key)
30
31
  if labels is not None:
@@ -32,46 +33,46 @@ class LicenseArgs:
32
33
 
33
34
  @property
34
35
  @pulumi.getter(name="licenseKey")
35
- def license_key(self) -> pulumi.Input[str]:
36
+ def license_key(self) -> pulumi.Input[builtins.str]:
36
37
  """
37
38
  The license key to add.
38
39
  """
39
40
  return pulumi.get(self, "license_key")
40
41
 
41
42
  @license_key.setter
42
- def license_key(self, value: pulumi.Input[str]):
43
+ def license_key(self, value: pulumi.Input[builtins.str]):
43
44
  pulumi.set(self, "license_key", value)
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
48
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
48
49
  """
49
50
  A map of key/value pairs to be attached as labels (tags) to the license key.
50
51
  """
51
52
  return pulumi.get(self, "labels")
52
53
 
53
54
  @labels.setter
54
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
55
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
55
56
  pulumi.set(self, "labels", value)
56
57
 
57
58
 
58
59
  @pulumi.input_type
59
60
  class _LicenseState:
60
61
  def __init__(__self__, *,
61
- edition_key: Optional[pulumi.Input[str]] = None,
62
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
63
- license_key: Optional[pulumi.Input[str]] = None,
64
- name: Optional[pulumi.Input[str]] = None,
65
- total: Optional[pulumi.Input[int]] = None,
66
- used: Optional[pulumi.Input[int]] = None):
62
+ edition_key: Optional[pulumi.Input[builtins.str]] = None,
63
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
64
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
65
+ name: Optional[pulumi.Input[builtins.str]] = None,
66
+ total: Optional[pulumi.Input[builtins.int]] = None,
67
+ used: Optional[pulumi.Input[builtins.int]] = None):
67
68
  """
68
69
  Input properties used for looking up and filtering License resources.
69
- :param pulumi.Input[str] edition_key: The product edition of the license key.
70
- :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.
71
- :param pulumi.Input[str] license_key: The license key to add.
72
- :param pulumi.Input[str] name: The display name for the license.
73
- :param pulumi.Input[int] total: Total number of units (example: CPUs) contained in the license.
74
- :param pulumi.Input[int] used: The number of units (example: CPUs) assigned to this license.
70
+ :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
76
  """
76
77
  if edition_key is not None:
77
78
  pulumi.set(__self__, "edition_key", edition_key)
@@ -88,92 +89,95 @@ class _LicenseState:
88
89
 
89
90
  @property
90
91
  @pulumi.getter(name="editionKey")
91
- def edition_key(self) -> Optional[pulumi.Input[str]]:
92
+ def edition_key(self) -> Optional[pulumi.Input[builtins.str]]:
92
93
  """
93
94
  The product edition of the license key.
94
95
  """
95
96
  return pulumi.get(self, "edition_key")
96
97
 
97
98
  @edition_key.setter
98
- def edition_key(self, value: Optional[pulumi.Input[str]]):
99
+ def edition_key(self, value: Optional[pulumi.Input[builtins.str]]):
99
100
  pulumi.set(self, "edition_key", value)
100
101
 
101
102
  @property
102
103
  @pulumi.getter
103
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
104
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
104
105
  """
105
106
  A map of key/value pairs to be attached as labels (tags) to the license key.
106
107
  """
107
108
  return pulumi.get(self, "labels")
108
109
 
109
110
  @labels.setter
110
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
111
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
111
112
  pulumi.set(self, "labels", value)
112
113
 
113
114
  @property
114
115
  @pulumi.getter(name="licenseKey")
115
- def license_key(self) -> Optional[pulumi.Input[str]]:
116
+ def license_key(self) -> Optional[pulumi.Input[builtins.str]]:
116
117
  """
117
118
  The license key to add.
118
119
  """
119
120
  return pulumi.get(self, "license_key")
120
121
 
121
122
  @license_key.setter
122
- def license_key(self, value: Optional[pulumi.Input[str]]):
123
+ def license_key(self, value: Optional[pulumi.Input[builtins.str]]):
123
124
  pulumi.set(self, "license_key", value)
124
125
 
125
126
  @property
126
127
  @pulumi.getter
127
- def name(self) -> Optional[pulumi.Input[str]]:
128
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
128
129
  """
129
130
  The display name for the license.
130
131
  """
131
132
  return pulumi.get(self, "name")
132
133
 
133
134
  @name.setter
134
- def name(self, value: Optional[pulumi.Input[str]]):
135
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
135
136
  pulumi.set(self, "name", value)
136
137
 
137
138
  @property
138
139
  @pulumi.getter
139
- def total(self) -> Optional[pulumi.Input[int]]:
140
+ def total(self) -> Optional[pulumi.Input[builtins.int]]:
140
141
  """
141
142
  Total number of units (example: CPUs) contained in the license.
142
143
  """
143
144
  return pulumi.get(self, "total")
144
145
 
145
146
  @total.setter
146
- def total(self, value: Optional[pulumi.Input[int]]):
147
+ def total(self, value: Optional[pulumi.Input[builtins.int]]):
147
148
  pulumi.set(self, "total", value)
148
149
 
149
150
  @property
150
151
  @pulumi.getter
151
- def used(self) -> Optional[pulumi.Input[int]]:
152
+ def used(self) -> Optional[pulumi.Input[builtins.int]]:
152
153
  """
153
154
  The number of units (example: CPUs) assigned to this license.
154
155
  """
155
156
  return pulumi.get(self, "used")
156
157
 
157
158
  @used.setter
158
- def used(self, value: Optional[pulumi.Input[int]]):
159
+ def used(self, value: Optional[pulumi.Input[builtins.int]]):
159
160
  pulumi.set(self, "used", value)
160
161
 
161
162
 
162
163
  class License(pulumi.CustomResource):
164
+
165
+ pulumi_type = "vsphere:index/license:License"
166
+
163
167
  @overload
164
168
  def __init__(__self__,
165
169
  resource_name: str,
166
170
  opts: Optional[pulumi.ResourceOptions] = None,
167
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
168
- license_key: Optional[pulumi.Input[str]] = None,
171
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
172
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
169
173
  __props__=None):
170
174
  """
171
175
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
172
176
 
173
177
  :param str resource_name: The name of the resource.
174
178
  :param pulumi.ResourceOptions opts: Options for the resource.
175
- :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.
176
- :param pulumi.Input[str] license_key: The license key to add.
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.
177
181
  """
178
182
  ...
179
183
  @overload
@@ -199,8 +203,8 @@ class License(pulumi.CustomResource):
199
203
  def _internal_init(__self__,
200
204
  resource_name: str,
201
205
  opts: Optional[pulumi.ResourceOptions] = None,
202
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
203
- license_key: Optional[pulumi.Input[str]] = None,
206
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
207
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
204
208
  __props__=None):
205
209
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
206
210
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -228,12 +232,12 @@ class License(pulumi.CustomResource):
228
232
  def get(resource_name: str,
229
233
  id: pulumi.Input[str],
230
234
  opts: Optional[pulumi.ResourceOptions] = None,
231
- edition_key: Optional[pulumi.Input[str]] = None,
232
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
233
- license_key: Optional[pulumi.Input[str]] = None,
234
- name: Optional[pulumi.Input[str]] = None,
235
- total: Optional[pulumi.Input[int]] = None,
236
- used: Optional[pulumi.Input[int]] = None) -> 'License':
235
+ edition_key: Optional[pulumi.Input[builtins.str]] = None,
236
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
237
+ license_key: Optional[pulumi.Input[builtins.str]] = None,
238
+ name: Optional[pulumi.Input[builtins.str]] = None,
239
+ total: Optional[pulumi.Input[builtins.int]] = None,
240
+ used: Optional[pulumi.Input[builtins.int]] = None) -> 'License':
237
241
  """
238
242
  Get an existing License resource's state with the given name, id, and optional extra
239
243
  properties used to qualify the lookup.
@@ -241,12 +245,12 @@ class License(pulumi.CustomResource):
241
245
  :param str resource_name: The unique name of the resulting resource.
242
246
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
243
247
  :param pulumi.ResourceOptions opts: Options for the resource.
244
- :param pulumi.Input[str] edition_key: The product edition of the license key.
245
- :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.
246
- :param pulumi.Input[str] license_key: The license key to add.
247
- :param pulumi.Input[str] name: The display name for the license.
248
- :param pulumi.Input[int] total: Total number of units (example: CPUs) contained in the license.
249
- :param pulumi.Input[int] used: The number of units (example: CPUs) assigned to this license.
248
+ :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.
250
254
  """
251
255
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
252
256
 
@@ -262,7 +266,7 @@ class License(pulumi.CustomResource):
262
266
 
263
267
  @property
264
268
  @pulumi.getter(name="editionKey")
265
- def edition_key(self) -> pulumi.Output[str]:
269
+ def edition_key(self) -> pulumi.Output[builtins.str]:
266
270
  """
267
271
  The product edition of the license key.
268
272
  """
@@ -270,7 +274,7 @@ class License(pulumi.CustomResource):
270
274
 
271
275
  @property
272
276
  @pulumi.getter
273
- def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
277
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
274
278
  """
275
279
  A map of key/value pairs to be attached as labels (tags) to the license key.
276
280
  """
@@ -278,7 +282,7 @@ class License(pulumi.CustomResource):
278
282
 
279
283
  @property
280
284
  @pulumi.getter(name="licenseKey")
281
- def license_key(self) -> pulumi.Output[str]:
285
+ def license_key(self) -> pulumi.Output[builtins.str]:
282
286
  """
283
287
  The license key to add.
284
288
  """
@@ -286,7 +290,7 @@ class License(pulumi.CustomResource):
286
290
 
287
291
  @property
288
292
  @pulumi.getter
289
- def name(self) -> pulumi.Output[str]:
293
+ def name(self) -> pulumi.Output[builtins.str]:
290
294
  """
291
295
  The display name for the license.
292
296
  """
@@ -294,7 +298,7 @@ class License(pulumi.CustomResource):
294
298
 
295
299
  @property
296
300
  @pulumi.getter
297
- def total(self) -> pulumi.Output[int]:
301
+ def total(self) -> pulumi.Output[builtins.int]:
298
302
  """
299
303
  Total number of units (example: CPUs) contained in the license.
300
304
  """
@@ -302,7 +306,7 @@ class License(pulumi.CustomResource):
302
306
 
303
307
  @property
304
308
  @pulumi.getter
305
- def used(self) -> pulumi.Output[int]:
309
+ def used(self) -> pulumi.Output[builtins.int]:
306
310
  """
307
311
  The number of units (example: CPUs) assigned to this license.
308
312
  """