pulumi-vsphere 4.10.0a1710245029__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.
- pulumi_vsphere/__init__.py +28 -0
- pulumi_vsphere/_inputs.py +566 -236
- pulumi_vsphere/_utilities.py +35 -0
- pulumi_vsphere/compute_cluster.py +747 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +28 -20
- pulumi_vsphere/datacenter.py +33 -40
- pulumi_vsphere/datastore_cluster.py +154 -364
- pulumi_vsphere/distributed_port_group.py +126 -182
- pulumi_vsphere/distributed_virtual_switch.py +301 -819
- pulumi_vsphere/entity_permissions.py +56 -35
- pulumi_vsphere/file.py +16 -24
- pulumi_vsphere/folder.py +7 -28
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +20 -20
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +12 -8
- pulumi_vsphere/get_custom_attribute.py +0 -4
- pulumi_vsphere/get_datacenter.py +0 -4
- pulumi_vsphere/get_datastore.py +9 -13
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +38 -44
- pulumi_vsphere/get_distributed_virtual_switch.py +2 -4
- pulumi_vsphere/get_dynamic.py +18 -20
- pulumi_vsphere/get_folder.py +10 -6
- pulumi_vsphere/get_guest_os_customization.py +8 -47
- pulumi_vsphere/get_host.py +0 -4
- pulumi_vsphere/get_host_base_images.py +97 -0
- pulumi_vsphere/get_host_pci_device.py +8 -14
- pulumi_vsphere/get_host_thumbprint.py +12 -16
- pulumi_vsphere/get_host_vgpu_profile.py +4 -10
- pulumi_vsphere/get_license.py +2 -5
- pulumi_vsphere/get_network.py +14 -18
- pulumi_vsphere/get_policy.py +0 -4
- pulumi_vsphere/get_resource_pool.py +14 -18
- pulumi_vsphere/get_role.py +4 -8
- pulumi_vsphere/get_tag.py +0 -4
- pulumi_vsphere/get_tag_category.py +0 -4
- pulumi_vsphere/get_vapp_container.py +0 -4
- pulumi_vsphere/get_virtual_machine.py +58 -41
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +50 -0
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -20
- pulumi_vsphere/host_port_group.py +12 -24
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/license.py +0 -32
- pulumi_vsphere/nas_datastore.py +7 -7
- pulumi_vsphere/offline_software_depot.py +180 -0
- pulumi_vsphere/outputs.py +591 -270
- pulumi_vsphere/provider.py +2 -6
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +50 -24
- pulumi_vsphere/supervisor.py +962 -0
- pulumi_vsphere/virtual_disk.py +14 -20
- pulumi_vsphere/virtual_machine.py +580 -809
- pulumi_vsphere/virtual_machine_class.py +442 -0
- pulumi_vsphere/virtual_machine_snapshot.py +8 -12
- pulumi_vsphere/vm_storage_policy.py +74 -86
- pulumi_vsphere/vnic.py +61 -77
- {pulumi_vsphere-4.10.0a1710245029.dist-info → pulumi_vsphere-4.10.2.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.10.2.dist-info/RECORD +86 -0
- {pulumi_vsphere-4.10.0a1710245029.dist-info → pulumi_vsphere-4.10.2.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.10.2.dist-info}/top_level.txt +0 -0
pulumi_vsphere/virtual_disk.py
CHANGED
|
@@ -52,14 +52,14 @@ class VirtualDiskArgs:
|
|
|
52
52
|
information on what each kind of disk provisioning policy means, click
|
|
53
53
|
[here][docs-vmware-vm-disk-provisioning].
|
|
54
54
|
|
|
55
|
-
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/
|
|
55
|
+
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
|
|
56
56
|
"""
|
|
57
57
|
pulumi.set(__self__, "datastore", datastore)
|
|
58
58
|
pulumi.set(__self__, "size", size)
|
|
59
59
|
pulumi.set(__self__, "vmdk_path", vmdk_path)
|
|
60
60
|
if adapter_type is not None:
|
|
61
|
-
warnings.warn("""this attribute has no effect on controller types - please use scsi_type in
|
|
62
|
-
pulumi.log.warn("""adapter_type is deprecated: this attribute has no effect on controller types - please use scsi_type in
|
|
61
|
+
warnings.warn("""this attribute has no effect on controller types - please use scsi_type in VirtualMachine instead""", DeprecationWarning)
|
|
62
|
+
pulumi.log.warn("""adapter_type is deprecated: this attribute has no effect on controller types - please use scsi_type in VirtualMachine instead""")
|
|
63
63
|
if adapter_type is not None:
|
|
64
64
|
pulumi.set(__self__, "adapter_type", adapter_type)
|
|
65
65
|
if create_directories is not None:
|
|
@@ -109,6 +109,7 @@ class VirtualDiskArgs:
|
|
|
109
109
|
|
|
110
110
|
@property
|
|
111
111
|
@pulumi.getter(name="adapterType")
|
|
112
|
+
@_utilities.deprecated("""this attribute has no effect on controller types - please use scsi_type in VirtualMachine instead""")
|
|
112
113
|
def adapter_type(self) -> Optional[pulumi.Input[str]]:
|
|
113
114
|
"""
|
|
114
115
|
The adapter type for this virtual disk. Can be
|
|
@@ -121,9 +122,6 @@ class VirtualDiskArgs:
|
|
|
121
122
|
disk controller types. This parameter will be removed in future versions of the
|
|
122
123
|
vSphere provider.
|
|
123
124
|
"""
|
|
124
|
-
warnings.warn("""this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead""", DeprecationWarning)
|
|
125
|
-
pulumi.log.warn("""adapter_type is deprecated: this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead""")
|
|
126
|
-
|
|
127
125
|
return pulumi.get(self, "adapter_type")
|
|
128
126
|
|
|
129
127
|
@adapter_type.setter
|
|
@@ -171,7 +169,7 @@ class VirtualDiskArgs:
|
|
|
171
169
|
information on what each kind of disk provisioning policy means, click
|
|
172
170
|
[here][docs-vmware-vm-disk-provisioning].
|
|
173
171
|
|
|
174
|
-
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/
|
|
172
|
+
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
|
|
175
173
|
"""
|
|
176
174
|
return pulumi.get(self, "type")
|
|
177
175
|
|
|
@@ -219,13 +217,13 @@ class _VirtualDiskState:
|
|
|
219
217
|
information on what each kind of disk provisioning policy means, click
|
|
220
218
|
[here][docs-vmware-vm-disk-provisioning].
|
|
221
219
|
|
|
222
|
-
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/
|
|
220
|
+
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
|
|
223
221
|
:param pulumi.Input[str] vmdk_path: The path, including filename, of the virtual disk to
|
|
224
222
|
be created. This needs to end in `.vmdk`.
|
|
225
223
|
"""
|
|
226
224
|
if adapter_type is not None:
|
|
227
|
-
warnings.warn("""this attribute has no effect on controller types - please use scsi_type in
|
|
228
|
-
pulumi.log.warn("""adapter_type is deprecated: this attribute has no effect on controller types - please use scsi_type in
|
|
225
|
+
warnings.warn("""this attribute has no effect on controller types - please use scsi_type in VirtualMachine instead""", DeprecationWarning)
|
|
226
|
+
pulumi.log.warn("""adapter_type is deprecated: this attribute has no effect on controller types - please use scsi_type in VirtualMachine instead""")
|
|
229
227
|
if adapter_type is not None:
|
|
230
228
|
pulumi.set(__self__, "adapter_type", adapter_type)
|
|
231
229
|
if create_directories is not None:
|
|
@@ -243,6 +241,7 @@ class _VirtualDiskState:
|
|
|
243
241
|
|
|
244
242
|
@property
|
|
245
243
|
@pulumi.getter(name="adapterType")
|
|
244
|
+
@_utilities.deprecated("""this attribute has no effect on controller types - please use scsi_type in VirtualMachine instead""")
|
|
246
245
|
def adapter_type(self) -> Optional[pulumi.Input[str]]:
|
|
247
246
|
"""
|
|
248
247
|
The adapter type for this virtual disk. Can be
|
|
@@ -255,9 +254,6 @@ class _VirtualDiskState:
|
|
|
255
254
|
disk controller types. This parameter will be removed in future versions of the
|
|
256
255
|
vSphere provider.
|
|
257
256
|
"""
|
|
258
|
-
warnings.warn("""this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead""", DeprecationWarning)
|
|
259
|
-
pulumi.log.warn("""adapter_type is deprecated: this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead""")
|
|
260
|
-
|
|
261
257
|
return pulumi.get(self, "adapter_type")
|
|
262
258
|
|
|
263
259
|
@adapter_type.setter
|
|
@@ -330,7 +326,7 @@ class _VirtualDiskState:
|
|
|
330
326
|
information on what each kind of disk provisioning policy means, click
|
|
331
327
|
[here][docs-vmware-vm-disk-provisioning].
|
|
332
328
|
|
|
333
|
-
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/
|
|
329
|
+
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
|
|
334
330
|
"""
|
|
335
331
|
return pulumi.get(self, "type")
|
|
336
332
|
|
|
@@ -396,7 +392,7 @@ class VirtualDisk(pulumi.CustomResource):
|
|
|
396
392
|
information on what each kind of disk provisioning policy means, click
|
|
397
393
|
[here][docs-vmware-vm-disk-provisioning].
|
|
398
394
|
|
|
399
|
-
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/
|
|
395
|
+
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
|
|
400
396
|
:param pulumi.Input[str] vmdk_path: The path, including filename, of the virtual disk to
|
|
401
397
|
be created. This needs to end in `.vmdk`.
|
|
402
398
|
"""
|
|
@@ -503,7 +499,7 @@ class VirtualDisk(pulumi.CustomResource):
|
|
|
503
499
|
information on what each kind of disk provisioning policy means, click
|
|
504
500
|
[here][docs-vmware-vm-disk-provisioning].
|
|
505
501
|
|
|
506
|
-
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/
|
|
502
|
+
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
|
|
507
503
|
:param pulumi.Input[str] vmdk_path: The path, including filename, of the virtual disk to
|
|
508
504
|
be created. This needs to end in `.vmdk`.
|
|
509
505
|
"""
|
|
@@ -522,6 +518,7 @@ class VirtualDisk(pulumi.CustomResource):
|
|
|
522
518
|
|
|
523
519
|
@property
|
|
524
520
|
@pulumi.getter(name="adapterType")
|
|
521
|
+
@_utilities.deprecated("""this attribute has no effect on controller types - please use scsi_type in VirtualMachine instead""")
|
|
525
522
|
def adapter_type(self) -> pulumi.Output[Optional[str]]:
|
|
526
523
|
"""
|
|
527
524
|
The adapter type for this virtual disk. Can be
|
|
@@ -534,9 +531,6 @@ class VirtualDisk(pulumi.CustomResource):
|
|
|
534
531
|
disk controller types. This parameter will be removed in future versions of the
|
|
535
532
|
vSphere provider.
|
|
536
533
|
"""
|
|
537
|
-
warnings.warn("""this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead""", DeprecationWarning)
|
|
538
|
-
pulumi.log.warn("""adapter_type is deprecated: this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead""")
|
|
539
|
-
|
|
540
534
|
return pulumi.get(self, "adapter_type")
|
|
541
535
|
|
|
542
536
|
@property
|
|
@@ -589,7 +583,7 @@ class VirtualDisk(pulumi.CustomResource):
|
|
|
589
583
|
information on what each kind of disk provisioning policy means, click
|
|
590
584
|
[here][docs-vmware-vm-disk-provisioning].
|
|
591
585
|
|
|
592
|
-
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/
|
|
586
|
+
[docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
|
|
593
587
|
"""
|
|
594
588
|
return pulumi.get(self, "type")
|
|
595
589
|
|