pulumi-vsphere 4.11.0a1713561492__py3-none-any.whl → 4.11.0a1713905355__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/_inputs.py +96 -232
- pulumi_vsphere/compute_cluster.py +700 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -8
- pulumi_vsphere/datacenter.py +0 -8
- pulumi_vsphere/datastore_cluster.py +154 -350
- pulumi_vsphere/distributed_port_group.py +70 -175
- pulumi_vsphere/distributed_virtual_switch.py +308 -798
- pulumi_vsphere/file.py +0 -8
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
- pulumi_vsphere/get_content_library.py +0 -4
- pulumi_vsphere/get_custom_attribute.py +0 -4
- pulumi_vsphere/get_datacenter.py +0 -4
- pulumi_vsphere/get_datastore.py +0 -4
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +0 -8
- pulumi_vsphere/get_distributed_virtual_switch.py +0 -4
- pulumi_vsphere/get_dynamic.py +0 -4
- pulumi_vsphere/get_folder.py +0 -4
- pulumi_vsphere/get_guest_os_customization.py +0 -4
- pulumi_vsphere/get_host.py +0 -4
- pulumi_vsphere/get_host_pci_device.py +4 -12
- pulumi_vsphere/get_host_thumbprint.py +0 -4
- pulumi_vsphere/get_host_vgpu_profile.py +0 -8
- pulumi_vsphere/get_license.py +0 -4
- pulumi_vsphere/get_network.py +0 -4
- pulumi_vsphere/get_policy.py +0 -4
- pulumi_vsphere/get_resource_pool.py +0 -8
- pulumi_vsphere/get_role.py +0 -4
- 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 +0 -8
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +0 -4
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -8
- pulumi_vsphere/host_port_group.py +0 -8
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/outputs.py +96 -232
- pulumi_vsphere/resource_pool.py +0 -12
- pulumi_vsphere/virtual_machine.py +599 -739
- pulumi_vsphere/virtual_machine_snapshot.py +0 -4
- pulumi_vsphere/vm_storage_policy.py +0 -12
- pulumi_vsphere/vnic.py +0 -8
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1713905355.dist-info/RECORD +82 -0
- pulumi_vsphere-4.11.0a1713561492.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/top_level.txt +0 -0
pulumi_vsphere/resource_pool.py
CHANGED
|
@@ -657,7 +657,6 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
657
657
|
The following example sets up a resource pool in an existing compute cluster
|
|
658
658
|
with the default settings for CPU and memory reservations, shares, and limits.
|
|
659
659
|
|
|
660
|
-
<!--Start PulumiCodeChooser -->
|
|
661
660
|
```python
|
|
662
661
|
import pulumi
|
|
663
662
|
import pulumi_vsphere as vsphere
|
|
@@ -669,25 +668,21 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
669
668
|
name="resource-pool-01",
|
|
670
669
|
parent_resource_pool_id=compute_cluster.resource_pool_id)
|
|
671
670
|
```
|
|
672
|
-
<!--End PulumiCodeChooser -->
|
|
673
671
|
|
|
674
672
|
A virtual machine resource could be targeted to use the default resource pool
|
|
675
673
|
of the cluster using the following:
|
|
676
674
|
|
|
677
|
-
<!--Start PulumiCodeChooser -->
|
|
678
675
|
```python
|
|
679
676
|
import pulumi
|
|
680
677
|
import pulumi_vsphere as vsphere
|
|
681
678
|
|
|
682
679
|
vm = vsphere.VirtualMachine("vm", resource_pool_id=cluster["resourcePoolId"])
|
|
683
680
|
```
|
|
684
|
-
<!--End PulumiCodeChooser -->
|
|
685
681
|
|
|
686
682
|
The following example sets up a parent resource pool in an existing compute cluster
|
|
687
683
|
with a child resource pool nested below. Each resource pool is configured with
|
|
688
684
|
the default settings for CPU and memory reservations, shares, and limits.
|
|
689
685
|
|
|
690
|
-
<!--Start PulumiCodeChooser -->
|
|
691
686
|
```python
|
|
692
687
|
import pulumi
|
|
693
688
|
import pulumi_vsphere as vsphere
|
|
@@ -702,7 +697,6 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
702
697
|
name="child",
|
|
703
698
|
parent_resource_pool_id=resource_pool_parent.id)
|
|
704
699
|
```
|
|
705
|
-
<!--End PulumiCodeChooser -->
|
|
706
700
|
|
|
707
701
|
## Importing
|
|
708
702
|
|
|
@@ -785,7 +779,6 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
785
779
|
The following example sets up a resource pool in an existing compute cluster
|
|
786
780
|
with the default settings for CPU and memory reservations, shares, and limits.
|
|
787
781
|
|
|
788
|
-
<!--Start PulumiCodeChooser -->
|
|
789
782
|
```python
|
|
790
783
|
import pulumi
|
|
791
784
|
import pulumi_vsphere as vsphere
|
|
@@ -797,25 +790,21 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
797
790
|
name="resource-pool-01",
|
|
798
791
|
parent_resource_pool_id=compute_cluster.resource_pool_id)
|
|
799
792
|
```
|
|
800
|
-
<!--End PulumiCodeChooser -->
|
|
801
793
|
|
|
802
794
|
A virtual machine resource could be targeted to use the default resource pool
|
|
803
795
|
of the cluster using the following:
|
|
804
796
|
|
|
805
|
-
<!--Start PulumiCodeChooser -->
|
|
806
797
|
```python
|
|
807
798
|
import pulumi
|
|
808
799
|
import pulumi_vsphere as vsphere
|
|
809
800
|
|
|
810
801
|
vm = vsphere.VirtualMachine("vm", resource_pool_id=cluster["resourcePoolId"])
|
|
811
802
|
```
|
|
812
|
-
<!--End PulumiCodeChooser -->
|
|
813
803
|
|
|
814
804
|
The following example sets up a parent resource pool in an existing compute cluster
|
|
815
805
|
with a child resource pool nested below. Each resource pool is configured with
|
|
816
806
|
the default settings for CPU and memory reservations, shares, and limits.
|
|
817
807
|
|
|
818
|
-
<!--Start PulumiCodeChooser -->
|
|
819
808
|
```python
|
|
820
809
|
import pulumi
|
|
821
810
|
import pulumi_vsphere as vsphere
|
|
@@ -830,7 +819,6 @@ class ResourcePool(pulumi.CustomResource):
|
|
|
830
819
|
name="child",
|
|
831
820
|
parent_resource_pool_id=resource_pool_parent.id)
|
|
832
821
|
```
|
|
833
|
-
<!--End PulumiCodeChooser -->
|
|
834
822
|
|
|
835
823
|
## Importing
|
|
836
824
|
|