pulumi-vsphere 4.10.1__py3-none-any.whl → 4.10.2__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 (47) hide show
  1. pulumi_vsphere/__init__.py +28 -0
  2. pulumi_vsphere/_inputs.py +470 -6
  3. pulumi_vsphere/_utilities.py +35 -0
  4. pulumi_vsphere/compute_cluster.py +47 -0
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -4
  6. pulumi_vsphere/datacenter.py +7 -28
  7. pulumi_vsphere/datastore_cluster.py +0 -14
  8. pulumi_vsphere/distributed_port_group.py +56 -7
  9. pulumi_vsphere/distributed_virtual_switch.py +7 -28
  10. pulumi_vsphere/entity_permissions.py +56 -35
  11. pulumi_vsphere/folder.py +7 -28
  12. pulumi_vsphere/get_compute_cluster_host_group.py +18 -16
  13. pulumi_vsphere/get_content_library.py +10 -6
  14. pulumi_vsphere/get_content_library_item.py +12 -8
  15. pulumi_vsphere/get_datastore.py +9 -9
  16. pulumi_vsphere/get_datastore_stats.py +34 -32
  17. pulumi_vsphere/get_dynamic.py +14 -12
  18. pulumi_vsphere/get_folder.py +10 -2
  19. pulumi_vsphere/get_guest_os_customization.py +8 -43
  20. pulumi_vsphere/get_host_base_images.py +97 -0
  21. pulumi_vsphere/get_host_pci_device.py +4 -2
  22. pulumi_vsphere/get_host_thumbprint.py +12 -12
  23. pulumi_vsphere/get_host_vgpu_profile.py +4 -2
  24. pulumi_vsphere/get_license.py +2 -1
  25. pulumi_vsphere/get_network.py +14 -14
  26. pulumi_vsphere/get_resource_pool.py +12 -8
  27. pulumi_vsphere/get_role.py +4 -4
  28. pulumi_vsphere/get_virtual_machine.py +58 -33
  29. pulumi_vsphere/guest_os_customization.py +4 -4
  30. pulumi_vsphere/nas_datastore.py +7 -7
  31. pulumi_vsphere/offline_software_depot.py +180 -0
  32. pulumi_vsphere/outputs.py +495 -40
  33. pulumi_vsphere/provider.py +2 -6
  34. pulumi_vsphere/pulumi-plugin.json +2 -1
  35. pulumi_vsphere/resource_pool.py +2 -2
  36. pulumi_vsphere/supervisor.py +962 -0
  37. pulumi_vsphere/virtual_disk.py +10 -16
  38. pulumi_vsphere/virtual_machine.py +2 -2
  39. pulumi_vsphere/virtual_machine_class.py +442 -0
  40. pulumi_vsphere/virtual_machine_snapshot.py +2 -2
  41. pulumi_vsphere/vm_storage_policy.py +2 -2
  42. pulumi_vsphere/vnic.py +61 -65
  43. {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2.dist-info}/METADATA +1 -1
  44. pulumi_vsphere-4.10.2.dist-info/RECORD +86 -0
  45. {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2.dist-info}/WHEEL +1 -1
  46. pulumi_vsphere-4.10.1.dist-info/RECORD +0 -82
  47. {pulumi_vsphere-4.10.1.dist-info → pulumi_vsphere-4.10.2.dist-info}/top_level.txt +0 -0
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
  import asyncio
7
+ import functools
7
8
  import importlib.metadata
8
9
  import importlib.util
9
10
  import inspect
@@ -11,6 +12,7 @@ import json
11
12
  import os
12
13
  import sys
13
14
  import typing
15
+ import warnings
14
16
 
15
17
  import pulumi
16
18
  import pulumi.runtime
@@ -19,6 +21,8 @@ from pulumi.runtime.sync_await import _sync_await
19
21
  from semver import VersionInfo as SemverVersion
20
22
  from parver import Version as PEP440Version
21
23
 
24
+ C = typing.TypeVar("C", bound=typing.Callable)
25
+
22
26
 
23
27
  def get_env(*args):
24
28
  for v in args:
@@ -287,5 +291,36 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
287
291
  await o._resources,
288
292
  )
289
293
 
294
+
295
+ # This is included to provide an upgrade path for users who are using a version
296
+ # of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
297
+ def deprecated(message: str) -> typing.Callable[[C], C]:
298
+ """
299
+ Decorator to indicate a function is deprecated.
300
+
301
+ As well as inserting appropriate statements to indicate that the function is
302
+ deprecated, this decorator also tags the function with a special attribute
303
+ so that Pulumi code can detect that it is deprecated and react appropriately
304
+ in certain situations.
305
+
306
+ message is the deprecation message that should be printed if the function is called.
307
+ """
308
+
309
+ def decorator(fn: C) -> C:
310
+ if not callable(fn):
311
+ raise TypeError("Expected fn to be callable")
312
+
313
+ @functools.wraps(fn)
314
+ def deprecated_fn(*args, **kwargs):
315
+ warnings.warn(message)
316
+ pulumi.warn(f"{fn.__name__} is deprecated: {message}")
317
+
318
+ return fn(*args, **kwargs)
319
+
320
+ deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
321
+ return typing.cast(C, deprecated_fn)
322
+
323
+ return decorator
324
+
290
325
  def get_plugin_download_url():
291
326
  return None
@@ -61,6 +61,7 @@ class ComputeClusterArgs:
61
61
  ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
62
62
  ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
63
63
  host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
64
+ host_image: Optional[pulumi.Input['ComputeClusterHostImageArgs']] = None,
64
65
  host_managed: Optional[pulumi.Input[bool]] = None,
65
66
  host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
66
67
  name: Optional[pulumi.Input[str]] = None,
@@ -176,6 +177,7 @@ class ComputeClusterArgs:
176
177
  :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
177
178
  proceeding with the next priority.
178
179
  :param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
180
+ :param pulumi.Input['ComputeClusterHostImageArgs'] host_image: Details about the host image which should be applied to the cluster.
179
181
  :param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
180
182
  :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
181
183
  :param pulumi.Input[str] name: The name of the cluster.
@@ -291,6 +293,8 @@ class ComputeClusterArgs:
291
293
  pulumi.set(__self__, "ha_vm_restart_timeout", ha_vm_restart_timeout)
292
294
  if host_cluster_exit_timeout is not None:
293
295
  pulumi.set(__self__, "host_cluster_exit_timeout", host_cluster_exit_timeout)
296
+ if host_image is not None:
297
+ pulumi.set(__self__, "host_image", host_image)
294
298
  if host_managed is not None:
295
299
  pulumi.set(__self__, "host_managed", host_managed)
296
300
  if host_system_ids is not None:
@@ -923,6 +927,18 @@ class ComputeClusterArgs:
923
927
  def host_cluster_exit_timeout(self, value: Optional[pulumi.Input[int]]):
924
928
  pulumi.set(self, "host_cluster_exit_timeout", value)
925
929
 
930
+ @property
931
+ @pulumi.getter(name="hostImage")
932
+ def host_image(self) -> Optional[pulumi.Input['ComputeClusterHostImageArgs']]:
933
+ """
934
+ Details about the host image which should be applied to the cluster.
935
+ """
936
+ return pulumi.get(self, "host_image")
937
+
938
+ @host_image.setter
939
+ def host_image(self, value: Optional[pulumi.Input['ComputeClusterHostImageArgs']]):
940
+ pulumi.set(self, "host_image", value)
941
+
926
942
  @property
927
943
  @pulumi.getter(name="hostManaged")
928
944
  def host_managed(self) -> Optional[pulumi.Input[bool]]:
@@ -1250,6 +1266,7 @@ class _ComputeClusterState:
1250
1266
  ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
1251
1267
  ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
1252
1268
  host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
1269
+ host_image: Optional[pulumi.Input['ComputeClusterHostImageArgs']] = None,
1253
1270
  host_managed: Optional[pulumi.Input[bool]] = None,
1254
1271
  host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1255
1272
  name: Optional[pulumi.Input[str]] = None,
@@ -1366,6 +1383,7 @@ class _ComputeClusterState:
1366
1383
  :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
1367
1384
  proceeding with the next priority.
1368
1385
  :param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
1386
+ :param pulumi.Input['ComputeClusterHostImageArgs'] host_image: Details about the host image which should be applied to the cluster.
1369
1387
  :param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
1370
1388
  :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
1371
1389
  :param pulumi.Input[str] name: The name of the cluster.
@@ -1487,6 +1505,8 @@ class _ComputeClusterState:
1487
1505
  pulumi.set(__self__, "ha_vm_restart_timeout", ha_vm_restart_timeout)
1488
1506
  if host_cluster_exit_timeout is not None:
1489
1507
  pulumi.set(__self__, "host_cluster_exit_timeout", host_cluster_exit_timeout)
1508
+ if host_image is not None:
1509
+ pulumi.set(__self__, "host_image", host_image)
1490
1510
  if host_managed is not None:
1491
1511
  pulumi.set(__self__, "host_managed", host_managed)
1492
1512
  if host_system_ids is not None:
@@ -2121,6 +2141,18 @@ class _ComputeClusterState:
2121
2141
  def host_cluster_exit_timeout(self, value: Optional[pulumi.Input[int]]):
2122
2142
  pulumi.set(self, "host_cluster_exit_timeout", value)
2123
2143
 
2144
+ @property
2145
+ @pulumi.getter(name="hostImage")
2146
+ def host_image(self) -> Optional[pulumi.Input['ComputeClusterHostImageArgs']]:
2147
+ """
2148
+ Details about the host image which should be applied to the cluster.
2149
+ """
2150
+ return pulumi.get(self, "host_image")
2151
+
2152
+ @host_image.setter
2153
+ def host_image(self, value: Optional[pulumi.Input['ComputeClusterHostImageArgs']]):
2154
+ pulumi.set(self, "host_image", value)
2155
+
2124
2156
  @property
2125
2157
  @pulumi.getter(name="hostManaged")
2126
2158
  def host_managed(self) -> Optional[pulumi.Input[bool]]:
@@ -2466,6 +2498,7 @@ class ComputeCluster(pulumi.CustomResource):
2466
2498
  ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
2467
2499
  ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
2468
2500
  host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
2501
+ host_image: Optional[pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']]] = None,
2469
2502
  host_managed: Optional[pulumi.Input[bool]] = None,
2470
2503
  host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2471
2504
  name: Optional[pulumi.Input[str]] = None,
@@ -2584,6 +2617,7 @@ class ComputeCluster(pulumi.CustomResource):
2584
2617
  :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
2585
2618
  proceeding with the next priority.
2586
2619
  :param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
2620
+ :param pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']] host_image: Details about the host image which should be applied to the cluster.
2587
2621
  :param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
2588
2622
  :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
2589
2623
  :param pulumi.Input[str] name: The name of the cluster.
@@ -2678,6 +2712,7 @@ class ComputeCluster(pulumi.CustomResource):
2678
2712
  ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
2679
2713
  ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
2680
2714
  host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
2715
+ host_image: Optional[pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']]] = None,
2681
2716
  host_managed: Optional[pulumi.Input[bool]] = None,
2682
2717
  host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2683
2718
  name: Optional[pulumi.Input[str]] = None,
@@ -2757,6 +2792,7 @@ class ComputeCluster(pulumi.CustomResource):
2757
2792
  __props__.__dict__["ha_vm_restart_priority"] = ha_vm_restart_priority
2758
2793
  __props__.__dict__["ha_vm_restart_timeout"] = ha_vm_restart_timeout
2759
2794
  __props__.__dict__["host_cluster_exit_timeout"] = host_cluster_exit_timeout
2795
+ __props__.__dict__["host_image"] = host_image
2760
2796
  __props__.__dict__["host_managed"] = host_managed
2761
2797
  __props__.__dict__["host_system_ids"] = host_system_ids
2762
2798
  __props__.__dict__["name"] = name
@@ -2836,6 +2872,7 @@ class ComputeCluster(pulumi.CustomResource):
2836
2872
  ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
2837
2873
  ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
2838
2874
  host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
2875
+ host_image: Optional[pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']]] = None,
2839
2876
  host_managed: Optional[pulumi.Input[bool]] = None,
2840
2877
  host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2841
2878
  name: Optional[pulumi.Input[str]] = None,
@@ -2957,6 +2994,7 @@ class ComputeCluster(pulumi.CustomResource):
2957
2994
  :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
2958
2995
  proceeding with the next priority.
2959
2996
  :param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
2997
+ :param pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']] host_image: Details about the host image which should be applied to the cluster.
2960
2998
  :param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
2961
2999
  :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
2962
3000
  :param pulumi.Input[str] name: The name of the cluster.
@@ -3037,6 +3075,7 @@ class ComputeCluster(pulumi.CustomResource):
3037
3075
  __props__.__dict__["ha_vm_restart_priority"] = ha_vm_restart_priority
3038
3076
  __props__.__dict__["ha_vm_restart_timeout"] = ha_vm_restart_timeout
3039
3077
  __props__.__dict__["host_cluster_exit_timeout"] = host_cluster_exit_timeout
3078
+ __props__.__dict__["host_image"] = host_image
3040
3079
  __props__.__dict__["host_managed"] = host_managed
3041
3080
  __props__.__dict__["host_system_ids"] = host_system_ids
3042
3081
  __props__.__dict__["name"] = name
@@ -3468,6 +3507,14 @@ class ComputeCluster(pulumi.CustomResource):
3468
3507
  """
3469
3508
  return pulumi.get(self, "host_cluster_exit_timeout")
3470
3509
 
3510
+ @property
3511
+ @pulumi.getter(name="hostImage")
3512
+ def host_image(self) -> pulumi.Output[Optional['outputs.ComputeClusterHostImage']]:
3513
+ """
3514
+ Details about the host image which should be applied to the cluster.
3515
+ """
3516
+ return pulumi.get(self, "host_image")
3517
+
3471
3518
  @property
3472
3519
  @pulumi.getter(name="hostManaged")
3473
3520
  def host_managed(self) -> pulumi.Output[Optional[bool]]:
@@ -249,8 +249,6 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
249
249
  > **NOTE:** This resource requires vCenter Server and is not available on
250
250
  direct ESXi host connections.
251
251
 
252
- > **NOTE:** vSphere DRS requires a vSphere Enterprise Plus license.
253
-
254
252
  ## Example Usage
255
253
 
256
254
  The following example creates two virtual machines in a cluster using the
@@ -367,8 +365,6 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
367
365
  > **NOTE:** This resource requires vCenter Server and is not available on
368
366
  direct ESXi host connections.
369
367
 
370
- > **NOTE:** vSphere DRS requires a vSphere Enterprise Plus license.
371
-
372
368
  ## Example Usage
373
369
 
374
370
  The following example creates two virtual machines in a cluster using the
@@ -20,7 +20,7 @@ class DatacenterArgs:
20
20
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
21
21
  """
22
22
  The set of arguments for constructing a Datacenter resource.
23
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
23
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
24
24
  strings to set for datacenter resource. See
25
25
  [here][docs-setting-custom-attributes] for a reference on how to set values
26
26
  for custom attributes.
@@ -34,9 +34,6 @@ class DatacenterArgs:
34
34
  :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
35
35
  within the folder. Forces a new resource if changed.
36
36
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
37
-
38
- > **NOTE:** Tagging support is unsupported on direct ESXi connections and
39
- requires vCenter 6.0 or higher.
40
37
  """
41
38
  if custom_attributes is not None:
42
39
  pulumi.set(__self__, "custom_attributes", custom_attributes)
@@ -51,7 +48,7 @@ class DatacenterArgs:
51
48
  @pulumi.getter(name="customAttributes")
52
49
  def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
53
50
  """
54
- Map of custom attribute ids to value
51
+ Map of custom attribute ids to value
55
52
  strings to set for datacenter resource. See
56
53
  [here][docs-setting-custom-attributes] for a reference on how to set values
57
54
  for custom attributes.
@@ -98,9 +95,6 @@ class DatacenterArgs:
98
95
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
99
96
  """
100
97
  The IDs of any tags to attach to this resource.
101
-
102
- > **NOTE:** Tagging support is unsupported on direct ESXi connections and
103
- requires vCenter 6.0 or higher.
104
98
  """
105
99
  return pulumi.get(self, "tags")
106
100
 
@@ -119,7 +113,7 @@ class _DatacenterState:
119
113
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
120
114
  """
121
115
  Input properties used for looking up and filtering Datacenter resources.
122
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
116
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
123
117
  strings to set for datacenter resource. See
124
118
  [here][docs-setting-custom-attributes] for a reference on how to set values
125
119
  for custom attributes.
@@ -134,9 +128,6 @@ class _DatacenterState:
134
128
  :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
135
129
  within the folder. Forces a new resource if changed.
136
130
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
137
-
138
- > **NOTE:** Tagging support is unsupported on direct ESXi connections and
139
- requires vCenter 6.0 or higher.
140
131
  """
141
132
  if custom_attributes is not None:
142
133
  pulumi.set(__self__, "custom_attributes", custom_attributes)
@@ -153,7 +144,7 @@ class _DatacenterState:
153
144
  @pulumi.getter(name="customAttributes")
154
145
  def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
155
146
  """
156
- Map of custom attribute ids to value
147
+ Map of custom attribute ids to value
157
148
  strings to set for datacenter resource. See
158
149
  [here][docs-setting-custom-attributes] for a reference on how to set values
159
150
  for custom attributes.
@@ -212,9 +203,6 @@ class _DatacenterState:
212
203
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
213
204
  """
214
205
  The IDs of any tags to attach to this resource.
215
-
216
- > **NOTE:** Tagging support is unsupported on direct ESXi connections and
217
- requires vCenter 6.0 or higher.
218
206
  """
219
207
  return pulumi.get(self, "tags")
220
208
 
@@ -270,7 +258,7 @@ class Datacenter(pulumi.CustomResource):
270
258
 
271
259
  :param str resource_name: The name of the resource.
272
260
  :param pulumi.ResourceOptions opts: Options for the resource.
273
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
261
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
274
262
  strings to set for datacenter resource. See
275
263
  [here][docs-setting-custom-attributes] for a reference on how to set values
276
264
  for custom attributes.
@@ -284,9 +272,6 @@ class Datacenter(pulumi.CustomResource):
284
272
  :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
285
273
  within the folder. Forces a new resource if changed.
286
274
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
287
-
288
- > **NOTE:** Tagging support is unsupported on direct ESXi connections and
289
- requires vCenter 6.0 or higher.
290
275
  """
291
276
  ...
292
277
  @overload
@@ -384,7 +369,7 @@ class Datacenter(pulumi.CustomResource):
384
369
  :param str resource_name: The unique name of the resulting resource.
385
370
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
386
371
  :param pulumi.ResourceOptions opts: Options for the resource.
387
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
372
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
388
373
  strings to set for datacenter resource. See
389
374
  [here][docs-setting-custom-attributes] for a reference on how to set values
390
375
  for custom attributes.
@@ -399,9 +384,6 @@ class Datacenter(pulumi.CustomResource):
399
384
  :param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
400
385
  within the folder. Forces a new resource if changed.
401
386
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
402
-
403
- > **NOTE:** Tagging support is unsupported on direct ESXi connections and
404
- requires vCenter 6.0 or higher.
405
387
  """
406
388
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
407
389
 
@@ -418,7 +400,7 @@ class Datacenter(pulumi.CustomResource):
418
400
  @pulumi.getter(name="customAttributes")
419
401
  def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
420
402
  """
421
- Map of custom attribute ids to value
403
+ Map of custom attribute ids to value
422
404
  strings to set for datacenter resource. See
423
405
  [here][docs-setting-custom-attributes] for a reference on how to set values
424
406
  for custom attributes.
@@ -461,9 +443,6 @@ class Datacenter(pulumi.CustomResource):
461
443
  def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
462
444
  """
463
445
  The IDs of any tags to attach to this resource.
464
-
465
- > **NOTE:** Tagging support is unsupported on direct ESXi connections and
466
- requires vCenter 6.0 or higher.
467
446
  """
468
447
  return pulumi.get(self, "tags")
469
448
 
@@ -88,8 +88,6 @@ class DatastoreClusterArgs:
88
88
  :param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
89
89
  :param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
90
90
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
91
-
92
- > **NOTE:** Tagging support requires vCenter 6.0 or higher.
93
91
  """
94
92
  pulumi.set(__self__, "datacenter_id", datacenter_id)
95
93
  if custom_attributes is not None:
@@ -456,8 +454,6 @@ class DatastoreClusterArgs:
456
454
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
457
455
  """
458
456
  The IDs of any tags to attach to this resource.
459
-
460
- > **NOTE:** Tagging support requires vCenter 6.0 or higher.
461
457
  """
462
458
  return pulumi.get(self, "tags")
463
459
 
@@ -543,8 +539,6 @@ class _DatastoreClusterState:
543
539
  :param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
544
540
  :param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
545
541
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
546
-
547
- > **NOTE:** Tagging support requires vCenter 6.0 or higher.
548
542
  """
549
543
  if custom_attributes is not None:
550
544
  pulumi.set(__self__, "custom_attributes", custom_attributes)
@@ -912,8 +906,6 @@ class _DatastoreClusterState:
912
906
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
913
907
  """
914
908
  The IDs of any tags to attach to this resource.
915
-
916
- > **NOTE:** Tagging support requires vCenter 6.0 or higher.
917
909
  """
918
910
  return pulumi.get(self, "tags")
919
911
 
@@ -1004,8 +996,6 @@ class DatastoreCluster(pulumi.CustomResource):
1004
996
  :param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
1005
997
  :param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
1006
998
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
1007
-
1008
- > **NOTE:** Tagging support requires vCenter 6.0 or higher.
1009
999
  """
1010
1000
  ...
1011
1001
  @overload
@@ -1180,8 +1170,6 @@ class DatastoreCluster(pulumi.CustomResource):
1180
1170
  :param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
1181
1171
  :param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
1182
1172
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
1183
-
1184
- > **NOTE:** Tagging support requires vCenter 6.0 or higher.
1185
1173
  """
1186
1174
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1187
1175
 
@@ -1433,8 +1421,6 @@ class DatastoreCluster(pulumi.CustomResource):
1433
1421
  def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
1434
1422
  """
1435
1423
  The IDs of any tags to attach to this resource.
1436
-
1437
- > **NOTE:** Tagging support requires vCenter 6.0 or higher.
1438
1424
  """
1439
1425
  return pulumi.get(self, "tags")
1440
1426
 
@@ -81,7 +81,14 @@ class DistributedPortGroupArgs:
81
81
  :param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
82
82
  :param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
83
83
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
84
+ <<<<<<< HEAD
85
+ value string to set for port group. See [here][docs-setting-custom-attributes]
86
+ for a reference on how to set values for custom attributes.
87
+
88
+ [docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
89
+ =======
84
90
  value string to set for port group.
91
+ >>>>>>> 69c6e040 (fork)
85
92
 
86
93
  > **NOTE:** Custom attributes are not supported on direct ESXi host
87
94
  connections and require vCenter Server.
@@ -114,7 +121,7 @@ class DistributedPortGroupArgs:
114
121
  the ports in this port group. See the `portNameFormat` attribute listed
115
122
  [here][ext-vsphere-portname-format] for details on the format syntax.
116
123
 
117
- [ext-vsphere-portname-format]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.dvs.DistributedVirtualPortgroup.ConfigInfo.html#portNameFormat
124
+ [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
118
125
  :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
119
126
  :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
120
127
  :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
@@ -344,7 +351,14 @@ class DistributedPortGroupArgs:
344
351
  def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
345
352
  """
346
353
  Map of custom attribute ids to attribute
354
+ <<<<<<< HEAD
355
+ value string to set for port group. See [here][docs-setting-custom-attributes]
356
+ for a reference on how to set values for custom attributes.
357
+
358
+ [docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
359
+ =======
347
360
  value string to set for port group.
361
+ >>>>>>> 69c6e040 (fork)
348
362
 
349
363
  > **NOTE:** Custom attributes are not supported on direct ESXi host
350
364
  connections and require vCenter Server.
@@ -630,7 +644,7 @@ class DistributedPortGroupArgs:
630
644
  the ports in this port group. See the `portNameFormat` attribute listed
631
645
  [here][ext-vsphere-portname-format] for details on the format syntax.
632
646
 
633
- [ext-vsphere-portname-format]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.dvs.DistributedVirtualPortgroup.ConfigInfo.html#portNameFormat
647
+ [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
634
648
  """
635
649
  return pulumi.get(self, "port_name_format")
636
650
 
@@ -868,7 +882,14 @@ class _DistributedPortGroupState:
868
882
  :param pulumi.Input[str] config_version: The current version of the port group configuration,
869
883
  incremented by subsequent updates to the port group.
870
884
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
885
+ <<<<<<< HEAD
886
+ value string to set for port group. See [here][docs-setting-custom-attributes]
887
+ for a reference on how to set values for custom attributes.
888
+
889
+ [docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
890
+ =======
871
891
  value string to set for port group.
892
+ >>>>>>> 69c6e040 (fork)
872
893
 
873
894
  > **NOTE:** Custom attributes are not supported on direct ESXi host
874
895
  connections and require vCenter Server.
@@ -904,7 +925,7 @@ class _DistributedPortGroupState:
904
925
  the ports in this port group. See the `portNameFormat` attribute listed
905
926
  [here][ext-vsphere-portname-format] for details on the format syntax.
906
927
 
907
- [ext-vsphere-portname-format]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.dvs.DistributedVirtualPortgroup.ConfigInfo.html#portNameFormat
928
+ [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
908
929
  :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
909
930
  :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
910
931
  :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
@@ -1139,7 +1160,14 @@ class _DistributedPortGroupState:
1139
1160
  def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
1140
1161
  """
1141
1162
  Map of custom attribute ids to attribute
1163
+ <<<<<<< HEAD
1164
+ value string to set for port group. See [here][docs-setting-custom-attributes]
1165
+ for a reference on how to set values for custom attributes.
1166
+
1167
+ [docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
1168
+ =======
1142
1169
  value string to set for port group.
1170
+ >>>>>>> 69c6e040 (fork)
1143
1171
 
1144
1172
  > **NOTE:** Custom attributes are not supported on direct ESXi host
1145
1173
  connections and require vCenter Server.
@@ -1450,7 +1478,7 @@ class _DistributedPortGroupState:
1450
1478
  the ports in this port group. See the `portNameFormat` attribute listed
1451
1479
  [here][ext-vsphere-portname-format] for details on the format syntax.
1452
1480
 
1453
- [ext-vsphere-portname-format]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.dvs.DistributedVirtualPortgroup.ConfigInfo.html#portNameFormat
1481
+ [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
1454
1482
  """
1455
1483
  return pulumi.get(self, "port_name_format")
1456
1484
 
@@ -1689,7 +1717,14 @@ class DistributedPortGroup(pulumi.CustomResource):
1689
1717
  :param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
1690
1718
  :param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
1691
1719
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
1720
+ <<<<<<< HEAD
1721
+ value string to set for port group. See [here][docs-setting-custom-attributes]
1722
+ for a reference on how to set values for custom attributes.
1723
+
1724
+ [docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
1725
+ =======
1692
1726
  value string to set for port group.
1727
+ >>>>>>> 69c6e040 (fork)
1693
1728
 
1694
1729
  > **NOTE:** Custom attributes are not supported on direct ESXi host
1695
1730
  connections and require vCenter Server.
@@ -1724,7 +1759,7 @@ class DistributedPortGroup(pulumi.CustomResource):
1724
1759
  the ports in this port group. See the `portNameFormat` attribute listed
1725
1760
  [here][ext-vsphere-portname-format] for details on the format syntax.
1726
1761
 
1727
- [ext-vsphere-portname-format]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.dvs.DistributedVirtualPortgroup.ConfigInfo.html#portNameFormat
1762
+ [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
1728
1763
  :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
1729
1764
  :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
1730
1765
  :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
@@ -1952,7 +1987,14 @@ class DistributedPortGroup(pulumi.CustomResource):
1952
1987
  :param pulumi.Input[str] config_version: The current version of the port group configuration,
1953
1988
  incremented by subsequent updates to the port group.
1954
1989
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
1990
+ <<<<<<< HEAD
1991
+ value string to set for port group. See [here][docs-setting-custom-attributes]
1992
+ for a reference on how to set values for custom attributes.
1993
+
1994
+ [docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
1995
+ =======
1955
1996
  value string to set for port group.
1997
+ >>>>>>> 69c6e040 (fork)
1956
1998
 
1957
1999
  > **NOTE:** Custom attributes are not supported on direct ESXi host
1958
2000
  connections and require vCenter Server.
@@ -1988,7 +2030,7 @@ class DistributedPortGroup(pulumi.CustomResource):
1988
2030
  the ports in this port group. See the `portNameFormat` attribute listed
1989
2031
  [here][ext-vsphere-portname-format] for details on the format syntax.
1990
2032
 
1991
- [ext-vsphere-portname-format]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.dvs.DistributedVirtualPortgroup.ConfigInfo.html#portNameFormat
2033
+ [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
1992
2034
  :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
1993
2035
  :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
1994
2036
  :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
@@ -2144,7 +2186,14 @@ class DistributedPortGroup(pulumi.CustomResource):
2144
2186
  def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
2145
2187
  """
2146
2188
  Map of custom attribute ids to attribute
2189
+ <<<<<<< HEAD
2190
+ value string to set for port group. See [here][docs-setting-custom-attributes]
2191
+ for a reference on how to set values for custom attributes.
2192
+
2193
+ [docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
2194
+ =======
2147
2195
  value string to set for port group.
2196
+ >>>>>>> 69c6e040 (fork)
2148
2197
 
2149
2198
  > **NOTE:** Custom attributes are not supported on direct ESXi host
2150
2199
  connections and require vCenter Server.
@@ -2355,7 +2404,7 @@ class DistributedPortGroup(pulumi.CustomResource):
2355
2404
  the ports in this port group. See the `portNameFormat` attribute listed
2356
2405
  [here][ext-vsphere-portname-format] for details on the format syntax.
2357
2406
 
2358
- [ext-vsphere-portname-format]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.dvs.DistributedVirtualPortgroup.ConfigInfo.html#portNameFormat
2407
+ [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
2359
2408
  """
2360
2409
  return pulumi.get(self, "port_name_format")
2361
2410