pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753512455__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 -1
  2. pulumi_vsphere/_inputs.py +1171 -1172
  3. pulumi_vsphere/compute_cluster.py +1127 -1128
  4. pulumi_vsphere/compute_cluster_host_group.py +52 -53
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
  8. pulumi_vsphere/compute_cluster_vm_group.py +52 -53
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
  10. pulumi_vsphere/config/__init__.py +1 -1
  11. pulumi_vsphere/config/__init__.pyi +1 -2
  12. pulumi_vsphere/config/vars.py +14 -15
  13. pulumi_vsphere/content_library.py +58 -59
  14. pulumi_vsphere/content_library_item.py +103 -104
  15. pulumi_vsphere/custom_attribute.py +35 -36
  16. pulumi_vsphere/datacenter.py +78 -79
  17. pulumi_vsphere/datastore_cluster.py +426 -427
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
  19. pulumi_vsphere/distributed_port_group.py +787 -788
  20. pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
  22. pulumi_vsphere/dpm_host_override.py +69 -70
  23. pulumi_vsphere/drs_vm_override.py +69 -70
  24. pulumi_vsphere/entity_permissions.py +38 -39
  25. pulumi_vsphere/file.py +120 -121
  26. pulumi_vsphere/folder.py +86 -87
  27. pulumi_vsphere/get_compute_cluster.py +17 -18
  28. pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
  29. pulumi_vsphere/get_content_library.py +9 -10
  30. pulumi_vsphere/get_content_library_item.py +21 -22
  31. pulumi_vsphere/get_custom_attribute.py +11 -12
  32. pulumi_vsphere/get_datacenter.py +11 -12
  33. pulumi_vsphere/get_datastore.py +21 -22
  34. pulumi_vsphere/get_datastore_cluster.py +17 -18
  35. pulumi_vsphere/get_datastore_stats.py +21 -22
  36. pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
  37. pulumi_vsphere/get_dynamic.py +21 -22
  38. pulumi_vsphere/get_folder.py +9 -10
  39. pulumi_vsphere/get_guest_os_customization.py +18 -19
  40. pulumi_vsphere/get_host.py +17 -18
  41. pulumi_vsphere/get_host_base_images.py +5 -6
  42. pulumi_vsphere/get_host_pci_device.py +29 -30
  43. pulumi_vsphere/get_host_thumbprint.py +21 -22
  44. pulumi_vsphere/get_host_vgpu_profile.py +16 -17
  45. pulumi_vsphere/get_license.py +19 -20
  46. pulumi_vsphere/get_network.py +42 -43
  47. pulumi_vsphere/get_ovf_vm_template.py +121 -122
  48. pulumi_vsphere/get_policy.py +9 -10
  49. pulumi_vsphere/get_resource_pool.py +21 -22
  50. pulumi_vsphere/get_role.py +25 -26
  51. pulumi_vsphere/get_tag.py +17 -18
  52. pulumi_vsphere/get_tag_category.py +15 -16
  53. pulumi_vsphere/get_vapp_container.py +15 -16
  54. pulumi_vsphere/get_virtual_machine.py +272 -273
  55. pulumi_vsphere/get_vmfs_disks.py +23 -24
  56. pulumi_vsphere/guest_os_customization.py +73 -74
  57. pulumi_vsphere/ha_vm_override.py +256 -257
  58. pulumi_vsphere/host.py +242 -243
  59. pulumi_vsphere/host_port_group.py +310 -311
  60. pulumi_vsphere/host_virtual_switch.py +358 -359
  61. pulumi_vsphere/license.py +71 -72
  62. pulumi_vsphere/nas_datastore.py +260 -261
  63. pulumi_vsphere/offline_software_depot.py +20 -21
  64. pulumi_vsphere/outputs.py +981 -982
  65. pulumi_vsphere/provider.py +120 -121
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +256 -257
  68. pulumi_vsphere/role.py +44 -45
  69. pulumi_vsphere/storage_drs_vm_override.py +86 -87
  70. pulumi_vsphere/supervisor.py +206 -207
  71. pulumi_vsphere/tag.py +52 -53
  72. pulumi_vsphere/tag_category.py +69 -70
  73. pulumi_vsphere/vapp_container.py +256 -257
  74. pulumi_vsphere/vapp_entity.py +171 -172
  75. pulumi_vsphere/virtual_disk.py +120 -121
  76. pulumi_vsphere/virtual_machine.py +1293 -1294
  77. pulumi_vsphere/virtual_machine_class.py +103 -104
  78. pulumi_vsphere/virtual_machine_snapshot.py +120 -121
  79. pulumi_vsphere/vm_storage_policy.py +38 -39
  80. pulumi_vsphere/vmfs_datastore.py +183 -184
  81. pulumi_vsphere/vnic.py +143 -144
  82. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/METADATA +1 -1
  83. pulumi_vsphere-4.16.0a1753512455.dist-info/RECORD +87 -0
  84. pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
  85. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/WHEEL +0 -0
  86. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/top_level.txt +0 -0
pulumi_vsphere/license.py CHANGED
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,12 +19,12 @@ __all__ = ['LicenseArgs', 'License']
20
19
  @pulumi.input_type
21
20
  class LicenseArgs:
22
21
  def __init__(__self__, *,
23
- license_key: pulumi.Input[builtins.str],
24
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
22
+ license_key: pulumi.Input[_builtins.str],
23
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
25
24
  """
26
25
  The set of arguments for constructing a License resource.
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.
26
+ :param pulumi.Input[_builtins.str] license_key: The license key value.
27
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
29
28
 
30
29
  > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
31
30
  """
@@ -33,21 +32,21 @@ class LicenseArgs:
33
32
  if labels is not None:
34
33
  pulumi.set(__self__, "labels", labels)
35
34
 
36
- @property
35
+ @_builtins.property
37
36
  @pulumi.getter(name="licenseKey")
38
- def license_key(self) -> pulumi.Input[builtins.str]:
37
+ def license_key(self) -> pulumi.Input[_builtins.str]:
39
38
  """
40
39
  The license key value.
41
40
  """
42
41
  return pulumi.get(self, "license_key")
43
42
 
44
43
  @license_key.setter
45
- def license_key(self, value: pulumi.Input[builtins.str]):
44
+ def license_key(self, value: pulumi.Input[_builtins.str]):
46
45
  pulumi.set(self, "license_key", value)
47
46
 
48
- @property
47
+ @_builtins.property
49
48
  @pulumi.getter
50
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
49
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
51
50
  """
52
51
  A map of labels to be applied to the license key.
53
52
 
@@ -56,29 +55,29 @@ class LicenseArgs:
56
55
  return pulumi.get(self, "labels")
57
56
 
58
57
  @labels.setter
59
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
58
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
60
59
  pulumi.set(self, "labels", value)
61
60
 
62
61
 
63
62
  @pulumi.input_type
64
63
  class _LicenseState:
65
64
  def __init__(__self__, *,
66
- edition_key: Optional[pulumi.Input[builtins.str]] = None,
67
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
68
- license_key: Optional[pulumi.Input[builtins.str]] = None,
69
- name: Optional[pulumi.Input[builtins.str]] = None,
70
- total: Optional[pulumi.Input[builtins.int]] = None,
71
- used: Optional[pulumi.Input[builtins.int]] = None):
65
+ edition_key: Optional[pulumi.Input[_builtins.str]] = None,
66
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
67
+ license_key: Optional[pulumi.Input[_builtins.str]] = None,
68
+ name: Optional[pulumi.Input[_builtins.str]] = None,
69
+ total: Optional[pulumi.Input[_builtins.int]] = None,
70
+ used: Optional[pulumi.Input[_builtins.int]] = None):
72
71
  """
73
72
  Input properties used for looking up and filtering License resources.
74
- :param pulumi.Input[builtins.str] edition_key: The product edition of the license key.
75
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of labels to be applied to the license key.
73
+ :param pulumi.Input[_builtins.str] edition_key: The product edition of the license key.
74
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
76
75
 
77
76
  > **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.
77
+ :param pulumi.Input[_builtins.str] license_key: The license key value.
78
+ :param pulumi.Input[_builtins.str] name: The display name for the license key.
79
+ :param pulumi.Input[_builtins.int] total: The total number of units contained in the license key.
80
+ :param pulumi.Input[_builtins.int] used: The number of units assigned to this license key.
82
81
  """
83
82
  if edition_key is not None:
84
83
  pulumi.set(__self__, "edition_key", edition_key)
@@ -93,21 +92,21 @@ class _LicenseState:
93
92
  if used is not None:
94
93
  pulumi.set(__self__, "used", used)
95
94
 
96
- @property
95
+ @_builtins.property
97
96
  @pulumi.getter(name="editionKey")
98
- def edition_key(self) -> Optional[pulumi.Input[builtins.str]]:
97
+ def edition_key(self) -> Optional[pulumi.Input[_builtins.str]]:
99
98
  """
100
99
  The product edition of the license key.
101
100
  """
102
101
  return pulumi.get(self, "edition_key")
103
102
 
104
103
  @edition_key.setter
105
- def edition_key(self, value: Optional[pulumi.Input[builtins.str]]):
104
+ def edition_key(self, value: Optional[pulumi.Input[_builtins.str]]):
106
105
  pulumi.set(self, "edition_key", value)
107
106
 
108
- @property
107
+ @_builtins.property
109
108
  @pulumi.getter
110
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
109
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
111
110
  """
112
111
  A map of labels to be applied to the license key.
113
112
 
@@ -116,55 +115,55 @@ class _LicenseState:
116
115
  return pulumi.get(self, "labels")
117
116
 
118
117
  @labels.setter
119
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
118
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
120
119
  pulumi.set(self, "labels", value)
121
120
 
122
- @property
121
+ @_builtins.property
123
122
  @pulumi.getter(name="licenseKey")
124
- def license_key(self) -> Optional[pulumi.Input[builtins.str]]:
123
+ def license_key(self) -> Optional[pulumi.Input[_builtins.str]]:
125
124
  """
126
125
  The license key value.
127
126
  """
128
127
  return pulumi.get(self, "license_key")
129
128
 
130
129
  @license_key.setter
131
- def license_key(self, value: Optional[pulumi.Input[builtins.str]]):
130
+ def license_key(self, value: Optional[pulumi.Input[_builtins.str]]):
132
131
  pulumi.set(self, "license_key", value)
133
132
 
134
- @property
133
+ @_builtins.property
135
134
  @pulumi.getter
136
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
135
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
137
136
  """
138
137
  The display name for the license key.
139
138
  """
140
139
  return pulumi.get(self, "name")
141
140
 
142
141
  @name.setter
143
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
142
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
144
143
  pulumi.set(self, "name", value)
145
144
 
146
- @property
145
+ @_builtins.property
147
146
  @pulumi.getter
148
- def total(self) -> Optional[pulumi.Input[builtins.int]]:
147
+ def total(self) -> Optional[pulumi.Input[_builtins.int]]:
149
148
  """
150
149
  The total number of units contained in the license key.
151
150
  """
152
151
  return pulumi.get(self, "total")
153
152
 
154
153
  @total.setter
155
- def total(self, value: Optional[pulumi.Input[builtins.int]]):
154
+ def total(self, value: Optional[pulumi.Input[_builtins.int]]):
156
155
  pulumi.set(self, "total", value)
157
156
 
158
- @property
157
+ @_builtins.property
159
158
  @pulumi.getter
160
- def used(self) -> Optional[pulumi.Input[builtins.int]]:
159
+ def used(self) -> Optional[pulumi.Input[_builtins.int]]:
161
160
  """
162
161
  The number of units assigned to this license key.
163
162
  """
164
163
  return pulumi.get(self, "used")
165
164
 
166
165
  @used.setter
167
- def used(self, value: Optional[pulumi.Input[builtins.int]]):
166
+ def used(self, value: Optional[pulumi.Input[_builtins.int]]):
168
167
  pulumi.set(self, "used", value)
169
168
 
170
169
 
@@ -174,8 +173,8 @@ class License(pulumi.CustomResource):
174
173
  def __init__(__self__,
175
174
  resource_name: str,
176
175
  opts: Optional[pulumi.ResourceOptions] = None,
177
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
178
- license_key: Optional[pulumi.Input[builtins.str]] = None,
176
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
177
+ license_key: Optional[pulumi.Input[_builtins.str]] = None,
179
178
  __props__=None):
180
179
  """
181
180
  Provides a VMware vSphere license resource. This can be used to add and remove license keys.
@@ -195,10 +194,10 @@ class License(pulumi.CustomResource):
195
194
 
196
195
  :param str resource_name: The name of the resource.
197
196
  :param pulumi.ResourceOptions opts: Options for the resource.
198
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of labels to be applied to the license key.
197
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
199
198
 
200
199
  > **NOTE:** Labels are not allowed for unmanaged ESX hosts.
201
- :param pulumi.Input[builtins.str] license_key: The license key value.
200
+ :param pulumi.Input[_builtins.str] license_key: The license key value.
202
201
  """
203
202
  ...
204
203
  @overload
@@ -237,8 +236,8 @@ class License(pulumi.CustomResource):
237
236
  def _internal_init(__self__,
238
237
  resource_name: str,
239
238
  opts: Optional[pulumi.ResourceOptions] = None,
240
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
241
- license_key: Optional[pulumi.Input[builtins.str]] = None,
239
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
240
+ license_key: Optional[pulumi.Input[_builtins.str]] = None,
242
241
  __props__=None):
243
242
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
244
243
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -266,12 +265,12 @@ class License(pulumi.CustomResource):
266
265
  def get(resource_name: str,
267
266
  id: pulumi.Input[str],
268
267
  opts: Optional[pulumi.ResourceOptions] = None,
269
- edition_key: Optional[pulumi.Input[builtins.str]] = None,
270
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
271
- license_key: Optional[pulumi.Input[builtins.str]] = None,
272
- name: Optional[pulumi.Input[builtins.str]] = None,
273
- total: Optional[pulumi.Input[builtins.int]] = None,
274
- used: Optional[pulumi.Input[builtins.int]] = None) -> 'License':
268
+ edition_key: Optional[pulumi.Input[_builtins.str]] = None,
269
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
270
+ license_key: Optional[pulumi.Input[_builtins.str]] = None,
271
+ name: Optional[pulumi.Input[_builtins.str]] = None,
272
+ total: Optional[pulumi.Input[_builtins.int]] = None,
273
+ used: Optional[pulumi.Input[_builtins.int]] = None) -> 'License':
275
274
  """
276
275
  Get an existing License resource's state with the given name, id, and optional extra
277
276
  properties used to qualify the lookup.
@@ -279,14 +278,14 @@ class License(pulumi.CustomResource):
279
278
  :param str resource_name: The unique name of the resulting resource.
280
279
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
281
280
  :param pulumi.ResourceOptions opts: Options for the resource.
282
- :param pulumi.Input[builtins.str] edition_key: The product edition of the license key.
283
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: A map of labels to be applied to the license key.
281
+ :param pulumi.Input[_builtins.str] edition_key: The product edition of the license key.
282
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of labels to be applied to the license key.
284
283
 
285
284
  > **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.
285
+ :param pulumi.Input[_builtins.str] license_key: The license key value.
286
+ :param pulumi.Input[_builtins.str] name: The display name for the license key.
287
+ :param pulumi.Input[_builtins.int] total: The total number of units contained in the license key.
288
+ :param pulumi.Input[_builtins.int] used: The number of units assigned to this license key.
290
289
  """
291
290
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
292
291
 
@@ -300,17 +299,17 @@ class License(pulumi.CustomResource):
300
299
  __props__.__dict__["used"] = used
301
300
  return License(resource_name, opts=opts, __props__=__props__)
302
301
 
303
- @property
302
+ @_builtins.property
304
303
  @pulumi.getter(name="editionKey")
305
- def edition_key(self) -> pulumi.Output[builtins.str]:
304
+ def edition_key(self) -> pulumi.Output[_builtins.str]:
306
305
  """
307
306
  The product edition of the license key.
308
307
  """
309
308
  return pulumi.get(self, "edition_key")
310
309
 
311
- @property
310
+ @_builtins.property
312
311
  @pulumi.getter
313
- def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
312
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
314
313
  """
315
314
  A map of labels to be applied to the license key.
316
315
 
@@ -318,33 +317,33 @@ class License(pulumi.CustomResource):
318
317
  """
319
318
  return pulumi.get(self, "labels")
320
319
 
321
- @property
320
+ @_builtins.property
322
321
  @pulumi.getter(name="licenseKey")
323
- def license_key(self) -> pulumi.Output[builtins.str]:
322
+ def license_key(self) -> pulumi.Output[_builtins.str]:
324
323
  """
325
324
  The license key value.
326
325
  """
327
326
  return pulumi.get(self, "license_key")
328
327
 
329
- @property
328
+ @_builtins.property
330
329
  @pulumi.getter
331
- def name(self) -> pulumi.Output[builtins.str]:
330
+ def name(self) -> pulumi.Output[_builtins.str]:
332
331
  """
333
332
  The display name for the license key.
334
333
  """
335
334
  return pulumi.get(self, "name")
336
335
 
337
- @property
336
+ @_builtins.property
338
337
  @pulumi.getter
339
- def total(self) -> pulumi.Output[builtins.int]:
338
+ def total(self) -> pulumi.Output[_builtins.int]:
340
339
  """
341
340
  The total number of units contained in the license key.
342
341
  """
343
342
  return pulumi.get(self, "total")
344
343
 
345
- @property
344
+ @_builtins.property
346
345
  @pulumi.getter
347
- def used(self) -> pulumi.Output[builtins.int]:
346
+ def used(self) -> pulumi.Output[_builtins.int]:
348
347
  """
349
348
  The number of units assigned to this license key.
350
349
  """