pulumi-vsphere 4.10.0a1709017641__py3-none-any.whl → 4.17.0a1763710194__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.
- pulumi_vsphere/__init__.py +51 -1
- pulumi_vsphere/_inputs.py +2568 -1025
- pulumi_vsphere/_utilities.py +50 -10
- pulumi_vsphere/compute_cluster.py +1564 -2373
- pulumi_vsphere/compute_cluster_host_group.py +191 -55
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +157 -113
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +133 -89
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +314 -106
- pulumi_vsphere/compute_cluster_vm_group.py +256 -55
- pulumi_vsphere/compute_cluster_vm_host_rule.py +323 -123
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +7 -2
- pulumi_vsphere/config/vars.py +20 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +177 -71
- pulumi_vsphere/content_library_item.py +252 -106
- pulumi_vsphere/custom_attribute.py +118 -38
- pulumi_vsphere/datacenter.py +128 -107
- pulumi_vsphere/datastore_cluster.py +636 -731
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +251 -89
- pulumi_vsphere/distributed_port_group.py +1129 -967
- pulumi_vsphere/distributed_virtual_switch.py +1971 -2239
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +294 -0
- pulumi_vsphere/dpm_host_override.py +222 -72
- pulumi_vsphere/drs_vm_override.py +236 -72
- pulumi_vsphere/entity_permissions.py +96 -69
- pulumi_vsphere/file.py +173 -178
- pulumi_vsphere/folder.py +236 -113
- pulumi_vsphere/get_compute_cluster.py +34 -23
- pulumi_vsphere/get_compute_cluster_host_group.py +52 -41
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +33 -21
- pulumi_vsphere/get_content_library_item.py +47 -31
- pulumi_vsphere/get_custom_attribute.py +26 -17
- pulumi_vsphere/get_datacenter.py +40 -18
- pulumi_vsphere/get_datastore.py +60 -24
- pulumi_vsphere/get_datastore_cluster.py +47 -22
- pulumi_vsphere/get_datastore_stats.py +204 -0
- pulumi_vsphere/get_distributed_virtual_switch.py +36 -23
- pulumi_vsphere/get_dynamic.py +55 -45
- pulumi_vsphere/get_folder.py +163 -25
- pulumi_vsphere/get_guest_os_customization.py +68 -37
- pulumi_vsphere/get_host.py +34 -23
- pulumi_vsphere/get_host_base_images.py +104 -0
- pulumi_vsphere/get_host_pci_device.py +78 -35
- pulumi_vsphere/get_host_thumbprint.py +58 -38
- pulumi_vsphere/get_host_vgpu_profile.py +195 -0
- pulumi_vsphere/get_license.py +44 -28
- pulumi_vsphere/get_network.py +157 -46
- pulumi_vsphere/get_ovf_vm_template.py +184 -301
- pulumi_vsphere/get_policy.py +23 -15
- pulumi_vsphere/get_resource_pool.py +107 -40
- pulumi_vsphere/get_role.py +49 -35
- pulumi_vsphere/get_tag.py +34 -23
- pulumi_vsphere/get_tag_category.py +32 -21
- pulumi_vsphere/get_vapp_container.py +31 -21
- pulumi_vsphere/get_virtual_machine.py +499 -287
- pulumi_vsphere/get_vmfs_disks.py +42 -29
- pulumi_vsphere/guest_os_customization.py +135 -79
- pulumi_vsphere/ha_vm_override.py +470 -577
- pulumi_vsphere/host.py +515 -262
- pulumi_vsphere/host_port_group.py +352 -355
- pulumi_vsphere/host_virtual_switch.py +580 -580
- pulumi_vsphere/license.py +110 -92
- pulumi_vsphere/nas_datastore.py +398 -270
- pulumi_vsphere/offline_software_depot.py +190 -0
- pulumi_vsphere/outputs.py +1582 -1027
- pulumi_vsphere/provider.py +172 -152
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +357 -273
- pulumi_vsphere/role.py +79 -47
- pulumi_vsphere/storage_drs_vm_override.py +225 -89
- pulumi_vsphere/supervisor.py +1064 -0
- pulumi_vsphere/tag.py +217 -55
- pulumi_vsphere/tag_category.py +158 -72
- pulumi_vsphere/vapp_container.py +425 -259
- pulumi_vsphere/vapp_entity.py +324 -174
- pulumi_vsphere/virtual_disk.py +245 -153
- pulumi_vsphere/virtual_machine.py +1696 -1836
- pulumi_vsphere/virtual_machine_class.py +448 -0
- pulumi_vsphere/virtual_machine_snapshot.py +137 -131
- pulumi_vsphere/vm_storage_policy.py +160 -154
- pulumi_vsphere/vmfs_datastore.py +460 -186
- pulumi_vsphere/vnic.py +249 -231
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +7 -6
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1709017641.dist-info/RECORD +0 -80
- {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -38,32 +43,32 @@ class GetTagCategoryResult:
|
|
|
38
43
|
raise TypeError("Expected argument 'name' to be a str")
|
|
39
44
|
pulumi.set(__self__, "name", name)
|
|
40
45
|
|
|
41
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
42
47
|
@pulumi.getter(name="associableTypes")
|
|
43
|
-
def associable_types(self) -> Sequence[str]:
|
|
48
|
+
def associable_types(self) -> Sequence[_builtins.str]:
|
|
44
49
|
return pulumi.get(self, "associable_types")
|
|
45
50
|
|
|
46
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
47
52
|
@pulumi.getter
|
|
48
|
-
def cardinality(self) -> str:
|
|
53
|
+
def cardinality(self) -> _builtins.str:
|
|
49
54
|
return pulumi.get(self, "cardinality")
|
|
50
55
|
|
|
51
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
52
57
|
@pulumi.getter
|
|
53
|
-
def description(self) -> str:
|
|
58
|
+
def description(self) -> _builtins.str:
|
|
54
59
|
return pulumi.get(self, "description")
|
|
55
60
|
|
|
56
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
57
62
|
@pulumi.getter
|
|
58
|
-
def id(self) -> str:
|
|
63
|
+
def id(self) -> _builtins.str:
|
|
59
64
|
"""
|
|
60
65
|
The provider-assigned unique ID for this managed resource.
|
|
61
66
|
"""
|
|
62
67
|
return pulumi.get(self, "id")
|
|
63
68
|
|
|
64
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
65
70
|
@pulumi.getter
|
|
66
|
-
def name(self) -> str:
|
|
71
|
+
def name(self) -> _builtins.str:
|
|
67
72
|
return pulumi.get(self, "name")
|
|
68
73
|
|
|
69
74
|
|
|
@@ -80,7 +85,7 @@ class AwaitableGetTagCategoryResult(GetTagCategoryResult):
|
|
|
80
85
|
name=self.name)
|
|
81
86
|
|
|
82
87
|
|
|
83
|
-
def get_tag_category(name: Optional[str] = None,
|
|
88
|
+
def get_tag_category(name: Optional[_builtins.str] = None,
|
|
84
89
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagCategoryResult:
|
|
85
90
|
"""
|
|
86
91
|
The `TagCategory` data source can be used to reference tag categories
|
|
@@ -102,7 +107,7 @@ def get_tag_category(name: Optional[str] = None,
|
|
|
102
107
|
```
|
|
103
108
|
|
|
104
109
|
|
|
105
|
-
:param str name: The name of the tag category.
|
|
110
|
+
:param _builtins.str name: The name of the tag category.
|
|
106
111
|
"""
|
|
107
112
|
__args__ = dict()
|
|
108
113
|
__args__['name'] = name
|
|
@@ -115,11 +120,8 @@ def get_tag_category(name: Optional[str] = None,
|
|
|
115
120
|
description=pulumi.get(__ret__, 'description'),
|
|
116
121
|
id=pulumi.get(__ret__, 'id'),
|
|
117
122
|
name=pulumi.get(__ret__, 'name'))
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
@_utilities.lift_output_func(get_tag_category)
|
|
121
|
-
def get_tag_category_output(name: Optional[pulumi.Input[str]] = None,
|
|
122
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagCategoryResult]:
|
|
123
|
+
def get_tag_category_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
124
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagCategoryResult]:
|
|
123
125
|
"""
|
|
124
126
|
The `TagCategory` data source can be used to reference tag categories
|
|
125
127
|
that are not managed by this provider. Its attributes are the same as the
|
|
@@ -140,6 +142,15 @@ def get_tag_category_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
140
142
|
```
|
|
141
143
|
|
|
142
144
|
|
|
143
|
-
:param str name: The name of the tag category.
|
|
145
|
+
:param _builtins.str name: The name of the tag category.
|
|
144
146
|
"""
|
|
145
|
-
|
|
147
|
+
__args__ = dict()
|
|
148
|
+
__args__['name'] = name
|
|
149
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
150
|
+
__ret__ = pulumi.runtime.invoke_output('vsphere:index/getTagCategory:getTagCategory', __args__, opts=opts, typ=GetTagCategoryResult)
|
|
151
|
+
return __ret__.apply(lambda __response__: GetTagCategoryResult(
|
|
152
|
+
associable_types=pulumi.get(__response__, 'associable_types'),
|
|
153
|
+
cardinality=pulumi.get(__response__, 'cardinality'),
|
|
154
|
+
description=pulumi.get(__response__, 'description'),
|
|
155
|
+
id=pulumi.get(__response__, 'id'),
|
|
156
|
+
name=pulumi.get(__response__, 'name')))
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -32,22 +37,22 @@ class GetVappContainerResult:
|
|
|
32
37
|
raise TypeError("Expected argument 'name' to be a str")
|
|
33
38
|
pulumi.set(__self__, "name", name)
|
|
34
39
|
|
|
35
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
36
41
|
@pulumi.getter(name="datacenterId")
|
|
37
|
-
def datacenter_id(self) -> str:
|
|
42
|
+
def datacenter_id(self) -> _builtins.str:
|
|
38
43
|
return pulumi.get(self, "datacenter_id")
|
|
39
44
|
|
|
40
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
41
46
|
@pulumi.getter
|
|
42
|
-
def id(self) -> str:
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
43
48
|
"""
|
|
44
49
|
The provider-assigned unique ID for this managed resource.
|
|
45
50
|
"""
|
|
46
51
|
return pulumi.get(self, "id")
|
|
47
52
|
|
|
48
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
49
54
|
@pulumi.getter
|
|
50
|
-
def name(self) -> str:
|
|
55
|
+
def name(self) -> _builtins.str:
|
|
51
56
|
return pulumi.get(self, "name")
|
|
52
57
|
|
|
53
58
|
|
|
@@ -62,8 +67,8 @@ class AwaitableGetVappContainerResult(GetVappContainerResult):
|
|
|
62
67
|
name=self.name)
|
|
63
68
|
|
|
64
69
|
|
|
65
|
-
def get_vapp_container(datacenter_id: Optional[str] = None,
|
|
66
|
-
name: Optional[str] = None,
|
|
70
|
+
def get_vapp_container(datacenter_id: Optional[_builtins.str] = None,
|
|
71
|
+
name: Optional[_builtins.str] = None,
|
|
67
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVappContainerResult:
|
|
68
73
|
"""
|
|
69
74
|
The `VappContainer` data source can be used to discover the ID of a
|
|
@@ -83,9 +88,9 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
|
|
|
83
88
|
```
|
|
84
89
|
|
|
85
90
|
|
|
86
|
-
:param str datacenter_id: The managed object reference ID
|
|
91
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
87
92
|
of the datacenter in which the vApp container is located.
|
|
88
|
-
:param str name: The name of the vApp container. This can be a name or
|
|
93
|
+
:param _builtins.str name: The name of the vApp container. This can be a name or
|
|
89
94
|
path.
|
|
90
95
|
"""
|
|
91
96
|
__args__ = dict()
|
|
@@ -98,12 +103,9 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
|
|
|
98
103
|
datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
|
|
99
104
|
id=pulumi.get(__ret__, 'id'),
|
|
100
105
|
name=pulumi.get(__ret__, 'name'))
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
105
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
106
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVappContainerResult]:
|
|
106
|
+
def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
107
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
108
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVappContainerResult]:
|
|
107
109
|
"""
|
|
108
110
|
The `VappContainer` data source can be used to discover the ID of a
|
|
109
111
|
vApp container in vSphere. This is useful to return the ID of a vApp container
|
|
@@ -122,9 +124,17 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
|
122
124
|
```
|
|
123
125
|
|
|
124
126
|
|
|
125
|
-
:param str datacenter_id: The managed object reference ID
|
|
127
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
126
128
|
of the datacenter in which the vApp container is located.
|
|
127
|
-
:param str name: The name of the vApp container. This can be a name or
|
|
129
|
+
:param _builtins.str name: The name of the vApp container. This can be a name or
|
|
128
130
|
path.
|
|
129
131
|
"""
|
|
130
|
-
|
|
132
|
+
__args__ = dict()
|
|
133
|
+
__args__['datacenterId'] = datacenter_id
|
|
134
|
+
__args__['name'] = name
|
|
135
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
|
+
__ret__ = pulumi.runtime.invoke_output('vsphere:index/getVappContainer:getVappContainer', __args__, opts=opts, typ=GetVappContainerResult)
|
|
137
|
+
return __ret__.apply(lambda __response__: GetVappContainerResult(
|
|
138
|
+
datacenter_id=pulumi.get(__response__, 'datacenter_id'),
|
|
139
|
+
id=pulumi.get(__response__, 'id'),
|
|
140
|
+
name=pulumi.get(__response__, 'name')))
|