pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753398270__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 +1 -1
- pulumi_vsphere/_inputs.py +1171 -1172
- pulumi_vsphere/compute_cluster.py +1127 -1128
- pulumi_vsphere/compute_cluster_host_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
- pulumi_vsphere/compute_cluster_vm_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
- pulumi_vsphere/config/__init__.py +1 -1
- pulumi_vsphere/config/__init__.pyi +1 -2
- pulumi_vsphere/config/vars.py +14 -15
- pulumi_vsphere/content_library.py +58 -59
- pulumi_vsphere/content_library_item.py +103 -104
- pulumi_vsphere/custom_attribute.py +35 -36
- pulumi_vsphere/datacenter.py +78 -79
- pulumi_vsphere/datastore_cluster.py +426 -427
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/distributed_port_group.py +787 -788
- pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
- pulumi_vsphere/dpm_host_override.py +69 -70
- pulumi_vsphere/drs_vm_override.py +69 -70
- pulumi_vsphere/entity_permissions.py +38 -39
- pulumi_vsphere/file.py +120 -121
- pulumi_vsphere/folder.py +86 -87
- pulumi_vsphere/get_compute_cluster.py +17 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
- pulumi_vsphere/get_content_library.py +9 -10
- pulumi_vsphere/get_content_library_item.py +21 -22
- pulumi_vsphere/get_custom_attribute.py +11 -12
- pulumi_vsphere/get_datacenter.py +11 -12
- pulumi_vsphere/get_datastore.py +21 -22
- pulumi_vsphere/get_datastore_cluster.py +17 -18
- pulumi_vsphere/get_datastore_stats.py +21 -22
- pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
- pulumi_vsphere/get_dynamic.py +21 -22
- pulumi_vsphere/get_folder.py +9 -10
- pulumi_vsphere/get_guest_os_customization.py +18 -19
- pulumi_vsphere/get_host.py +17 -18
- pulumi_vsphere/get_host_base_images.py +5 -6
- pulumi_vsphere/get_host_pci_device.py +29 -30
- pulumi_vsphere/get_host_thumbprint.py +21 -22
- pulumi_vsphere/get_host_vgpu_profile.py +16 -17
- pulumi_vsphere/get_license.py +19 -20
- pulumi_vsphere/get_network.py +42 -43
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +21 -22
- pulumi_vsphere/get_role.py +25 -26
- pulumi_vsphere/get_tag.py +17 -18
- pulumi_vsphere/get_tag_category.py +15 -16
- pulumi_vsphere/get_vapp_container.py +15 -16
- pulumi_vsphere/get_virtual_machine.py +272 -273
- pulumi_vsphere/get_vmfs_disks.py +23 -24
- pulumi_vsphere/guest_os_customization.py +73 -74
- pulumi_vsphere/ha_vm_override.py +256 -257
- pulumi_vsphere/host.py +242 -243
- pulumi_vsphere/host_port_group.py +310 -311
- pulumi_vsphere/host_virtual_switch.py +358 -359
- pulumi_vsphere/license.py +71 -72
- pulumi_vsphere/nas_datastore.py +260 -261
- pulumi_vsphere/offline_software_depot.py +20 -21
- pulumi_vsphere/outputs.py +981 -982
- pulumi_vsphere/provider.py +120 -121
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +256 -257
- pulumi_vsphere/role.py +44 -45
- pulumi_vsphere/storage_drs_vm_override.py +86 -87
- pulumi_vsphere/supervisor.py +206 -207
- pulumi_vsphere/tag.py +52 -53
- pulumi_vsphere/tag_category.py +69 -70
- pulumi_vsphere/vapp_container.py +256 -257
- pulumi_vsphere/vapp_entity.py +171 -172
- pulumi_vsphere/virtual_disk.py +120 -121
- pulumi_vsphere/virtual_machine.py +1293 -1294
- pulumi_vsphere/virtual_machine_class.py +103 -104
- pulumi_vsphere/virtual_machine_snapshot.py +120 -121
- pulumi_vsphere/vm_storage_policy.py +38 -39
- pulumi_vsphere/vmfs_datastore.py +183 -184
- pulumi_vsphere/vnic.py +143 -144
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
- pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -125,205 +124,205 @@ class GetOvfVmTemplateResult:
|
|
|
125
124
|
raise TypeError("Expected argument 'swap_placement_policy' to be a str")
|
|
126
125
|
pulumi.set(__self__, "swap_placement_policy", swap_placement_policy)
|
|
127
126
|
|
|
128
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
129
128
|
@pulumi.getter(name="allowUnverifiedSslCert")
|
|
130
|
-
def allow_unverified_ssl_cert(self) -> Optional[
|
|
129
|
+
def allow_unverified_ssl_cert(self) -> Optional[_builtins.bool]:
|
|
131
130
|
return pulumi.get(self, "allow_unverified_ssl_cert")
|
|
132
131
|
|
|
133
|
-
@property
|
|
132
|
+
@_builtins.property
|
|
134
133
|
@pulumi.getter(name="alternateGuestName")
|
|
135
|
-
def alternate_guest_name(self) ->
|
|
134
|
+
def alternate_guest_name(self) -> _builtins.str:
|
|
136
135
|
"""
|
|
137
136
|
An alternate guest operating system name.
|
|
138
137
|
"""
|
|
139
138
|
return pulumi.get(self, "alternate_guest_name")
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter
|
|
143
|
-
def annotation(self) ->
|
|
142
|
+
def annotation(self) -> _builtins.str:
|
|
144
143
|
"""
|
|
145
144
|
A description of the virtual machine.
|
|
146
145
|
"""
|
|
147
146
|
return pulumi.get(self, "annotation")
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter(name="cpuHotAddEnabled")
|
|
151
|
-
def cpu_hot_add_enabled(self) ->
|
|
150
|
+
def cpu_hot_add_enabled(self) -> _builtins.bool:
|
|
152
151
|
"""
|
|
153
152
|
Allow CPUs to be added to the virtual machine while
|
|
154
153
|
powered on.
|
|
155
154
|
"""
|
|
156
155
|
return pulumi.get(self, "cpu_hot_add_enabled")
|
|
157
156
|
|
|
158
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
159
158
|
@pulumi.getter(name="cpuHotRemoveEnabled")
|
|
160
|
-
def cpu_hot_remove_enabled(self) ->
|
|
159
|
+
def cpu_hot_remove_enabled(self) -> _builtins.bool:
|
|
161
160
|
"""
|
|
162
161
|
Allow CPUs to be removed from the virtual machine
|
|
163
162
|
while powered on.
|
|
164
163
|
"""
|
|
165
164
|
return pulumi.get(self, "cpu_hot_remove_enabled")
|
|
166
165
|
|
|
167
|
-
@property
|
|
166
|
+
@_builtins.property
|
|
168
167
|
@pulumi.getter(name="cpuPerformanceCountersEnabled")
|
|
169
|
-
def cpu_performance_counters_enabled(self) ->
|
|
168
|
+
def cpu_performance_counters_enabled(self) -> _builtins.bool:
|
|
170
169
|
return pulumi.get(self, "cpu_performance_counters_enabled")
|
|
171
170
|
|
|
172
|
-
@property
|
|
171
|
+
@_builtins.property
|
|
173
172
|
@pulumi.getter(name="datastoreId")
|
|
174
|
-
def datastore_id(self) -> Optional[
|
|
173
|
+
def datastore_id(self) -> Optional[_builtins.str]:
|
|
175
174
|
return pulumi.get(self, "datastore_id")
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter(name="deploymentOption")
|
|
179
|
-
def deployment_option(self) -> Optional[
|
|
178
|
+
def deployment_option(self) -> Optional[_builtins.str]:
|
|
180
179
|
return pulumi.get(self, "deployment_option")
|
|
181
180
|
|
|
182
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
183
182
|
@pulumi.getter(name="diskProvisioning")
|
|
184
|
-
def disk_provisioning(self) -> Optional[
|
|
183
|
+
def disk_provisioning(self) -> Optional[_builtins.str]:
|
|
185
184
|
return pulumi.get(self, "disk_provisioning")
|
|
186
185
|
|
|
187
|
-
@property
|
|
186
|
+
@_builtins.property
|
|
188
187
|
@pulumi.getter(name="enableHiddenProperties")
|
|
189
|
-
def enable_hidden_properties(self) -> Optional[
|
|
188
|
+
def enable_hidden_properties(self) -> Optional[_builtins.bool]:
|
|
190
189
|
return pulumi.get(self, "enable_hidden_properties")
|
|
191
190
|
|
|
192
|
-
@property
|
|
191
|
+
@_builtins.property
|
|
193
192
|
@pulumi.getter
|
|
194
|
-
def firmware(self) ->
|
|
193
|
+
def firmware(self) -> _builtins.str:
|
|
195
194
|
"""
|
|
196
195
|
The firmware to use on the virtual machine.
|
|
197
196
|
"""
|
|
198
197
|
return pulumi.get(self, "firmware")
|
|
199
198
|
|
|
200
|
-
@property
|
|
199
|
+
@_builtins.property
|
|
201
200
|
@pulumi.getter
|
|
202
|
-
def folder(self) -> Optional[
|
|
201
|
+
def folder(self) -> Optional[_builtins.str]:
|
|
203
202
|
return pulumi.get(self, "folder")
|
|
204
203
|
|
|
205
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
206
205
|
@pulumi.getter(name="guestId")
|
|
207
|
-
def guest_id(self) ->
|
|
206
|
+
def guest_id(self) -> _builtins.str:
|
|
208
207
|
"""
|
|
209
208
|
The ID for the guest operating system
|
|
210
209
|
"""
|
|
211
210
|
return pulumi.get(self, "guest_id")
|
|
212
211
|
|
|
213
|
-
@property
|
|
212
|
+
@_builtins.property
|
|
214
213
|
@pulumi.getter(name="hostSystemId")
|
|
215
|
-
def host_system_id(self) ->
|
|
214
|
+
def host_system_id(self) -> _builtins.str:
|
|
216
215
|
return pulumi.get(self, "host_system_id")
|
|
217
216
|
|
|
218
|
-
@property
|
|
217
|
+
@_builtins.property
|
|
219
218
|
@pulumi.getter
|
|
220
|
-
def id(self) ->
|
|
219
|
+
def id(self) -> _builtins.str:
|
|
221
220
|
"""
|
|
222
221
|
The provider-assigned unique ID for this managed resource.
|
|
223
222
|
"""
|
|
224
223
|
return pulumi.get(self, "id")
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter(name="ideControllerCount")
|
|
228
|
-
def ide_controller_count(self) ->
|
|
227
|
+
def ide_controller_count(self) -> _builtins.int:
|
|
229
228
|
return pulumi.get(self, "ide_controller_count")
|
|
230
229
|
|
|
231
|
-
@property
|
|
230
|
+
@_builtins.property
|
|
232
231
|
@pulumi.getter(name="ipAllocationPolicy")
|
|
233
|
-
def ip_allocation_policy(self) -> Optional[
|
|
232
|
+
def ip_allocation_policy(self) -> Optional[_builtins.str]:
|
|
234
233
|
return pulumi.get(self, "ip_allocation_policy")
|
|
235
234
|
|
|
236
|
-
@property
|
|
235
|
+
@_builtins.property
|
|
237
236
|
@pulumi.getter(name="ipProtocol")
|
|
238
|
-
def ip_protocol(self) -> Optional[
|
|
237
|
+
def ip_protocol(self) -> Optional[_builtins.str]:
|
|
239
238
|
return pulumi.get(self, "ip_protocol")
|
|
240
239
|
|
|
241
|
-
@property
|
|
240
|
+
@_builtins.property
|
|
242
241
|
@pulumi.getter(name="localOvfPath")
|
|
243
|
-
def local_ovf_path(self) -> Optional[
|
|
242
|
+
def local_ovf_path(self) -> Optional[_builtins.str]:
|
|
244
243
|
return pulumi.get(self, "local_ovf_path")
|
|
245
244
|
|
|
246
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
247
246
|
@pulumi.getter
|
|
248
|
-
def memory(self) ->
|
|
247
|
+
def memory(self) -> _builtins.int:
|
|
249
248
|
"""
|
|
250
249
|
The size of the virtual machine memory, in MB.
|
|
251
250
|
"""
|
|
252
251
|
return pulumi.get(self, "memory")
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter(name="memoryHotAddEnabled")
|
|
256
|
-
def memory_hot_add_enabled(self) ->
|
|
255
|
+
def memory_hot_add_enabled(self) -> _builtins.bool:
|
|
257
256
|
"""
|
|
258
257
|
Allow memory to be added to the virtual machine
|
|
259
258
|
while powered on.
|
|
260
259
|
"""
|
|
261
260
|
return pulumi.get(self, "memory_hot_add_enabled")
|
|
262
261
|
|
|
263
|
-
@property
|
|
262
|
+
@_builtins.property
|
|
264
263
|
@pulumi.getter
|
|
265
|
-
def name(self) ->
|
|
264
|
+
def name(self) -> _builtins.str:
|
|
266
265
|
return pulumi.get(self, "name")
|
|
267
266
|
|
|
268
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
269
268
|
@pulumi.getter(name="nestedHvEnabled")
|
|
270
|
-
def nested_hv_enabled(self) ->
|
|
269
|
+
def nested_hv_enabled(self) -> _builtins.bool:
|
|
271
270
|
"""
|
|
272
271
|
Enable nested hardware virtualization on the virtual
|
|
273
272
|
machine, facilitating nested virtualization in the guest.
|
|
274
273
|
"""
|
|
275
274
|
return pulumi.get(self, "nested_hv_enabled")
|
|
276
275
|
|
|
277
|
-
@property
|
|
276
|
+
@_builtins.property
|
|
278
277
|
@pulumi.getter(name="numCoresPerSocket")
|
|
279
|
-
def num_cores_per_socket(self) ->
|
|
278
|
+
def num_cores_per_socket(self) -> _builtins.int:
|
|
280
279
|
"""
|
|
281
280
|
The number of cores per virtual CPU in the virtual
|
|
282
281
|
machine.
|
|
283
282
|
"""
|
|
284
283
|
return pulumi.get(self, "num_cores_per_socket")
|
|
285
284
|
|
|
286
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
287
286
|
@pulumi.getter(name="numCpus")
|
|
288
|
-
def num_cpus(self) ->
|
|
287
|
+
def num_cpus(self) -> _builtins.int:
|
|
289
288
|
"""
|
|
290
289
|
The number of virtual CPUs to assign to the virtual machine.
|
|
291
290
|
"""
|
|
292
291
|
return pulumi.get(self, "num_cpus")
|
|
293
292
|
|
|
294
|
-
@property
|
|
293
|
+
@_builtins.property
|
|
295
294
|
@pulumi.getter(name="ovfNetworkMap")
|
|
296
|
-
def ovf_network_map(self) -> Optional[Mapping[str,
|
|
295
|
+
def ovf_network_map(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
297
296
|
return pulumi.get(self, "ovf_network_map")
|
|
298
297
|
|
|
299
|
-
@property
|
|
298
|
+
@_builtins.property
|
|
300
299
|
@pulumi.getter(name="remoteOvfUrl")
|
|
301
|
-
def remote_ovf_url(self) -> Optional[
|
|
300
|
+
def remote_ovf_url(self) -> Optional[_builtins.str]:
|
|
302
301
|
return pulumi.get(self, "remote_ovf_url")
|
|
303
302
|
|
|
304
|
-
@property
|
|
303
|
+
@_builtins.property
|
|
305
304
|
@pulumi.getter(name="resourcePoolId")
|
|
306
|
-
def resource_pool_id(self) ->
|
|
305
|
+
def resource_pool_id(self) -> _builtins.str:
|
|
307
306
|
return pulumi.get(self, "resource_pool_id")
|
|
308
307
|
|
|
309
|
-
@property
|
|
308
|
+
@_builtins.property
|
|
310
309
|
@pulumi.getter(name="sataControllerCount")
|
|
311
|
-
def sata_controller_count(self) ->
|
|
310
|
+
def sata_controller_count(self) -> _builtins.int:
|
|
312
311
|
return pulumi.get(self, "sata_controller_count")
|
|
313
312
|
|
|
314
|
-
@property
|
|
313
|
+
@_builtins.property
|
|
315
314
|
@pulumi.getter(name="scsiControllerCount")
|
|
316
|
-
def scsi_controller_count(self) ->
|
|
315
|
+
def scsi_controller_count(self) -> _builtins.int:
|
|
317
316
|
return pulumi.get(self, "scsi_controller_count")
|
|
318
317
|
|
|
319
|
-
@property
|
|
318
|
+
@_builtins.property
|
|
320
319
|
@pulumi.getter(name="scsiType")
|
|
321
|
-
def scsi_type(self) ->
|
|
320
|
+
def scsi_type(self) -> _builtins.str:
|
|
322
321
|
return pulumi.get(self, "scsi_type")
|
|
323
322
|
|
|
324
|
-
@property
|
|
323
|
+
@_builtins.property
|
|
325
324
|
@pulumi.getter(name="swapPlacementPolicy")
|
|
326
|
-
def swap_placement_policy(self) ->
|
|
325
|
+
def swap_placement_policy(self) -> _builtins.str:
|
|
327
326
|
"""
|
|
328
327
|
The swap file placement policy for the virtual
|
|
329
328
|
machine.
|
|
@@ -371,20 +370,20 @@ class AwaitableGetOvfVmTemplateResult(GetOvfVmTemplateResult):
|
|
|
371
370
|
swap_placement_policy=self.swap_placement_policy)
|
|
372
371
|
|
|
373
372
|
|
|
374
|
-
def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[
|
|
375
|
-
datastore_id: Optional[
|
|
376
|
-
deployment_option: Optional[
|
|
377
|
-
disk_provisioning: Optional[
|
|
378
|
-
enable_hidden_properties: Optional[
|
|
379
|
-
folder: Optional[
|
|
380
|
-
host_system_id: Optional[
|
|
381
|
-
ip_allocation_policy: Optional[
|
|
382
|
-
ip_protocol: Optional[
|
|
383
|
-
local_ovf_path: Optional[
|
|
384
|
-
name: Optional[
|
|
385
|
-
ovf_network_map: Optional[Mapping[str,
|
|
386
|
-
remote_ovf_url: Optional[
|
|
387
|
-
resource_pool_id: Optional[
|
|
373
|
+
def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[_builtins.bool] = None,
|
|
374
|
+
datastore_id: Optional[_builtins.str] = None,
|
|
375
|
+
deployment_option: Optional[_builtins.str] = None,
|
|
376
|
+
disk_provisioning: Optional[_builtins.str] = None,
|
|
377
|
+
enable_hidden_properties: Optional[_builtins.bool] = None,
|
|
378
|
+
folder: Optional[_builtins.str] = None,
|
|
379
|
+
host_system_id: Optional[_builtins.str] = None,
|
|
380
|
+
ip_allocation_policy: Optional[_builtins.str] = None,
|
|
381
|
+
ip_protocol: Optional[_builtins.str] = None,
|
|
382
|
+
local_ovf_path: Optional[_builtins.str] = None,
|
|
383
|
+
name: Optional[_builtins.str] = None,
|
|
384
|
+
ovf_network_map: Optional[Mapping[str, _builtins.str]] = None,
|
|
385
|
+
remote_ovf_url: Optional[_builtins.str] = None,
|
|
386
|
+
resource_pool_id: Optional[_builtins.str] = None,
|
|
388
387
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOvfVmTemplateResult:
|
|
389
388
|
"""
|
|
390
389
|
The `get_ovf_vm_template` data source can be used to submit an OVF to
|
|
@@ -392,35 +391,35 @@ def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[builtins.bool] = Non
|
|
|
392
391
|
inputs for a `VirtualMachine` resource.
|
|
393
392
|
|
|
394
393
|
|
|
395
|
-
:param
|
|
394
|
+
:param _builtins.bool allow_unverified_ssl_cert: Allow unverified SSL certificates
|
|
396
395
|
when deploying OVF/OVA from a URL.
|
|
397
|
-
:param
|
|
396
|
+
:param _builtins.str datastore_id: The ID of the virtual machine's datastore. The
|
|
398
397
|
virtual machine configuration is placed here, along with any virtual disks
|
|
399
398
|
that are created without datastores.
|
|
400
|
-
:param
|
|
399
|
+
:param _builtins.str deployment_option: The key of the chosen deployment option. If
|
|
401
400
|
empty, the default option is chosen.
|
|
402
|
-
:param
|
|
401
|
+
:param _builtins.str disk_provisioning: The disk provisioning type. If set, all the
|
|
403
402
|
disks included in the OVF/OVA will have the same specified policy. Can be
|
|
404
403
|
one of `thin`, `thick`, `eagerZeroedThick`, or `sameAsSource`.
|
|
405
|
-
:param
|
|
404
|
+
:param _builtins.bool enable_hidden_properties: Allow properties with
|
|
406
405
|
`ovf:userConfigurable=false` to be set.
|
|
407
|
-
:param
|
|
406
|
+
:param _builtins.str folder: The name of the folder in which to place the virtual
|
|
408
407
|
machine.
|
|
409
|
-
:param
|
|
408
|
+
:param _builtins.str host_system_id: The ID of the ESXi host system to deploy the
|
|
410
409
|
virtual machine.
|
|
411
|
-
:param
|
|
412
|
-
:param
|
|
413
|
-
:param
|
|
410
|
+
:param _builtins.str ip_allocation_policy: The IP allocation policy.
|
|
411
|
+
:param _builtins.str ip_protocol: The IP protocol.
|
|
412
|
+
:param _builtins.str local_ovf_path: The absolute path to the OVF/OVA file on the
|
|
414
413
|
local system. When deploying from an OVF, ensure all necessary files such as
|
|
415
414
|
the `.vmdk` files are present in the same directory as the OVF.
|
|
416
|
-
:param
|
|
417
|
-
:param Mapping[str,
|
|
415
|
+
:param _builtins.str name: Name of the virtual machine to create.
|
|
416
|
+
:param Mapping[str, _builtins.str] ovf_network_map: The mapping of name of network identifiers
|
|
418
417
|
from the OVF descriptor to network UUID in the environment.
|
|
419
|
-
:param
|
|
418
|
+
:param _builtins.str remote_ovf_url: URL of the remote OVF/OVA file to be deployed.
|
|
420
419
|
|
|
421
420
|
> **NOTE:** Either `local_ovf_path` or `remote_ovf_url` is required, both can
|
|
422
421
|
not be empty.
|
|
423
|
-
:param
|
|
422
|
+
:param _builtins.str resource_pool_id: The ID of a resource pool in which to place
|
|
424
423
|
the virtual machine.
|
|
425
424
|
"""
|
|
426
425
|
__args__ = dict()
|
|
@@ -474,20 +473,20 @@ def get_ovf_vm_template(allow_unverified_ssl_cert: Optional[builtins.bool] = Non
|
|
|
474
473
|
scsi_controller_count=pulumi.get(__ret__, 'scsi_controller_count'),
|
|
475
474
|
scsi_type=pulumi.get(__ret__, 'scsi_type'),
|
|
476
475
|
swap_placement_policy=pulumi.get(__ret__, 'swap_placement_policy'))
|
|
477
|
-
def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[Optional[
|
|
478
|
-
datastore_id: Optional[pulumi.Input[Optional[
|
|
479
|
-
deployment_option: Optional[pulumi.Input[Optional[
|
|
480
|
-
disk_provisioning: Optional[pulumi.Input[Optional[
|
|
481
|
-
enable_hidden_properties: Optional[pulumi.Input[Optional[
|
|
482
|
-
folder: Optional[pulumi.Input[Optional[
|
|
483
|
-
host_system_id: Optional[pulumi.Input[
|
|
484
|
-
ip_allocation_policy: Optional[pulumi.Input[Optional[
|
|
485
|
-
ip_protocol: Optional[pulumi.Input[Optional[
|
|
486
|
-
local_ovf_path: Optional[pulumi.Input[Optional[
|
|
487
|
-
name: Optional[pulumi.Input[
|
|
488
|
-
ovf_network_map: Optional[pulumi.Input[Optional[Mapping[str,
|
|
489
|
-
remote_ovf_url: Optional[pulumi.Input[Optional[
|
|
490
|
-
resource_pool_id: Optional[pulumi.Input[
|
|
476
|
+
def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
477
|
+
datastore_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
478
|
+
deployment_option: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
479
|
+
disk_provisioning: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
480
|
+
enable_hidden_properties: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
481
|
+
folder: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
482
|
+
host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
483
|
+
ip_allocation_policy: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
484
|
+
ip_protocol: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
485
|
+
local_ovf_path: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
486
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
487
|
+
ovf_network_map: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
488
|
+
remote_ovf_url: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
489
|
+
resource_pool_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
491
490
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOvfVmTemplateResult]:
|
|
492
491
|
"""
|
|
493
492
|
The `get_ovf_vm_template` data source can be used to submit an OVF to
|
|
@@ -495,35 +494,35 @@ def get_ovf_vm_template_output(allow_unverified_ssl_cert: Optional[pulumi.Input[
|
|
|
495
494
|
inputs for a `VirtualMachine` resource.
|
|
496
495
|
|
|
497
496
|
|
|
498
|
-
:param
|
|
497
|
+
:param _builtins.bool allow_unverified_ssl_cert: Allow unverified SSL certificates
|
|
499
498
|
when deploying OVF/OVA from a URL.
|
|
500
|
-
:param
|
|
499
|
+
:param _builtins.str datastore_id: The ID of the virtual machine's datastore. The
|
|
501
500
|
virtual machine configuration is placed here, along with any virtual disks
|
|
502
501
|
that are created without datastores.
|
|
503
|
-
:param
|
|
502
|
+
:param _builtins.str deployment_option: The key of the chosen deployment option. If
|
|
504
503
|
empty, the default option is chosen.
|
|
505
|
-
:param
|
|
504
|
+
:param _builtins.str disk_provisioning: The disk provisioning type. If set, all the
|
|
506
505
|
disks included in the OVF/OVA will have the same specified policy. Can be
|
|
507
506
|
one of `thin`, `thick`, `eagerZeroedThick`, or `sameAsSource`.
|
|
508
|
-
:param
|
|
507
|
+
:param _builtins.bool enable_hidden_properties: Allow properties with
|
|
509
508
|
`ovf:userConfigurable=false` to be set.
|
|
510
|
-
:param
|
|
509
|
+
:param _builtins.str folder: The name of the folder in which to place the virtual
|
|
511
510
|
machine.
|
|
512
|
-
:param
|
|
511
|
+
:param _builtins.str host_system_id: The ID of the ESXi host system to deploy the
|
|
513
512
|
virtual machine.
|
|
514
|
-
:param
|
|
515
|
-
:param
|
|
516
|
-
:param
|
|
513
|
+
:param _builtins.str ip_allocation_policy: The IP allocation policy.
|
|
514
|
+
:param _builtins.str ip_protocol: The IP protocol.
|
|
515
|
+
:param _builtins.str local_ovf_path: The absolute path to the OVF/OVA file on the
|
|
517
516
|
local system. When deploying from an OVF, ensure all necessary files such as
|
|
518
517
|
the `.vmdk` files are present in the same directory as the OVF.
|
|
519
|
-
:param
|
|
520
|
-
:param Mapping[str,
|
|
518
|
+
:param _builtins.str name: Name of the virtual machine to create.
|
|
519
|
+
:param Mapping[str, _builtins.str] ovf_network_map: The mapping of name of network identifiers
|
|
521
520
|
from the OVF descriptor to network UUID in the environment.
|
|
522
|
-
:param
|
|
521
|
+
:param _builtins.str remote_ovf_url: URL of the remote OVF/OVA file to be deployed.
|
|
523
522
|
|
|
524
523
|
> **NOTE:** Either `local_ovf_path` or `remote_ovf_url` is required, both can
|
|
525
524
|
not be empty.
|
|
526
|
-
:param
|
|
525
|
+
:param _builtins.str resource_pool_id: The ID of a resource pool in which to place
|
|
527
526
|
the virtual machine.
|
|
528
527
|
"""
|
|
529
528
|
__args__ = dict()
|
pulumi_vsphere/get_policy.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -35,17 +34,17 @@ class GetPolicyResult:
|
|
|
35
34
|
raise TypeError("Expected argument 'name' to be a str")
|
|
36
35
|
pulumi.set(__self__, "name", name)
|
|
37
36
|
|
|
38
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
39
38
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
39
|
+
def id(self) -> _builtins.str:
|
|
41
40
|
"""
|
|
42
41
|
The provider-assigned unique ID for this managed resource.
|
|
43
42
|
"""
|
|
44
43
|
return pulumi.get(self, "id")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def name(self) ->
|
|
47
|
+
def name(self) -> _builtins.str:
|
|
49
48
|
return pulumi.get(self, "name")
|
|
50
49
|
|
|
51
50
|
|
|
@@ -59,7 +58,7 @@ class AwaitableGetPolicyResult(GetPolicyResult):
|
|
|
59
58
|
name=self.name)
|
|
60
59
|
|
|
61
60
|
|
|
62
|
-
def get_policy(name: Optional[
|
|
61
|
+
def get_policy(name: Optional[_builtins.str] = None,
|
|
63
62
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyResult:
|
|
64
63
|
"""
|
|
65
64
|
The `get_policy` data source can be used to discover the UUID of a
|
|
@@ -80,7 +79,7 @@ def get_policy(name: Optional[builtins.str] = None,
|
|
|
80
79
|
```
|
|
81
80
|
|
|
82
81
|
|
|
83
|
-
:param
|
|
82
|
+
:param _builtins.str name: The name of the storage policy.
|
|
84
83
|
"""
|
|
85
84
|
__args__ = dict()
|
|
86
85
|
__args__['name'] = name
|
|
@@ -90,7 +89,7 @@ def get_policy(name: Optional[builtins.str] = None,
|
|
|
90
89
|
return AwaitableGetPolicyResult(
|
|
91
90
|
id=pulumi.get(__ret__, 'id'),
|
|
92
91
|
name=pulumi.get(__ret__, 'name'))
|
|
93
|
-
def get_policy_output(name: Optional[pulumi.Input[
|
|
92
|
+
def get_policy_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
93
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyResult]:
|
|
95
94
|
"""
|
|
96
95
|
The `get_policy` data source can be used to discover the UUID of a
|
|
@@ -111,7 +110,7 @@ def get_policy_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
111
110
|
```
|
|
112
111
|
|
|
113
112
|
|
|
114
|
-
:param
|
|
113
|
+
:param _builtins.str name: The name of the storage policy.
|
|
115
114
|
"""
|
|
116
115
|
__args__ = dict()
|
|
117
116
|
__args__['name'] = name
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -41,27 +40,27 @@ class GetResourcePoolResult:
|
|
|
41
40
|
raise TypeError("Expected argument 'parent_resource_pool_id' to be a str")
|
|
42
41
|
pulumi.set(__self__, "parent_resource_pool_id", parent_resource_pool_id)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter(name="datacenterId")
|
|
46
|
-
def datacenter_id(self) -> Optional[
|
|
45
|
+
def datacenter_id(self) -> Optional[_builtins.str]:
|
|
47
46
|
return pulumi.get(self, "datacenter_id")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
The provider-assigned unique ID for this managed resource.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "id")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def name(self) -> Optional[
|
|
58
|
+
def name(self) -> Optional[_builtins.str]:
|
|
60
59
|
return pulumi.get(self, "name")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="parentResourcePoolId")
|
|
64
|
-
def parent_resource_pool_id(self) -> Optional[
|
|
63
|
+
def parent_resource_pool_id(self) -> Optional[_builtins.str]:
|
|
65
64
|
return pulumi.get(self, "parent_resource_pool_id")
|
|
66
65
|
|
|
67
66
|
|
|
@@ -77,9 +76,9 @@ class AwaitableGetResourcePoolResult(GetResourcePoolResult):
|
|
|
77
76
|
parent_resource_pool_id=self.parent_resource_pool_id)
|
|
78
77
|
|
|
79
78
|
|
|
80
|
-
def get_resource_pool(datacenter_id: Optional[
|
|
81
|
-
name: Optional[
|
|
82
|
-
parent_resource_pool_id: Optional[
|
|
79
|
+
def get_resource_pool(datacenter_id: Optional[_builtins.str] = None,
|
|
80
|
+
name: Optional[_builtins.str] = None,
|
|
81
|
+
parent_resource_pool_id: Optional[_builtins.str] = None,
|
|
83
82
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourcePoolResult:
|
|
84
83
|
"""
|
|
85
84
|
The `ResourcePool` data source can be used to discover the ID of a
|
|
@@ -138,14 +137,14 @@ def get_resource_pool(datacenter_id: Optional[builtins.str] = None,
|
|
|
138
137
|
[vmware-docs-resource-pools]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/managing-resource-pools.html
|
|
139
138
|
|
|
140
139
|
|
|
141
|
-
:param
|
|
140
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
142
141
|
of the datacenter in which the resource pool is located. This can be omitted
|
|
143
142
|
if the search path used in `name` is an absolute path. For default
|
|
144
143
|
datacenters, use the id attribute from an empty `Datacenter` data
|
|
145
144
|
source..
|
|
146
|
-
:param
|
|
145
|
+
:param _builtins.str name: The name of the resource pool. This can be a name or
|
|
147
146
|
path. This is required when using vCenter.
|
|
148
|
-
:param
|
|
147
|
+
:param _builtins.str parent_resource_pool_id: The managed object ID
|
|
149
148
|
of the parent resource pool. When specified, the `name` parameter is used to find
|
|
150
149
|
a child resource pool with the given name under this parent resource pool.
|
|
151
150
|
|
|
@@ -165,9 +164,9 @@ def get_resource_pool(datacenter_id: Optional[builtins.str] = None,
|
|
|
165
164
|
id=pulumi.get(__ret__, 'id'),
|
|
166
165
|
name=pulumi.get(__ret__, 'name'),
|
|
167
166
|
parent_resource_pool_id=pulumi.get(__ret__, 'parent_resource_pool_id'))
|
|
168
|
-
def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[
|
|
169
|
-
name: Optional[pulumi.Input[Optional[
|
|
170
|
-
parent_resource_pool_id: Optional[pulumi.Input[Optional[
|
|
167
|
+
def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
168
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
169
|
+
parent_resource_pool_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
171
170
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetResourcePoolResult]:
|
|
172
171
|
"""
|
|
173
172
|
The `ResourcePool` data source can be used to discover the ID of a
|
|
@@ -226,14 +225,14 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[built
|
|
|
226
225
|
[vmware-docs-resource-pools]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/managing-resource-pools.html
|
|
227
226
|
|
|
228
227
|
|
|
229
|
-
:param
|
|
228
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
230
229
|
of the datacenter in which the resource pool is located. This can be omitted
|
|
231
230
|
if the search path used in `name` is an absolute path. For default
|
|
232
231
|
datacenters, use the id attribute from an empty `Datacenter` data
|
|
233
232
|
source..
|
|
234
|
-
:param
|
|
233
|
+
:param _builtins.str name: The name of the resource pool. This can be a name or
|
|
235
234
|
path. This is required when using vCenter.
|
|
236
|
-
:param
|
|
235
|
+
:param _builtins.str parent_resource_pool_id: The managed object ID
|
|
237
236
|
of the parent resource pool. When specified, the `name` parameter is used to find
|
|
238
237
|
a child resource pool with the given name under this parent resource pool.
|
|
239
238
|
|