pulumi-vsphere 4.10.0a1710245029__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 +28 -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 +29 -21
- pulumi_vsphere/get_datastore_cluster.py +31 -10
- pulumi_vsphere/get_datastore_stats.py +63 -57
- 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 +20 -15
- 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 +205 -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 +717 -270
- 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 +698 -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.0a1710245029.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.0a1710245029.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1710245029.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.10.0a1710245029.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
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -194,7 +199,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
194
199
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
195
200
|
description: Optional[pulumi.Input[str]] = None,
|
|
196
201
|
name: Optional[pulumi.Input[str]] = None,
|
|
197
|
-
spec: Optional[pulumi.Input[
|
|
202
|
+
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
198
203
|
type: Optional[pulumi.Input[str]] = None,
|
|
199
204
|
__props__=None):
|
|
200
205
|
"""
|
|
@@ -202,11 +207,36 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
202
207
|
|
|
203
208
|
> **NOTE:** The name attribute is unique identifier for the guest OS spec per VC.
|
|
204
209
|
|
|
210
|
+
## Example Usage
|
|
211
|
+
|
|
212
|
+
```python
|
|
213
|
+
import pulumi
|
|
214
|
+
import pulumi_vsphere as vsphere
|
|
215
|
+
|
|
216
|
+
windows = vsphere.GuestOsCustomization("windows",
|
|
217
|
+
name="windows",
|
|
218
|
+
type="Windows",
|
|
219
|
+
spec={
|
|
220
|
+
"windows_options": {
|
|
221
|
+
"run_once_command_lists": [
|
|
222
|
+
"command-1",
|
|
223
|
+
"command-2",
|
|
224
|
+
],
|
|
225
|
+
"computer_name": "windows",
|
|
226
|
+
"auto_logon": False,
|
|
227
|
+
"auto_logon_count": 0,
|
|
228
|
+
"admin_password": "VMware1!",
|
|
229
|
+
"time_zone": 4,
|
|
230
|
+
"workgroup": "workgroup",
|
|
231
|
+
},
|
|
232
|
+
})
|
|
233
|
+
```
|
|
234
|
+
|
|
205
235
|
:param str resource_name: The name of the resource.
|
|
206
236
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
207
237
|
:param pulumi.Input[str] description: The description for the customization specification.
|
|
208
238
|
:param pulumi.Input[str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
209
|
-
:param pulumi.Input[
|
|
239
|
+
:param pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']] spec: Container object for the Guest OS properties about to be customized . See virtual machine customizations
|
|
210
240
|
:param pulumi.Input[str] type: The type of customization specification: One among: Windows, Linux.
|
|
211
241
|
"""
|
|
212
242
|
...
|
|
@@ -220,6 +250,31 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
220
250
|
|
|
221
251
|
> **NOTE:** The name attribute is unique identifier for the guest OS spec per VC.
|
|
222
252
|
|
|
253
|
+
## Example Usage
|
|
254
|
+
|
|
255
|
+
```python
|
|
256
|
+
import pulumi
|
|
257
|
+
import pulumi_vsphere as vsphere
|
|
258
|
+
|
|
259
|
+
windows = vsphere.GuestOsCustomization("windows",
|
|
260
|
+
name="windows",
|
|
261
|
+
type="Windows",
|
|
262
|
+
spec={
|
|
263
|
+
"windows_options": {
|
|
264
|
+
"run_once_command_lists": [
|
|
265
|
+
"command-1",
|
|
266
|
+
"command-2",
|
|
267
|
+
],
|
|
268
|
+
"computer_name": "windows",
|
|
269
|
+
"auto_logon": False,
|
|
270
|
+
"auto_logon_count": 0,
|
|
271
|
+
"admin_password": "VMware1!",
|
|
272
|
+
"time_zone": 4,
|
|
273
|
+
"workgroup": "workgroup",
|
|
274
|
+
},
|
|
275
|
+
})
|
|
276
|
+
```
|
|
277
|
+
|
|
223
278
|
:param str resource_name: The name of the resource.
|
|
224
279
|
:param GuestOsCustomizationArgs args: The arguments to use to populate this resource's properties.
|
|
225
280
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -237,7 +292,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
237
292
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
238
293
|
description: Optional[pulumi.Input[str]] = None,
|
|
239
294
|
name: Optional[pulumi.Input[str]] = None,
|
|
240
|
-
spec: Optional[pulumi.Input[
|
|
295
|
+
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
241
296
|
type: Optional[pulumi.Input[str]] = None,
|
|
242
297
|
__props__=None):
|
|
243
298
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -272,7 +327,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
272
327
|
description: Optional[pulumi.Input[str]] = None,
|
|
273
328
|
last_update_time: Optional[pulumi.Input[str]] = None,
|
|
274
329
|
name: Optional[pulumi.Input[str]] = None,
|
|
275
|
-
spec: Optional[pulumi.Input[
|
|
330
|
+
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
276
331
|
type: Optional[pulumi.Input[str]] = None) -> 'GuestOsCustomization':
|
|
277
332
|
"""
|
|
278
333
|
Get an existing GuestOsCustomization resource's state with the given name, id, and optional extra
|
|
@@ -285,7 +340,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
285
340
|
:param pulumi.Input[str] description: The description for the customization specification.
|
|
286
341
|
:param pulumi.Input[str] last_update_time: The time of last modification to the customization specification.
|
|
287
342
|
:param pulumi.Input[str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
288
|
-
:param pulumi.Input[
|
|
343
|
+
:param pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']] spec: Container object for the Guest OS properties about to be customized . See virtual machine customizations
|
|
289
344
|
:param pulumi.Input[str] type: The type of customization specification: One among: Windows, Linux.
|
|
290
345
|
"""
|
|
291
346
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|