pulumi-vsphere 4.10.3a1723624830__tar.gz → 4.11.0a1__tar.gz
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.
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/PKG-INFO +1 -1
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/_inputs.py +6 -12
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/_utilities.py +4 -40
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster.py +20 -20
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster_vm_affinity_rule.py +18 -14
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/content_library.py +10 -10
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/datacenter.py +28 -7
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/datastore_cluster.py +14 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/distributed_port_group.py +12 -61
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/distributed_virtual_switch.py +43 -22
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/entity_permissions.py +38 -59
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/folder.py +21 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_compute_cluster_host_group.py +16 -18
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_content_library.py +6 -10
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_content_library_item.py +8 -12
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_datastore.py +9 -9
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_datastore_stats.py +32 -34
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_dynamic.py +12 -14
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_guest_os_customization.py +43 -8
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_host_base_images.py +6 -6
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_host_pci_device.py +2 -4
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_host_thumbprint.py +12 -12
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_host_vgpu_profile.py +2 -4
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_license.py +1 -2
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_network.py +14 -14
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_resource_pool.py +8 -12
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_role.py +4 -4
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_virtual_machine.py +35 -60
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/guest_os_customization.py +31 -31
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/host_port_group.py +2 -2
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/nas_datastore.py +7 -7
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/offline_software_depot.py +2 -2
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/outputs.py +40 -48
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/provider.py +6 -2
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/pulumi-plugin.json +1 -1
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/resource_pool.py +2 -2
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/supervisor.py +30 -134
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/virtual_disk.py +30 -38
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/virtual_machine.py +32 -32
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/virtual_machine_class.py +0 -2
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/virtual_machine_snapshot.py +2 -2
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/vm_storage_policy.py +67 -67
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/vnic.py +93 -89
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere.egg-info/PKG-INFO +1 -1
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pyproject.toml +1 -1
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/README.md +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/__init__.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster_host_group.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster_vm_dependency_rule.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster_vm_group.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster_vm_host_rule.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/config/__init__.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/config/__init__.pyi +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/config/vars.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/content_library_item.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/custom_attribute.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/dpm_host_override.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/drs_vm_override.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/file.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_compute_cluster.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_custom_attribute.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_datacenter.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_datastore_cluster.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_distributed_virtual_switch.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_folder.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_host.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_ovf_vm_template.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_policy.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_tag.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_tag_category.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_vapp_container.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/get_vmfs_disks.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/ha_vm_override.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/host.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/host_virtual_switch.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/license.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/py.typed +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/role.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/storage_drs_vm_override.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/tag.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/tag_category.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/vapp_container.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/vapp_entity.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/vmfs_datastore.py +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere.egg-info/SOURCES.txt +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere.egg-info/dependency_links.txt +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere.egg-info/requires.txt +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere.egg-info/top_level.txt +0 -0
- {pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/setup.cfg +0 -0
|
@@ -675,12 +675,9 @@ class EntityPermissionsPermissionArgs:
|
|
|
675
675
|
role_id: pulumi.Input[str],
|
|
676
676
|
user_or_group: pulumi.Input[str]):
|
|
677
677
|
"""
|
|
678
|
-
:param pulumi.Input[bool] is_group: Whether
|
|
679
|
-
|
|
680
|
-
:param pulumi.Input[
|
|
681
|
-
hierarchy to sub-entities.
|
|
682
|
-
:param pulumi.Input[str] role_id: The role id of the role to be given to the user on
|
|
683
|
-
the specified entity.
|
|
678
|
+
:param pulumi.Input[bool] is_group: Whether user_or_group field refers to a user or a group. True for a group and false for a user.
|
|
679
|
+
:param pulumi.Input[bool] propagate: Whether or not this permission propagates down the hierarchy to sub-entities.
|
|
680
|
+
:param pulumi.Input[str] role_id: The role id of the role to be given to the user on the specified entity.
|
|
684
681
|
:param pulumi.Input[str] user_or_group: The user/group getting the permission.
|
|
685
682
|
"""
|
|
686
683
|
pulumi.set(__self__, "is_group", is_group)
|
|
@@ -692,8 +689,7 @@ class EntityPermissionsPermissionArgs:
|
|
|
692
689
|
@pulumi.getter(name="isGroup")
|
|
693
690
|
def is_group(self) -> pulumi.Input[bool]:
|
|
694
691
|
"""
|
|
695
|
-
Whether
|
|
696
|
-
group. True for a group and false for a user.
|
|
692
|
+
Whether user_or_group field refers to a user or a group. True for a group and false for a user.
|
|
697
693
|
"""
|
|
698
694
|
return pulumi.get(self, "is_group")
|
|
699
695
|
|
|
@@ -705,8 +701,7 @@ class EntityPermissionsPermissionArgs:
|
|
|
705
701
|
@pulumi.getter
|
|
706
702
|
def propagate(self) -> pulumi.Input[bool]:
|
|
707
703
|
"""
|
|
708
|
-
Whether or not this permission propagates down the
|
|
709
|
-
hierarchy to sub-entities.
|
|
704
|
+
Whether or not this permission propagates down the hierarchy to sub-entities.
|
|
710
705
|
"""
|
|
711
706
|
return pulumi.get(self, "propagate")
|
|
712
707
|
|
|
@@ -718,8 +713,7 @@ class EntityPermissionsPermissionArgs:
|
|
|
718
713
|
@pulumi.getter(name="roleId")
|
|
719
714
|
def role_id(self) -> pulumi.Input[str]:
|
|
720
715
|
"""
|
|
721
|
-
The role id of the role to be given to the user on
|
|
722
|
-
the specified entity.
|
|
716
|
+
The role id of the role to be given to the user on the specified entity.
|
|
723
717
|
"""
|
|
724
718
|
return pulumi.get(self, "role_id")
|
|
725
719
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
import asyncio
|
|
7
|
-
import functools
|
|
8
7
|
import importlib.metadata
|
|
9
8
|
import importlib.util
|
|
10
9
|
import inspect
|
|
@@ -12,19 +11,14 @@ import json
|
|
|
12
11
|
import os
|
|
13
12
|
import sys
|
|
14
13
|
import typing
|
|
15
|
-
import warnings
|
|
16
|
-
import base64
|
|
17
14
|
|
|
18
15
|
import pulumi
|
|
19
16
|
import pulumi.runtime
|
|
20
17
|
from pulumi.runtime.sync_await import _sync_await
|
|
21
|
-
from pulumi.runtime.proto import resource_pb2
|
|
22
18
|
|
|
23
19
|
from semver import VersionInfo as SemverVersion
|
|
24
20
|
from parver import Version as PEP440Version
|
|
25
21
|
|
|
26
|
-
C = typing.TypeVar("C", bound=typing.Callable)
|
|
27
|
-
|
|
28
22
|
|
|
29
23
|
def get_env(*args):
|
|
30
24
|
for v in args:
|
|
@@ -102,6 +96,10 @@ def _get_semver_version():
|
|
|
102
96
|
_version = _get_semver_version()
|
|
103
97
|
_version_str = str(_version)
|
|
104
98
|
|
|
99
|
+
|
|
100
|
+
def get_version():
|
|
101
|
+
return _version_str
|
|
102
|
+
|
|
105
103
|
def get_resource_opts_defaults() -> pulumi.ResourceOptions:
|
|
106
104
|
return pulumi.ResourceOptions(
|
|
107
105
|
version=get_version(),
|
|
@@ -289,39 +287,5 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
|
|
|
289
287
|
await o._resources,
|
|
290
288
|
)
|
|
291
289
|
|
|
292
|
-
|
|
293
|
-
# This is included to provide an upgrade path for users who are using a version
|
|
294
|
-
# of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
|
|
295
|
-
def deprecated(message: str) -> typing.Callable[[C], C]:
|
|
296
|
-
"""
|
|
297
|
-
Decorator to indicate a function is deprecated.
|
|
298
|
-
|
|
299
|
-
As well as inserting appropriate statements to indicate that the function is
|
|
300
|
-
deprecated, this decorator also tags the function with a special attribute
|
|
301
|
-
so that Pulumi code can detect that it is deprecated and react appropriately
|
|
302
|
-
in certain situations.
|
|
303
|
-
|
|
304
|
-
message is the deprecation message that should be printed if the function is called.
|
|
305
|
-
"""
|
|
306
|
-
|
|
307
|
-
def decorator(fn: C) -> C:
|
|
308
|
-
if not callable(fn):
|
|
309
|
-
raise TypeError("Expected fn to be callable")
|
|
310
|
-
|
|
311
|
-
@functools.wraps(fn)
|
|
312
|
-
def deprecated_fn(*args, **kwargs):
|
|
313
|
-
warnings.warn(message)
|
|
314
|
-
pulumi.warn(f"{fn.__name__} is deprecated: {message}")
|
|
315
|
-
|
|
316
|
-
return fn(*args, **kwargs)
|
|
317
|
-
|
|
318
|
-
deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
|
|
319
|
-
return typing.cast(C, deprecated_fn)
|
|
320
|
-
|
|
321
|
-
return decorator
|
|
322
|
-
|
|
323
290
|
def get_plugin_download_url():
|
|
324
291
|
return None
|
|
325
|
-
|
|
326
|
-
def get_version():
|
|
327
|
-
return _version_str
|
{pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/compute_cluster.py
RENAMED
|
@@ -2498,7 +2498,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2498
2498
|
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
2499
2499
|
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
2500
2500
|
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
2501
|
-
host_image: Optional[pulumi.Input[
|
|
2501
|
+
host_image: Optional[pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']]] = None,
|
|
2502
2502
|
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
2503
2503
|
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2504
2504
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2510,16 +2510,16 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2510
2510
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2511
2511
|
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2512
2512
|
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2513
|
-
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2513
|
+
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanDiskGroupArgs']]]]] = None,
|
|
2514
2514
|
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2515
2515
|
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
2516
2516
|
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2517
2517
|
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2518
|
-
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2518
|
+
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanFaultDomainArgs']]]]] = None,
|
|
2519
2519
|
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2520
2520
|
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2521
2521
|
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2522
|
-
vsan_stretched_cluster: Optional[pulumi.Input[
|
|
2522
|
+
vsan_stretched_cluster: Optional[pulumi.Input[pulumi.InputType['ComputeClusterVsanStretchedClusterArgs']]] = None,
|
|
2523
2523
|
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2524
2524
|
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2525
2525
|
__props__=None):
|
|
@@ -2617,7 +2617,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2617
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
|
|
2618
2618
|
proceeding with the next priority.
|
|
2619
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[
|
|
2620
|
+
:param pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']] host_image: Details about the host image which should be applied to the cluster.
|
|
2621
2621
|
:param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
2622
2622
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
2623
2623
|
:param pulumi.Input[str] name: The name of the cluster.
|
|
@@ -2631,16 +2631,16 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2631
2631
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
2632
2632
|
:param pulumi.Input[bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
2633
2633
|
:param pulumi.Input[bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
2634
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2634
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanDiskGroupArgs']]]] vsan_disk_groups: A list of disk UUIDs to add to the vSAN cluster.
|
|
2635
2635
|
:param pulumi.Input[bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
2636
2636
|
:param pulumi.Input[int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
2637
2637
|
:param pulumi.Input[bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
2638
2638
|
:param pulumi.Input[bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
2639
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2639
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanFaultDomainArgs']]]] vsan_fault_domains: The configuration for vSAN fault domains.
|
|
2640
2640
|
:param pulumi.Input[bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
2641
2641
|
:param pulumi.Input[bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
2642
2642
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
2643
|
-
:param pulumi.Input[
|
|
2643
|
+
:param pulumi.Input[pulumi.InputType['ComputeClusterVsanStretchedClusterArgs']] vsan_stretched_cluster: The configuration for stretched cluster.
|
|
2644
2644
|
:param pulumi.Input[bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
2645
2645
|
:param pulumi.Input[bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
2646
2646
|
"""
|
|
@@ -2712,7 +2712,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2712
2712
|
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
2713
2713
|
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
2714
2714
|
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
2715
|
-
host_image: Optional[pulumi.Input[
|
|
2715
|
+
host_image: Optional[pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']]] = None,
|
|
2716
2716
|
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
2717
2717
|
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2718
2718
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2724,16 +2724,16 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2724
2724
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2725
2725
|
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2726
2726
|
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2727
|
-
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2727
|
+
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanDiskGroupArgs']]]]] = None,
|
|
2728
2728
|
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2729
2729
|
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
2730
2730
|
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2731
2731
|
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2732
|
-
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2732
|
+
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanFaultDomainArgs']]]]] = None,
|
|
2733
2733
|
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2734
2734
|
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2735
2735
|
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2736
|
-
vsan_stretched_cluster: Optional[pulumi.Input[
|
|
2736
|
+
vsan_stretched_cluster: Optional[pulumi.Input[pulumi.InputType['ComputeClusterVsanStretchedClusterArgs']]] = None,
|
|
2737
2737
|
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2738
2738
|
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2739
2739
|
__props__=None):
|
|
@@ -2872,7 +2872,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2872
2872
|
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
2873
2873
|
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
2874
2874
|
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
2875
|
-
host_image: Optional[pulumi.Input[
|
|
2875
|
+
host_image: Optional[pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']]] = None,
|
|
2876
2876
|
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
2877
2877
|
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2878
2878
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2885,16 +2885,16 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2885
2885
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2886
2886
|
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2887
2887
|
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2888
|
-
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2888
|
+
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanDiskGroupArgs']]]]] = None,
|
|
2889
2889
|
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2890
2890
|
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
2891
2891
|
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2892
2892
|
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2893
|
-
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2893
|
+
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanFaultDomainArgs']]]]] = None,
|
|
2894
2894
|
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2895
2895
|
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2896
2896
|
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2897
|
-
vsan_stretched_cluster: Optional[pulumi.Input[
|
|
2897
|
+
vsan_stretched_cluster: Optional[pulumi.Input[pulumi.InputType['ComputeClusterVsanStretchedClusterArgs']]] = None,
|
|
2898
2898
|
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2899
2899
|
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None) -> 'ComputeCluster':
|
|
2900
2900
|
"""
|
|
@@ -2994,7 +2994,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2994
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
|
|
2995
2995
|
proceeding with the next priority.
|
|
2996
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[
|
|
2997
|
+
:param pulumi.Input[pulumi.InputType['ComputeClusterHostImageArgs']] host_image: Details about the host image which should be applied to the cluster.
|
|
2998
2998
|
:param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
2999
2999
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
3000
3000
|
:param pulumi.Input[str] name: The name of the cluster.
|
|
@@ -3013,16 +3013,16 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3013
3013
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
3014
3014
|
:param pulumi.Input[bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
3015
3015
|
:param pulumi.Input[bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
3016
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3016
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanDiskGroupArgs']]]] vsan_disk_groups: A list of disk UUIDs to add to the vSAN cluster.
|
|
3017
3017
|
:param pulumi.Input[bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
3018
3018
|
:param pulumi.Input[int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
3019
3019
|
:param pulumi.Input[bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
3020
3020
|
:param pulumi.Input[bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
3021
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3021
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ComputeClusterVsanFaultDomainArgs']]]] vsan_fault_domains: The configuration for vSAN fault domains.
|
|
3022
3022
|
:param pulumi.Input[bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
3023
3023
|
:param pulumi.Input[bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
3024
3024
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
3025
|
-
:param pulumi.Input[
|
|
3025
|
+
:param pulumi.Input[pulumi.InputType['ComputeClusterVsanStretchedClusterArgs']] vsan_stretched_cluster: The configuration for stretched cluster.
|
|
3026
3026
|
:param pulumi.Input[bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
3027
3027
|
:param pulumi.Input[bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
3028
3028
|
"""
|
|
@@ -249,6 +249,8 @@ 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
|
+
|
|
252
254
|
## Example Usage
|
|
253
255
|
|
|
254
256
|
The following example creates two virtual machines in a cluster using the
|
|
@@ -278,13 +280,13 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
278
280
|
num_cpus=1,
|
|
279
281
|
memory=1024,
|
|
280
282
|
guest_id="otherLinux64Guest",
|
|
281
|
-
network_interfaces=[
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
disks=[
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
283
|
+
network_interfaces=[vsphere.VirtualMachineNetworkInterfaceArgs(
|
|
284
|
+
network_id=network.id,
|
|
285
|
+
)],
|
|
286
|
+
disks=[vsphere.VirtualMachineDiskArgs(
|
|
287
|
+
label="disk0",
|
|
288
|
+
size=20,
|
|
289
|
+
)]))
|
|
288
290
|
vm_affinity_rule = vsphere.ComputeClusterVmAffinityRule("vm_affinity_rule",
|
|
289
291
|
name="vm-affinity-rule",
|
|
290
292
|
compute_cluster_id=cluster.id,
|
|
@@ -365,6 +367,8 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
365
367
|
> **NOTE:** This resource requires vCenter Server and is not available on
|
|
366
368
|
direct ESXi host connections.
|
|
367
369
|
|
|
370
|
+
> **NOTE:** vSphere DRS requires a vSphere Enterprise Plus license.
|
|
371
|
+
|
|
368
372
|
## Example Usage
|
|
369
373
|
|
|
370
374
|
The following example creates two virtual machines in a cluster using the
|
|
@@ -394,13 +398,13 @@ class ComputeClusterVmAffinityRule(pulumi.CustomResource):
|
|
|
394
398
|
num_cpus=1,
|
|
395
399
|
memory=1024,
|
|
396
400
|
guest_id="otherLinux64Guest",
|
|
397
|
-
network_interfaces=[
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
disks=[
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
401
|
+
network_interfaces=[vsphere.VirtualMachineNetworkInterfaceArgs(
|
|
402
|
+
network_id=network.id,
|
|
403
|
+
)],
|
|
404
|
+
disks=[vsphere.VirtualMachineDiskArgs(
|
|
405
|
+
label="disk0",
|
|
406
|
+
size=20,
|
|
407
|
+
)]))
|
|
404
408
|
vm_affinity_rule = vsphere.ComputeClusterVmAffinityRule("vm_affinity_rule",
|
|
405
409
|
name="vm-affinity-rule",
|
|
406
410
|
compute_cluster_id=cluster.id,
|
{pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/content_library.py
RENAMED
|
@@ -195,9 +195,9 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
195
195
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
196
196
|
description: Optional[pulumi.Input[str]] = None,
|
|
197
197
|
name: Optional[pulumi.Input[str]] = None,
|
|
198
|
-
publication: Optional[pulumi.Input[
|
|
198
|
+
publication: Optional[pulumi.Input[pulumi.InputType['ContentLibraryPublicationArgs']]] = None,
|
|
199
199
|
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
200
|
-
subscription: Optional[pulumi.Input[
|
|
200
|
+
subscription: Optional[pulumi.Input[pulumi.InputType['ContentLibrarySubscriptionArgs']]] = None,
|
|
201
201
|
__props__=None):
|
|
202
202
|
"""
|
|
203
203
|
Create a ContentLibrary resource with the given unique name, props, and options.
|
|
@@ -205,9 +205,9 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
205
205
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
206
206
|
:param pulumi.Input[str] description: A description for the content library.
|
|
207
207
|
:param pulumi.Input[str] name: The name of the content library.
|
|
208
|
-
:param pulumi.Input[
|
|
208
|
+
:param pulumi.Input[pulumi.InputType['ContentLibraryPublicationArgs']] publication: Options to publish a local content library.
|
|
209
209
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
210
|
-
:param pulumi.Input[
|
|
210
|
+
:param pulumi.Input[pulumi.InputType['ContentLibrarySubscriptionArgs']] subscription: Options subscribe to a published content library.
|
|
211
211
|
"""
|
|
212
212
|
...
|
|
213
213
|
@overload
|
|
@@ -234,9 +234,9 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
234
234
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
235
235
|
description: Optional[pulumi.Input[str]] = None,
|
|
236
236
|
name: Optional[pulumi.Input[str]] = None,
|
|
237
|
-
publication: Optional[pulumi.Input[
|
|
237
|
+
publication: Optional[pulumi.Input[pulumi.InputType['ContentLibraryPublicationArgs']]] = None,
|
|
238
238
|
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
239
|
-
subscription: Optional[pulumi.Input[
|
|
239
|
+
subscription: Optional[pulumi.Input[pulumi.InputType['ContentLibrarySubscriptionArgs']]] = None,
|
|
240
240
|
__props__=None):
|
|
241
241
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
242
242
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -265,9 +265,9 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
265
265
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
266
266
|
description: Optional[pulumi.Input[str]] = None,
|
|
267
267
|
name: Optional[pulumi.Input[str]] = None,
|
|
268
|
-
publication: Optional[pulumi.Input[
|
|
268
|
+
publication: Optional[pulumi.Input[pulumi.InputType['ContentLibraryPublicationArgs']]] = None,
|
|
269
269
|
storage_backings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
270
|
-
subscription: Optional[pulumi.Input[
|
|
270
|
+
subscription: Optional[pulumi.Input[pulumi.InputType['ContentLibrarySubscriptionArgs']]] = None) -> 'ContentLibrary':
|
|
271
271
|
"""
|
|
272
272
|
Get an existing ContentLibrary resource's state with the given name, id, and optional extra
|
|
273
273
|
properties used to qualify the lookup.
|
|
@@ -277,9 +277,9 @@ class ContentLibrary(pulumi.CustomResource):
|
|
|
277
277
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
278
278
|
:param pulumi.Input[str] description: A description for the content library.
|
|
279
279
|
:param pulumi.Input[str] name: The name of the content library.
|
|
280
|
-
:param pulumi.Input[
|
|
280
|
+
:param pulumi.Input[pulumi.InputType['ContentLibraryPublicationArgs']] publication: Options to publish a local content library.
|
|
281
281
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] storage_backings: The managed object reference ID of the datastore on which to store the content library items.
|
|
282
|
-
:param pulumi.Input[
|
|
282
|
+
:param pulumi.Input[pulumi.InputType['ContentLibrarySubscriptionArgs']] subscription: Options subscribe to a published content library.
|
|
283
283
|
"""
|
|
284
284
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
285
285
|
|
|
@@ -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,6 +34,9 @@ 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.
|
|
37
40
|
"""
|
|
38
41
|
if custom_attributes is not None:
|
|
39
42
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -48,7 +51,7 @@ class DatacenterArgs:
|
|
|
48
51
|
@pulumi.getter(name="customAttributes")
|
|
49
52
|
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
50
53
|
"""
|
|
51
|
-
Map of custom attribute ids to value
|
|
54
|
+
Map of custom attribute ids to value
|
|
52
55
|
strings to set for datacenter resource. See
|
|
53
56
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
54
57
|
for custom attributes.
|
|
@@ -95,6 +98,9 @@ class DatacenterArgs:
|
|
|
95
98
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
96
99
|
"""
|
|
97
100
|
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.
|
|
98
104
|
"""
|
|
99
105
|
return pulumi.get(self, "tags")
|
|
100
106
|
|
|
@@ -113,7 +119,7 @@ class _DatacenterState:
|
|
|
113
119
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
114
120
|
"""
|
|
115
121
|
Input properties used for looking up and filtering Datacenter resources.
|
|
116
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
122
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
117
123
|
strings to set for datacenter resource. See
|
|
118
124
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
119
125
|
for custom attributes.
|
|
@@ -128,6 +134,9 @@ class _DatacenterState:
|
|
|
128
134
|
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
129
135
|
within the folder. Forces a new resource if changed.
|
|
130
136
|
: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.
|
|
131
140
|
"""
|
|
132
141
|
if custom_attributes is not None:
|
|
133
142
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -144,7 +153,7 @@ class _DatacenterState:
|
|
|
144
153
|
@pulumi.getter(name="customAttributes")
|
|
145
154
|
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
146
155
|
"""
|
|
147
|
-
Map of custom attribute ids to value
|
|
156
|
+
Map of custom attribute ids to value
|
|
148
157
|
strings to set for datacenter resource. See
|
|
149
158
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
150
159
|
for custom attributes.
|
|
@@ -203,6 +212,9 @@ class _DatacenterState:
|
|
|
203
212
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
204
213
|
"""
|
|
205
214
|
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.
|
|
206
218
|
"""
|
|
207
219
|
return pulumi.get(self, "tags")
|
|
208
220
|
|
|
@@ -258,7 +270,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
258
270
|
|
|
259
271
|
:param str resource_name: The name of the resource.
|
|
260
272
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
261
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
273
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
262
274
|
strings to set for datacenter resource. See
|
|
263
275
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
264
276
|
for custom attributes.
|
|
@@ -272,6 +284,9 @@ class Datacenter(pulumi.CustomResource):
|
|
|
272
284
|
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
273
285
|
within the folder. Forces a new resource if changed.
|
|
274
286
|
: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.
|
|
275
290
|
"""
|
|
276
291
|
...
|
|
277
292
|
@overload
|
|
@@ -369,7 +384,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
369
384
|
:param str resource_name: The unique name of the resulting resource.
|
|
370
385
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
371
386
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
372
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
387
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to value
|
|
373
388
|
strings to set for datacenter resource. See
|
|
374
389
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
375
390
|
for custom attributes.
|
|
@@ -384,6 +399,9 @@ class Datacenter(pulumi.CustomResource):
|
|
|
384
399
|
:param pulumi.Input[str] name: The name of the datacenter. This name needs to be unique
|
|
385
400
|
within the folder. Forces a new resource if changed.
|
|
386
401
|
: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.
|
|
387
405
|
"""
|
|
388
406
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
389
407
|
|
|
@@ -400,7 +418,7 @@ class Datacenter(pulumi.CustomResource):
|
|
|
400
418
|
@pulumi.getter(name="customAttributes")
|
|
401
419
|
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
402
420
|
"""
|
|
403
|
-
Map of custom attribute ids to value
|
|
421
|
+
Map of custom attribute ids to value
|
|
404
422
|
strings to set for datacenter resource. See
|
|
405
423
|
[here][docs-setting-custom-attributes] for a reference on how to set values
|
|
406
424
|
for custom attributes.
|
|
@@ -443,6 +461,9 @@ class Datacenter(pulumi.CustomResource):
|
|
|
443
461
|
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
444
462
|
"""
|
|
445
463
|
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.
|
|
446
467
|
"""
|
|
447
468
|
return pulumi.get(self, "tags")
|
|
448
469
|
|
{pulumi_vsphere-4.10.3a1723624830 → pulumi_vsphere-4.11.0a1}/pulumi_vsphere/datastore_cluster.py
RENAMED
|
@@ -88,6 +88,8 @@ 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.
|
|
91
93
|
"""
|
|
92
94
|
pulumi.set(__self__, "datacenter_id", datacenter_id)
|
|
93
95
|
if custom_attributes is not None:
|
|
@@ -454,6 +456,8 @@ class DatastoreClusterArgs:
|
|
|
454
456
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
455
457
|
"""
|
|
456
458
|
The IDs of any tags to attach to this resource.
|
|
459
|
+
|
|
460
|
+
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
457
461
|
"""
|
|
458
462
|
return pulumi.get(self, "tags")
|
|
459
463
|
|
|
@@ -539,6 +543,8 @@ class _DatastoreClusterState:
|
|
|
539
543
|
: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.
|
|
540
544
|
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
541
545
|
: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.
|
|
542
548
|
"""
|
|
543
549
|
if custom_attributes is not None:
|
|
544
550
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -906,6 +912,8 @@ class _DatastoreClusterState:
|
|
|
906
912
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
907
913
|
"""
|
|
908
914
|
The IDs of any tags to attach to this resource.
|
|
915
|
+
|
|
916
|
+
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
909
917
|
"""
|
|
910
918
|
return pulumi.get(self, "tags")
|
|
911
919
|
|
|
@@ -996,6 +1004,8 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
996
1004
|
: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.
|
|
997
1005
|
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
998
1006
|
: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.
|
|
999
1009
|
"""
|
|
1000
1010
|
...
|
|
1001
1011
|
@overload
|
|
@@ -1170,6 +1180,8 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1170
1180
|
: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.
|
|
1171
1181
|
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
1172
1182
|
: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.
|
|
1173
1185
|
"""
|
|
1174
1186
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1175
1187
|
|
|
@@ -1421,6 +1433,8 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1421
1433
|
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1422
1434
|
"""
|
|
1423
1435
|
The IDs of any tags to attach to this resource.
|
|
1436
|
+
|
|
1437
|
+
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
1424
1438
|
"""
|
|
1425
1439
|
return pulumi.get(self, "tags")
|
|
1426
1440
|
|