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.

Files changed (51) hide show
  1. pulumi_vsphere/_inputs.py +96 -230
  2. pulumi_vsphere/compute_cluster.py +700 -1477
  3. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +14 -16
  4. pulumi_vsphere/datacenter.py +8 -12
  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 +16 -24
  9. pulumi_vsphere/get_compute_cluster.py +0 -4
  10. pulumi_vsphere/get_compute_cluster_host_group.py +8 -10
  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 +4 -12
  17. pulumi_vsphere/get_distributed_virtual_switch.py +2 -4
  18. pulumi_vsphere/get_dynamic.py +4 -8
  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 +2 -10
  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 +50 -0
  36. pulumi_vsphere/ha_vm_override.py +189 -378
  37. pulumi_vsphere/host.py +0 -8
  38. pulumi_vsphere/host_port_group.py +12 -12
  39. pulumi_vsphere/host_virtual_switch.py +140 -287
  40. pulumi_vsphere/license.py +0 -32
  41. pulumi_vsphere/outputs.py +96 -230
  42. pulumi_vsphere/resource_pool.py +20 -22
  43. pulumi_vsphere/virtual_machine.py +599 -739
  44. pulumi_vsphere/virtual_machine_snapshot.py +6 -10
  45. pulumi_vsphere/vm_storage_policy.py +72 -84
  46. pulumi_vsphere/vnic.py +8 -8
  47. {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/METADATA +1 -1
  48. pulumi_vsphere-4.11.0a1713905355.dist-info/RECORD +82 -0
  49. pulumi_vsphere-4.11.0a1713340048.dist-info/RECORD +0 -82
  50. {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/WHEEL +0 -0
  51. {pulumi_vsphere-4.11.0a1713340048.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,56 +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("computeCluster",
216
- datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
217
- host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
218
- drs_enabled=True,
219
- drs_automation_level="fullyAutomated",
220
- ha_enabled=False,
221
- vsan_enabled=True,
222
- vsan_esa_enabled=True,
223
- vsan_dedup_enabled=True,
224
- vsan_compression_enabled=True,
225
- vsan_performance_enabled=True,
226
- vsan_verbose_mode_enabled=True,
227
- vsan_network_diagnostic_mode_enabled=True,
228
- vsan_unmap_enabled=True,
229
- vsan_dit_encryption_enabled=True,
230
- vsan_dit_rekey_interval=1800,
231
- vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
232
- cache=data["vsphere_vmfs_disks"]["cache_disks"],
233
- storages=data["vsphere_vmfs_disks"]["storage_disks"],
234
- )],
235
- vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
236
- fault_domains=[
237
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
238
- name="fd1",
239
- host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
240
- ),
241
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
242
- name="fd2",
243
- host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
244
- ),
245
- ],
246
- )],
247
- vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
248
- preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
249
- secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
250
- witness_node=data["vsphere_host"]["witness_host"]["id"],
251
- ))
252
- ```
253
- <!--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.
254
206
  """
255
207
  pulumi.set(__self__, "preferred_fault_domain_host_ids", preferred_fault_domain_host_ids)
256
208
  pulumi.set(__self__, "secondary_fault_domain_host_ids", secondary_fault_domain_host_ids)
@@ -288,7 +240,7 @@ class ComputeClusterVsanStretchedCluster(dict):
288
240
  @pulumi.getter(name="preferredFaultDomainName")
289
241
  def preferred_fault_domain_name(self) -> Optional[str]:
290
242
  """
291
- The name of first fault domain. Default is `Preferred`.
243
+ The name of prepferred fault domain.
292
244
  """
293
245
  return pulumi.get(self, "preferred_fault_domain_name")
294
246
 
@@ -296,55 +248,7 @@ class ComputeClusterVsanStretchedCluster(dict):
296
248
  @pulumi.getter(name="secondaryFaultDomainName")
297
249
  def secondary_fault_domain_name(self) -> Optional[str]:
298
250
  """
299
- The name of second fault domain. Default is `Secondary`.
300
-
301
- > **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
302
- You can enable or re-enable vSphere HA after vSAN is configured.
303
-
304
- <!--Start PulumiCodeChooser -->
305
- ```python
306
- import pulumi
307
- import pulumi_vsphere as vsphere
308
-
309
- compute_cluster = vsphere.ComputeCluster("computeCluster",
310
- datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
311
- host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
312
- drs_enabled=True,
313
- drs_automation_level="fullyAutomated",
314
- ha_enabled=False,
315
- vsan_enabled=True,
316
- vsan_esa_enabled=True,
317
- vsan_dedup_enabled=True,
318
- vsan_compression_enabled=True,
319
- vsan_performance_enabled=True,
320
- vsan_verbose_mode_enabled=True,
321
- vsan_network_diagnostic_mode_enabled=True,
322
- vsan_unmap_enabled=True,
323
- vsan_dit_encryption_enabled=True,
324
- vsan_dit_rekey_interval=1800,
325
- vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
326
- cache=data["vsphere_vmfs_disks"]["cache_disks"],
327
- storages=data["vsphere_vmfs_disks"]["storage_disks"],
328
- )],
329
- vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
330
- fault_domains=[
331
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
332
- name="fd1",
333
- host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
334
- ),
335
- vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
336
- name="fd2",
337
- host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
338
- ),
339
- ],
340
- )],
341
- vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
342
- preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
343
- secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
344
- witness_node=data["vsphere_host"]["witness_host"]["id"],
345
- ))
346
- ```
347
- <!--End PulumiCodeChooser -->
251
+ The name of secondary fault domain.
348
252
  """
349
253
  return pulumi.get(self, "secondary_fault_domain_name")
350
254
 
@@ -377,11 +281,11 @@ class ContentLibraryPublication(dict):
377
281
  published: Optional[bool] = None,
378
282
  username: Optional[str] = None):
379
283
  """
380
- :param str authentication_method: Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
381
- :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.
382
286
  :param str publish_url: The URL of the published content library.
383
287
  :param bool published: Publish the content library. Default `false`.
384
- :param str username: Username used for authentication.
288
+ :param str username: Username used by subscribers to authenticate. Currently can only be `vcsp`.
385
289
  """
386
290
  if authentication_method is not None:
387
291
  pulumi.set(__self__, "authentication_method", authentication_method)
@@ -398,7 +302,7 @@ class ContentLibraryPublication(dict):
398
302
  @pulumi.getter(name="authenticationMethod")
399
303
  def authentication_method(self) -> Optional[str]:
400
304
  """
401
- Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
305
+ Method to authenticate users. Must be `NONE` or `BASIC`.
402
306
  """
403
307
  return pulumi.get(self, "authentication_method")
404
308
 
@@ -406,7 +310,7 @@ class ContentLibraryPublication(dict):
406
310
  @pulumi.getter
407
311
  def password(self) -> Optional[str]:
408
312
  """
409
- Password used for authentication.
313
+ Password used by subscribers to authenticate.
410
314
  """
411
315
  return pulumi.get(self, "password")
412
316
 
@@ -430,7 +334,7 @@ class ContentLibraryPublication(dict):
430
334
  @pulumi.getter
431
335
  def username(self) -> Optional[str]:
432
336
  """
433
- Username used for authentication.
337
+ Username used by subscribers to authenticate. Currently can only be `vcsp`.
434
338
  """
435
339
  return pulumi.get(self, "username")
436
340
 
@@ -608,10 +512,8 @@ class DistributedVirtualSwitchHost(dict):
608
512
  host_system_id: str,
609
513
  devices: Optional[Sequence[str]] = None):
610
514
  """
611
- :param str host_system_id: The host system ID of the host to add to the
612
- VDS.
613
- :param Sequence[str] devices: The list of NIC devices to map to uplinks on the VDS,
614
- 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.
615
517
  """
616
518
  pulumi.set(__self__, "host_system_id", host_system_id)
617
519
  if devices is not None:
@@ -621,8 +523,7 @@ class DistributedVirtualSwitchHost(dict):
621
523
  @pulumi.getter(name="hostSystemId")
622
524
  def host_system_id(self) -> str:
623
525
  """
624
- The host system ID of the host to add to the
625
- VDS.
526
+ The managed object ID of the host this specification applies to.
626
527
  """
627
528
  return pulumi.get(self, "host_system_id")
628
529
 
@@ -630,8 +531,7 @@ class DistributedVirtualSwitchHost(dict):
630
531
  @pulumi.getter
631
532
  def devices(self) -> Optional[Sequence[str]]:
632
533
  """
633
- The list of NIC devices to map to uplinks on the VDS,
634
- added in order they are specified.
534
+ Name of the physical NIC to be added to the proxy switch.
635
535
  """
636
536
  return pulumi.get(self, "devices")
637
537
 
@@ -664,12 +564,9 @@ class DistributedVirtualSwitchPvlanMapping(dict):
664
564
  pvlan_type: str,
665
565
  secondary_vlan_id: int):
666
566
  """
667
- :param int primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
668
- 4095 are reserved and cannot be used in this property.
669
- :param str pvlan_type: The private VLAN type. Valid values are
670
- promiscuous, community and isolated.
671
- :param int secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
672
- 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.
673
570
  """
674
571
  pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
675
572
  pulumi.set(__self__, "pvlan_type", pvlan_type)
@@ -679,8 +576,7 @@ class DistributedVirtualSwitchPvlanMapping(dict):
679
576
  @pulumi.getter(name="primaryVlanId")
680
577
  def primary_vlan_id(self) -> int:
681
578
  """
682
- The primary VLAN ID. The VLAN IDs of 0 and
683
- 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.
684
580
  """
685
581
  return pulumi.get(self, "primary_vlan_id")
686
582
 
@@ -688,8 +584,7 @@ class DistributedVirtualSwitchPvlanMapping(dict):
688
584
  @pulumi.getter(name="pvlanType")
689
585
  def pvlan_type(self) -> str:
690
586
  """
691
- The private VLAN type. Valid values are
692
- promiscuous, community and isolated.
587
+ The private VLAN type. Valid values are promiscuous, community and isolated.
693
588
  """
694
589
  return pulumi.get(self, "pvlan_type")
695
590
 
@@ -697,8 +592,7 @@ class DistributedVirtualSwitchPvlanMapping(dict):
697
592
  @pulumi.getter(name="secondaryVlanId")
698
593
  def secondary_vlan_id(self) -> int:
699
594
  """
700
- The secondary VLAN ID. The VLAN IDs of 0
701
- 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.
702
596
  """
703
597
  return pulumi.get(self, "secondary_vlan_id")
704
598
 
@@ -1442,15 +1336,11 @@ class VirtualMachineCdrom(dict):
1442
1336
  key: Optional[int] = None,
1443
1337
  path: Optional[str] = None):
1444
1338
  """
1445
- :param bool client_device: Indicates whether the device should be backed by remote client device. Conflicts with `datastore_id` and `path`.
1446
- :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.
1447
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.
1448
1342
  :param int key: The ID of the device within the virtual machine.
1449
- :param str path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
1450
-
1451
- > **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 .
1452
-
1453
- > **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.
1454
1344
  """
1455
1345
  if client_device is not None:
1456
1346
  pulumi.set(__self__, "client_device", client_device)
@@ -1467,7 +1357,7 @@ class VirtualMachineCdrom(dict):
1467
1357
  @pulumi.getter(name="clientDevice")
1468
1358
  def client_device(self) -> Optional[bool]:
1469
1359
  """
1470
- 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
1471
1361
  """
1472
1362
  return pulumi.get(self, "client_device")
1473
1363
 
@@ -1475,7 +1365,7 @@ class VirtualMachineCdrom(dict):
1475
1365
  @pulumi.getter(name="datastoreId")
1476
1366
  def datastore_id(self) -> Optional[str]:
1477
1367
  """
1478
- 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.
1479
1369
  """
1480
1370
  return pulumi.get(self, "datastore_id")
1481
1371
 
@@ -1499,11 +1389,7 @@ class VirtualMachineCdrom(dict):
1499
1389
  @pulumi.getter
1500
1390
  def path(self) -> Optional[str]:
1501
1391
  """
1502
- The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
1503
-
1504
- > **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 .
1505
-
1506
- > **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.
1507
1393
  """
1508
1394
  return pulumi.get(self, "path")
1509
1395
 
@@ -1702,7 +1588,7 @@ class VirtualMachineCloneCustomize(dict):
1702
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.
1703
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.
1704
1590
  :param 'VirtualMachineCloneCustomizeLinuxOptionsArgs' linux_options: A list of configuration options specific to Linux virtual machines.
1705
- :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.
1706
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.
1707
1593
  :param 'VirtualMachineCloneCustomizeWindowsOptionsArgs' windows_options: A list of configuration options specific to Windows virtual machines.
1708
1594
  :param str windows_sysprep_text: Use this option to specify a windows sysprep file directly.
@@ -1770,7 +1656,7 @@ class VirtualMachineCloneCustomize(dict):
1770
1656
  @pulumi.getter(name="networkInterfaces")
1771
1657
  def network_interfaces(self) -> Optional[Sequence['outputs.VirtualMachineCloneCustomizeNetworkInterface']]:
1772
1658
  """
1773
- 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.
1774
1660
  """
1775
1661
  return pulumi.get(self, "network_interfaces")
1776
1662
 
@@ -2265,36 +2151,26 @@ class VirtualMachineDisk(dict):
2265
2151
  write_through: Optional[bool] = None):
2266
2152
  """
2267
2153
  :param str label: A unique label for this disk.
2268
- :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.
2269
-
2270
- > **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
2271
- :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`.
2272
- :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.
2273
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.
2274
- :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].
2275
-
2276
- [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
2277
- :param str disk_sharing: The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
2278
-
2279
- > **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
2280
- :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`.
2281
- :param int io_limit: The upper limit of IOPS that this disk can use. The default is no limit.
2282
- :param int io_reservation: The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
2283
- :param int io_share_count: The share count for the virtual disk when the share level is `custom`.
2284
- :param str io_share_level: The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
2285
- :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.
2286
2166
  :param int key: The ID of the device within the virtual machine.
2287
- :param str path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
2288
-
2289
- > **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 .
2290
-
2291
- > **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.
2292
- :param int size: The size of the disk, in GB. Must be a whole number.
2293
- :param str storage_policy_id: The UUID of the storage policy to assign to the virtual disk.
2294
- :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`.
2295
- :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.
2296
- :param str uuid: The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
2297
- :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.
2298
2174
  """
2299
2175
  pulumi.set(__self__, "label", label)
2300
2176
  if attach is not None:
@@ -2350,9 +2226,7 @@ class VirtualMachineDisk(dict):
2350
2226
  @pulumi.getter
2351
2227
  def attach(self) -> Optional[bool]:
2352
2228
  """
2353
- 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.
2354
-
2355
- > **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.
2356
2230
  """
2357
2231
  return pulumi.get(self, "attach")
2358
2232
 
@@ -2360,7 +2234,7 @@ class VirtualMachineDisk(dict):
2360
2234
  @pulumi.getter(name="controllerType")
2361
2235
  def controller_type(self) -> Optional[str]:
2362
2236
  """
2363
- 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'.
2364
2238
  """
2365
2239
  return pulumi.get(self, "controller_type")
2366
2240
 
@@ -2368,7 +2242,7 @@ class VirtualMachineDisk(dict):
2368
2242
  @pulumi.getter(name="datastoreId")
2369
2243
  def datastore_id(self) -> Optional[str]:
2370
2244
  """
2371
- 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.
2372
2246
  """
2373
2247
  return pulumi.get(self, "datastore_id")
2374
2248
 
@@ -2384,9 +2258,7 @@ class VirtualMachineDisk(dict):
2384
2258
  @pulumi.getter(name="diskMode")
2385
2259
  def disk_mode(self) -> Optional[str]:
2386
2260
  """
2387
- 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].
2388
-
2389
- [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.
2390
2262
  """
2391
2263
  return pulumi.get(self, "disk_mode")
2392
2264
 
@@ -2394,9 +2266,7 @@ class VirtualMachineDisk(dict):
2394
2266
  @pulumi.getter(name="diskSharing")
2395
2267
  def disk_sharing(self) -> Optional[str]:
2396
2268
  """
2397
- The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
2398
-
2399
- > **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.
2400
2270
  """
2401
2271
  return pulumi.get(self, "disk_sharing")
2402
2272
 
@@ -2404,7 +2274,7 @@ class VirtualMachineDisk(dict):
2404
2274
  @pulumi.getter(name="eagerlyScrub")
2405
2275
  def eagerly_scrub(self) -> Optional[bool]:
2406
2276
  """
2407
- 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.
2408
2278
  """
2409
2279
  return pulumi.get(self, "eagerly_scrub")
2410
2280
 
@@ -2412,7 +2282,7 @@ class VirtualMachineDisk(dict):
2412
2282
  @pulumi.getter(name="ioLimit")
2413
2283
  def io_limit(self) -> Optional[int]:
2414
2284
  """
2415
- 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.
2416
2286
  """
2417
2287
  return pulumi.get(self, "io_limit")
2418
2288
 
@@ -2420,7 +2290,7 @@ class VirtualMachineDisk(dict):
2420
2290
  @pulumi.getter(name="ioReservation")
2421
2291
  def io_reservation(self) -> Optional[int]:
2422
2292
  """
2423
- 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.
2424
2294
  """
2425
2295
  return pulumi.get(self, "io_reservation")
2426
2296
 
@@ -2428,7 +2298,7 @@ class VirtualMachineDisk(dict):
2428
2298
  @pulumi.getter(name="ioShareCount")
2429
2299
  def io_share_count(self) -> Optional[int]:
2430
2300
  """
2431
- 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.
2432
2302
  """
2433
2303
  return pulumi.get(self, "io_share_count")
2434
2304
 
@@ -2436,7 +2306,7 @@ class VirtualMachineDisk(dict):
2436
2306
  @pulumi.getter(name="ioShareLevel")
2437
2307
  def io_share_level(self) -> Optional[str]:
2438
2308
  """
2439
- 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.
2440
2310
  """
2441
2311
  return pulumi.get(self, "io_share_level")
2442
2312
 
@@ -2444,7 +2314,7 @@ class VirtualMachineDisk(dict):
2444
2314
  @pulumi.getter(name="keepOnRemove")
2445
2315
  def keep_on_remove(self) -> Optional[bool]:
2446
2316
  """
2447
- 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.
2448
2318
  """
2449
2319
  return pulumi.get(self, "keep_on_remove")
2450
2320
 
@@ -2460,11 +2330,7 @@ class VirtualMachineDisk(dict):
2460
2330
  @pulumi.getter
2461
2331
  def path(self) -> Optional[str]:
2462
2332
  """
2463
- The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
2464
-
2465
- > **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 .
2466
-
2467
- > **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.
2468
2334
  """
2469
2335
  return pulumi.get(self, "path")
2470
2336
 
@@ -2472,7 +2338,7 @@ class VirtualMachineDisk(dict):
2472
2338
  @pulumi.getter
2473
2339
  def size(self) -> Optional[int]:
2474
2340
  """
2475
- The size of the disk, in GB. Must be a whole number.
2341
+ The size of the disk, in GB.
2476
2342
  """
2477
2343
  return pulumi.get(self, "size")
2478
2344
 
@@ -2480,7 +2346,7 @@ class VirtualMachineDisk(dict):
2480
2346
  @pulumi.getter(name="storagePolicyId")
2481
2347
  def storage_policy_id(self) -> Optional[str]:
2482
2348
  """
2483
- 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.
2484
2350
  """
2485
2351
  return pulumi.get(self, "storage_policy_id")
2486
2352
 
@@ -2488,7 +2354,7 @@ class VirtualMachineDisk(dict):
2488
2354
  @pulumi.getter(name="thinProvisioned")
2489
2355
  def thin_provisioned(self) -> Optional[bool]:
2490
2356
  """
2491
- 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.
2492
2358
  """
2493
2359
  return pulumi.get(self, "thin_provisioned")
2494
2360
 
@@ -2496,7 +2362,7 @@ class VirtualMachineDisk(dict):
2496
2362
  @pulumi.getter(name="unitNumber")
2497
2363
  def unit_number(self) -> Optional[int]:
2498
2364
  """
2499
- 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.
2500
2366
  """
2501
2367
  return pulumi.get(self, "unit_number")
2502
2368
 
@@ -2504,7 +2370,7 @@ class VirtualMachineDisk(dict):
2504
2370
  @pulumi.getter
2505
2371
  def uuid(self) -> Optional[str]:
2506
2372
  """
2507
- 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.
2508
2374
  """
2509
2375
  return pulumi.get(self, "uuid")
2510
2376
 
@@ -2512,7 +2378,7 @@ class VirtualMachineDisk(dict):
2512
2378
  @pulumi.getter(name="writeThrough")
2513
2379
  def write_through(self) -> Optional[bool]:
2514
2380
  """
2515
- 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.
2516
2382
  """
2517
2383
  return pulumi.get(self, "write_through")
2518
2384
 
@@ -2570,18 +2436,18 @@ class VirtualMachineNetworkInterface(dict):
2570
2436
  physical_function: Optional[str] = None,
2571
2437
  use_static_mac: Optional[bool] = None):
2572
2438
  """
2573
- :param str network_id: The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
2574
- :param str adapter_type: The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
2575
- :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`.
2576
- :param int bandwidth_reservation: The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
2577
- :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`.
2578
- :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.
2579
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.
2580
2446
  :param int key: The ID of the device within the virtual machine.
2581
- :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.
2582
- :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.
2583
2449
  :param str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
2584
- :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.
2585
2451
  """
2586
2452
  pulumi.set(__self__, "network_id", network_id)
2587
2453
  if adapter_type is not None:
@@ -2611,7 +2477,7 @@ class VirtualMachineNetworkInterface(dict):
2611
2477
  @pulumi.getter(name="networkId")
2612
2478
  def network_id(self) -> str:
2613
2479
  """
2614
- 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.
2615
2481
  """
2616
2482
  return pulumi.get(self, "network_id")
2617
2483
 
@@ -2619,7 +2485,7 @@ class VirtualMachineNetworkInterface(dict):
2619
2485
  @pulumi.getter(name="adapterType")
2620
2486
  def adapter_type(self) -> Optional[str]:
2621
2487
  """
2622
- 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.
2623
2489
  """
2624
2490
  return pulumi.get(self, "adapter_type")
2625
2491
 
@@ -2627,7 +2493,7 @@ class VirtualMachineNetworkInterface(dict):
2627
2493
  @pulumi.getter(name="bandwidthLimit")
2628
2494
  def bandwidth_limit(self) -> Optional[int]:
2629
2495
  """
2630
- 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.
2631
2497
  """
2632
2498
  return pulumi.get(self, "bandwidth_limit")
2633
2499
 
@@ -2635,7 +2501,7 @@ class VirtualMachineNetworkInterface(dict):
2635
2501
  @pulumi.getter(name="bandwidthReservation")
2636
2502
  def bandwidth_reservation(self) -> Optional[int]:
2637
2503
  """
2638
- 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.
2639
2505
  """
2640
2506
  return pulumi.get(self, "bandwidth_reservation")
2641
2507
 
@@ -2643,7 +2509,7 @@ class VirtualMachineNetworkInterface(dict):
2643
2509
  @pulumi.getter(name="bandwidthShareCount")
2644
2510
  def bandwidth_share_count(self) -> Optional[int]:
2645
2511
  """
2646
- 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.
2647
2513
  """
2648
2514
  return pulumi.get(self, "bandwidth_share_count")
2649
2515
 
@@ -2651,7 +2517,7 @@ class VirtualMachineNetworkInterface(dict):
2651
2517
  @pulumi.getter(name="bandwidthShareLevel")
2652
2518
  def bandwidth_share_level(self) -> Optional[str]:
2653
2519
  """
2654
- 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.
2655
2521
  """
2656
2522
  return pulumi.get(self, "bandwidth_share_level")
2657
2523
 
@@ -2675,7 +2541,7 @@ class VirtualMachineNetworkInterface(dict):
2675
2541
  @pulumi.getter(name="macAddress")
2676
2542
  def mac_address(self) -> Optional[str]:
2677
2543
  """
2678
- 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.
2679
2545
  """
2680
2546
  return pulumi.get(self, "mac_address")
2681
2547
 
@@ -2683,7 +2549,7 @@ class VirtualMachineNetworkInterface(dict):
2683
2549
  @pulumi.getter(name="ovfMapping")
2684
2550
  def ovf_mapping(self) -> Optional[str]:
2685
2551
  """
2686
- 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.
2687
2553
  """
2688
2554
  return pulumi.get(self, "ovf_mapping")
2689
2555
 
@@ -2699,7 +2565,7 @@ class VirtualMachineNetworkInterface(dict):
2699
2565
  @pulumi.getter(name="useStaticMac")
2700
2566
  def use_static_mac(self) -> Optional[bool]:
2701
2567
  """
2702
- 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.
2703
2569
  """
2704
2570
  return pulumi.get(self, "use_static_mac")
2705
2571
 
@@ -2939,10 +2805,10 @@ class VnicIpv4(dict):
2939
2805
  ip: Optional[str] = None,
2940
2806
  netmask: Optional[str] = None):
2941
2807
  """
2942
- :param bool dhcp: Use DHCP to configure the interface's IPv6 stack.
2943
- :param str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
2944
- :param str ip: Address of the interface, if DHCP is not set.
2945
- :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.
2946
2812
  """
2947
2813
  if dhcp is not None:
2948
2814
  pulumi.set(__self__, "dhcp", dhcp)
@@ -2957,7 +2823,7 @@ class VnicIpv4(dict):
2957
2823
  @pulumi.getter
2958
2824
  def dhcp(self) -> Optional[bool]:
2959
2825
  """
2960
- Use DHCP to configure the interface's IPv6 stack.
2826
+ Use DHCP to configure the interface's IPv4 stack.
2961
2827
  """
2962
2828
  return pulumi.get(self, "dhcp")
2963
2829
 
@@ -2965,7 +2831,7 @@ class VnicIpv4(dict):
2965
2831
  @pulumi.getter
2966
2832
  def gw(self) -> Optional[str]:
2967
2833
  """
2968
- 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.
2969
2835
  """
2970
2836
  return pulumi.get(self, "gw")
2971
2837
 
@@ -2973,7 +2839,7 @@ class VnicIpv4(dict):
2973
2839
  @pulumi.getter
2974
2840
  def ip(self) -> Optional[str]:
2975
2841
  """
2976
- Address of the interface, if DHCP is not set.
2842
+ address of the interface, if DHCP is not set.
2977
2843
  """
2978
2844
  return pulumi.get(self, "ip")
2979
2845
 
@@ -2981,7 +2847,7 @@ class VnicIpv4(dict):
2981
2847
  @pulumi.getter
2982
2848
  def netmask(self) -> Optional[str]:
2983
2849
  """
2984
- Netmask of the interface, if DHCP is not set.
2850
+ netmask of the interface, if DHCP is not set.
2985
2851
  """
2986
2852
  return pulumi.get(self, "netmask")
2987
2853
 
@@ -2996,7 +2862,7 @@ class VnicIpv6(dict):
2996
2862
  """
2997
2863
  :param Sequence[str] addresses: List of IPv6 addresses
2998
2864
  :param bool autoconfig: Use IPv6 Autoconfiguration (RFC2462).
2999
- :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.
3000
2866
  :param str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
3001
2867
  """
3002
2868
  if addresses is not None:
@@ -3028,7 +2894,7 @@ class VnicIpv6(dict):
3028
2894
  @pulumi.getter
3029
2895
  def dhcp(self) -> Optional[bool]:
3030
2896
  """
3031
- Use DHCP to configure the interface's IPv6 stack.
2897
+ Use DHCP to configure the interface's IPv4 stack.
3032
2898
  """
3033
2899
  return pulumi.get(self, "dhcp")
3034
2900