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