pulumi-vsphere 4.12.0__py3-none-any.whl → 4.12.0a1725603256__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.

Files changed (84) hide show
  1. pulumi_vsphere/_inputs.py +6 -1135
  2. pulumi_vsphere/_utilities.py +1 -1
  3. pulumi_vsphere/compute_cluster.py +2 -181
  4. pulumi_vsphere/compute_cluster_host_group.py +2 -67
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +2 -29
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +2 -41
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +2 -205
  8. pulumi_vsphere/compute_cluster_vm_group.py +2 -198
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +2 -73
  10. pulumi_vsphere/config/__init__.pyi +0 -5
  11. pulumi_vsphere/config/vars.py +0 -5
  12. pulumi_vsphere/content_library.py +2 -103
  13. pulumi_vsphere/content_library_item.py +2 -143
  14. pulumi_vsphere/custom_attribute.py +2 -77
  15. pulumi_vsphere/datacenter.py +4 -19
  16. pulumi_vsphere/datastore_cluster.py +2 -63
  17. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +2 -159
  18. pulumi_vsphere/distributed_port_group.py +2 -285
  19. pulumi_vsphere/distributed_virtual_switch.py +2 -261
  20. pulumi_vsphere/dpm_host_override.py +2 -63
  21. pulumi_vsphere/drs_vm_override.py +2 -67
  22. pulumi_vsphere/entity_permissions.py +0 -5
  23. pulumi_vsphere/file.py +0 -5
  24. pulumi_vsphere/folder.py +2 -141
  25. pulumi_vsphere/get_compute_cluster.py +4 -15
  26. pulumi_vsphere/get_compute_cluster_host_group.py +6 -17
  27. pulumi_vsphere/get_content_library.py +4 -12
  28. pulumi_vsphere/get_content_library_item.py +4 -16
  29. pulumi_vsphere/get_custom_attribute.py +4 -13
  30. pulumi_vsphere/get_datacenter.py +7 -29
  31. pulumi_vsphere/get_datastore.py +4 -16
  32. pulumi_vsphere/get_datastore_cluster.py +5 -30
  33. pulumi_vsphere/get_datastore_stats.py +4 -16
  34. pulumi_vsphere/get_distributed_virtual_switch.py +4 -15
  35. pulumi_vsphere/get_dynamic.py +4 -16
  36. pulumi_vsphere/get_folder.py +4 -12
  37. pulumi_vsphere/get_guest_os_customization.py +4 -17
  38. pulumi_vsphere/get_host.py +4 -15
  39. pulumi_vsphere/get_host_base_images.py +4 -11
  40. pulumi_vsphere/get_host_pci_device.py +4 -19
  41. pulumi_vsphere/get_host_thumbprint.py +14 -34
  42. pulumi_vsphere/get_host_vgpu_profile.py +4 -15
  43. pulumi_vsphere/get_license.py +4 -17
  44. pulumi_vsphere/get_network.py +5 -65
  45. pulumi_vsphere/get_ovf_vm_template.py +4 -55
  46. pulumi_vsphere/get_policy.py +4 -12
  47. pulumi_vsphere/get_resource_pool.py +4 -14
  48. pulumi_vsphere/get_role.py +4 -18
  49. pulumi_vsphere/get_tag.py +4 -15
  50. pulumi_vsphere/get_tag_category.py +4 -15
  51. pulumi_vsphere/get_vapp_container.py +4 -14
  52. pulumi_vsphere/get_virtual_machine.py +5 -145
  53. pulumi_vsphere/get_vmfs_disks.py +4 -17
  54. pulumi_vsphere/guest_os_customization.py +0 -5
  55. pulumi_vsphere/ha_vm_override.py +2 -163
  56. pulumi_vsphere/host.py +12 -203
  57. pulumi_vsphere/host_port_group.py +2 -17
  58. pulumi_vsphere/host_virtual_switch.py +2 -69
  59. pulumi_vsphere/license.py +0 -5
  60. pulumi_vsphere/nas_datastore.py +2 -67
  61. pulumi_vsphere/offline_software_depot.py +0 -5
  62. pulumi_vsphere/outputs.py +0 -45
  63. pulumi_vsphere/provider.py +0 -5
  64. pulumi_vsphere/pulumi-plugin.json +1 -1
  65. pulumi_vsphere/resource_pool.py +437 -168
  66. pulumi_vsphere/role.py +2 -33
  67. pulumi_vsphere/storage_drs_vm_override.py +2 -133
  68. pulumi_vsphere/supervisor.py +0 -5
  69. pulumi_vsphere/tag.py +2 -159
  70. pulumi_vsphere/tag_category.py +2 -83
  71. pulumi_vsphere/vapp_container.py +2 -163
  72. pulumi_vsphere/vapp_entity.py +2 -147
  73. pulumi_vsphere/virtual_disk.py +2 -81
  74. pulumi_vsphere/virtual_machine.py +2 -100
  75. pulumi_vsphere/virtual_machine_class.py +0 -5
  76. pulumi_vsphere/virtual_machine_snapshot.py +0 -5
  77. pulumi_vsphere/vm_storage_policy.py +0 -5
  78. pulumi_vsphere/vmfs_datastore.py +2 -271
  79. pulumi_vsphere/vnic.py +4 -19
  80. {pulumi_vsphere-4.12.0.dist-info → pulumi_vsphere-4.12.0a1725603256.dist-info}/METADATA +2 -3
  81. pulumi_vsphere-4.12.0a1725603256.dist-info/RECORD +86 -0
  82. {pulumi_vsphere-4.12.0.dist-info → pulumi_vsphere-4.12.0a1725603256.dist-info}/WHEEL +1 -1
  83. pulumi_vsphere-4.12.0.dist-info/RECORD +0 -86
  84. {pulumi_vsphere-4.12.0.dist-info → pulumi_vsphere-4.12.0a1725603256.dist-info}/top_level.txt +0 -0
pulumi_vsphere/host.py CHANGED
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -661,10 +656,10 @@ class Host(pulumi.CustomResource):
661
656
  import pulumi_vsphere as vsphere
662
657
 
663
658
  datacenter = vsphere.get_datacenter(name="dc-01")
664
- thumbprint = vsphere.get_host_thumbprint(address="esxi-01.example.com",
659
+ thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
665
660
  insecure=True)
666
661
  esx_01 = vsphere.Host("esx-01",
667
- hostname="esxi-01.example.com",
662
+ hostname="esx-01.example.com",
668
663
  username="root",
669
664
  password="password",
670
665
  license="00000-00000-00000-00000-00000",
@@ -672,107 +667,14 @@ class Host(pulumi.CustomResource):
672
667
  datacenter=datacenter.id)
673
668
  ```
674
669
 
675
- ## Import
670
+ ## Importing
676
671
 
677
- An existing host can be imported into this resource by supplying
678
-
679
- the host's ID.
672
+ An existing host can be [imported][docs-import] into this resource by supplying
673
+ the host's ID. An example is below:
680
674
 
681
675
  [docs-import]: /docs/import/index.html
682
676
 
683
- Obtain the host's ID using the data source. For example:
684
-
685
- hcl
686
-
687
- data "vsphere_datacenter" "datacenter" {
688
-
689
- name = "dc-01"
690
-
691
- }
692
-
693
- data "vsphere_host" "host" {
694
-
695
- name = "esxi-01.example.com"
696
-
697
- datacenter_id = data.vsphere_datacenter.datacenter.id
698
-
699
- }
700
-
701
- output "host_id" {
702
-
703
- value = data.vsphere_host.host.id
704
-
705
- }
706
-
707
- Next, create a resource configuration, For example:
708
-
709
- hcl
710
-
711
- data "vsphere_datacenter" "datacenter" {
712
-
713
- name = "dc-01"
714
-
715
- }
716
-
717
- data "vsphere_host_thumbprint" "thumbprint" {
718
-
719
- address = "esxi-01.example.com"
720
-
721
- insecure = true
722
-
723
- }
724
-
725
- resource "vsphere_host" "esx-01" {
726
-
727
- hostname = "esxi-01.example.com"
728
-
729
- username = "root"
730
-
731
- password = "password"
732
-
733
- thumbprint = data.vsphere_host_thumbprint.thumbprint.id
734
-
735
- datacenter = data.vsphere_datacenter.datacenter.id
736
-
737
- }
738
-
739
- hcl
740
-
741
- resource "vsphere_host" "esx-01" {
742
-
743
- hostname = "esxi-01.example.com"
744
-
745
- username = "root"
746
-
747
- password = "password"
748
-
749
- license = "00000-00000-00000-00000-00000"
750
-
751
- thumbprint = data.vsphere_host_thumbprint.thumbprint.id
752
-
753
- cluster = data.vsphere_compute_cluster.cluster.id
754
-
755
- services {
756
-
757
- ntpd {
758
-
759
- enabled = true
760
-
761
- policy = "on"
762
-
763
- ntp_servers = ["pool.ntp.org"]
764
-
765
- }
766
-
767
- }
768
-
769
- console
770
-
771
- ```sh
772
- $ pulumi import vsphere:index/host:Host esx-01 host-123
773
- ```
774
-
775
- The above would import the host `esxi-01.example.com` with the host ID `host-123`.
677
+ The above would import the host with ID `host-123`.
776
678
 
777
679
  :param str resource_name: The name of the resource.
778
680
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -840,10 +742,10 @@ class Host(pulumi.CustomResource):
840
742
  import pulumi_vsphere as vsphere
841
743
 
842
744
  datacenter = vsphere.get_datacenter(name="dc-01")
843
- thumbprint = vsphere.get_host_thumbprint(address="esxi-01.example.com",
745
+ thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
844
746
  insecure=True)
845
747
  esx_01 = vsphere.Host("esx-01",
846
- hostname="esxi-01.example.com",
748
+ hostname="esx-01.example.com",
847
749
  username="root",
848
750
  password="password",
849
751
  license="00000-00000-00000-00000-00000",
@@ -851,107 +753,14 @@ class Host(pulumi.CustomResource):
851
753
  datacenter=datacenter.id)
852
754
  ```
853
755
 
854
- ## Import
756
+ ## Importing
855
757
 
856
- An existing host can be imported into this resource by supplying
857
-
858
- the host's ID.
758
+ An existing host can be [imported][docs-import] into this resource by supplying
759
+ the host's ID. An example is below:
859
760
 
860
761
  [docs-import]: /docs/import/index.html
861
762
 
862
- Obtain the host's ID using the data source. For example:
863
-
864
- hcl
865
-
866
- data "vsphere_datacenter" "datacenter" {
867
-
868
- name = "dc-01"
869
-
870
- }
871
-
872
- data "vsphere_host" "host" {
873
-
874
- name = "esxi-01.example.com"
875
-
876
- datacenter_id = data.vsphere_datacenter.datacenter.id
877
-
878
- }
879
-
880
- output "host_id" {
881
-
882
- value = data.vsphere_host.host.id
883
-
884
- }
885
-
886
- Next, create a resource configuration, For example:
887
-
888
- hcl
889
-
890
- data "vsphere_datacenter" "datacenter" {
891
-
892
- name = "dc-01"
893
-
894
- }
895
-
896
- data "vsphere_host_thumbprint" "thumbprint" {
897
-
898
- address = "esxi-01.example.com"
899
-
900
- insecure = true
901
-
902
- }
903
-
904
- resource "vsphere_host" "esx-01" {
905
-
906
- hostname = "esxi-01.example.com"
907
-
908
- username = "root"
909
-
910
- password = "password"
911
-
912
- thumbprint = data.vsphere_host_thumbprint.thumbprint.id
913
-
914
- datacenter = data.vsphere_datacenter.datacenter.id
915
-
916
- }
917
-
918
- hcl
919
-
920
- resource "vsphere_host" "esx-01" {
921
-
922
- hostname = "esxi-01.example.com"
923
-
924
- username = "root"
925
-
926
- password = "password"
927
-
928
- license = "00000-00000-00000-00000-00000"
929
-
930
- thumbprint = data.vsphere_host_thumbprint.thumbprint.id
931
-
932
- cluster = data.vsphere_compute_cluster.cluster.id
933
-
934
- services {
935
-
936
- ntpd {
937
-
938
- enabled = true
939
-
940
- policy = "on"
941
-
942
- ntp_servers = ["pool.ntp.org"]
943
-
944
- }
945
-
946
- }
947
-
948
- console
949
-
950
- ```sh
951
- $ pulumi import vsphere:index/host:Host esx-01 host-123
952
- ```
953
-
954
- The above would import the host `esxi-01.example.com` with the host ID `host-123`.
763
+ The above would import the host with ID `host-123`.
955
764
 
956
765
  :param str resource_name: The name of the resource.
957
766
  :param HostArgs args: The arguments to use to populate this resource's properties.
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
@@ -755,16 +750,11 @@ class HostPortGroup(pulumi.CustomResource):
755
750
  allow_promiscuous=True)
756
751
  ```
757
752
 
758
- ## Import
753
+ ## Importing
759
754
 
760
755
  An existing host port group can be imported into this resource
761
-
762
756
  using the host port group's ID. An example is below:
763
757
 
764
- ```sh
765
- $ pulumi import vsphere:index/hostPortGroup:HostPortGroup management tf-HostPortGroup:host-123:management
766
- ```
767
-
768
758
  The above would import the `management` host port group from host with ID `host-123`.
769
759
 
770
760
  :param str resource_name: The name of the resource.
@@ -870,16 +860,11 @@ class HostPortGroup(pulumi.CustomResource):
870
860
  allow_promiscuous=True)
871
861
  ```
872
862
 
873
- ## Import
863
+ ## Importing
874
864
 
875
865
  An existing host port group can be imported into this resource
876
-
877
866
  using the host port group's ID. An example is below:
878
867
 
879
- ```sh
880
- $ pulumi import vsphere:index/hostPortGroup:HostPortGroup management tf-HostPortGroup:host-123:management
881
- ```
882
-
883
868
  The above would import the `management` host port group from host with ID `host-123`.
884
869
 
885
870
  :param str resource_name: The name of the resource.
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['HostVirtualSwitchArgs', 'HostVirtualSwitch']
@@ -769,38 +764,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
769
764
  teaming_policy: Optional[pulumi.Input[str]] = None,
770
765
  __props__=None):
771
766
  """
772
- The `HostVirtualSwitch` resource can be used to manage vSphere
773
- standard switches on an ESXi host. These switches can be used as a backing for
774
- standard port groups, which can be managed by the
775
- `HostPortGroup` resource.
776
-
777
- For an overview on vSphere networking concepts, see [this
778
- page][ref-vsphere-net-concepts].
779
-
780
- [ref-vsphere-net-concepts]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-2B11DBB8-CB3C-4AFF-8885-EFEA0FC562F4.html
781
-
782
- ## Example Usage
783
-
784
- ## Import
785
-
786
- An existing vSwitch can be imported into this resource by its ID.
787
-
788
- The convention of the id is a prefix, the host system [managed objectID][docs-about-morefs], and the virtual switch
789
-
790
- name. An example would be `tf-HostVirtualSwitch:host-10:vSwitchTerraformTest`.
791
-
792
- Import can the be done via the following command:
793
-
794
- [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
795
-
796
- ```sh
797
- $ pulumi import vsphere:index/hostVirtualSwitch:HostVirtualSwitch switch tf-HostVirtualSwitch:host-10:vSwitchTerraformTest
798
- ```
799
-
800
- The above would import the vSwitch named `vSwitchTerraformTest` that is located in the `host-10`
801
-
802
- vSphere host.
803
-
767
+ Create a HostVirtualSwitch resource with the given unique name, props, and options.
804
768
  :param str resource_name: The name of the resource.
805
769
  :param pulumi.ResourceOptions opts: Options for the resource.
806
770
  :param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
@@ -842,38 +806,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
842
806
  args: HostVirtualSwitchArgs,
843
807
  opts: Optional[pulumi.ResourceOptions] = None):
844
808
  """
845
- The `HostVirtualSwitch` resource can be used to manage vSphere
846
- standard switches on an ESXi host. These switches can be used as a backing for
847
- standard port groups, which can be managed by the
848
- `HostPortGroup` resource.
849
-
850
- For an overview on vSphere networking concepts, see [this
851
- page][ref-vsphere-net-concepts].
852
-
853
- [ref-vsphere-net-concepts]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-2B11DBB8-CB3C-4AFF-8885-EFEA0FC562F4.html
854
-
855
- ## Example Usage
856
-
857
- ## Import
858
-
859
- An existing vSwitch can be imported into this resource by its ID.
860
-
861
- The convention of the id is a prefix, the host system [managed objectID][docs-about-morefs], and the virtual switch
862
-
863
- name. An example would be `tf-HostVirtualSwitch:host-10:vSwitchTerraformTest`.
864
-
865
- Import can the be done via the following command:
866
-
867
- [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
868
-
869
- ```sh
870
- $ pulumi import vsphere:index/hostVirtualSwitch:HostVirtualSwitch switch tf-HostVirtualSwitch:host-10:vSwitchTerraformTest
871
- ```
872
-
873
- The above would import the vSwitch named `vSwitchTerraformTest` that is located in the `host-10`
874
-
875
- vSphere host.
876
-
809
+ Create a HostVirtualSwitch resource with the given unique name, props, and options.
877
810
  :param str resource_name: The name of the resource.
878
811
  :param HostVirtualSwitchArgs args: The arguments to use to populate this resource's properties.
879
812
  :param pulumi.ResourceOptions opts: Options for the resource.
pulumi_vsphere/license.py CHANGED
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['LicenseArgs', 'License']
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['NasDatastoreArgs', 'NasDatastore']
@@ -643,37 +638,7 @@ class NasDatastore(pulumi.CustomResource):
643
638
  type: Optional[pulumi.Input[str]] = None,
644
639
  __props__=None):
645
640
  """
646
- The `NasDatastore` resource can be used to create and manage NAS
647
- datastores on an ESXi host or a set of hosts. The resource supports mounting
648
- NFS v3 and v4.1 shares to be used as datastores.
649
-
650
- > **NOTE:** Unlike `VmfsDatastore`, a NAS
651
- datastore is only mounted on the hosts you choose to mount it on. To mount on
652
- multiple hosts, you must specify each host that you want to add in the
653
- `host_system_ids` argument.
654
-
655
- ## Import
656
-
657
- An existing NAS datastore can be imported into this resource via
658
-
659
- its managed object ID, via the following command:
660
-
661
- ```sh
662
- $ pulumi import vsphere:index/nasDatastore:NasDatastore datastore datastore-123
663
- ```
664
-
665
- You need a tool like [`govc`][ext-govc] that can display managed object IDs.
666
-
667
- [ext-govc]: https://github.com/vmware/govmomi/tree/master/govc
668
-
669
- In the case of govc, you can locate a managed object ID from an inventory path
670
-
671
- by doing the following:
672
-
673
- $ govc ls -i /dc/datastore/terraform-test
674
-
675
- Datastore:datastore-123
676
-
641
+ Create a NasDatastore resource with the given unique name, props, and options.
677
642
  :param str resource_name: The name of the resource.
678
643
  :param pulumi.ResourceOptions opts: Options for the resource.
679
644
  :param pulumi.Input[str] access_mode: Access mode for the mount point. Can be one of
@@ -722,37 +687,7 @@ class NasDatastore(pulumi.CustomResource):
722
687
  args: NasDatastoreArgs,
723
688
  opts: Optional[pulumi.ResourceOptions] = None):
724
689
  """
725
- The `NasDatastore` resource can be used to create and manage NAS
726
- datastores on an ESXi host or a set of hosts. The resource supports mounting
727
- NFS v3 and v4.1 shares to be used as datastores.
728
-
729
- > **NOTE:** Unlike `VmfsDatastore`, a NAS
730
- datastore is only mounted on the hosts you choose to mount it on. To mount on
731
- multiple hosts, you must specify each host that you want to add in the
732
- `host_system_ids` argument.
733
-
734
- ## Import
735
-
736
- An existing NAS datastore can be imported into this resource via
737
-
738
- its managed object ID, via the following command:
739
-
740
- ```sh
741
- $ pulumi import vsphere:index/nasDatastore:NasDatastore datastore datastore-123
742
- ```
743
-
744
- You need a tool like [`govc`][ext-govc] that can display managed object IDs.
745
-
746
- [ext-govc]: https://github.com/vmware/govmomi/tree/master/govc
747
-
748
- In the case of govc, you can locate a managed object ID from an inventory path
749
-
750
- by doing the following:
751
-
752
- $ govc ls -i /dc/datastore/terraform-test
753
-
754
- Datastore:datastore-123
755
-
690
+ Create a NasDatastore resource with the given unique name, props, and options.
756
691
  :param str resource_name: The name of the resource.
757
692
  :param NasDatastoreArgs args: The arguments to use to populate this resource's properties.
758
693
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
  from ._inputs import *
pulumi_vsphere/outputs.py CHANGED
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
  from . import outputs
17
12
 
@@ -54,7 +49,6 @@ __all__ = [
54
49
  'VirtualMachineNetworkInterface',
55
50
  'VirtualMachineOvfDeploy',
56
51
  'VirtualMachineVapp',
57
- 'VirtualMachineVtpm',
58
52
  'VmStoragePolicyTagRule',
59
53
  'VnicIpv4',
60
54
  'VnicIpv6',
@@ -63,7 +57,6 @@ __all__ = [
63
57
  'GetGuestOsCustomizationSpecNetworkInterfaceResult',
64
58
  'GetGuestOsCustomizationSpecWindowsOptionResult',
65
59
  'GetHostVgpuProfileVgpuProfileResult',
66
- 'GetNetworkFilterResult',
67
60
  'GetVirtualMachineDiskResult',
68
61
  'GetVirtualMachineNetworkInterfaceResult',
69
62
  'GetVirtualMachineVappResult',
@@ -3267,25 +3260,6 @@ class VirtualMachineVapp(dict):
3267
3260
  return pulumi.get(self, "properties")
3268
3261
 
3269
3262
 
3270
- @pulumi.output_type
3271
- class VirtualMachineVtpm(dict):
3272
- def __init__(__self__, *,
3273
- version: Optional[str] = None):
3274
- """
3275
- :param str version: The version of the TPM device. Default is 2.0.
3276
- """
3277
- if version is not None:
3278
- pulumi.set(__self__, "version", version)
3279
-
3280
- @property
3281
- @pulumi.getter
3282
- def version(self) -> Optional[str]:
3283
- """
3284
- The version of the TPM device. Default is 2.0.
3285
- """
3286
- return pulumi.get(self, "version")
3287
-
3288
-
3289
3263
  @pulumi.output_type
3290
3264
  class VmStoragePolicyTagRule(dict):
3291
3265
  @staticmethod
@@ -3865,25 +3839,6 @@ class GetHostVgpuProfileVgpuProfileResult(dict):
3865
3839
  return pulumi.get(self, "vgpu")
3866
3840
 
3867
3841
 
3868
- @pulumi.output_type
3869
- class GetNetworkFilterResult(dict):
3870
- def __init__(__self__, *,
3871
- network_type: Optional[str] = None):
3872
- """
3873
- :param str network_type: This is required if you have multiple port groups with the same name. This will be one of `DistributedVirtualPortgroup` for distributed port groups, `Network` for standard (host-based) port groups, or `OpaqueNetwork` for networks managed externally, such as those managed by NSX.
3874
- """
3875
- if network_type is not None:
3876
- pulumi.set(__self__, "network_type", network_type)
3877
-
3878
- @property
3879
- @pulumi.getter(name="networkType")
3880
- def network_type(self) -> Optional[str]:
3881
- """
3882
- This is required if you have multiple port groups with the same name. This will be one of `DistributedVirtualPortgroup` for distributed port groups, `Network` for standard (host-based) port groups, or `OpaqueNetwork` for networks managed externally, such as those managed by NSX.
3883
- """
3884
- return pulumi.get(self, "network_type")
3885
-
3886
-
3887
3842
  @pulumi.output_type
3888
3843
  class GetVirtualMachineDiskResult(dict):
3889
3844
  def __init__(__self__, *,
@@ -4,14 +4,9 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
- import sys
8
7
  import pulumi
9
8
  import pulumi.runtime
10
9
  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
15
10
  from . import _utilities
16
11
 
17
12
  __all__ = ['ProviderArgs', 'Provider']
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "vsphere",
4
- "version": "4.12.0"
4
+ "version": "4.12.0-alpha.1725603256"
5
5
  }