pulumi-vsphere 4.11.3__tar.gz → 4.11.4__tar.gz
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-4.11.3 → pulumi_vsphere-4.11.4}/PKG-INFO +1 -1
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_host_thumbprint.py +18 -10
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/host.py +14 -14
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/pulumi-plugin.json +1 -1
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/resource_pool.py +163 -425
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/virtual_machine.py +2 -2
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere.egg-info/PKG-INFO +1 -1
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pyproject.toml +1 -1
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/README.md +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/__init__.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/_inputs.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/_utilities.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/compute_cluster.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/compute_cluster_host_group.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/compute_cluster_vm_dependency_rule.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/compute_cluster_vm_group.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/compute_cluster_vm_host_rule.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/config/__init__.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/config/__init__.pyi +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/config/vars.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/content_library.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/content_library_item.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/custom_attribute.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/datacenter.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/datastore_cluster.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/distributed_port_group.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/distributed_virtual_switch.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/dpm_host_override.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/drs_vm_override.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/entity_permissions.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/file.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/folder.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_compute_cluster.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_compute_cluster_host_group.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_content_library.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_content_library_item.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_custom_attribute.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_datacenter.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_datastore.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_datastore_cluster.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_datastore_stats.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_distributed_virtual_switch.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_dynamic.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_folder.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_guest_os_customization.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_host.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_host_base_images.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_host_pci_device.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_host_vgpu_profile.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_license.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_network.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_ovf_vm_template.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_policy.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_resource_pool.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_role.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_tag.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_tag_category.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_vapp_container.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_virtual_machine.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/get_vmfs_disks.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/guest_os_customization.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/ha_vm_override.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/host_port_group.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/host_virtual_switch.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/license.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/nas_datastore.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/offline_software_depot.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/outputs.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/provider.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/py.typed +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/role.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/storage_drs_vm_override.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/supervisor.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/tag.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/tag_category.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/vapp_container.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/vapp_entity.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/virtual_disk.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/virtual_machine_class.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/virtual_machine_snapshot.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/vm_storage_policy.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/vmfs_datastore.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere/vnic.py +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere.egg-info/SOURCES.txt +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere.egg-info/dependency_links.txt +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere.egg-info/requires.txt +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/pulumi_vsphere.egg-info/top_level.txt +0 -0
- {pulumi_vsphere-4.11.3 → pulumi_vsphere-4.11.4}/setup.cfg +0 -0
|
@@ -77,9 +77,14 @@ def get_host_thumbprint(address: Optional[str] = None,
|
|
|
77
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostThumbprintResult:
|
|
78
78
|
"""
|
|
79
79
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
80
|
-
of an ESXi host. This can be used when adding the `Host` resource
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
of an ESXi host. This can be used when adding the `Host` resource to a
|
|
81
|
+
cluster or a vCenter Server instance.
|
|
82
|
+
|
|
83
|
+
* If the ESXi host is using a certificate chain, the first one returned will be
|
|
84
|
+
used to generate the thumbprint.
|
|
85
|
+
|
|
86
|
+
* If the ESXi host has a certificate issued by a certificate authority, ensure
|
|
87
|
+
that the the certificate authority is trusted on the system running the plan.
|
|
83
88
|
|
|
84
89
|
## Example Usage
|
|
85
90
|
|
|
@@ -93,8 +98,7 @@ def get_host_thumbprint(address: Optional[str] = None,
|
|
|
93
98
|
|
|
94
99
|
:param str address: The address of the ESXi host to retrieve the thumbprint
|
|
95
100
|
from.
|
|
96
|
-
:param bool insecure: Disables SSL certificate verification.
|
|
97
|
-
Default: `false`
|
|
101
|
+
:param bool insecure: Disables SSL certificate verification. Default: `false`
|
|
98
102
|
:param str port: The port to use connecting to the ESXi host. Default: 443
|
|
99
103
|
"""
|
|
100
104
|
__args__ = dict()
|
|
@@ -118,9 +122,14 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
|
|
|
118
122
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostThumbprintResult]:
|
|
119
123
|
"""
|
|
120
124
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
121
|
-
of an ESXi host. This can be used when adding the `Host` resource
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
of an ESXi host. This can be used when adding the `Host` resource to a
|
|
126
|
+
cluster or a vCenter Server instance.
|
|
127
|
+
|
|
128
|
+
* If the ESXi host is using a certificate chain, the first one returned will be
|
|
129
|
+
used to generate the thumbprint.
|
|
130
|
+
|
|
131
|
+
* If the ESXi host has a certificate issued by a certificate authority, ensure
|
|
132
|
+
that the the certificate authority is trusted on the system running the plan.
|
|
124
133
|
|
|
125
134
|
## Example Usage
|
|
126
135
|
|
|
@@ -134,8 +143,7 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
|
|
|
134
143
|
|
|
135
144
|
:param str address: The address of the ESXi host to retrieve the thumbprint
|
|
136
145
|
from.
|
|
137
|
-
:param bool insecure: Disables SSL certificate verification.
|
|
138
|
-
Default: `false`
|
|
146
|
+
:param bool insecure: Disables SSL certificate verification. Default: `false`
|
|
139
147
|
:param str port: The port to use connecting to the ESXi host. Default: 443
|
|
140
148
|
"""
|
|
141
149
|
...
|
|
@@ -656,10 +656,10 @@ class Host(pulumi.CustomResource):
|
|
|
656
656
|
import pulumi_vsphere as vsphere
|
|
657
657
|
|
|
658
658
|
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
659
|
-
thumbprint = vsphere.get_host_thumbprint(address="
|
|
659
|
+
thumbprint = vsphere.get_host_thumbprint(address="esxi-01.example.com",
|
|
660
660
|
insecure=True)
|
|
661
661
|
esx_01 = vsphere.Host("esx-01",
|
|
662
|
-
hostname="
|
|
662
|
+
hostname="esxi-01.example.com",
|
|
663
663
|
username="root",
|
|
664
664
|
password="password",
|
|
665
665
|
license="00000-00000-00000-00000-00000",
|
|
@@ -687,7 +687,7 @@ class Host(pulumi.CustomResource):
|
|
|
687
687
|
|
|
688
688
|
data "vsphere_host" "host" {
|
|
689
689
|
|
|
690
|
-
name = "
|
|
690
|
+
name = "esxi-01.example.com"
|
|
691
691
|
|
|
692
692
|
datacenter_id = data.vsphere_datacenter.datacenter.id
|
|
693
693
|
|
|
@@ -711,7 +711,7 @@ class Host(pulumi.CustomResource):
|
|
|
711
711
|
|
|
712
712
|
data "vsphere_host_thumbprint" "thumbprint" {
|
|
713
713
|
|
|
714
|
-
address = "
|
|
714
|
+
address = "esxi-01.example.com"
|
|
715
715
|
|
|
716
716
|
insecure = true
|
|
717
717
|
|
|
@@ -719,7 +719,7 @@ class Host(pulumi.CustomResource):
|
|
|
719
719
|
|
|
720
720
|
resource "vsphere_host" "esx-01" {
|
|
721
721
|
|
|
722
|
-
hostname = "
|
|
722
|
+
hostname = "esxi-01.example.com"
|
|
723
723
|
|
|
724
724
|
username = "root"
|
|
725
725
|
|
|
@@ -735,7 +735,7 @@ class Host(pulumi.CustomResource):
|
|
|
735
735
|
|
|
736
736
|
resource "vsphere_host" "esx-01" {
|
|
737
737
|
|
|
738
|
-
hostname = "
|
|
738
|
+
hostname = "esxi-01.example.com"
|
|
739
739
|
|
|
740
740
|
username = "root"
|
|
741
741
|
|
|
@@ -767,7 +767,7 @@ class Host(pulumi.CustomResource):
|
|
|
767
767
|
$ pulumi import vsphere:index/host:Host esx-01 host-123
|
|
768
768
|
```
|
|
769
769
|
|
|
770
|
-
The above would import the host `
|
|
770
|
+
The above would import the host `esxi-01.example.com` with the host ID `host-123`.
|
|
771
771
|
|
|
772
772
|
:param str resource_name: The name of the resource.
|
|
773
773
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -835,10 +835,10 @@ class Host(pulumi.CustomResource):
|
|
|
835
835
|
import pulumi_vsphere as vsphere
|
|
836
836
|
|
|
837
837
|
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
838
|
-
thumbprint = vsphere.get_host_thumbprint(address="
|
|
838
|
+
thumbprint = vsphere.get_host_thumbprint(address="esxi-01.example.com",
|
|
839
839
|
insecure=True)
|
|
840
840
|
esx_01 = vsphere.Host("esx-01",
|
|
841
|
-
hostname="
|
|
841
|
+
hostname="esxi-01.example.com",
|
|
842
842
|
username="root",
|
|
843
843
|
password="password",
|
|
844
844
|
license="00000-00000-00000-00000-00000",
|
|
@@ -866,7 +866,7 @@ class Host(pulumi.CustomResource):
|
|
|
866
866
|
|
|
867
867
|
data "vsphere_host" "host" {
|
|
868
868
|
|
|
869
|
-
name = "
|
|
869
|
+
name = "esxi-01.example.com"
|
|
870
870
|
|
|
871
871
|
datacenter_id = data.vsphere_datacenter.datacenter.id
|
|
872
872
|
|
|
@@ -890,7 +890,7 @@ class Host(pulumi.CustomResource):
|
|
|
890
890
|
|
|
891
891
|
data "vsphere_host_thumbprint" "thumbprint" {
|
|
892
892
|
|
|
893
|
-
address = "
|
|
893
|
+
address = "esxi-01.example.com"
|
|
894
894
|
|
|
895
895
|
insecure = true
|
|
896
896
|
|
|
@@ -898,7 +898,7 @@ class Host(pulumi.CustomResource):
|
|
|
898
898
|
|
|
899
899
|
resource "vsphere_host" "esx-01" {
|
|
900
900
|
|
|
901
|
-
hostname = "
|
|
901
|
+
hostname = "esxi-01.example.com"
|
|
902
902
|
|
|
903
903
|
username = "root"
|
|
904
904
|
|
|
@@ -914,7 +914,7 @@ class Host(pulumi.CustomResource):
|
|
|
914
914
|
|
|
915
915
|
resource "vsphere_host" "esx-01" {
|
|
916
916
|
|
|
917
|
-
hostname = "
|
|
917
|
+
hostname = "esxi-01.example.com"
|
|
918
918
|
|
|
919
919
|
username = "root"
|
|
920
920
|
|
|
@@ -946,7 +946,7 @@ class Host(pulumi.CustomResource):
|
|
|
946
946
|
$ pulumi import vsphere:index/host:Host esx-01 host-123
|
|
947
947
|
```
|
|
948
948
|
|
|
949
|
-
The above would import the host `
|
|
949
|
+
The above would import the host `esxi-01.example.com` with the host ID `host-123`.
|
|
950
950
|
|
|
951
951
|
:param str resource_name: The name of the resource.
|
|
952
952
|
:param HostArgs args: The arguments to use to populate this resource's properties.
|