pulumi-vsphere 4.10.0a1710160860__py3-none-any.whl → 4.13.0a1736836157__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 +30 -0
- pulumi_vsphere/_inputs.py +1816 -277
- pulumi_vsphere/_utilities.py +41 -5
- pulumi_vsphere/compute_cluster.py +937 -1488
- pulumi_vsphere/compute_cluster_host_group.py +67 -2
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +69 -34
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +41 -2
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +205 -2
- pulumi_vsphere/compute_cluster_vm_group.py +198 -2
- pulumi_vsphere/compute_cluster_vm_host_rule.py +73 -2
- pulumi_vsphere/config/__init__.pyi +5 -0
- pulumi_vsphere/config/vars.py +5 -0
- pulumi_vsphere/content_library.py +113 -12
- pulumi_vsphere/content_library_item.py +143 -2
- pulumi_vsphere/custom_attribute.py +77 -2
- pulumi_vsphere/datacenter.py +48 -40
- pulumi_vsphere/datastore_cluster.py +217 -366
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +159 -2
- pulumi_vsphere/distributed_port_group.py +416 -189
- pulumi_vsphere/distributed_virtual_switch.py +571 -830
- pulumi_vsphere/dpm_host_override.py +63 -2
- pulumi_vsphere/drs_vm_override.py +67 -2
- pulumi_vsphere/entity_permissions.py +64 -38
- pulumi_vsphere/file.py +21 -24
- pulumi_vsphere/folder.py +148 -30
- pulumi_vsphere/get_compute_cluster.py +16 -9
- pulumi_vsphere/get_compute_cluster_host_group.py +36 -25
- pulumi_vsphere/get_content_library.py +23 -15
- pulumi_vsphere/get_content_library_item.py +29 -13
- pulumi_vsphere/get_custom_attribute.py +14 -9
- pulumi_vsphere/get_datacenter.py +30 -12
- pulumi_vsphere/get_datastore.py +44 -12
- pulumi_vsphere/get_datastore_cluster.py +31 -10
- pulumi_vsphere/get_datastore_stats.py +208 -0
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -9
- pulumi_vsphere/get_dynamic.py +35 -25
- pulumi_vsphere/get_folder.py +23 -11
- pulumi_vsphere/get_guest_os_customization.py +26 -52
- pulumi_vsphere/get_host.py +16 -9
- pulumi_vsphere/get_host_base_images.py +104 -0
- pulumi_vsphere/get_host_pci_device.py +28 -19
- pulumi_vsphere/get_host_thumbprint.py +41 -25
- pulumi_vsphere/get_host_vgpu_profile.py +195 -0
- pulumi_vsphere/get_license.py +20 -10
- pulumi_vsphere/get_network.py +80 -24
- pulumi_vsphere/get_ovf_vm_template.py +56 -5
- pulumi_vsphere/get_policy.py +13 -9
- pulumi_vsphere/get_resource_pool.py +29 -23
- pulumi_vsphere/get_role.py +23 -13
- pulumi_vsphere/get_tag.py +16 -9
- pulumi_vsphere/get_tag_category.py +16 -9
- pulumi_vsphere/get_vapp_container.py +15 -9
- pulumi_vsphere/get_virtual_machine.py +233 -48
- pulumi_vsphere/get_vmfs_disks.py +18 -9
- pulumi_vsphere/guest_os_customization.py +60 -5
- pulumi_vsphere/ha_vm_override.py +352 -380
- pulumi_vsphere/host.py +244 -64
- pulumi_vsphere/host_port_group.py +27 -24
- pulumi_vsphere/host_virtual_switch.py +209 -289
- pulumi_vsphere/license.py +5 -32
- pulumi_vsphere/nas_datastore.py +74 -9
- pulumi_vsphere/offline_software_depot.py +185 -0
- pulumi_vsphere/outputs.py +774 -256
- pulumi_vsphere/provider.py +7 -6
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +168 -411
- pulumi_vsphere/role.py +33 -2
- pulumi_vsphere/storage_drs_vm_override.py +133 -2
- pulumi_vsphere/supervisor.py +967 -0
- pulumi_vsphere/tag.py +159 -2
- pulumi_vsphere/tag_category.py +83 -2
- pulumi_vsphere/vapp_container.py +163 -2
- pulumi_vsphere/vapp_entity.py +147 -2
- pulumi_vsphere/virtual_disk.py +123 -36
- pulumi_vsphere/virtual_machine.py +759 -829
- pulumi_vsphere/virtual_machine_class.py +447 -0
- pulumi_vsphere/virtual_machine_snapshot.py +13 -12
- pulumi_vsphere/vm_storage_policy.py +120 -127
- pulumi_vsphere/vmfs_datastore.py +271 -2
- pulumi_vsphere/vnic.py +104 -105
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/METADATA +7 -6
- pulumi_vsphere-4.13.0a1736836157.dist-info/RECORD +86 -0
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1710160860.dist-info/RECORD +0 -80
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
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__ = [
|
|
@@ -94,14 +99,12 @@ def get_tag_category(name: Optional[str] = None,
|
|
|
94
99
|
|
|
95
100
|
## Example Usage
|
|
96
101
|
|
|
97
|
-
<!--Start PulumiCodeChooser -->
|
|
98
102
|
```python
|
|
99
103
|
import pulumi
|
|
100
104
|
import pulumi_vsphere as vsphere
|
|
101
105
|
|
|
102
106
|
category = vsphere.get_tag_category(name="example-category")
|
|
103
107
|
```
|
|
104
|
-
<!--End PulumiCodeChooser -->
|
|
105
108
|
|
|
106
109
|
|
|
107
110
|
:param str name: The name of the tag category.
|
|
@@ -117,11 +120,8 @@ def get_tag_category(name: Optional[str] = None,
|
|
|
117
120
|
description=pulumi.get(__ret__, 'description'),
|
|
118
121
|
id=pulumi.get(__ret__, 'id'),
|
|
119
122
|
name=pulumi.get(__ret__, 'name'))
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
@_utilities.lift_output_func(get_tag_category)
|
|
123
123
|
def get_tag_category_output(name: Optional[pulumi.Input[str]] = None,
|
|
124
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagCategoryResult]:
|
|
124
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagCategoryResult]:
|
|
125
125
|
"""
|
|
126
126
|
The `TagCategory` data source can be used to reference tag categories
|
|
127
127
|
that are not managed by this provider. Its attributes are the same as the
|
|
@@ -134,16 +134,23 @@ def get_tag_category_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
134
134
|
|
|
135
135
|
## Example Usage
|
|
136
136
|
|
|
137
|
-
<!--Start PulumiCodeChooser -->
|
|
138
137
|
```python
|
|
139
138
|
import pulumi
|
|
140
139
|
import pulumi_vsphere as vsphere
|
|
141
140
|
|
|
142
141
|
category = vsphere.get_tag_category(name="example-category")
|
|
143
142
|
```
|
|
144
|
-
<!--End PulumiCodeChooser -->
|
|
145
143
|
|
|
146
144
|
|
|
147
145
|
:param str name: The name of the tag category.
|
|
148
146
|
"""
|
|
149
|
-
|
|
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')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
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__ = [
|
|
@@ -73,7 +78,6 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
|
|
|
73
78
|
|
|
74
79
|
## Example Usage
|
|
75
80
|
|
|
76
|
-
<!--Start PulumiCodeChooser -->
|
|
77
81
|
```python
|
|
78
82
|
import pulumi
|
|
79
83
|
import pulumi_vsphere as vsphere
|
|
@@ -82,7 +86,6 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
|
|
|
82
86
|
pool = vsphere.get_vapp_container(name="vapp-container-01",
|
|
83
87
|
datacenter_id=datacenter.id)
|
|
84
88
|
```
|
|
85
|
-
<!--End PulumiCodeChooser -->
|
|
86
89
|
|
|
87
90
|
|
|
88
91
|
:param str datacenter_id: The managed object reference ID
|
|
@@ -100,12 +103,9 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
|
|
|
100
103
|
datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
|
|
101
104
|
id=pulumi.get(__ret__, 'id'),
|
|
102
105
|
name=pulumi.get(__ret__, 'name'))
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
@_utilities.lift_output_func(get_vapp_container)
|
|
106
106
|
def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
107
107
|
name: Optional[pulumi.Input[str]] = None,
|
|
108
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVappContainerResult]:
|
|
108
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVappContainerResult]:
|
|
109
109
|
"""
|
|
110
110
|
The `VappContainer` data source can be used to discover the ID of a
|
|
111
111
|
vApp container in vSphere. This is useful to return the ID of a vApp container
|
|
@@ -114,7 +114,6 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
|
114
114
|
|
|
115
115
|
## Example Usage
|
|
116
116
|
|
|
117
|
-
<!--Start PulumiCodeChooser -->
|
|
118
117
|
```python
|
|
119
118
|
import pulumi
|
|
120
119
|
import pulumi_vsphere as vsphere
|
|
@@ -123,7 +122,6 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
|
123
122
|
pool = vsphere.get_vapp_container(name="vapp-container-01",
|
|
124
123
|
datacenter_id=datacenter.id)
|
|
125
124
|
```
|
|
126
|
-
<!--End PulumiCodeChooser -->
|
|
127
125
|
|
|
128
126
|
|
|
129
127
|
:param str datacenter_id: The managed object reference ID
|
|
@@ -131,4 +129,12 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
|
131
129
|
:param str name: The name of the vApp container. This can be a name or
|
|
132
130
|
path.
|
|
133
131
|
"""
|
|
134
|
-
|
|
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')))
|