pulumi-vsphere 4.11.0a1713340048__py3-none-any.whl → 4.11.0a1713905355__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/_inputs.py +96 -230
- pulumi_vsphere/compute_cluster.py +700 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +14 -16
- pulumi_vsphere/datacenter.py +8 -12
- pulumi_vsphere/datastore_cluster.py +154 -350
- pulumi_vsphere/distributed_port_group.py +70 -175
- pulumi_vsphere/distributed_virtual_switch.py +308 -798
- pulumi_vsphere/file.py +16 -24
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +8 -10
- pulumi_vsphere/get_content_library.py +0 -4
- pulumi_vsphere/get_custom_attribute.py +0 -4
- pulumi_vsphere/get_datacenter.py +0 -4
- pulumi_vsphere/get_datastore.py +0 -4
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +4 -12
- pulumi_vsphere/get_distributed_virtual_switch.py +2 -4
- pulumi_vsphere/get_dynamic.py +4 -8
- pulumi_vsphere/get_folder.py +0 -4
- pulumi_vsphere/get_guest_os_customization.py +0 -4
- pulumi_vsphere/get_host.py +0 -4
- pulumi_vsphere/get_host_pci_device.py +4 -12
- pulumi_vsphere/get_host_thumbprint.py +0 -4
- pulumi_vsphere/get_host_vgpu_profile.py +0 -8
- pulumi_vsphere/get_license.py +0 -4
- pulumi_vsphere/get_network.py +0 -4
- pulumi_vsphere/get_policy.py +0 -4
- pulumi_vsphere/get_resource_pool.py +2 -10
- pulumi_vsphere/get_role.py +0 -4
- pulumi_vsphere/get_tag.py +0 -4
- pulumi_vsphere/get_tag_category.py +0 -4
- pulumi_vsphere/get_vapp_container.py +0 -4
- pulumi_vsphere/get_virtual_machine.py +0 -8
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +50 -0
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -8
- pulumi_vsphere/host_port_group.py +12 -12
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/license.py +0 -32
- pulumi_vsphere/outputs.py +96 -230
- pulumi_vsphere/resource_pool.py +20 -22
- pulumi_vsphere/virtual_machine.py +599 -739
- pulumi_vsphere/virtual_machine_snapshot.py +6 -10
- pulumi_vsphere/vm_storage_policy.py +72 -84
- pulumi_vsphere/vnic.py +8 -8
- {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1713905355.dist-info/RECORD +82 -0
- pulumi_vsphere-4.11.0a1713340048.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/top_level.txt +0 -0
pulumi_vsphere/_inputs.py
CHANGED
|
@@ -49,8 +49,8 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
49
49
|
cache: Optional[pulumi.Input[str]] = None,
|
|
50
50
|
storages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
51
51
|
"""
|
|
52
|
-
:param pulumi.Input[str] cache:
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] storages:
|
|
52
|
+
:param pulumi.Input[str] cache: Cache disk.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] storages: List of storage disks.
|
|
54
54
|
"""
|
|
55
55
|
if cache is not None:
|
|
56
56
|
pulumi.set(__self__, "cache", cache)
|
|
@@ -61,7 +61,7 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
61
61
|
@pulumi.getter
|
|
62
62
|
def cache(self) -> Optional[pulumi.Input[str]]:
|
|
63
63
|
"""
|
|
64
|
-
|
|
64
|
+
Cache disk.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "cache")
|
|
67
67
|
|
|
@@ -73,7 +73,7 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
73
73
|
@pulumi.getter
|
|
74
74
|
def storages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
List of storage disks.
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "storages")
|
|
79
79
|
|
|
@@ -154,56 +154,8 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
154
154
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_fault_domain_host_ids: The managed object IDs of the hosts to put in the first fault domain.
|
|
155
155
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_fault_domain_host_ids: The managed object IDs of the hosts to put in the second fault domain.
|
|
156
156
|
:param pulumi.Input[str] witness_node: The managed object IDs of the host selected as witness node when enable stretched cluster.
|
|
157
|
-
:param pulumi.Input[str] preferred_fault_domain_name: The name of
|
|
158
|
-
:param pulumi.Input[str] secondary_fault_domain_name: The name of
|
|
159
|
-
|
|
160
|
-
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
161
|
-
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
162
|
-
|
|
163
|
-
<!--Start PulumiCodeChooser -->
|
|
164
|
-
```python
|
|
165
|
-
import pulumi
|
|
166
|
-
import pulumi_vsphere as vsphere
|
|
167
|
-
|
|
168
|
-
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
169
|
-
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
170
|
-
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
171
|
-
drs_enabled=True,
|
|
172
|
-
drs_automation_level="fullyAutomated",
|
|
173
|
-
ha_enabled=False,
|
|
174
|
-
vsan_enabled=True,
|
|
175
|
-
vsan_esa_enabled=True,
|
|
176
|
-
vsan_dedup_enabled=True,
|
|
177
|
-
vsan_compression_enabled=True,
|
|
178
|
-
vsan_performance_enabled=True,
|
|
179
|
-
vsan_verbose_mode_enabled=True,
|
|
180
|
-
vsan_network_diagnostic_mode_enabled=True,
|
|
181
|
-
vsan_unmap_enabled=True,
|
|
182
|
-
vsan_dit_encryption_enabled=True,
|
|
183
|
-
vsan_dit_rekey_interval=1800,
|
|
184
|
-
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
185
|
-
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
186
|
-
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
187
|
-
)],
|
|
188
|
-
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
189
|
-
fault_domains=[
|
|
190
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
191
|
-
name="fd1",
|
|
192
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
193
|
-
),
|
|
194
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
195
|
-
name="fd2",
|
|
196
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
197
|
-
),
|
|
198
|
-
],
|
|
199
|
-
)],
|
|
200
|
-
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
201
|
-
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
202
|
-
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
203
|
-
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
204
|
-
))
|
|
205
|
-
```
|
|
206
|
-
<!--End PulumiCodeChooser -->
|
|
157
|
+
:param pulumi.Input[str] preferred_fault_domain_name: The name of prepferred fault domain.
|
|
158
|
+
:param pulumi.Input[str] secondary_fault_domain_name: The name of secondary fault domain.
|
|
207
159
|
"""
|
|
208
160
|
pulumi.set(__self__, "preferred_fault_domain_host_ids", preferred_fault_domain_host_ids)
|
|
209
161
|
pulumi.set(__self__, "secondary_fault_domain_host_ids", secondary_fault_domain_host_ids)
|
|
@@ -253,7 +205,7 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
253
205
|
@pulumi.getter(name="preferredFaultDomainName")
|
|
254
206
|
def preferred_fault_domain_name(self) -> Optional[pulumi.Input[str]]:
|
|
255
207
|
"""
|
|
256
|
-
The name of
|
|
208
|
+
The name of prepferred fault domain.
|
|
257
209
|
"""
|
|
258
210
|
return pulumi.get(self, "preferred_fault_domain_name")
|
|
259
211
|
|
|
@@ -265,55 +217,7 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
265
217
|
@pulumi.getter(name="secondaryFaultDomainName")
|
|
266
218
|
def secondary_fault_domain_name(self) -> Optional[pulumi.Input[str]]:
|
|
267
219
|
"""
|
|
268
|
-
The name of
|
|
269
|
-
|
|
270
|
-
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
271
|
-
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
272
|
-
|
|
273
|
-
<!--Start PulumiCodeChooser -->
|
|
274
|
-
```python
|
|
275
|
-
import pulumi
|
|
276
|
-
import pulumi_vsphere as vsphere
|
|
277
|
-
|
|
278
|
-
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
279
|
-
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
280
|
-
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
281
|
-
drs_enabled=True,
|
|
282
|
-
drs_automation_level="fullyAutomated",
|
|
283
|
-
ha_enabled=False,
|
|
284
|
-
vsan_enabled=True,
|
|
285
|
-
vsan_esa_enabled=True,
|
|
286
|
-
vsan_dedup_enabled=True,
|
|
287
|
-
vsan_compression_enabled=True,
|
|
288
|
-
vsan_performance_enabled=True,
|
|
289
|
-
vsan_verbose_mode_enabled=True,
|
|
290
|
-
vsan_network_diagnostic_mode_enabled=True,
|
|
291
|
-
vsan_unmap_enabled=True,
|
|
292
|
-
vsan_dit_encryption_enabled=True,
|
|
293
|
-
vsan_dit_rekey_interval=1800,
|
|
294
|
-
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
295
|
-
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
296
|
-
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
297
|
-
)],
|
|
298
|
-
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
299
|
-
fault_domains=[
|
|
300
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
301
|
-
name="fd1",
|
|
302
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
303
|
-
),
|
|
304
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
305
|
-
name="fd2",
|
|
306
|
-
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
307
|
-
),
|
|
308
|
-
],
|
|
309
|
-
)],
|
|
310
|
-
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
311
|
-
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
312
|
-
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
313
|
-
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
314
|
-
))
|
|
315
|
-
```
|
|
316
|
-
<!--End PulumiCodeChooser -->
|
|
220
|
+
The name of secondary fault domain.
|
|
317
221
|
"""
|
|
318
222
|
return pulumi.get(self, "secondary_fault_domain_name")
|
|
319
223
|
|
|
@@ -331,11 +235,11 @@ class ContentLibraryPublicationArgs:
|
|
|
331
235
|
published: Optional[pulumi.Input[bool]] = None,
|
|
332
236
|
username: Optional[pulumi.Input[str]] = None):
|
|
333
237
|
"""
|
|
334
|
-
:param pulumi.Input[str] authentication_method:
|
|
335
|
-
:param pulumi.Input[str] password: Password used
|
|
238
|
+
:param pulumi.Input[str] authentication_method: Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
239
|
+
:param pulumi.Input[str] password: Password used by subscribers to authenticate.
|
|
336
240
|
:param pulumi.Input[str] publish_url: The URL of the published content library.
|
|
337
241
|
:param pulumi.Input[bool] published: Publish the content library. Default `false`.
|
|
338
|
-
:param pulumi.Input[str] username: Username used
|
|
242
|
+
:param pulumi.Input[str] username: Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
339
243
|
"""
|
|
340
244
|
if authentication_method is not None:
|
|
341
245
|
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
@@ -352,7 +256,7 @@ class ContentLibraryPublicationArgs:
|
|
|
352
256
|
@pulumi.getter(name="authenticationMethod")
|
|
353
257
|
def authentication_method(self) -> Optional[pulumi.Input[str]]:
|
|
354
258
|
"""
|
|
355
|
-
|
|
259
|
+
Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
356
260
|
"""
|
|
357
261
|
return pulumi.get(self, "authentication_method")
|
|
358
262
|
|
|
@@ -364,7 +268,7 @@ class ContentLibraryPublicationArgs:
|
|
|
364
268
|
@pulumi.getter
|
|
365
269
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
366
270
|
"""
|
|
367
|
-
Password used
|
|
271
|
+
Password used by subscribers to authenticate.
|
|
368
272
|
"""
|
|
369
273
|
return pulumi.get(self, "password")
|
|
370
274
|
|
|
@@ -400,7 +304,7 @@ class ContentLibraryPublicationArgs:
|
|
|
400
304
|
@pulumi.getter
|
|
401
305
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
402
306
|
"""
|
|
403
|
-
Username used
|
|
307
|
+
Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
404
308
|
"""
|
|
405
309
|
return pulumi.get(self, "username")
|
|
406
310
|
|
|
@@ -555,10 +459,8 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
555
459
|
host_system_id: pulumi.Input[str],
|
|
556
460
|
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
557
461
|
"""
|
|
558
|
-
:param pulumi.Input[str] host_system_id: The
|
|
559
|
-
|
|
560
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The list of NIC devices to map to uplinks on the VDS,
|
|
561
|
-
added in order they are specified.
|
|
462
|
+
:param pulumi.Input[str] host_system_id: The managed object ID of the host this specification applies to.
|
|
463
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: Name of the physical NIC to be added to the proxy switch.
|
|
562
464
|
"""
|
|
563
465
|
pulumi.set(__self__, "host_system_id", host_system_id)
|
|
564
466
|
if devices is not None:
|
|
@@ -568,8 +470,7 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
568
470
|
@pulumi.getter(name="hostSystemId")
|
|
569
471
|
def host_system_id(self) -> pulumi.Input[str]:
|
|
570
472
|
"""
|
|
571
|
-
The
|
|
572
|
-
VDS.
|
|
473
|
+
The managed object ID of the host this specification applies to.
|
|
573
474
|
"""
|
|
574
475
|
return pulumi.get(self, "host_system_id")
|
|
575
476
|
|
|
@@ -581,8 +482,7 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
581
482
|
@pulumi.getter
|
|
582
483
|
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
583
484
|
"""
|
|
584
|
-
|
|
585
|
-
added in order they are specified.
|
|
485
|
+
Name of the physical NIC to be added to the proxy switch.
|
|
586
486
|
"""
|
|
587
487
|
return pulumi.get(self, "devices")
|
|
588
488
|
|
|
@@ -598,12 +498,9 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
598
498
|
pvlan_type: pulumi.Input[str],
|
|
599
499
|
secondary_vlan_id: pulumi.Input[int]):
|
|
600
500
|
"""
|
|
601
|
-
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
|
|
602
|
-
|
|
603
|
-
:param pulumi.Input[
|
|
604
|
-
promiscuous, community and isolated.
|
|
605
|
-
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
|
|
606
|
-
and 4095 are reserved and cannot be used in this property.
|
|
501
|
+
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
502
|
+
:param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
503
|
+
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
607
504
|
"""
|
|
608
505
|
pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
|
|
609
506
|
pulumi.set(__self__, "pvlan_type", pvlan_type)
|
|
@@ -613,8 +510,7 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
613
510
|
@pulumi.getter(name="primaryVlanId")
|
|
614
511
|
def primary_vlan_id(self) -> pulumi.Input[int]:
|
|
615
512
|
"""
|
|
616
|
-
The primary VLAN ID. The VLAN IDs of 0 and
|
|
617
|
-
4095 are reserved and cannot be used in this property.
|
|
513
|
+
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
618
514
|
"""
|
|
619
515
|
return pulumi.get(self, "primary_vlan_id")
|
|
620
516
|
|
|
@@ -626,8 +522,7 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
626
522
|
@pulumi.getter(name="pvlanType")
|
|
627
523
|
def pvlan_type(self) -> pulumi.Input[str]:
|
|
628
524
|
"""
|
|
629
|
-
The private VLAN type. Valid values are
|
|
630
|
-
promiscuous, community and isolated.
|
|
525
|
+
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
631
526
|
"""
|
|
632
527
|
return pulumi.get(self, "pvlan_type")
|
|
633
528
|
|
|
@@ -639,8 +534,7 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
639
534
|
@pulumi.getter(name="secondaryVlanId")
|
|
640
535
|
def secondary_vlan_id(self) -> pulumi.Input[int]:
|
|
641
536
|
"""
|
|
642
|
-
The secondary VLAN ID. The VLAN IDs of 0
|
|
643
|
-
and 4095 are reserved and cannot be used in this property.
|
|
537
|
+
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
644
538
|
"""
|
|
645
539
|
return pulumi.get(self, "secondary_vlan_id")
|
|
646
540
|
|
|
@@ -1354,15 +1248,11 @@ class VirtualMachineCdromArgs:
|
|
|
1354
1248
|
key: Optional[pulumi.Input[int]] = None,
|
|
1355
1249
|
path: Optional[pulumi.Input[str]] = None):
|
|
1356
1250
|
"""
|
|
1357
|
-
:param pulumi.Input[bool] client_device: Indicates whether the device should be
|
|
1358
|
-
:param pulumi.Input[str] datastore_id: The datastore ID
|
|
1251
|
+
:param pulumi.Input[bool] client_device: Indicates whether the device should be mapped to a remote client device
|
|
1252
|
+
:param pulumi.Input[str] datastore_id: The datastore ID the ISO is located on.
|
|
1359
1253
|
:param pulumi.Input[str] device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
1360
1254
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
1361
|
-
:param pulumi.Input[str] path: The path to the ISO file
|
|
1362
|
-
|
|
1363
|
-
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
1364
|
-
|
|
1365
|
-
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
1255
|
+
:param pulumi.Input[str] path: The path to the ISO file on the datastore.
|
|
1366
1256
|
"""
|
|
1367
1257
|
if client_device is not None:
|
|
1368
1258
|
pulumi.set(__self__, "client_device", client_device)
|
|
@@ -1379,7 +1269,7 @@ class VirtualMachineCdromArgs:
|
|
|
1379
1269
|
@pulumi.getter(name="clientDevice")
|
|
1380
1270
|
def client_device(self) -> Optional[pulumi.Input[bool]]:
|
|
1381
1271
|
"""
|
|
1382
|
-
Indicates whether the device should be
|
|
1272
|
+
Indicates whether the device should be mapped to a remote client device
|
|
1383
1273
|
"""
|
|
1384
1274
|
return pulumi.get(self, "client_device")
|
|
1385
1275
|
|
|
@@ -1391,7 +1281,7 @@ class VirtualMachineCdromArgs:
|
|
|
1391
1281
|
@pulumi.getter(name="datastoreId")
|
|
1392
1282
|
def datastore_id(self) -> Optional[pulumi.Input[str]]:
|
|
1393
1283
|
"""
|
|
1394
|
-
The datastore ID
|
|
1284
|
+
The datastore ID the ISO is located on.
|
|
1395
1285
|
"""
|
|
1396
1286
|
return pulumi.get(self, "datastore_id")
|
|
1397
1287
|
|
|
@@ -1427,11 +1317,7 @@ class VirtualMachineCdromArgs:
|
|
|
1427
1317
|
@pulumi.getter
|
|
1428
1318
|
def path(self) -> Optional[pulumi.Input[str]]:
|
|
1429
1319
|
"""
|
|
1430
|
-
The path to the ISO file
|
|
1431
|
-
|
|
1432
|
-
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
1433
|
-
|
|
1434
|
-
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
1320
|
+
The path to the ISO file on the datastore.
|
|
1435
1321
|
"""
|
|
1436
1322
|
return pulumi.get(self, "path")
|
|
1437
1323
|
|
|
@@ -1614,7 +1500,7 @@ class VirtualMachineCloneCustomizeArgs:
|
|
|
1614
1500
|
:param pulumi.Input[str] ipv4_gateway: The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1615
1501
|
:param pulumi.Input[str] ipv6_gateway: The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1616
1502
|
:param pulumi.Input['VirtualMachineCloneCustomizeLinuxOptionsArgs'] linux_options: A list of configuration options specific to Linux virtual machines.
|
|
1617
|
-
:param pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]] network_interfaces: A specification
|
|
1503
|
+
:param pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]] network_interfaces: A specification of network interface configuration options.
|
|
1618
1504
|
:param pulumi.Input[int] timeout: The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
1619
1505
|
:param pulumi.Input['VirtualMachineCloneCustomizeWindowsOptionsArgs'] windows_options: A list of configuration options specific to Windows virtual machines.
|
|
1620
1506
|
:param pulumi.Input[str] windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
@@ -1702,7 +1588,7 @@ class VirtualMachineCloneCustomizeArgs:
|
|
|
1702
1588
|
@pulumi.getter(name="networkInterfaces")
|
|
1703
1589
|
def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]]]:
|
|
1704
1590
|
"""
|
|
1705
|
-
A specification
|
|
1591
|
+
A specification of network interface configuration options.
|
|
1706
1592
|
"""
|
|
1707
1593
|
return pulumi.get(self, "network_interfaces")
|
|
1708
1594
|
|
|
@@ -2175,36 +2061,26 @@ class VirtualMachineDiskArgs:
|
|
|
2175
2061
|
write_through: Optional[pulumi.Input[bool]] = None):
|
|
2176
2062
|
"""
|
|
2177
2063
|
:param pulumi.Input[str] label: A unique label for this disk.
|
|
2178
|
-
:param pulumi.Input[bool] attach:
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
:param pulumi.Input[str] controller_type: The type of storage controller to attach the disk to. Can be `scsi`, `sata`, or `ide`. You must have the appropriate number of controllers enabled for the selected type. Default `scsi`.
|
|
2182
|
-
:param pulumi.Input[str] datastore_id: The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2064
|
+
:param pulumi.Input[bool] attach: If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
2065
|
+
:param pulumi.Input[str] controller_type: The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
2066
|
+
:param pulumi.Input[str] datastore_id: The datastore ID for this virtual disk, if different than the virtual machine.
|
|
2183
2067
|
:param pulumi.Input[str] device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2184
|
-
:param pulumi.Input[str] disk_mode: The mode of this this virtual disk for purposes of writes and
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
:param pulumi.Input[
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
:param pulumi.Input[
|
|
2191
|
-
:param pulumi.Input[
|
|
2192
|
-
:param pulumi.Input[int] io_reservation: The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
|
|
2193
|
-
:param pulumi.Input[int] io_share_count: The share count for the virtual disk when the share level is `custom`.
|
|
2194
|
-
:param pulumi.Input[str] io_share_level: The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
|
|
2195
|
-
:param pulumi.Input[bool] keep_on_remove: Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
|
|
2068
|
+
:param pulumi.Input[str] disk_mode: The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable.
|
|
2069
|
+
:param pulumi.Input[str] disk_sharing: The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
2070
|
+
:param pulumi.Input[bool] eagerly_scrub: The virtual disk file zeroing policy when thin_provision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
|
|
2071
|
+
:param pulumi.Input[int] io_limit: The upper limit of IOPS that this disk can use.
|
|
2072
|
+
:param pulumi.Input[int] io_reservation: The I/O guarantee that this disk has, in IOPS.
|
|
2073
|
+
:param pulumi.Input[int] io_share_count: The share count for this disk when the share level is custom.
|
|
2074
|
+
:param pulumi.Input[str] io_share_level: The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
2075
|
+
:param pulumi.Input[bool] keep_on_remove: Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
2196
2076
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
2197
|
-
:param pulumi.Input[str] path: The path
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
:param pulumi.Input[
|
|
2203
|
-
:param pulumi.Input[
|
|
2204
|
-
:param pulumi.Input[bool] thin_provisioned: If `true`, the disk is thin provisioned, with space for the file being allocated on an as-needed basis. Cannot be set to `true` when `eagerly_scrub` is `true`. See the section on selecting a disk type for more information. Default: `true`.
|
|
2205
|
-
:param pulumi.Input[int] unit_number: The disk number on the storage bus. The maximum value for this setting is the value of the controller count times the controller capacity (15 for SCSI, 30 for SATA, and 2 for IDE). Duplicate unit numbers are not allowed. Default `0`, for which one disk must be set to.
|
|
2206
|
-
:param pulumi.Input[str] uuid: The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
|
|
2207
|
-
:param pulumi.Input[bool] write_through: If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
|
|
2077
|
+
:param pulumi.Input[str] path: The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value.
|
|
2078
|
+
:param pulumi.Input[int] size: The size of the disk, in GB.
|
|
2079
|
+
:param pulumi.Input[str] storage_policy_id: The ID of the storage policy to assign to the virtual disk in VM.
|
|
2080
|
+
:param pulumi.Input[bool] thin_provisioned: If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
2081
|
+
:param pulumi.Input[int] unit_number: The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
2082
|
+
:param pulumi.Input[str] uuid: The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
2083
|
+
:param pulumi.Input[bool] write_through: If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
2208
2084
|
"""
|
|
2209
2085
|
pulumi.set(__self__, "label", label)
|
|
2210
2086
|
if attach is not None:
|
|
@@ -2264,9 +2140,7 @@ class VirtualMachineDiskArgs:
|
|
|
2264
2140
|
@pulumi.getter
|
|
2265
2141
|
def attach(self) -> Optional[pulumi.Input[bool]]:
|
|
2266
2142
|
"""
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
> **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
|
|
2143
|
+
If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
2270
2144
|
"""
|
|
2271
2145
|
return pulumi.get(self, "attach")
|
|
2272
2146
|
|
|
@@ -2278,7 +2152,7 @@ class VirtualMachineDiskArgs:
|
|
|
2278
2152
|
@pulumi.getter(name="controllerType")
|
|
2279
2153
|
def controller_type(self) -> Optional[pulumi.Input[str]]:
|
|
2280
2154
|
"""
|
|
2281
|
-
The type of
|
|
2155
|
+
The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
2282
2156
|
"""
|
|
2283
2157
|
return pulumi.get(self, "controller_type")
|
|
2284
2158
|
|
|
@@ -2290,7 +2164,7 @@ class VirtualMachineDiskArgs:
|
|
|
2290
2164
|
@pulumi.getter(name="datastoreId")
|
|
2291
2165
|
def datastore_id(self) -> Optional[pulumi.Input[str]]:
|
|
2292
2166
|
"""
|
|
2293
|
-
The datastore ID
|
|
2167
|
+
The datastore ID for this virtual disk, if different than the virtual machine.
|
|
2294
2168
|
"""
|
|
2295
2169
|
return pulumi.get(self, "datastore_id")
|
|
2296
2170
|
|
|
@@ -2314,9 +2188,7 @@ class VirtualMachineDiskArgs:
|
|
|
2314
2188
|
@pulumi.getter(name="diskMode")
|
|
2315
2189
|
def disk_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2316
2190
|
"""
|
|
2317
|
-
The mode of this this virtual disk for purposes of writes and
|
|
2318
|
-
|
|
2319
|
-
[vmware-docs-disk-mode]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.device.VirtualDiskOption.DiskMode.html
|
|
2191
|
+
The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable.
|
|
2320
2192
|
"""
|
|
2321
2193
|
return pulumi.get(self, "disk_mode")
|
|
2322
2194
|
|
|
@@ -2328,9 +2200,7 @@ class VirtualMachineDiskArgs:
|
|
|
2328
2200
|
@pulumi.getter(name="diskSharing")
|
|
2329
2201
|
def disk_sharing(self) -> Optional[pulumi.Input[str]]:
|
|
2330
2202
|
"""
|
|
2331
|
-
The sharing mode of this virtual disk.
|
|
2332
|
-
|
|
2333
|
-
> **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
2203
|
+
The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
2334
2204
|
"""
|
|
2335
2205
|
return pulumi.get(self, "disk_sharing")
|
|
2336
2206
|
|
|
@@ -2342,7 +2212,7 @@ class VirtualMachineDiskArgs:
|
|
|
2342
2212
|
@pulumi.getter(name="eagerlyScrub")
|
|
2343
2213
|
def eagerly_scrub(self) -> Optional[pulumi.Input[bool]]:
|
|
2344
2214
|
"""
|
|
2345
|
-
|
|
2215
|
+
The virtual disk file zeroing policy when thin_provision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
|
|
2346
2216
|
"""
|
|
2347
2217
|
return pulumi.get(self, "eagerly_scrub")
|
|
2348
2218
|
|
|
@@ -2354,7 +2224,7 @@ class VirtualMachineDiskArgs:
|
|
|
2354
2224
|
@pulumi.getter(name="ioLimit")
|
|
2355
2225
|
def io_limit(self) -> Optional[pulumi.Input[int]]:
|
|
2356
2226
|
"""
|
|
2357
|
-
The upper limit of IOPS that this disk can use.
|
|
2227
|
+
The upper limit of IOPS that this disk can use.
|
|
2358
2228
|
"""
|
|
2359
2229
|
return pulumi.get(self, "io_limit")
|
|
2360
2230
|
|
|
@@ -2366,7 +2236,7 @@ class VirtualMachineDiskArgs:
|
|
|
2366
2236
|
@pulumi.getter(name="ioReservation")
|
|
2367
2237
|
def io_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
2368
2238
|
"""
|
|
2369
|
-
The I/O
|
|
2239
|
+
The I/O guarantee that this disk has, in IOPS.
|
|
2370
2240
|
"""
|
|
2371
2241
|
return pulumi.get(self, "io_reservation")
|
|
2372
2242
|
|
|
@@ -2378,7 +2248,7 @@ class VirtualMachineDiskArgs:
|
|
|
2378
2248
|
@pulumi.getter(name="ioShareCount")
|
|
2379
2249
|
def io_share_count(self) -> Optional[pulumi.Input[int]]:
|
|
2380
2250
|
"""
|
|
2381
|
-
The share count for
|
|
2251
|
+
The share count for this disk when the share level is custom.
|
|
2382
2252
|
"""
|
|
2383
2253
|
return pulumi.get(self, "io_share_count")
|
|
2384
2254
|
|
|
@@ -2390,7 +2260,7 @@ class VirtualMachineDiskArgs:
|
|
|
2390
2260
|
@pulumi.getter(name="ioShareLevel")
|
|
2391
2261
|
def io_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
2392
2262
|
"""
|
|
2393
|
-
The share allocation level for
|
|
2263
|
+
The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
2394
2264
|
"""
|
|
2395
2265
|
return pulumi.get(self, "io_share_level")
|
|
2396
2266
|
|
|
@@ -2402,7 +2272,7 @@ class VirtualMachineDiskArgs:
|
|
|
2402
2272
|
@pulumi.getter(name="keepOnRemove")
|
|
2403
2273
|
def keep_on_remove(self) -> Optional[pulumi.Input[bool]]:
|
|
2404
2274
|
"""
|
|
2405
|
-
|
|
2275
|
+
Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
2406
2276
|
"""
|
|
2407
2277
|
return pulumi.get(self, "keep_on_remove")
|
|
2408
2278
|
|
|
@@ -2426,11 +2296,7 @@ class VirtualMachineDiskArgs:
|
|
|
2426
2296
|
@pulumi.getter
|
|
2427
2297
|
def path(self) -> Optional[pulumi.Input[str]]:
|
|
2428
2298
|
"""
|
|
2429
|
-
The path
|
|
2430
|
-
|
|
2431
|
-
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
2432
|
-
|
|
2433
|
-
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
2299
|
+
The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value.
|
|
2434
2300
|
"""
|
|
2435
2301
|
return pulumi.get(self, "path")
|
|
2436
2302
|
|
|
@@ -2442,7 +2308,7 @@ class VirtualMachineDiskArgs:
|
|
|
2442
2308
|
@pulumi.getter
|
|
2443
2309
|
def size(self) -> Optional[pulumi.Input[int]]:
|
|
2444
2310
|
"""
|
|
2445
|
-
The size of the disk, in GB.
|
|
2311
|
+
The size of the disk, in GB.
|
|
2446
2312
|
"""
|
|
2447
2313
|
return pulumi.get(self, "size")
|
|
2448
2314
|
|
|
@@ -2454,7 +2320,7 @@ class VirtualMachineDiskArgs:
|
|
|
2454
2320
|
@pulumi.getter(name="storagePolicyId")
|
|
2455
2321
|
def storage_policy_id(self) -> Optional[pulumi.Input[str]]:
|
|
2456
2322
|
"""
|
|
2457
|
-
The
|
|
2323
|
+
The ID of the storage policy to assign to the virtual disk in VM.
|
|
2458
2324
|
"""
|
|
2459
2325
|
return pulumi.get(self, "storage_policy_id")
|
|
2460
2326
|
|
|
@@ -2466,7 +2332,7 @@ class VirtualMachineDiskArgs:
|
|
|
2466
2332
|
@pulumi.getter(name="thinProvisioned")
|
|
2467
2333
|
def thin_provisioned(self) -> Optional[pulumi.Input[bool]]:
|
|
2468
2334
|
"""
|
|
2469
|
-
If
|
|
2335
|
+
If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
2470
2336
|
"""
|
|
2471
2337
|
return pulumi.get(self, "thin_provisioned")
|
|
2472
2338
|
|
|
@@ -2478,7 +2344,7 @@ class VirtualMachineDiskArgs:
|
|
|
2478
2344
|
@pulumi.getter(name="unitNumber")
|
|
2479
2345
|
def unit_number(self) -> Optional[pulumi.Input[int]]:
|
|
2480
2346
|
"""
|
|
2481
|
-
The
|
|
2347
|
+
The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
2482
2348
|
"""
|
|
2483
2349
|
return pulumi.get(self, "unit_number")
|
|
2484
2350
|
|
|
@@ -2490,7 +2356,7 @@ class VirtualMachineDiskArgs:
|
|
|
2490
2356
|
@pulumi.getter
|
|
2491
2357
|
def uuid(self) -> Optional[pulumi.Input[str]]:
|
|
2492
2358
|
"""
|
|
2493
|
-
The UUID of the virtual
|
|
2359
|
+
The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
2494
2360
|
"""
|
|
2495
2361
|
return pulumi.get(self, "uuid")
|
|
2496
2362
|
|
|
@@ -2502,7 +2368,7 @@ class VirtualMachineDiskArgs:
|
|
|
2502
2368
|
@pulumi.getter(name="writeThrough")
|
|
2503
2369
|
def write_through(self) -> Optional[pulumi.Input[bool]]:
|
|
2504
2370
|
"""
|
|
2505
|
-
If
|
|
2371
|
+
If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
2506
2372
|
"""
|
|
2507
2373
|
return pulumi.get(self, "write_through")
|
|
2508
2374
|
|
|
@@ -2527,18 +2393,18 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2527
2393
|
physical_function: Optional[pulumi.Input[str]] = None,
|
|
2528
2394
|
use_static_mac: Optional[pulumi.Input[bool]] = None):
|
|
2529
2395
|
"""
|
|
2530
|
-
:param pulumi.Input[str] network_id: The
|
|
2531
|
-
:param pulumi.Input[str] adapter_type: The
|
|
2532
|
-
:param pulumi.Input[int] bandwidth_limit: The upper bandwidth limit of
|
|
2533
|
-
:param pulumi.Input[int] bandwidth_reservation: The bandwidth reservation of
|
|
2534
|
-
:param pulumi.Input[int] bandwidth_share_count: The share count for
|
|
2535
|
-
:param pulumi.Input[str] bandwidth_share_level: The bandwidth share allocation level for
|
|
2396
|
+
:param pulumi.Input[str] network_id: The ID of the network to connect this network interface to.
|
|
2397
|
+
:param pulumi.Input[str] adapter_type: The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
2398
|
+
:param pulumi.Input[int] bandwidth_limit: The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
2399
|
+
:param pulumi.Input[int] bandwidth_reservation: The bandwidth reservation of this network interface, in Mbits/sec.
|
|
2400
|
+
:param pulumi.Input[int] bandwidth_share_count: The share count for this network interface when the share level is custom.
|
|
2401
|
+
:param pulumi.Input[str] bandwidth_share_level: The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
2536
2402
|
:param pulumi.Input[str] device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2537
2403
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
2538
|
-
:param pulumi.Input[str] mac_address: The MAC address of
|
|
2539
|
-
:param pulumi.Input[str] ovf_mapping:
|
|
2404
|
+
:param pulumi.Input[str] mac_address: The MAC address of this network interface. Can only be manually set if use_static_mac is true.
|
|
2405
|
+
:param pulumi.Input[str] ovf_mapping: Mapping of network interface to OVF network.
|
|
2540
2406
|
:param pulumi.Input[str] physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
2541
|
-
:param pulumi.Input[bool] use_static_mac: If true, the
|
|
2407
|
+
:param pulumi.Input[bool] use_static_mac: If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2542
2408
|
"""
|
|
2543
2409
|
pulumi.set(__self__, "network_id", network_id)
|
|
2544
2410
|
if adapter_type is not None:
|
|
@@ -2568,7 +2434,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2568
2434
|
@pulumi.getter(name="networkId")
|
|
2569
2435
|
def network_id(self) -> pulumi.Input[str]:
|
|
2570
2436
|
"""
|
|
2571
|
-
The
|
|
2437
|
+
The ID of the network to connect this network interface to.
|
|
2572
2438
|
"""
|
|
2573
2439
|
return pulumi.get(self, "network_id")
|
|
2574
2440
|
|
|
@@ -2580,7 +2446,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2580
2446
|
@pulumi.getter(name="adapterType")
|
|
2581
2447
|
def adapter_type(self) -> Optional[pulumi.Input[str]]:
|
|
2582
2448
|
"""
|
|
2583
|
-
The
|
|
2449
|
+
The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
2584
2450
|
"""
|
|
2585
2451
|
return pulumi.get(self, "adapter_type")
|
|
2586
2452
|
|
|
@@ -2592,7 +2458,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2592
2458
|
@pulumi.getter(name="bandwidthLimit")
|
|
2593
2459
|
def bandwidth_limit(self) -> Optional[pulumi.Input[int]]:
|
|
2594
2460
|
"""
|
|
2595
|
-
The upper bandwidth limit of
|
|
2461
|
+
The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
2596
2462
|
"""
|
|
2597
2463
|
return pulumi.get(self, "bandwidth_limit")
|
|
2598
2464
|
|
|
@@ -2604,7 +2470,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2604
2470
|
@pulumi.getter(name="bandwidthReservation")
|
|
2605
2471
|
def bandwidth_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
2606
2472
|
"""
|
|
2607
|
-
The bandwidth reservation of
|
|
2473
|
+
The bandwidth reservation of this network interface, in Mbits/sec.
|
|
2608
2474
|
"""
|
|
2609
2475
|
return pulumi.get(self, "bandwidth_reservation")
|
|
2610
2476
|
|
|
@@ -2616,7 +2482,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2616
2482
|
@pulumi.getter(name="bandwidthShareCount")
|
|
2617
2483
|
def bandwidth_share_count(self) -> Optional[pulumi.Input[int]]:
|
|
2618
2484
|
"""
|
|
2619
|
-
The share count for
|
|
2485
|
+
The share count for this network interface when the share level is custom.
|
|
2620
2486
|
"""
|
|
2621
2487
|
return pulumi.get(self, "bandwidth_share_count")
|
|
2622
2488
|
|
|
@@ -2628,7 +2494,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2628
2494
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
2629
2495
|
def bandwidth_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
2630
2496
|
"""
|
|
2631
|
-
The bandwidth share allocation level for
|
|
2497
|
+
The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
2632
2498
|
"""
|
|
2633
2499
|
return pulumi.get(self, "bandwidth_share_level")
|
|
2634
2500
|
|
|
@@ -2664,7 +2530,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2664
2530
|
@pulumi.getter(name="macAddress")
|
|
2665
2531
|
def mac_address(self) -> Optional[pulumi.Input[str]]:
|
|
2666
2532
|
"""
|
|
2667
|
-
The MAC address of
|
|
2533
|
+
The MAC address of this network interface. Can only be manually set if use_static_mac is true.
|
|
2668
2534
|
"""
|
|
2669
2535
|
return pulumi.get(self, "mac_address")
|
|
2670
2536
|
|
|
@@ -2676,7 +2542,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2676
2542
|
@pulumi.getter(name="ovfMapping")
|
|
2677
2543
|
def ovf_mapping(self) -> Optional[pulumi.Input[str]]:
|
|
2678
2544
|
"""
|
|
2679
|
-
|
|
2545
|
+
Mapping of network interface to OVF network.
|
|
2680
2546
|
"""
|
|
2681
2547
|
return pulumi.get(self, "ovf_mapping")
|
|
2682
2548
|
|
|
@@ -2700,7 +2566,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2700
2566
|
@pulumi.getter(name="useStaticMac")
|
|
2701
2567
|
def use_static_mac(self) -> Optional[pulumi.Input[bool]]:
|
|
2702
2568
|
"""
|
|
2703
|
-
If true, the
|
|
2569
|
+
If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2704
2570
|
"""
|
|
2705
2571
|
return pulumi.get(self, "use_static_mac")
|
|
2706
2572
|
|
|
@@ -2944,10 +2810,10 @@ class VnicIpv4Args:
|
|
|
2944
2810
|
ip: Optional[pulumi.Input[str]] = None,
|
|
2945
2811
|
netmask: Optional[pulumi.Input[str]] = None):
|
|
2946
2812
|
"""
|
|
2947
|
-
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's
|
|
2948
|
-
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP
|
|
2949
|
-
:param pulumi.Input[str] ip:
|
|
2950
|
-
:param pulumi.Input[str] netmask:
|
|
2813
|
+
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's IPv4 stack.
|
|
2814
|
+
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP is not set.
|
|
2815
|
+
:param pulumi.Input[str] ip: address of the interface, if DHCP is not set.
|
|
2816
|
+
:param pulumi.Input[str] netmask: netmask of the interface, if DHCP is not set.
|
|
2951
2817
|
"""
|
|
2952
2818
|
if dhcp is not None:
|
|
2953
2819
|
pulumi.set(__self__, "dhcp", dhcp)
|
|
@@ -2962,7 +2828,7 @@ class VnicIpv4Args:
|
|
|
2962
2828
|
@pulumi.getter
|
|
2963
2829
|
def dhcp(self) -> Optional[pulumi.Input[bool]]:
|
|
2964
2830
|
"""
|
|
2965
|
-
Use DHCP to configure the interface's
|
|
2831
|
+
Use DHCP to configure the interface's IPv4 stack.
|
|
2966
2832
|
"""
|
|
2967
2833
|
return pulumi.get(self, "dhcp")
|
|
2968
2834
|
|
|
@@ -2974,7 +2840,7 @@ class VnicIpv4Args:
|
|
|
2974
2840
|
@pulumi.getter
|
|
2975
2841
|
def gw(self) -> Optional[pulumi.Input[str]]:
|
|
2976
2842
|
"""
|
|
2977
|
-
IP address of the default gateway, if DHCP
|
|
2843
|
+
IP address of the default gateway, if DHCP is not set.
|
|
2978
2844
|
"""
|
|
2979
2845
|
return pulumi.get(self, "gw")
|
|
2980
2846
|
|
|
@@ -2986,7 +2852,7 @@ class VnicIpv4Args:
|
|
|
2986
2852
|
@pulumi.getter
|
|
2987
2853
|
def ip(self) -> Optional[pulumi.Input[str]]:
|
|
2988
2854
|
"""
|
|
2989
|
-
|
|
2855
|
+
address of the interface, if DHCP is not set.
|
|
2990
2856
|
"""
|
|
2991
2857
|
return pulumi.get(self, "ip")
|
|
2992
2858
|
|
|
@@ -2998,7 +2864,7 @@ class VnicIpv4Args:
|
|
|
2998
2864
|
@pulumi.getter
|
|
2999
2865
|
def netmask(self) -> Optional[pulumi.Input[str]]:
|
|
3000
2866
|
"""
|
|
3001
|
-
|
|
2867
|
+
netmask of the interface, if DHCP is not set.
|
|
3002
2868
|
"""
|
|
3003
2869
|
return pulumi.get(self, "netmask")
|
|
3004
2870
|
|
|
@@ -3017,7 +2883,7 @@ class VnicIpv6Args:
|
|
|
3017
2883
|
"""
|
|
3018
2884
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] addresses: List of IPv6 addresses
|
|
3019
2885
|
:param pulumi.Input[bool] autoconfig: Use IPv6 Autoconfiguration (RFC2462).
|
|
3020
|
-
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's
|
|
2886
|
+
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's IPv4 stack.
|
|
3021
2887
|
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3022
2888
|
"""
|
|
3023
2889
|
if addresses is not None:
|
|
@@ -3057,7 +2923,7 @@ class VnicIpv6Args:
|
|
|
3057
2923
|
@pulumi.getter
|
|
3058
2924
|
def dhcp(self) -> Optional[pulumi.Input[bool]]:
|
|
3059
2925
|
"""
|
|
3060
|
-
Use DHCP to configure the interface's
|
|
2926
|
+
Use DHCP to configure the interface's IPv4 stack.
|
|
3061
2927
|
"""
|
|
3062
2928
|
return pulumi.get(self, "dhcp")
|
|
3063
2929
|
|