pulumi-vsphere 4.11.0a1713561492__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.

Files changed (50) hide show
  1. pulumi_vsphere/_inputs.py +96 -232
  2. pulumi_vsphere/compute_cluster.py +700 -1477
  3. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -8
  4. pulumi_vsphere/datacenter.py +0 -8
  5. pulumi_vsphere/datastore_cluster.py +154 -350
  6. pulumi_vsphere/distributed_port_group.py +70 -175
  7. pulumi_vsphere/distributed_virtual_switch.py +308 -798
  8. pulumi_vsphere/file.py +0 -8
  9. pulumi_vsphere/get_compute_cluster.py +0 -4
  10. pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
  11. pulumi_vsphere/get_content_library.py +0 -4
  12. pulumi_vsphere/get_custom_attribute.py +0 -4
  13. pulumi_vsphere/get_datacenter.py +0 -4
  14. pulumi_vsphere/get_datastore.py +0 -4
  15. pulumi_vsphere/get_datastore_cluster.py +0 -4
  16. pulumi_vsphere/get_datastore_stats.py +0 -8
  17. pulumi_vsphere/get_distributed_virtual_switch.py +0 -4
  18. pulumi_vsphere/get_dynamic.py +0 -4
  19. pulumi_vsphere/get_folder.py +0 -4
  20. pulumi_vsphere/get_guest_os_customization.py +0 -4
  21. pulumi_vsphere/get_host.py +0 -4
  22. pulumi_vsphere/get_host_pci_device.py +4 -12
  23. pulumi_vsphere/get_host_thumbprint.py +0 -4
  24. pulumi_vsphere/get_host_vgpu_profile.py +0 -8
  25. pulumi_vsphere/get_license.py +0 -4
  26. pulumi_vsphere/get_network.py +0 -4
  27. pulumi_vsphere/get_policy.py +0 -4
  28. pulumi_vsphere/get_resource_pool.py +0 -8
  29. pulumi_vsphere/get_role.py +0 -4
  30. pulumi_vsphere/get_tag.py +0 -4
  31. pulumi_vsphere/get_tag_category.py +0 -4
  32. pulumi_vsphere/get_vapp_container.py +0 -4
  33. pulumi_vsphere/get_virtual_machine.py +0 -8
  34. pulumi_vsphere/get_vmfs_disks.py +0 -4
  35. pulumi_vsphere/guest_os_customization.py +0 -4
  36. pulumi_vsphere/ha_vm_override.py +189 -378
  37. pulumi_vsphere/host.py +0 -8
  38. pulumi_vsphere/host_port_group.py +0 -8
  39. pulumi_vsphere/host_virtual_switch.py +140 -287
  40. pulumi_vsphere/outputs.py +96 -232
  41. pulumi_vsphere/resource_pool.py +0 -12
  42. pulumi_vsphere/virtual_machine.py +599 -739
  43. pulumi_vsphere/virtual_machine_snapshot.py +0 -4
  44. pulumi_vsphere/vm_storage_policy.py +0 -12
  45. pulumi_vsphere/vnic.py +0 -8
  46. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/METADATA +1 -1
  47. pulumi_vsphere-4.11.0a1713905355.dist-info/RECORD +82 -0
  48. pulumi_vsphere-4.11.0a1713561492.dist-info/RECORD +0 -82
  49. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/WHEEL +0 -0
  50. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/top_level.txt +0 -0
pulumi_vsphere/outputs.py CHANGED
@@ -57,8 +57,8 @@ class ComputeClusterVsanDiskGroup(dict):
57
57
  cache: Optional[str] = None,
58
58
  storages: Optional[Sequence[str]] = None):
59
59
  """
60
- :param str cache: The canonical name of the disk to use for vSAN cache.
61
- :param Sequence[str] storages: An array of disk canonical names for vSAN storage.
60
+ :param str cache: Cache disk.
61
+ :param Sequence[str] storages: List of storage disks.
62
62
  """
63
63
  if cache is not None:
64
64
  pulumi.set(__self__, "cache", cache)
@@ -69,7 +69,7 @@ class ComputeClusterVsanDiskGroup(dict):
69
69
  @pulumi.getter
70
70
  def cache(self) -> Optional[str]:
71
71
  """
72
- The canonical name of the disk to use for vSAN cache.
72
+ Cache disk.
73
73
  """
74
74
  return pulumi.get(self, "cache")
75
75
 
@@ -77,7 +77,7 @@ class ComputeClusterVsanDiskGroup(dict):
77
77
  @pulumi.getter
78
78
  def storages(self) -> Optional[Sequence[str]]:
79
79
  """
80
- An array of disk canonical names for vSAN storage.
80
+ List of storage disks.
81
81
  """
82
82
  return pulumi.get(self, "storages")
83
83
 
@@ -201,57 +201,8 @@ class ComputeClusterVsanStretchedCluster(dict):
201
201
  :param Sequence[str] preferred_fault_domain_host_ids: The managed object IDs of the hosts to put in the first fault domain.
202
202
  :param Sequence[str] secondary_fault_domain_host_ids: The managed object IDs of the hosts to put in the second fault domain.
203
203
  :param str witness_node: The managed object IDs of the host selected as witness node when enable stretched cluster.
204
- :param str preferred_fault_domain_name: The name of first fault domain. Default is `Preferred`.
205
- :param str secondary_fault_domain_name: The name of second fault domain. Default is `Secondary`.
206
-
207
- > **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
208
- You can enable or re-enable vSphere HA after vSAN is configured.
209
-
210
- <!--Start PulumiCodeChooser -->
211
- ```python
212
- import pulumi
213
- import pulumi_vsphere as vsphere
214
-
215
- compute_cluster = vsphere.ComputeCluster("compute_cluster",
216
- name="terraform-compute-cluster-test",
217
- datacenter_id=datacenter["id"],
218
- host_system_ids=[[__item["id"] for __item in host]],
219
- drs_enabled=True,
220
- drs_automation_level="fullyAutomated",
221
- ha_enabled=False,
222
- vsan_enabled=True,
223
- vsan_esa_enabled=True,
224
- vsan_dedup_enabled=True,
225
- vsan_compression_enabled=True,
226
- vsan_performance_enabled=True,
227
- vsan_verbose_mode_enabled=True,
228
- vsan_network_diagnostic_mode_enabled=True,
229
- vsan_unmap_enabled=True,
230
- vsan_dit_encryption_enabled=True,
231
- vsan_dit_rekey_interval=1800,
232
- vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
233
- cache=cache_disks[0],
234
- storages=storage_disks,
235
- )],
236
- vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
237
- fault_domains=[
238
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
239
- name="fd1",
240
- host_ids=[[__item["id"] for __item in faultdomain1_hosts]],
241
- ),
242
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
243
- name="fd2",
244
- host_ids=[[__item["id"] for __item in faultdomain2_hosts]],
245
- ),
246
- ],
247
- )],
248
- vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
249
- preferred_fault_domain_host_ids=[[__item["id"] for __item in preferred_fault_domain_host]],
250
- secondary_fault_domain_host_ids=[[__item["id"] for __item in secondary_fault_domain_host]],
251
- witness_node=witness_host["id"],
252
- ))
253
- ```
254
- <!--End PulumiCodeChooser -->
204
+ :param str preferred_fault_domain_name: The name of prepferred fault domain.
205
+ :param str secondary_fault_domain_name: The name of secondary fault domain.
255
206
  """
256
207
  pulumi.set(__self__, "preferred_fault_domain_host_ids", preferred_fault_domain_host_ids)
257
208
  pulumi.set(__self__, "secondary_fault_domain_host_ids", secondary_fault_domain_host_ids)
@@ -289,7 +240,7 @@ class ComputeClusterVsanStretchedCluster(dict):
289
240
  @pulumi.getter(name="preferredFaultDomainName")
290
241
  def preferred_fault_domain_name(self) -> Optional[str]:
291
242
  """
292
- The name of first fault domain. Default is `Preferred`.
243
+ The name of prepferred fault domain.
293
244
  """
294
245
  return pulumi.get(self, "preferred_fault_domain_name")
295
246
 
@@ -297,56 +248,7 @@ class ComputeClusterVsanStretchedCluster(dict):
297
248
  @pulumi.getter(name="secondaryFaultDomainName")
298
249
  def secondary_fault_domain_name(self) -> Optional[str]:
299
250
  """
300
- The name of second fault domain. Default is `Secondary`.
301
-
302
- > **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
303
- You can enable or re-enable vSphere HA after vSAN is configured.
304
-
305
- <!--Start PulumiCodeChooser -->
306
- ```python
307
- import pulumi
308
- import pulumi_vsphere as vsphere
309
-
310
- compute_cluster = vsphere.ComputeCluster("compute_cluster",
311
- name="terraform-compute-cluster-test",
312
- datacenter_id=datacenter["id"],
313
- host_system_ids=[[__item["id"] for __item in host]],
314
- drs_enabled=True,
315
- drs_automation_level="fullyAutomated",
316
- ha_enabled=False,
317
- vsan_enabled=True,
318
- vsan_esa_enabled=True,
319
- vsan_dedup_enabled=True,
320
- vsan_compression_enabled=True,
321
- vsan_performance_enabled=True,
322
- vsan_verbose_mode_enabled=True,
323
- vsan_network_diagnostic_mode_enabled=True,
324
- vsan_unmap_enabled=True,
325
- vsan_dit_encryption_enabled=True,
326
- vsan_dit_rekey_interval=1800,
327
- vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
328
- cache=cache_disks[0],
329
- storages=storage_disks,
330
- )],
331
- vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
332
- fault_domains=[
333
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
334
- name="fd1",
335
- host_ids=[[__item["id"] for __item in faultdomain1_hosts]],
336
- ),
337
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
338
- name="fd2",
339
- host_ids=[[__item["id"] for __item in faultdomain2_hosts]],
340
- ),
341
- ],
342
- )],
343
- vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
344
- preferred_fault_domain_host_ids=[[__item["id"] for __item in preferred_fault_domain_host]],
345
- secondary_fault_domain_host_ids=[[__item["id"] for __item in secondary_fault_domain_host]],
346
- witness_node=witness_host["id"],
347
- ))
348
- ```
349
- <!--End PulumiCodeChooser -->
251
+ The name of secondary fault domain.
350
252
  """
351
253
  return pulumi.get(self, "secondary_fault_domain_name")
352
254
 
@@ -379,11 +281,11 @@ class ContentLibraryPublication(dict):
379
281
  published: Optional[bool] = None,
380
282
  username: Optional[str] = None):
381
283
  """
382
- :param str authentication_method: Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
383
- :param str password: Password used for authentication.
284
+ :param str authentication_method: Method to authenticate users. Must be `NONE` or `BASIC`.
285
+ :param str password: Password used by subscribers to authenticate.
384
286
  :param str publish_url: The URL of the published content library.
385
287
  :param bool published: Publish the content library. Default `false`.
386
- :param str username: Username used for authentication.
288
+ :param str username: Username used by subscribers to authenticate. Currently can only be `vcsp`.
387
289
  """
388
290
  if authentication_method is not None:
389
291
  pulumi.set(__self__, "authentication_method", authentication_method)
@@ -400,7 +302,7 @@ class ContentLibraryPublication(dict):
400
302
  @pulumi.getter(name="authenticationMethod")
401
303
  def authentication_method(self) -> Optional[str]:
402
304
  """
403
- Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
305
+ Method to authenticate users. Must be `NONE` or `BASIC`.
404
306
  """
405
307
  return pulumi.get(self, "authentication_method")
406
308
 
@@ -408,7 +310,7 @@ class ContentLibraryPublication(dict):
408
310
  @pulumi.getter
409
311
  def password(self) -> Optional[str]:
410
312
  """
411
- Password used for authentication.
313
+ Password used by subscribers to authenticate.
412
314
  """
413
315
  return pulumi.get(self, "password")
414
316
 
@@ -432,7 +334,7 @@ class ContentLibraryPublication(dict):
432
334
  @pulumi.getter
433
335
  def username(self) -> Optional[str]:
434
336
  """
435
- Username used for authentication.
337
+ Username used by subscribers to authenticate. Currently can only be `vcsp`.
436
338
  """
437
339
  return pulumi.get(self, "username")
438
340
 
@@ -610,10 +512,8 @@ class DistributedVirtualSwitchHost(dict):
610
512
  host_system_id: str,
611
513
  devices: Optional[Sequence[str]] = None):
612
514
  """
613
- :param str host_system_id: The host system ID of the host to add to the
614
- VDS.
615
- :param Sequence[str] devices: The list of NIC devices to map to uplinks on the VDS,
616
- added in order they are specified.
515
+ :param str host_system_id: The managed object ID of the host this specification applies to.
516
+ :param Sequence[str] devices: Name of the physical NIC to be added to the proxy switch.
617
517
  """
618
518
  pulumi.set(__self__, "host_system_id", host_system_id)
619
519
  if devices is not None:
@@ -623,8 +523,7 @@ class DistributedVirtualSwitchHost(dict):
623
523
  @pulumi.getter(name="hostSystemId")
624
524
  def host_system_id(self) -> str:
625
525
  """
626
- The host system ID of the host to add to the
627
- VDS.
526
+ The managed object ID of the host this specification applies to.
628
527
  """
629
528
  return pulumi.get(self, "host_system_id")
630
529
 
@@ -632,8 +531,7 @@ class DistributedVirtualSwitchHost(dict):
632
531
  @pulumi.getter
633
532
  def devices(self) -> Optional[Sequence[str]]:
634
533
  """
635
- The list of NIC devices to map to uplinks on the VDS,
636
- added in order they are specified.
534
+ Name of the physical NIC to be added to the proxy switch.
637
535
  """
638
536
  return pulumi.get(self, "devices")
639
537
 
@@ -666,12 +564,9 @@ class DistributedVirtualSwitchPvlanMapping(dict):
666
564
  pvlan_type: str,
667
565
  secondary_vlan_id: int):
668
566
  """
669
- :param int primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
670
- 4095 are reserved and cannot be used in this property.
671
- :param str pvlan_type: The private VLAN type. Valid values are
672
- promiscuous, community and isolated.
673
- :param int secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
674
- and 4095 are reserved and cannot be used in this property.
567
+ :param int primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
568
+ :param str pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
569
+ :param int secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
675
570
  """
676
571
  pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
677
572
  pulumi.set(__self__, "pvlan_type", pvlan_type)
@@ -681,8 +576,7 @@ class DistributedVirtualSwitchPvlanMapping(dict):
681
576
  @pulumi.getter(name="primaryVlanId")
682
577
  def primary_vlan_id(self) -> int:
683
578
  """
684
- The primary VLAN ID. The VLAN IDs of 0 and
685
- 4095 are reserved and cannot be used in this property.
579
+ The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
686
580
  """
687
581
  return pulumi.get(self, "primary_vlan_id")
688
582
 
@@ -690,8 +584,7 @@ class DistributedVirtualSwitchPvlanMapping(dict):
690
584
  @pulumi.getter(name="pvlanType")
691
585
  def pvlan_type(self) -> str:
692
586
  """
693
- The private VLAN type. Valid values are
694
- promiscuous, community and isolated.
587
+ The private VLAN type. Valid values are promiscuous, community and isolated.
695
588
  """
696
589
  return pulumi.get(self, "pvlan_type")
697
590
 
@@ -699,8 +592,7 @@ class DistributedVirtualSwitchPvlanMapping(dict):
699
592
  @pulumi.getter(name="secondaryVlanId")
700
593
  def secondary_vlan_id(self) -> int:
701
594
  """
702
- The secondary VLAN ID. The VLAN IDs of 0
703
- and 4095 are reserved and cannot be used in this property.
595
+ The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
704
596
  """
705
597
  return pulumi.get(self, "secondary_vlan_id")
706
598
 
@@ -1444,15 +1336,11 @@ class VirtualMachineCdrom(dict):
1444
1336
  key: Optional[int] = None,
1445
1337
  path: Optional[str] = None):
1446
1338
  """
1447
- :param bool client_device: Indicates whether the device should be backed by remote client device. Conflicts with `datastore_id` and `path`.
1448
- :param str datastore_id: The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
1339
+ :param bool client_device: Indicates whether the device should be mapped to a remote client device
1340
+ :param str datastore_id: The datastore ID the ISO is located on.
1449
1341
  :param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
1450
1342
  :param int key: The ID of the device within the virtual machine.
1451
- :param str path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
1452
-
1453
- > **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 .
1454
-
1455
- > **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.
1343
+ :param str path: The path to the ISO file on the datastore.
1456
1344
  """
1457
1345
  if client_device is not None:
1458
1346
  pulumi.set(__self__, "client_device", client_device)
@@ -1469,7 +1357,7 @@ class VirtualMachineCdrom(dict):
1469
1357
  @pulumi.getter(name="clientDevice")
1470
1358
  def client_device(self) -> Optional[bool]:
1471
1359
  """
1472
- Indicates whether the device should be backed by remote client device. Conflicts with `datastore_id` and `path`.
1360
+ Indicates whether the device should be mapped to a remote client device
1473
1361
  """
1474
1362
  return pulumi.get(self, "client_device")
1475
1363
 
@@ -1477,7 +1365,7 @@ class VirtualMachineCdrom(dict):
1477
1365
  @pulumi.getter(name="datastoreId")
1478
1366
  def datastore_id(self) -> Optional[str]:
1479
1367
  """
1480
- The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
1368
+ The datastore ID the ISO is located on.
1481
1369
  """
1482
1370
  return pulumi.get(self, "datastore_id")
1483
1371
 
@@ -1501,11 +1389,7 @@ class VirtualMachineCdrom(dict):
1501
1389
  @pulumi.getter
1502
1390
  def path(self) -> Optional[str]:
1503
1391
  """
1504
- The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
1505
-
1506
- > **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 .
1507
-
1508
- > **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.
1392
+ The path to the ISO file on the datastore.
1509
1393
  """
1510
1394
  return pulumi.get(self, "path")
1511
1395
 
@@ -1704,7 +1588,7 @@ class VirtualMachineCloneCustomize(dict):
1704
1588
  :param 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.
1705
1589
  :param 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.
1706
1590
  :param 'VirtualMachineCloneCustomizeLinuxOptionsArgs' linux_options: A list of configuration options specific to Linux virtual machines.
1707
- :param Sequence['VirtualMachineCloneCustomizeNetworkInterfaceArgs'] network_interfaces: A specification for a virtual NIC on the virtual machine. See network interface options for more information.
1591
+ :param Sequence['VirtualMachineCloneCustomizeNetworkInterfaceArgs'] network_interfaces: A specification of network interface configuration options.
1708
1592
  :param 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.
1709
1593
  :param 'VirtualMachineCloneCustomizeWindowsOptionsArgs' windows_options: A list of configuration options specific to Windows virtual machines.
1710
1594
  :param str windows_sysprep_text: Use this option to specify a windows sysprep file directly.
@@ -1772,7 +1656,7 @@ class VirtualMachineCloneCustomize(dict):
1772
1656
  @pulumi.getter(name="networkInterfaces")
1773
1657
  def network_interfaces(self) -> Optional[Sequence['outputs.VirtualMachineCloneCustomizeNetworkInterface']]:
1774
1658
  """
1775
- A specification for a virtual NIC on the virtual machine. See network interface options for more information.
1659
+ A specification of network interface configuration options.
1776
1660
  """
1777
1661
  return pulumi.get(self, "network_interfaces")
1778
1662
 
@@ -2267,36 +2151,26 @@ class VirtualMachineDisk(dict):
2267
2151
  write_through: Optional[bool] = None):
2268
2152
  """
2269
2153
  :param str label: A unique label for this disk.
2270
- :param bool attach: Attach an external disk instead of creating a new one. Implies and conflicts with `keep_on_remove`. If set, you cannot set `size`, `eagerly_scrub`, or `thin_provisioned`. Must set `path` if used.
2271
-
2272
- > **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
2273
- :param 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`.
2274
- :param str datastore_id: The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
2154
+ :param bool attach: If this is true, the disk is attached instead of created. Implies keep_on_remove.
2155
+ :param str controller_type: The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
2156
+ :param str datastore_id: The datastore ID for this virtual disk, if different than the virtual machine.
2275
2157
  :param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
2276
- :param str disk_mode: The mode of this this virtual disk for purposes of writes and snapshots. One of `append`, `independent_nonpersistent`, `independent_persistent`, `nonpersistent`, `persistent`, or `undoable`. Default: `persistent`. For more information on these option, please refer to the [product documentation][vmware-docs-disk-mode].
2277
-
2278
- [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
2279
- :param str disk_sharing: The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
2280
-
2281
- > **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
2282
- :param bool eagerly_scrub: If set to `true`, the disk space is zeroed out when the virtual machine is created. This will delay the creation of the virtual disk. Cannot be set to `true` when `thin_provisioned` is `true`. See the section on picking a disk type for more information. Default: `false`.
2283
- :param int io_limit: The upper limit of IOPS that this disk can use. The default is no limit.
2284
- :param int io_reservation: The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
2285
- :param int io_share_count: The share count for the virtual disk when the share level is `custom`.
2286
- :param str io_share_level: The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
2287
- :param bool keep_on_remove: Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
2158
+ :param 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.
2159
+ :param str disk_sharing: The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
2160
+ :param 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.
2161
+ :param int io_limit: The upper limit of IOPS that this disk can use.
2162
+ :param int io_reservation: The I/O guarantee that this disk has, in IOPS.
2163
+ :param int io_share_count: The share count for this disk when the share level is custom.
2164
+ :param str io_share_level: The share allocation level for this disk. Can be one of low, normal, high, or custom.
2165
+ :param bool keep_on_remove: Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
2288
2166
  :param int key: The ID of the device within the virtual machine.
2289
- :param str path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
2290
-
2291
- > **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 .
2292
-
2293
- > **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.
2294
- :param int size: The size of the disk, in GB. Must be a whole number.
2295
- :param str storage_policy_id: The UUID of the storage policy to assign to the virtual disk.
2296
- :param 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`.
2297
- :param 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.
2298
- :param str uuid: The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
2299
- :param bool write_through: If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
2167
+ :param 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.
2168
+ :param int size: The size of the disk, in GB.
2169
+ :param str storage_policy_id: The ID of the storage policy to assign to the virtual disk in VM.
2170
+ :param bool thin_provisioned: If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
2171
+ :param int unit_number: The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
2172
+ :param str uuid: The UUID of the virtual machine. Also exposed as the `id` of the resource.
2173
+ :param bool write_through: If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
2300
2174
  """
2301
2175
  pulumi.set(__self__, "label", label)
2302
2176
  if attach is not None:
@@ -2352,9 +2226,7 @@ class VirtualMachineDisk(dict):
2352
2226
  @pulumi.getter
2353
2227
  def attach(self) -> Optional[bool]:
2354
2228
  """
2355
- Attach an external disk instead of creating a new one. Implies and conflicts with `keep_on_remove`. If set, you cannot set `size`, `eagerly_scrub`, or `thin_provisioned`. Must set `path` if used.
2356
-
2357
- > **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
2229
+ If this is true, the disk is attached instead of created. Implies keep_on_remove.
2358
2230
  """
2359
2231
  return pulumi.get(self, "attach")
2360
2232
 
@@ -2362,7 +2234,7 @@ class VirtualMachineDisk(dict):
2362
2234
  @pulumi.getter(name="controllerType")
2363
2235
  def controller_type(self) -> Optional[str]:
2364
2236
  """
2365
- 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`.
2237
+ The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
2366
2238
  """
2367
2239
  return pulumi.get(self, "controller_type")
2368
2240
 
@@ -2370,7 +2242,7 @@ class VirtualMachineDisk(dict):
2370
2242
  @pulumi.getter(name="datastoreId")
2371
2243
  def datastore_id(self) -> Optional[str]:
2372
2244
  """
2373
- The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
2245
+ The datastore ID for this virtual disk, if different than the virtual machine.
2374
2246
  """
2375
2247
  return pulumi.get(self, "datastore_id")
2376
2248
 
@@ -2386,9 +2258,7 @@ class VirtualMachineDisk(dict):
2386
2258
  @pulumi.getter(name="diskMode")
2387
2259
  def disk_mode(self) -> Optional[str]:
2388
2260
  """
2389
- The mode of this this virtual disk for purposes of writes and snapshots. One of `append`, `independent_nonpersistent`, `independent_persistent`, `nonpersistent`, `persistent`, or `undoable`. Default: `persistent`. For more information on these option, please refer to the [product documentation][vmware-docs-disk-mode].
2390
-
2391
- [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
2261
+ 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.
2392
2262
  """
2393
2263
  return pulumi.get(self, "disk_mode")
2394
2264
 
@@ -2396,9 +2266,7 @@ class VirtualMachineDisk(dict):
2396
2266
  @pulumi.getter(name="diskSharing")
2397
2267
  def disk_sharing(self) -> Optional[str]:
2398
2268
  """
2399
- The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
2400
-
2401
- > **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
2269
+ The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
2402
2270
  """
2403
2271
  return pulumi.get(self, "disk_sharing")
2404
2272
 
@@ -2406,7 +2274,7 @@ class VirtualMachineDisk(dict):
2406
2274
  @pulumi.getter(name="eagerlyScrub")
2407
2275
  def eagerly_scrub(self) -> Optional[bool]:
2408
2276
  """
2409
- If set to `true`, the disk space is zeroed out when the virtual machine is created. This will delay the creation of the virtual disk. Cannot be set to `true` when `thin_provisioned` is `true`. See the section on picking a disk type for more information. Default: `false`.
2277
+ 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.
2410
2278
  """
2411
2279
  return pulumi.get(self, "eagerly_scrub")
2412
2280
 
@@ -2414,7 +2282,7 @@ class VirtualMachineDisk(dict):
2414
2282
  @pulumi.getter(name="ioLimit")
2415
2283
  def io_limit(self) -> Optional[int]:
2416
2284
  """
2417
- The upper limit of IOPS that this disk can use. The default is no limit.
2285
+ The upper limit of IOPS that this disk can use.
2418
2286
  """
2419
2287
  return pulumi.get(self, "io_limit")
2420
2288
 
@@ -2422,7 +2290,7 @@ class VirtualMachineDisk(dict):
2422
2290
  @pulumi.getter(name="ioReservation")
2423
2291
  def io_reservation(self) -> Optional[int]:
2424
2292
  """
2425
- The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
2293
+ The I/O guarantee that this disk has, in IOPS.
2426
2294
  """
2427
2295
  return pulumi.get(self, "io_reservation")
2428
2296
 
@@ -2430,7 +2298,7 @@ class VirtualMachineDisk(dict):
2430
2298
  @pulumi.getter(name="ioShareCount")
2431
2299
  def io_share_count(self) -> Optional[int]:
2432
2300
  """
2433
- The share count for the virtual disk when the share level is `custom`.
2301
+ The share count for this disk when the share level is custom.
2434
2302
  """
2435
2303
  return pulumi.get(self, "io_share_count")
2436
2304
 
@@ -2438,7 +2306,7 @@ class VirtualMachineDisk(dict):
2438
2306
  @pulumi.getter(name="ioShareLevel")
2439
2307
  def io_share_level(self) -> Optional[str]:
2440
2308
  """
2441
- The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
2309
+ The share allocation level for this disk. Can be one of low, normal, high, or custom.
2442
2310
  """
2443
2311
  return pulumi.get(self, "io_share_level")
2444
2312
 
@@ -2446,7 +2314,7 @@ class VirtualMachineDisk(dict):
2446
2314
  @pulumi.getter(name="keepOnRemove")
2447
2315
  def keep_on_remove(self) -> Optional[bool]:
2448
2316
  """
2449
- Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
2317
+ Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
2450
2318
  """
2451
2319
  return pulumi.get(self, "keep_on_remove")
2452
2320
 
@@ -2462,11 +2330,7 @@ class VirtualMachineDisk(dict):
2462
2330
  @pulumi.getter
2463
2331
  def path(self) -> Optional[str]:
2464
2332
  """
2465
- The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
2466
-
2467
- > **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 .
2468
-
2469
- > **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.
2333
+ 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.
2470
2334
  """
2471
2335
  return pulumi.get(self, "path")
2472
2336
 
@@ -2474,7 +2338,7 @@ class VirtualMachineDisk(dict):
2474
2338
  @pulumi.getter
2475
2339
  def size(self) -> Optional[int]:
2476
2340
  """
2477
- The size of the disk, in GB. Must be a whole number.
2341
+ The size of the disk, in GB.
2478
2342
  """
2479
2343
  return pulumi.get(self, "size")
2480
2344
 
@@ -2482,7 +2346,7 @@ class VirtualMachineDisk(dict):
2482
2346
  @pulumi.getter(name="storagePolicyId")
2483
2347
  def storage_policy_id(self) -> Optional[str]:
2484
2348
  """
2485
- The UUID of the storage policy to assign to the virtual disk.
2349
+ The ID of the storage policy to assign to the virtual disk in VM.
2486
2350
  """
2487
2351
  return pulumi.get(self, "storage_policy_id")
2488
2352
 
@@ -2490,7 +2354,7 @@ class VirtualMachineDisk(dict):
2490
2354
  @pulumi.getter(name="thinProvisioned")
2491
2355
  def thin_provisioned(self) -> Optional[bool]:
2492
2356
  """
2493
- 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`.
2357
+ If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
2494
2358
  """
2495
2359
  return pulumi.get(self, "thin_provisioned")
2496
2360
 
@@ -2498,7 +2362,7 @@ class VirtualMachineDisk(dict):
2498
2362
  @pulumi.getter(name="unitNumber")
2499
2363
  def unit_number(self) -> Optional[int]:
2500
2364
  """
2501
- 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.
2365
+ The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
2502
2366
  """
2503
2367
  return pulumi.get(self, "unit_number")
2504
2368
 
@@ -2506,7 +2370,7 @@ class VirtualMachineDisk(dict):
2506
2370
  @pulumi.getter
2507
2371
  def uuid(self) -> Optional[str]:
2508
2372
  """
2509
- The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
2373
+ The UUID of the virtual machine. Also exposed as the `id` of the resource.
2510
2374
  """
2511
2375
  return pulumi.get(self, "uuid")
2512
2376
 
@@ -2514,7 +2378,7 @@ class VirtualMachineDisk(dict):
2514
2378
  @pulumi.getter(name="writeThrough")
2515
2379
  def write_through(self) -> Optional[bool]:
2516
2380
  """
2517
- If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
2381
+ If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
2518
2382
  """
2519
2383
  return pulumi.get(self, "write_through")
2520
2384
 
@@ -2572,18 +2436,18 @@ class VirtualMachineNetworkInterface(dict):
2572
2436
  physical_function: Optional[str] = None,
2573
2437
  use_static_mac: Optional[bool] = None):
2574
2438
  """
2575
- :param str network_id: The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
2576
- :param str adapter_type: The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
2577
- :param int bandwidth_limit: The upper bandwidth limit of the network interface, in Mbits/sec. The default is no limit. Ignored if `adapter_type` is set to `sriov`.
2578
- :param int bandwidth_reservation: The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
2579
- :param int bandwidth_share_count: The share count for the network interface when the share level is `custom`. Ignored if `adapter_type` is set to `sriov`.
2580
- :param str bandwidth_share_level: The bandwidth share allocation level for the network interface. One of `low`, `normal`, `high`, or `custom`. Default: `normal`. Ignored if `adapter_type` is set to `sriov`.
2439
+ :param str network_id: The ID of the network to connect this network interface to.
2440
+ :param str adapter_type: The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
2441
+ :param int bandwidth_limit: The upper bandwidth limit of this network interface, in Mbits/sec.
2442
+ :param int bandwidth_reservation: The bandwidth reservation of this network interface, in Mbits/sec.
2443
+ :param int bandwidth_share_count: The share count for this network interface when the share level is custom.
2444
+ :param str bandwidth_share_level: The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
2581
2445
  :param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
2582
2446
  :param int key: The ID of the device within the virtual machine.
2583
- :param str mac_address: The MAC address of the network interface. Can only be manually set if `use_static_mac` is `true`. Otherwise, the value is computed and presents the assigned MAC address for the interface.
2584
- :param str ovf_mapping: Specifies which NIC in an OVF/OVA the `network_interface` should be associated. Only applies at creation when deploying from an OVF/OVA.
2447
+ :param str mac_address: The MAC address of this network interface. Can only be manually set if use_static_mac is true.
2448
+ :param str ovf_mapping: Mapping of network interface to OVF network.
2585
2449
  :param str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
2586
- :param bool use_static_mac: If true, the `mac_address` field is treated as a static MAC address and set accordingly. Setting this to `true` requires `mac_address` to be set. Default: `false`.
2450
+ :param bool use_static_mac: If true, the mac_address field is treated as a static MAC address and set accordingly.
2587
2451
  """
2588
2452
  pulumi.set(__self__, "network_id", network_id)
2589
2453
  if adapter_type is not None:
@@ -2613,7 +2477,7 @@ class VirtualMachineNetworkInterface(dict):
2613
2477
  @pulumi.getter(name="networkId")
2614
2478
  def network_id(self) -> str:
2615
2479
  """
2616
- The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
2480
+ The ID of the network to connect this network interface to.
2617
2481
  """
2618
2482
  return pulumi.get(self, "network_id")
2619
2483
 
@@ -2621,7 +2485,7 @@ class VirtualMachineNetworkInterface(dict):
2621
2485
  @pulumi.getter(name="adapterType")
2622
2486
  def adapter_type(self) -> Optional[str]:
2623
2487
  """
2624
- The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
2488
+ The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
2625
2489
  """
2626
2490
  return pulumi.get(self, "adapter_type")
2627
2491
 
@@ -2629,7 +2493,7 @@ class VirtualMachineNetworkInterface(dict):
2629
2493
  @pulumi.getter(name="bandwidthLimit")
2630
2494
  def bandwidth_limit(self) -> Optional[int]:
2631
2495
  """
2632
- The upper bandwidth limit of the network interface, in Mbits/sec. The default is no limit. Ignored if `adapter_type` is set to `sriov`.
2496
+ The upper bandwidth limit of this network interface, in Mbits/sec.
2633
2497
  """
2634
2498
  return pulumi.get(self, "bandwidth_limit")
2635
2499
 
@@ -2637,7 +2501,7 @@ class VirtualMachineNetworkInterface(dict):
2637
2501
  @pulumi.getter(name="bandwidthReservation")
2638
2502
  def bandwidth_reservation(self) -> Optional[int]:
2639
2503
  """
2640
- The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
2504
+ The bandwidth reservation of this network interface, in Mbits/sec.
2641
2505
  """
2642
2506
  return pulumi.get(self, "bandwidth_reservation")
2643
2507
 
@@ -2645,7 +2509,7 @@ class VirtualMachineNetworkInterface(dict):
2645
2509
  @pulumi.getter(name="bandwidthShareCount")
2646
2510
  def bandwidth_share_count(self) -> Optional[int]:
2647
2511
  """
2648
- The share count for the network interface when the share level is `custom`. Ignored if `adapter_type` is set to `sriov`.
2512
+ The share count for this network interface when the share level is custom.
2649
2513
  """
2650
2514
  return pulumi.get(self, "bandwidth_share_count")
2651
2515
 
@@ -2653,7 +2517,7 @@ class VirtualMachineNetworkInterface(dict):
2653
2517
  @pulumi.getter(name="bandwidthShareLevel")
2654
2518
  def bandwidth_share_level(self) -> Optional[str]:
2655
2519
  """
2656
- The bandwidth share allocation level for the network interface. One of `low`, `normal`, `high`, or `custom`. Default: `normal`. Ignored if `adapter_type` is set to `sriov`.
2520
+ The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
2657
2521
  """
2658
2522
  return pulumi.get(self, "bandwidth_share_level")
2659
2523
 
@@ -2677,7 +2541,7 @@ class VirtualMachineNetworkInterface(dict):
2677
2541
  @pulumi.getter(name="macAddress")
2678
2542
  def mac_address(self) -> Optional[str]:
2679
2543
  """
2680
- The MAC address of the network interface. Can only be manually set if `use_static_mac` is `true`. Otherwise, the value is computed and presents the assigned MAC address for the interface.
2544
+ The MAC address of this network interface. Can only be manually set if use_static_mac is true.
2681
2545
  """
2682
2546
  return pulumi.get(self, "mac_address")
2683
2547
 
@@ -2685,7 +2549,7 @@ class VirtualMachineNetworkInterface(dict):
2685
2549
  @pulumi.getter(name="ovfMapping")
2686
2550
  def ovf_mapping(self) -> Optional[str]:
2687
2551
  """
2688
- Specifies which NIC in an OVF/OVA the `network_interface` should be associated. Only applies at creation when deploying from an OVF/OVA.
2552
+ Mapping of network interface to OVF network.
2689
2553
  """
2690
2554
  return pulumi.get(self, "ovf_mapping")
2691
2555
 
@@ -2701,7 +2565,7 @@ class VirtualMachineNetworkInterface(dict):
2701
2565
  @pulumi.getter(name="useStaticMac")
2702
2566
  def use_static_mac(self) -> Optional[bool]:
2703
2567
  """
2704
- If true, the `mac_address` field is treated as a static MAC address and set accordingly. Setting this to `true` requires `mac_address` to be set. Default: `false`.
2568
+ If true, the mac_address field is treated as a static MAC address and set accordingly.
2705
2569
  """
2706
2570
  return pulumi.get(self, "use_static_mac")
2707
2571
 
@@ -2941,10 +2805,10 @@ class VnicIpv4(dict):
2941
2805
  ip: Optional[str] = None,
2942
2806
  netmask: Optional[str] = None):
2943
2807
  """
2944
- :param bool dhcp: Use DHCP to configure the interface's IPv6 stack.
2945
- :param str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
2946
- :param str ip: Address of the interface, if DHCP is not set.
2947
- :param str netmask: Netmask of the interface, if DHCP is not set.
2808
+ :param bool dhcp: Use DHCP to configure the interface's IPv4 stack.
2809
+ :param str gw: IP address of the default gateway, if DHCP is not set.
2810
+ :param str ip: address of the interface, if DHCP is not set.
2811
+ :param str netmask: netmask of the interface, if DHCP is not set.
2948
2812
  """
2949
2813
  if dhcp is not None:
2950
2814
  pulumi.set(__self__, "dhcp", dhcp)
@@ -2959,7 +2823,7 @@ class VnicIpv4(dict):
2959
2823
  @pulumi.getter
2960
2824
  def dhcp(self) -> Optional[bool]:
2961
2825
  """
2962
- Use DHCP to configure the interface's IPv6 stack.
2826
+ Use DHCP to configure the interface's IPv4 stack.
2963
2827
  """
2964
2828
  return pulumi.get(self, "dhcp")
2965
2829
 
@@ -2967,7 +2831,7 @@ class VnicIpv4(dict):
2967
2831
  @pulumi.getter
2968
2832
  def gw(self) -> Optional[str]:
2969
2833
  """
2970
- IP address of the default gateway, if DHCP or autoconfig is not set.
2834
+ IP address of the default gateway, if DHCP is not set.
2971
2835
  """
2972
2836
  return pulumi.get(self, "gw")
2973
2837
 
@@ -2975,7 +2839,7 @@ class VnicIpv4(dict):
2975
2839
  @pulumi.getter
2976
2840
  def ip(self) -> Optional[str]:
2977
2841
  """
2978
- Address of the interface, if DHCP is not set.
2842
+ address of the interface, if DHCP is not set.
2979
2843
  """
2980
2844
  return pulumi.get(self, "ip")
2981
2845
 
@@ -2983,7 +2847,7 @@ class VnicIpv4(dict):
2983
2847
  @pulumi.getter
2984
2848
  def netmask(self) -> Optional[str]:
2985
2849
  """
2986
- Netmask of the interface, if DHCP is not set.
2850
+ netmask of the interface, if DHCP is not set.
2987
2851
  """
2988
2852
  return pulumi.get(self, "netmask")
2989
2853
 
@@ -2998,7 +2862,7 @@ class VnicIpv6(dict):
2998
2862
  """
2999
2863
  :param Sequence[str] addresses: List of IPv6 addresses
3000
2864
  :param bool autoconfig: Use IPv6 Autoconfiguration (RFC2462).
3001
- :param bool dhcp: Use DHCP to configure the interface's IPv6 stack.
2865
+ :param bool dhcp: Use DHCP to configure the interface's IPv4 stack.
3002
2866
  :param str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
3003
2867
  """
3004
2868
  if addresses is not None:
@@ -3030,7 +2894,7 @@ class VnicIpv6(dict):
3030
2894
  @pulumi.getter
3031
2895
  def dhcp(self) -> Optional[bool]:
3032
2896
  """
3033
- Use DHCP to configure the interface's IPv6 stack.
2897
+ Use DHCP to configure the interface's IPv4 stack.
3034
2898
  """
3035
2899
  return pulumi.get(self, "dhcp")
3036
2900