pulumi-vsphere 4.12.0a1728368031__py3-none-any.whl → 4.12.0a1729059233__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 +1061 -0
  2. pulumi_vsphere/_utilities.py +1 -1
  3. pulumi_vsphere/compute_cluster.py +5 -0
  4. pulumi_vsphere/compute_cluster_host_group.py +5 -0
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +5 -0
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +5 -0
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +5 -0
  8. pulumi_vsphere/compute_cluster_vm_group.py +5 -0
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +5 -0
  10. pulumi_vsphere/config/__init__.pyi +5 -0
  11. pulumi_vsphere/config/vars.py +5 -0
  12. pulumi_vsphere/content_library.py +5 -0
  13. pulumi_vsphere/content_library_item.py +5 -0
  14. pulumi_vsphere/custom_attribute.py +5 -0
  15. pulumi_vsphere/datacenter.py +5 -0
  16. pulumi_vsphere/datastore_cluster.py +5 -0
  17. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +5 -0
  18. pulumi_vsphere/distributed_port_group.py +5 -0
  19. pulumi_vsphere/distributed_virtual_switch.py +5 -0
  20. pulumi_vsphere/dpm_host_override.py +5 -0
  21. pulumi_vsphere/drs_vm_override.py +5 -0
  22. pulumi_vsphere/entity_permissions.py +5 -0
  23. pulumi_vsphere/file.py +5 -0
  24. pulumi_vsphere/folder.py +5 -0
  25. pulumi_vsphere/get_compute_cluster.py +15 -4
  26. pulumi_vsphere/get_compute_cluster_host_group.py +15 -4
  27. pulumi_vsphere/get_content_library.py +12 -4
  28. pulumi_vsphere/get_content_library_item.py +16 -4
  29. pulumi_vsphere/get_custom_attribute.py +13 -4
  30. pulumi_vsphere/get_datacenter.py +12 -4
  31. pulumi_vsphere/get_datastore.py +16 -4
  32. pulumi_vsphere/get_datastore_cluster.py +14 -4
  33. pulumi_vsphere/get_datastore_stats.py +16 -4
  34. pulumi_vsphere/get_distributed_virtual_switch.py +15 -4
  35. pulumi_vsphere/get_dynamic.py +16 -4
  36. pulumi_vsphere/get_folder.py +12 -4
  37. pulumi_vsphere/get_guest_os_customization.py +17 -4
  38. pulumi_vsphere/get_host.py +15 -4
  39. pulumi_vsphere/get_host_base_images.py +11 -4
  40. pulumi_vsphere/get_host_pci_device.py +19 -4
  41. pulumi_vsphere/get_host_thumbprint.py +34 -14
  42. pulumi_vsphere/get_host_vgpu_profile.py +15 -4
  43. pulumi_vsphere/get_license.py +17 -4
  44. pulumi_vsphere/get_network.py +17 -4
  45. pulumi_vsphere/get_ovf_vm_template.py +55 -4
  46. pulumi_vsphere/get_policy.py +12 -4
  47. pulumi_vsphere/get_resource_pool.py +14 -4
  48. pulumi_vsphere/get_role.py +18 -4
  49. pulumi_vsphere/get_tag.py +15 -4
  50. pulumi_vsphere/get_tag_category.py +15 -4
  51. pulumi_vsphere/get_vapp_container.py +14 -4
  52. pulumi_vsphere/get_virtual_machine.py +130 -4
  53. pulumi_vsphere/get_vmfs_disks.py +17 -4
  54. pulumi_vsphere/guest_os_customization.py +5 -0
  55. pulumi_vsphere/ha_vm_override.py +5 -0
  56. pulumi_vsphere/host.py +19 -14
  57. pulumi_vsphere/host_port_group.py +5 -0
  58. pulumi_vsphere/host_virtual_switch.py +5 -0
  59. pulumi_vsphere/license.py +5 -0
  60. pulumi_vsphere/nas_datastore.py +5 -0
  61. pulumi_vsphere/offline_software_depot.py +5 -0
  62. pulumi_vsphere/outputs.py +5 -0
  63. pulumi_vsphere/provider.py +5 -0
  64. pulumi_vsphere/pulumi-plugin.json +1 -1
  65. pulumi_vsphere/resource_pool.py +168 -425
  66. pulumi_vsphere/role.py +5 -0
  67. pulumi_vsphere/storage_drs_vm_override.py +5 -0
  68. pulumi_vsphere/supervisor.py +5 -0
  69. pulumi_vsphere/tag.py +5 -0
  70. pulumi_vsphere/tag_category.py +5 -0
  71. pulumi_vsphere/vapp_container.py +5 -0
  72. pulumi_vsphere/vapp_entity.py +5 -0
  73. pulumi_vsphere/virtual_disk.py +5 -0
  74. pulumi_vsphere/virtual_machine.py +7 -2
  75. pulumi_vsphere/virtual_machine_class.py +5 -0
  76. pulumi_vsphere/virtual_machine_snapshot.py +5 -0
  77. pulumi_vsphere/vm_storage_policy.py +5 -0
  78. pulumi_vsphere/vmfs_datastore.py +5 -0
  79. pulumi_vsphere/vnic.py +5 -0
  80. {pulumi_vsphere-4.12.0a1728368031.dist-info → pulumi_vsphere-4.12.0a1729059233.dist-info}/METADATA +3 -2
  81. pulumi_vsphere-4.12.0a1729059233.dist-info/RECORD +86 -0
  82. pulumi_vsphere-4.12.0a1728368031.dist-info/RECORD +0 -86
  83. {pulumi_vsphere-4.12.0a1728368031.dist-info → pulumi_vsphere-4.12.0a1729059233.dist-info}/WHEEL +0 -0
  84. {pulumi_vsphere-4.12.0a1728368031.dist-info → pulumi_vsphere-4.12.0a1729059233.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
 
12
17
  __all__ = [
@@ -100,9 +105,6 @@ def get_datastore_cluster(datacenter_id: Optional[str] = None,
100
105
  datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
101
106
  id=pulumi.get(__ret__, 'id'),
102
107
  name=pulumi.get(__ret__, 'name'))
103
-
104
-
105
- @_utilities.lift_output_func(get_datastore_cluster)
106
108
  def get_datastore_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
107
109
  name: Optional[pulumi.Input[str]] = None,
108
110
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatastoreClusterResult]:
@@ -131,4 +133,12 @@ def get_datastore_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[s
131
133
  `Datacenter` data source.
132
134
  :param str name: The name or absolute path to the datastore cluster.
133
135
  """
134
- ...
136
+ __args__ = dict()
137
+ __args__['datacenterId'] = datacenter_id
138
+ __args__['name'] = name
139
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
140
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getDatastoreCluster:getDatastoreCluster', __args__, opts=opts, typ=GetDatastoreClusterResult)
141
+ return __ret__.apply(lambda __response__: GetDatastoreClusterResult(
142
+ datacenter_id=pulumi.get(__response__, 'datacenter_id'),
143
+ id=pulumi.get(__response__, 'id'),
144
+ name=pulumi.get(__response__, 'name')))
@@ -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
 
12
17
  __all__ = [
@@ -143,9 +148,6 @@ def get_datastore_stats(capacity: Optional[Mapping[str, str]] = None,
143
148
  datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
144
149
  free_space=pulumi.get(__ret__, 'free_space'),
145
150
  id=pulumi.get(__ret__, 'id'))
146
-
147
-
148
- @_utilities.lift_output_func(get_datastore_stats)
149
151
  def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
150
152
  datacenter_id: Optional[pulumi.Input[str]] = None,
151
153
  free_space: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
@@ -193,4 +195,14 @@ def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[
193
195
  datacenter, where the name of the datastore is used as key and the free space
194
196
  as value.
195
197
  """
196
- ...
198
+ __args__ = dict()
199
+ __args__['capacity'] = capacity
200
+ __args__['datacenterId'] = datacenter_id
201
+ __args__['freeSpace'] = free_space
202
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
203
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getDatastoreStats:getDatastoreStats', __args__, opts=opts, typ=GetDatastoreStatsResult)
204
+ return __ret__.apply(lambda __response__: GetDatastoreStatsResult(
205
+ capacity=pulumi.get(__response__, 'capacity'),
206
+ datacenter_id=pulumi.get(__response__, 'datacenter_id'),
207
+ free_space=pulumi.get(__response__, 'free_space'),
208
+ id=pulumi.get(__response__, 'id')))
@@ -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
 
12
17
  __all__ = [
@@ -129,9 +134,6 @@ def get_distributed_virtual_switch(datacenter_id: Optional[str] = None,
129
134
  id=pulumi.get(__ret__, 'id'),
130
135
  name=pulumi.get(__ret__, 'name'),
131
136
  uplinks=pulumi.get(__ret__, 'uplinks'))
132
-
133
-
134
- @_utilities.lift_output_func(get_distributed_virtual_switch)
135
137
  def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
136
138
  name: Optional[pulumi.Input[str]] = None,
137
139
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDistributedVirtualSwitchResult]:
@@ -173,4 +175,13 @@ def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[O
173
175
  attribute from an empty `Datacenter` data source.
174
176
  :param str name: The name of the VDS. This can be a name or path.
175
177
  """
176
- ...
178
+ __args__ = dict()
179
+ __args__['datacenterId'] = datacenter_id
180
+ __args__['name'] = name
181
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
182
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getDistributedVirtualSwitch:getDistributedVirtualSwitch', __args__, opts=opts, typ=GetDistributedVirtualSwitchResult)
183
+ return __ret__.apply(lambda __response__: GetDistributedVirtualSwitchResult(
184
+ datacenter_id=pulumi.get(__response__, 'datacenter_id'),
185
+ id=pulumi.get(__response__, 'id'),
186
+ name=pulumi.get(__response__, 'name'),
187
+ uplinks=pulumi.get(__response__, 'uplinks')))
@@ -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
 
12
17
  __all__ = [
@@ -123,9 +128,6 @@ def get_dynamic(filters: Optional[Sequence[str]] = None,
123
128
  id=pulumi.get(__ret__, 'id'),
124
129
  name_regex=pulumi.get(__ret__, 'name_regex'),
125
130
  type=pulumi.get(__ret__, 'type'))
126
-
127
-
128
- @_utilities.lift_output_func(get_dynamic)
129
131
  def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[str]]] = None,
130
132
  name_regex: Optional[pulumi.Input[Optional[str]]] = None,
131
133
  type: Optional[pulumi.Input[Optional[str]]] = None,
@@ -166,4 +168,14 @@ def get_dynamic_output(filters: Optional[pulumi.Input[Sequence[str]]] = None,
166
168
  The managed object types can be found in the managed object type section
167
169
  [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
168
170
  """
169
- ...
171
+ __args__ = dict()
172
+ __args__['filters'] = filters
173
+ __args__['nameRegex'] = name_regex
174
+ __args__['type'] = type
175
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
176
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getDynamic:getDynamic', __args__, opts=opts, typ=GetDynamicResult)
177
+ return __ret__.apply(lambda __response__: GetDynamicResult(
178
+ filters=pulumi.get(__response__, 'filters'),
179
+ id=pulumi.get(__response__, 'id'),
180
+ name_regex=pulumi.get(__response__, 'name_regex'),
181
+ type=pulumi.get(__response__, 'type')))
@@ -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
 
12
17
  __all__ = [
@@ -87,9 +92,6 @@ def get_folder(path: Optional[str] = None,
87
92
  return AwaitableGetFolderResult(
88
93
  id=pulumi.get(__ret__, 'id'),
89
94
  path=pulumi.get(__ret__, 'path'))
90
-
91
-
92
- @_utilities.lift_output_func(get_folder)
93
95
  def get_folder_output(path: Optional[pulumi.Input[str]] = None,
94
96
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFolderResult]:
95
97
  """
@@ -116,4 +118,10 @@ def get_folder_output(path: Optional[pulumi.Input[str]] = None,
116
118
  `/default-dc/vm/test-folder`. The valid folder types to be used in
117
119
  the path are: `vm`, `host`, `datacenter`, `datastore`, or `network`.
118
120
  """
119
- ...
121
+ __args__ = dict()
122
+ __args__['path'] = path
123
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
124
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getFolder:getFolder', __args__, opts=opts, typ=GetFolderResult)
125
+ return __ret__.apply(lambda __response__: GetFolderResult(
126
+ id=pulumi.get(__response__, 'id'),
127
+ path=pulumi.get(__response__, 'path')))
@@ -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
 
@@ -122,9 +127,6 @@ def get_guest_os_customization(name: Optional[str] = None,
122
127
  name=pulumi.get(__ret__, 'name'),
123
128
  specs=pulumi.get(__ret__, 'specs'),
124
129
  type=pulumi.get(__ret__, 'type'))
125
-
126
-
127
- @_utilities.lift_output_func(get_guest_os_customization)
128
130
  def get_guest_os_customization_output(name: Optional[pulumi.Input[str]] = None,
129
131
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGuestOsCustomizationResult]:
130
132
  """
@@ -135,4 +137,15 @@ def get_guest_os_customization_output(name: Optional[pulumi.Input[str]] = None,
135
137
  :param str name: The name of the customization specification is the unique
136
138
  identifier per vCenter Server instance. ## Attribute Reference
137
139
  """
138
- ...
140
+ __args__ = dict()
141
+ __args__['name'] = name
142
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
143
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getGuestOsCustomization:getGuestOsCustomization', __args__, opts=opts, typ=GetGuestOsCustomizationResult)
144
+ return __ret__.apply(lambda __response__: GetGuestOsCustomizationResult(
145
+ change_version=pulumi.get(__response__, 'change_version'),
146
+ description=pulumi.get(__response__, 'description'),
147
+ id=pulumi.get(__response__, 'id'),
148
+ last_update_time=pulumi.get(__response__, 'last_update_time'),
149
+ name=pulumi.get(__response__, 'name'),
150
+ specs=pulumi.get(__response__, 'specs'),
151
+ type=pulumi.get(__response__, 'type')))
@@ -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
 
12
17
  __all__ = [
@@ -114,9 +119,6 @@ def get_host(datacenter_id: Optional[str] = None,
114
119
  id=pulumi.get(__ret__, 'id'),
115
120
  name=pulumi.get(__ret__, 'name'),
116
121
  resource_pool_id=pulumi.get(__ret__, 'resource_pool_id'))
117
-
118
-
119
- @_utilities.lift_output_func(get_host)
120
122
  def get_host_output(datacenter_id: Optional[pulumi.Input[str]] = None,
121
123
  name: Optional[pulumi.Input[Optional[str]]] = None,
122
124
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostResult]:
@@ -145,4 +147,13 @@ def get_host_output(datacenter_id: Optional[pulumi.Input[str]] = None,
145
147
  > **NOTE:** When used against an ESXi host directly, this data source _always_
146
148
  returns the ESXi host's object ID, regardless of what is entered into `name`.
147
149
  """
148
- ...
150
+ __args__ = dict()
151
+ __args__['datacenterId'] = datacenter_id
152
+ __args__['name'] = name
153
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getHost:getHost', __args__, opts=opts, typ=GetHostResult)
155
+ return __ret__.apply(lambda __response__: GetHostResult(
156
+ datacenter_id=pulumi.get(__response__, 'datacenter_id'),
157
+ id=pulumi.get(__response__, 'id'),
158
+ name=pulumi.get(__response__, 'name'),
159
+ resource_pool_id=pulumi.get(__response__, 'resource_pool_id')))
@@ -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
 
12
17
  __all__ = [
@@ -77,9 +82,6 @@ def get_host_base_images(opts: Optional[pulumi.InvokeOptions] = None) -> Awaitab
77
82
  return AwaitableGetHostBaseImagesResult(
78
83
  id=pulumi.get(__ret__, 'id'),
79
84
  versions=pulumi.get(__ret__, 'versions'))
80
-
81
-
82
- @_utilities.lift_output_func(get_host_base_images)
83
85
  def get_host_base_images_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostBaseImagesResult]:
84
86
  """
85
87
  The `get_host_base_images` data source can be used to get the list of ESXi
@@ -94,4 +96,9 @@ def get_host_base_images_output(opts: Optional[pulumi.InvokeOptions] = None) ->
94
96
  base_images = vsphere.get_host_base_images()
95
97
  ```
96
98
  """
97
- ...
99
+ __args__ = dict()
100
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
101
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getHostBaseImages:getHostBaseImages', __args__, opts=opts, typ=GetHostBaseImagesResult)
102
+ return __ret__.apply(lambda __response__: GetHostBaseImagesResult(
103
+ id=pulumi.get(__response__, 'id'),
104
+ versions=pulumi.get(__response__, 'versions')))
@@ -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
 
12
17
  __all__ = [
@@ -158,9 +163,6 @@ def get_host_pci_device(class_id: Optional[str] = None,
158
163
  name=pulumi.get(__ret__, 'name'),
159
164
  name_regex=pulumi.get(__ret__, 'name_regex'),
160
165
  vendor_id=pulumi.get(__ret__, 'vendor_id'))
161
-
162
-
163
- @_utilities.lift_output_func(get_host_pci_device)
164
166
  def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[str]]] = None,
165
167
  host_id: Optional[pulumi.Input[str]] = None,
166
168
  name_regex: Optional[pulumi.Input[Optional[str]]] = None,
@@ -212,4 +214,17 @@ def get_host_pci_device_output(class_id: Optional[pulumi.Input[Optional[str]]] =
212
214
  host PCI device name.
213
215
  :param str vendor_id: The hexadecimal PCI device vendor ID.
214
216
  """
215
- ...
217
+ __args__ = dict()
218
+ __args__['classId'] = class_id
219
+ __args__['hostId'] = host_id
220
+ __args__['nameRegex'] = name_regex
221
+ __args__['vendorId'] = vendor_id
222
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
223
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getHostPciDevice:getHostPciDevice', __args__, opts=opts, typ=GetHostPciDeviceResult)
224
+ return __ret__.apply(lambda __response__: GetHostPciDeviceResult(
225
+ class_id=pulumi.get(__response__, 'class_id'),
226
+ host_id=pulumi.get(__response__, 'host_id'),
227
+ id=pulumi.get(__response__, 'id'),
228
+ name=pulumi.get(__response__, 'name'),
229
+ name_regex=pulumi.get(__response__, 'name_regex'),
230
+ vendor_id=pulumi.get(__response__, 'vendor_id')))
@@ -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
 
12
17
  __all__ = [
@@ -77,9 +82,14 @@ def get_host_thumbprint(address: Optional[str] = None,
77
82
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostThumbprintResult:
78
83
  """
79
84
  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. If
81
- the ESXi host is using a certificate chain, the first one returned will be used
82
- to generate the thumbprint.
85
+ of an ESXi host. This can be used when adding the `Host` resource to a
86
+ cluster or a vCenter Server instance.
87
+
88
+ * If the ESXi host is using a certificate chain, the first one returned will be
89
+ used to generate the thumbprint.
90
+
91
+ * If the ESXi host has a certificate issued by a certificate authority, ensure
92
+ that the the certificate authority is trusted on the system running the plan.
83
93
 
84
94
  ## Example Usage
85
95
 
@@ -93,8 +103,7 @@ def get_host_thumbprint(address: Optional[str] = None,
93
103
 
94
104
  :param str address: The address of the ESXi host to retrieve the thumbprint
95
105
  from.
96
- :param bool insecure: Disables SSL certificate verification.
97
- Default: `false`
106
+ :param bool insecure: Disables SSL certificate verification. Default: `false`
98
107
  :param str port: The port to use connecting to the ESXi host. Default: 443
99
108
  """
100
109
  __args__ = dict()
@@ -109,18 +118,20 @@ def get_host_thumbprint(address: Optional[str] = None,
109
118
  id=pulumi.get(__ret__, 'id'),
110
119
  insecure=pulumi.get(__ret__, 'insecure'),
111
120
  port=pulumi.get(__ret__, 'port'))
112
-
113
-
114
- @_utilities.lift_output_func(get_host_thumbprint)
115
121
  def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
116
122
  insecure: Optional[pulumi.Input[Optional[bool]]] = None,
117
123
  port: Optional[pulumi.Input[Optional[str]]] = None,
118
124
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostThumbprintResult]:
119
125
  """
120
126
  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. If
122
- the ESXi host is using a certificate chain, the first one returned will be used
123
- to generate the thumbprint.
127
+ of an ESXi host. This can be used when adding the `Host` resource to a
128
+ cluster or a vCenter Server instance.
129
+
130
+ * If the ESXi host is using a certificate chain, the first one returned will be
131
+ used to generate the thumbprint.
132
+
133
+ * If the ESXi host has a certificate issued by a certificate authority, ensure
134
+ that the the certificate authority is trusted on the system running the plan.
124
135
 
125
136
  ## Example Usage
126
137
 
@@ -134,8 +145,17 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
134
145
 
135
146
  :param str address: The address of the ESXi host to retrieve the thumbprint
136
147
  from.
137
- :param bool insecure: Disables SSL certificate verification.
138
- Default: `false`
148
+ :param bool insecure: Disables SSL certificate verification. Default: `false`
139
149
  :param str port: The port to use connecting to the ESXi host. Default: 443
140
150
  """
141
- ...
151
+ __args__ = dict()
152
+ __args__['address'] = address
153
+ __args__['insecure'] = insecure
154
+ __args__['port'] = port
155
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getHostThumbprint:getHostThumbprint', __args__, opts=opts, typ=GetHostThumbprintResult)
157
+ return __ret__.apply(lambda __response__: GetHostThumbprintResult(
158
+ address=pulumi.get(__response__, 'address'),
159
+ id=pulumi.get(__response__, 'id'),
160
+ insecure=pulumi.get(__response__, 'insecure'),
161
+ port=pulumi.get(__response__, 'port')))
@@ -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
 
@@ -136,9 +141,6 @@ def get_host_vgpu_profile(host_id: Optional[str] = None,
136
141
  id=pulumi.get(__ret__, 'id'),
137
142
  name_regex=pulumi.get(__ret__, 'name_regex'),
138
143
  vgpu_profiles=pulumi.get(__ret__, 'vgpu_profiles'))
139
-
140
-
141
- @_utilities.lift_output_func(get_host_vgpu_profile)
142
144
  def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[str]] = None,
143
145
  name_regex: Optional[pulumi.Input[Optional[str]]] = None,
144
146
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostVgpuProfileResult]:
@@ -181,4 +183,13 @@ def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[str]] = None,
181
183
 
182
184
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
183
185
  """
184
- ...
186
+ __args__ = dict()
187
+ __args__['hostId'] = host_id
188
+ __args__['nameRegex'] = name_regex
189
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
190
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getHostVgpuProfile:getHostVgpuProfile', __args__, opts=opts, typ=GetHostVgpuProfileResult)
191
+ return __ret__.apply(lambda __response__: GetHostVgpuProfileResult(
192
+ host_id=pulumi.get(__response__, 'host_id'),
193
+ id=pulumi.get(__response__, 'id'),
194
+ name_regex=pulumi.get(__response__, 'name_regex'),
195
+ vgpu_profiles=pulumi.get(__response__, 'vgpu_profiles')))
@@ -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
 
12
17
  __all__ = [
@@ -142,9 +147,6 @@ def get_license(license_key: Optional[str] = None,
142
147
  name=pulumi.get(__ret__, 'name'),
143
148
  total=pulumi.get(__ret__, 'total'),
144
149
  used=pulumi.get(__ret__, 'used'))
145
-
146
-
147
- @_utilities.lift_output_func(get_license)
148
150
  def get_license_output(license_key: Optional[pulumi.Input[str]] = None,
149
151
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLicenseResult]:
150
152
  """
@@ -163,4 +165,15 @@ def get_license_output(license_key: Optional[pulumi.Input[str]] = None,
163
165
 
164
166
  :param str license_key: The license key.
165
167
  """
166
- ...
168
+ __args__ = dict()
169
+ __args__['licenseKey'] = license_key
170
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
171
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getLicense:getLicense', __args__, opts=opts, typ=GetLicenseResult)
172
+ return __ret__.apply(lambda __response__: GetLicenseResult(
173
+ edition_key=pulumi.get(__response__, 'edition_key'),
174
+ id=pulumi.get(__response__, 'id'),
175
+ labels=pulumi.get(__response__, 'labels'),
176
+ license_key=pulumi.get(__response__, 'license_key'),
177
+ name=pulumi.get(__response__, 'name'),
178
+ total=pulumi.get(__response__, 'total'),
179
+ used=pulumi.get(__response__, 'used')))
@@ -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
 
12
17
  __all__ = [
@@ -132,9 +137,6 @@ def get_network(datacenter_id: Optional[str] = None,
132
137
  id=pulumi.get(__ret__, 'id'),
133
138
  name=pulumi.get(__ret__, 'name'),
134
139
  type=pulumi.get(__ret__, 'type'))
135
-
136
-
137
- @_utilities.lift_output_func(get_network)
138
140
  def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
139
141
  distributed_virtual_switch_uuid: Optional[pulumi.Input[Optional[str]]] = None,
140
142
  name: Optional[pulumi.Input[str]] = None,
@@ -168,4 +170,15 @@ def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = No
168
170
  the distributed virtual switch ID.
169
171
  :param str name: The name of the network. This can be a name or path.
170
172
  """
171
- ...
173
+ __args__ = dict()
174
+ __args__['datacenterId'] = datacenter_id
175
+ __args__['distributedVirtualSwitchUuid'] = distributed_virtual_switch_uuid
176
+ __args__['name'] = name
177
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
178
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getNetwork:getNetwork', __args__, opts=opts, typ=GetNetworkResult)
179
+ return __ret__.apply(lambda __response__: GetNetworkResult(
180
+ datacenter_id=pulumi.get(__response__, 'datacenter_id'),
181
+ distributed_virtual_switch_uuid=pulumi.get(__response__, 'distributed_virtual_switch_uuid'),
182
+ id=pulumi.get(__response__, 'id'),
183
+ name=pulumi.get(__response__, 'name'),
184
+ type=pulumi.get(__response__, 'type')))
@@ -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
 
12
17
  __all__ = [
@@ -468,9 +473,6 @@ def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[bool] = None,
468
473
  scsi_controller_count=pulumi.get(__ret__, 'scsi_controller_count'),
469
474
  scsi_type=pulumi.get(__ret__, 'scsi_type'),
470
475
  swap_placement_policy=pulumi.get(__ret__, 'swap_placement_policy'))
471
-
472
-
473
- @_utilities.lift_output_func(get_ovf_vm_template)
474
476
  def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[Optional[bool]]] = None,
475
477
  datastore_id: Optional[pulumi.Input[Optional[str]]] = None,
476
478
  deployment_option: Optional[pulumi.Input[Optional[str]]] = None,
@@ -523,4 +525,53 @@ def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[
523
525
  :param str resource_pool_id: The ID of a resource pool in which to place
524
526
  the virtual machine.
525
527
  """
526
- ...
528
+ __args__ = dict()
529
+ __args__['allowUnverifiedSslCert'] = allow_unverified_ssl_cert
530
+ __args__['datastoreId'] = datastore_id
531
+ __args__['deploymentOption'] = deployment_option
532
+ __args__['diskProvisioning'] = disk_provisioning
533
+ __args__['enableHiddenProperties'] = enable_hidden_properties
534
+ __args__['folder'] = folder
535
+ __args__['hostSystemId'] = host_system_id
536
+ __args__['ipAllocationPolicy'] = ip_allocation_policy
537
+ __args__['ipProtocol'] = ip_protocol
538
+ __args__['localOvfPath'] = local_ovf_path
539
+ __args__['name'] = name
540
+ __args__['ovfNetworkMap'] = ovf_network_map
541
+ __args__['remoteOvfUrl'] = remote_ovf_url
542
+ __args__['resourcePoolId'] = resource_pool_id
543
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
544
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getOvfVmTemplate:getOvfVmTemplate', __args__, opts=opts, typ=GetOvfVmTemplateResult)
545
+ return __ret__.apply(lambda __response__: GetOvfVmTemplateResult(
546
+ allow_unverified_ssl_cert=pulumi.get(__response__, 'allow_unverified_ssl_cert'),
547
+ alternate_guest_name=pulumi.get(__response__, 'alternate_guest_name'),
548
+ annotation=pulumi.get(__response__, 'annotation'),
549
+ cpu_hot_add_enabled=pulumi.get(__response__, 'cpu_hot_add_enabled'),
550
+ cpu_hot_remove_enabled=pulumi.get(__response__, 'cpu_hot_remove_enabled'),
551
+ cpu_performance_counters_enabled=pulumi.get(__response__, 'cpu_performance_counters_enabled'),
552
+ datastore_id=pulumi.get(__response__, 'datastore_id'),
553
+ deployment_option=pulumi.get(__response__, 'deployment_option'),
554
+ disk_provisioning=pulumi.get(__response__, 'disk_provisioning'),
555
+ enable_hidden_properties=pulumi.get(__response__, 'enable_hidden_properties'),
556
+ firmware=pulumi.get(__response__, 'firmware'),
557
+ folder=pulumi.get(__response__, 'folder'),
558
+ guest_id=pulumi.get(__response__, 'guest_id'),
559
+ host_system_id=pulumi.get(__response__, 'host_system_id'),
560
+ id=pulumi.get(__response__, 'id'),
561
+ ide_controller_count=pulumi.get(__response__, 'ide_controller_count'),
562
+ ip_allocation_policy=pulumi.get(__response__, 'ip_allocation_policy'),
563
+ ip_protocol=pulumi.get(__response__, 'ip_protocol'),
564
+ local_ovf_path=pulumi.get(__response__, 'local_ovf_path'),
565
+ memory=pulumi.get(__response__, 'memory'),
566
+ memory_hot_add_enabled=pulumi.get(__response__, 'memory_hot_add_enabled'),
567
+ name=pulumi.get(__response__, 'name'),
568
+ nested_hv_enabled=pulumi.get(__response__, 'nested_hv_enabled'),
569
+ num_cores_per_socket=pulumi.get(__response__, 'num_cores_per_socket'),
570
+ num_cpus=pulumi.get(__response__, 'num_cpus'),
571
+ ovf_network_map=pulumi.get(__response__, 'ovf_network_map'),
572
+ remote_ovf_url=pulumi.get(__response__, 'remote_ovf_url'),
573
+ resource_pool_id=pulumi.get(__response__, 'resource_pool_id'),
574
+ sata_controller_count=pulumi.get(__response__, 'sata_controller_count'),
575
+ scsi_controller_count=pulumi.get(__response__, 'scsi_controller_count'),
576
+ scsi_type=pulumi.get(__response__, 'scsi_type'),
577
+ swap_placement_policy=pulumi.get(__response__, 'swap_placement_policy')))