@pulumi/vsphere 4.10.0 → 4.10.2-alpha.1720054582

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.
Files changed (153) hide show
  1. package/computeCluster.d.ts +309 -633
  2. package/computeCluster.js +2 -0
  3. package/computeCluster.js.map +1 -1
  4. package/computeClusterVmAffinityRule.d.ts +14 -10
  5. package/computeClusterVmAffinityRule.js +14 -10
  6. package/computeClusterVmAffinityRule.js.map +1 -1
  7. package/datacenter.d.ts +14 -15
  8. package/datacenter.js +14 -6
  9. package/datacenter.js.map +1 -1
  10. package/datastoreCluster.d.ts +72 -162
  11. package/datastoreCluster.js.map +1 -1
  12. package/distributedPortGroup.d.ts +54 -78
  13. package/distributedPortGroup.js.map +1 -1
  14. package/distributedVirtualSwitch.d.ts +129 -351
  15. package/distributedVirtualSwitch.js.map +1 -1
  16. package/entityPermissions.d.ts +24 -15
  17. package/entityPermissions.js.map +1 -1
  18. package/file.d.ts +8 -12
  19. package/file.js +8 -12
  20. package/file.js.map +1 -1
  21. package/folder.d.ts +0 -9
  22. package/folder.js.map +1 -1
  23. package/getComputeCluster.d.ts +0 -4
  24. package/getComputeCluster.js +0 -4
  25. package/getComputeCluster.js.map +1 -1
  26. package/getComputeClusterHostGroup.d.ts +22 -22
  27. package/getComputeClusterHostGroup.js +16 -18
  28. package/getComputeClusterHostGroup.js.map +1 -1
  29. package/getContentLibrary.d.ts +10 -10
  30. package/getContentLibrary.js +10 -10
  31. package/getContentLibraryItem.d.ts +12 -8
  32. package/getContentLibraryItem.js +4 -4
  33. package/getContentLibraryItem.js.map +1 -1
  34. package/getCustomAttribute.d.ts +0 -4
  35. package/getCustomAttribute.js +0 -4
  36. package/getCustomAttribute.js.map +1 -1
  37. package/getDatacenter.d.ts +0 -4
  38. package/getDatacenter.js +0 -4
  39. package/getDatacenter.js.map +1 -1
  40. package/getDatastore.d.ts +9 -13
  41. package/getDatastore.js +0 -4
  42. package/getDatastore.js.map +1 -1
  43. package/getDatastoreCluster.d.ts +0 -4
  44. package/getDatastoreCluster.js +0 -4
  45. package/getDatastoreCluster.js.map +1 -1
  46. package/getDatastoreStats.d.ts +38 -44
  47. package/getDatastoreStats.js +16 -24
  48. package/getDatastoreStats.js.map +1 -1
  49. package/getDistributedVirtualSwitch.d.ts +2 -4
  50. package/getDistributedVirtualSwitch.js +2 -4
  51. package/getDistributedVirtualSwitch.js.map +1 -1
  52. package/getDynamic.d.ts +18 -20
  53. package/getDynamic.js +12 -14
  54. package/getDynamic.js.map +1 -1
  55. package/getFolder.d.ts +10 -6
  56. package/getFolder.js +10 -6
  57. package/getFolder.js.map +1 -1
  58. package/getGuestOsCustomization.d.ts +8 -51
  59. package/getGuestOsCustomization.js +4 -34
  60. package/getGuestOsCustomization.js.map +1 -1
  61. package/getHost.d.ts +0 -4
  62. package/getHost.js +0 -4
  63. package/getHost.js.map +1 -1
  64. package/getHostBaseImages.d.ts +42 -0
  65. package/getHostBaseImages.js +43 -0
  66. package/getHostBaseImages.js.map +1 -0
  67. package/getHostPciDevice.d.ts +14 -20
  68. package/getHostPciDevice.js +10 -18
  69. package/getHostPciDevice.js.map +1 -1
  70. package/getHostThumbprint.d.ts +12 -16
  71. package/getHostThumbprint.js +8 -12
  72. package/getHostThumbprint.js.map +1 -1
  73. package/getHostVgpuProfile.d.ts +4 -10
  74. package/getHostVgpuProfile.js +0 -8
  75. package/getHostVgpuProfile.js.map +1 -1
  76. package/getLicense.d.ts +2 -5
  77. package/getLicense.js +0 -4
  78. package/getLicense.js.map +1 -1
  79. package/getNetwork.d.ts +14 -18
  80. package/getNetwork.js +10 -14
  81. package/getNetwork.js.map +1 -1
  82. package/getPolicy.d.ts +0 -4
  83. package/getPolicy.js +0 -4
  84. package/getPolicy.js.map +1 -1
  85. package/getResourcePool.d.ts +14 -18
  86. package/getResourcePool.js +14 -18
  87. package/getResourcePool.js.map +1 -1
  88. package/getRole.d.ts +4 -8
  89. package/getRole.js +4 -8
  90. package/getRole.js.map +1 -1
  91. package/getTag.d.ts +0 -4
  92. package/getTag.js +0 -4
  93. package/getTag.js.map +1 -1
  94. package/getTagCategory.d.ts +0 -4
  95. package/getTagCategory.js +0 -4
  96. package/getTagCategory.js.map +1 -1
  97. package/getVappContainer.d.ts +0 -4
  98. package/getVappContainer.js +0 -4
  99. package/getVappContainer.js.map +1 -1
  100. package/getVirtualMachine.d.ts +48 -40
  101. package/getVirtualMachine.js +6 -12
  102. package/getVirtualMachine.js.map +1 -1
  103. package/getVmfsDisks.d.ts +0 -4
  104. package/getVmfsDisks.js +0 -4
  105. package/getVmfsDisks.js.map +1 -1
  106. package/guestOsCustomization.d.ts +26 -0
  107. package/guestOsCustomization.js +26 -0
  108. package/guestOsCustomization.js.map +1 -1
  109. package/haVmOverride.d.ts +81 -162
  110. package/haVmOverride.js.map +1 -1
  111. package/host.d.ts +0 -10
  112. package/host.js +0 -10
  113. package/host.js.map +1 -1
  114. package/hostPortGroup.d.ts +6 -12
  115. package/hostPortGroup.js +6 -12
  116. package/hostPortGroup.js.map +1 -1
  117. package/hostVirtualSwitch.d.ts +60 -123
  118. package/hostVirtualSwitch.js.map +1 -1
  119. package/index.d.ts +12 -0
  120. package/index.js +21 -2
  121. package/index.js.map +1 -1
  122. package/license.d.ts +0 -17
  123. package/license.js +0 -17
  124. package/license.js.map +1 -1
  125. package/nasDatastore.d.ts +3 -3
  126. package/offlineSoftwareDepot.d.ts +63 -0
  127. package/offlineSoftwareDepot.js +59 -0
  128. package/offlineSoftwareDepot.js.map +1 -0
  129. package/package.json +3 -2
  130. package/resourcePool.d.ts +28 -12
  131. package/resourcePool.js +28 -12
  132. package/resourcePool.js.map +1 -1
  133. package/supervisor.d.ts +292 -0
  134. package/supervisor.js +178 -0
  135. package/supervisor.js.map +1 -0
  136. package/types/input.d.ts +172 -119
  137. package/types/output.d.ts +192 -134
  138. package/virtualDisk.d.ts +6 -6
  139. package/virtualMachine.d.ts +250 -361
  140. package/virtualMachine.js.map +1 -1
  141. package/virtualMachineClass.d.ts +143 -0
  142. package/virtualMachineClass.js +100 -0
  143. package/virtualMachineClass.js.map +1 -0
  144. package/virtualMachineSnapshot.d.ts +4 -6
  145. package/virtualMachineSnapshot.js +4 -6
  146. package/virtualMachineSnapshot.js.map +1 -1
  147. package/vmStoragePolicy.d.ts +29 -35
  148. package/vmStoragePolicy.js +29 -35
  149. package/vmStoragePolicy.js.map +1 -1
  150. package/vnic.d.ts +34 -42
  151. package/vnic.js +31 -39
  152. package/vnic.js.map +1 -1
  153. package/package.json.bak +0 -29
package/types/output.d.ts CHANGED
@@ -1,11 +1,31 @@
1
1
  import * as outputs from "../types/output";
2
+ export interface ComputeClusterHostImage {
3
+ /**
4
+ * List of custom components.
5
+ */
6
+ components?: outputs.ComputeClusterHostImageComponent[];
7
+ /**
8
+ * The ESXi version which the image is based on.
9
+ */
10
+ esxVersion?: string;
11
+ }
12
+ export interface ComputeClusterHostImageComponent {
13
+ /**
14
+ * The identifier for the component.
15
+ */
16
+ key?: string;
17
+ /**
18
+ * The version to use.
19
+ */
20
+ version?: string;
21
+ }
2
22
  export interface ComputeClusterVsanDiskGroup {
3
23
  /**
4
- * The canonical name of the disk to use for vSAN cache.
24
+ * Cache disk.
5
25
  */
6
26
  cache?: string;
7
27
  /**
8
- * An array of disk canonical names for vSAN storage.
28
+ * List of storage disks.
9
29
  */
10
30
  storages?: string[];
11
31
  }
@@ -31,7 +51,7 @@ export interface ComputeClusterVsanStretchedCluster {
31
51
  */
32
52
  preferredFaultDomainHostIds: string[];
33
53
  /**
34
- * The name of first fault domain. Default is `Preferred`.
54
+ * The name of prepferred fault domain.
35
55
  */
36
56
  preferredFaultDomainName?: string;
37
57
  /**
@@ -39,56 +59,7 @@ export interface ComputeClusterVsanStretchedCluster {
39
59
  */
40
60
  secondaryFaultDomainHostIds: string[];
41
61
  /**
42
- * The name of second fault domain. Default is `Secondary`.
43
- *
44
- * > **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
45
- * You can enable or re-enable vSphere HA after vSAN is configured.
46
- *
47
- * <!--Start PulumiCodeChooser -->
48
- * ```typescript
49
- * import * as pulumi from "@pulumi/pulumi";
50
- * import * as vsphere from "@pulumi/vsphere";
51
- *
52
- * const computeCluster = new vsphere.ComputeCluster("computeCluster", {
53
- * datacenterId: data.vsphere_datacenter.datacenter.id,
54
- * hostSystemIds: [data.vsphere_host.host.map(__item => __item.id)],
55
- * drsEnabled: true,
56
- * drsAutomationLevel: "fullyAutomated",
57
- * haEnabled: false,
58
- * vsanEnabled: true,
59
- * vsanEsaEnabled: true,
60
- * vsanDedupEnabled: true,
61
- * vsanCompressionEnabled: true,
62
- * vsanPerformanceEnabled: true,
63
- * vsanVerboseModeEnabled: true,
64
- * vsanNetworkDiagnosticModeEnabled: true,
65
- * vsanUnmapEnabled: true,
66
- * vsanDitEncryptionEnabled: true,
67
- * vsanDitRekeyInterval: 1800,
68
- * vsanDiskGroups: [{
69
- * cache: data.vsphere_vmfs_disks.cache_disks[0],
70
- * storages: data.vsphere_vmfs_disks.storage_disks,
71
- * }],
72
- * vsanFaultDomains: [{
73
- * faultDomains: [
74
- * {
75
- * name: "fd1",
76
- * hostIds: [data.vsphere_host.faultdomain1_hosts.map(__item => __item.id)],
77
- * },
78
- * {
79
- * name: "fd2",
80
- * hostIds: [data.vsphere_host.faultdomain2_hosts.map(__item => __item.id)],
81
- * },
82
- * ],
83
- * }],
84
- * vsanStretchedCluster: {
85
- * preferredFaultDomainHostIds: [data.vsphere_host.preferred_fault_domain_host.map(__item => __item.id)],
86
- * secondaryFaultDomainHostIds: [data.vsphere_host.secondary_fault_domain_host.map(__item => __item.id)],
87
- * witnessNode: data.vsphere_host.witness_host.id,
88
- * },
89
- * });
90
- * ```
91
- * <!--End PulumiCodeChooser -->
62
+ * The name of secondary fault domain.
92
63
  */
93
64
  secondaryFaultDomainName?: string;
94
65
  /**
@@ -98,11 +69,11 @@ export interface ComputeClusterVsanStretchedCluster {
98
69
  }
99
70
  export interface ContentLibraryPublication {
100
71
  /**
101
- * Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
72
+ * Method to authenticate users. Must be `NONE` or `BASIC`.
102
73
  */
103
74
  authenticationMethod?: string;
104
75
  /**
105
- * Password used for authentication.
76
+ * Password used by subscribers to authenticate.
106
77
  */
107
78
  password: string;
108
79
  /**
@@ -114,7 +85,7 @@ export interface ContentLibraryPublication {
114
85
  */
115
86
  published?: boolean;
116
87
  /**
117
- * Username used for authentication.
88
+ * Username used by subscribers to authenticate. Currently can only be `vcsp`.
118
89
  */
119
90
  username: string;
120
91
  }
@@ -156,30 +127,25 @@ export interface DistributedPortGroupVlanRange {
156
127
  }
157
128
  export interface DistributedVirtualSwitchHost {
158
129
  /**
159
- * The list of NIC devices to map to uplinks on the VDS,
160
- * added in order they are specified.
130
+ * Name of the physical NIC to be added to the proxy switch.
161
131
  */
162
132
  devices?: string[];
163
133
  /**
164
- * The host system ID of the host to add to the
165
- * VDS.
134
+ * The managed object ID of the host this specification applies to.
166
135
  */
167
136
  hostSystemId: string;
168
137
  }
169
138
  export interface DistributedVirtualSwitchPvlanMapping {
170
139
  /**
171
- * The primary VLAN ID. The VLAN IDs of 0 and
172
- * 4095 are reserved and cannot be used in this property.
140
+ * The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
173
141
  */
174
142
  primaryVlanId: number;
175
143
  /**
176
- * The private VLAN type. Valid values are
177
- * promiscuous, community and isolated.
144
+ * The private VLAN type. Valid values are promiscuous, community and isolated.
178
145
  */
179
146
  pvlanType: string;
180
147
  /**
181
- * The secondary VLAN ID. The VLAN IDs of 0
182
- * and 4095 are reserved and cannot be used in this property.
148
+ * The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
183
149
  */
184
150
  secondaryVlanId: number;
185
151
  }
@@ -195,15 +161,18 @@ export interface DistributedVirtualSwitchVlanRange {
195
161
  }
196
162
  export interface EntityPermissionsPermission {
197
163
  /**
198
- * Whether userOrGroup field refers to a user or a group. True for a group and false for a user.
164
+ * Whether `userOrGroup` field refers to a user or a
165
+ * group. True for a group and false for a user.
199
166
  */
200
167
  isGroup: boolean;
201
168
  /**
202
- * Whether or not this permission propagates down the hierarchy to sub-entities.
169
+ * Whether or not this permission propagates down the
170
+ * hierarchy to sub-entities.
203
171
  */
204
172
  propagate: boolean;
205
173
  /**
206
- * The role id of the role to be given to the user on the specified entity.
174
+ * The role id of the role to be given to the user on
175
+ * the specified entity.
207
176
  */
208
177
  roleId: string;
209
178
  /**
@@ -310,6 +279,10 @@ export interface GetGuestOsCustomizationSpecWindowsOption {
310
279
  * The user account of the domain administrator used to join this virtual machine to the domain.
311
280
  */
312
281
  domainAdminUser: string;
282
+ /**
283
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
284
+ */
285
+ domainOu: string;
313
286
  /**
314
287
  * The Active Directory domain for the virtual machine to join.
315
288
  */
@@ -334,22 +307,23 @@ export interface GetHostVgpuProfileVgpuProfile {
334
307
  */
335
308
  diskSnapshotSupported: boolean;
336
309
  /**
337
- * Indicates whether the GPU plugin on this host is
338
- * capable of memory snapshots.
310
+ * Indicates whether the GPU plugin on this host
311
+ * is capable of memory snapshots.
339
312
  */
340
313
  memorySnapshotSupported: boolean;
341
314
  /**
342
- * Indicates whether the GPU plugin on this host is capable
343
- * of migration.
315
+ * Indicates whether the GPU plugin on this host is
316
+ * capable of migration.
344
317
  */
345
318
  migrateSupported: boolean;
346
319
  /**
347
- * Indicates whether the GPU plugin on this host is capable
348
- * of suspend-resume.
320
+ * Indicates whether the GPU plugin on this host is
321
+ * capable of suspend-resume.
349
322
  */
350
323
  suspendSupported: boolean;
351
324
  /**
352
- * Name of a particular vGPU available as a shared GPU device (vGPU profile).
325
+ * Name of a particular vGPU available as a shared GPU device (vGPU
326
+ * profile).
353
327
  */
354
328
  vgpu: string;
355
329
  }
@@ -378,8 +352,8 @@ export interface GetVirtualMachineDisk {
378
352
  export interface GetVirtualMachineNetworkInterface {
379
353
  /**
380
354
  * The network interface types for each network interface found
381
- * on the virtual machine, in device bus order. Will be one of `e1000`, `e1000e`,
382
- * `vmxnet3vrdma`, or `vmxnet3`.
355
+ * on the virtual machine, in device bus order. Will be one of `e1000`,
356
+ * `e1000e`, `vmxnet3vrdma`, or `vmxnet3`.
383
357
  */
384
358
  adapterType: string;
385
359
  /**
@@ -388,8 +362,8 @@ export interface GetVirtualMachineNetworkInterface {
388
362
  */
389
363
  bandwidthLimit?: number;
390
364
  /**
391
- * The bandwidth reservation of this network interface,
392
- * in Mbits/sec.
365
+ * The bandwidth reservation of this network
366
+ * interface, in Mbits/sec.
393
367
  */
394
368
  bandwidthReservation?: number;
395
369
  /**
@@ -398,8 +372,8 @@ export interface GetVirtualMachineNetworkInterface {
398
372
  */
399
373
  bandwidthShareCount: number;
400
374
  /**
401
- * The bandwidth share allocation level for this interface.
402
- * Can be one of `low`, `normal`, `high`, or `custom`.
375
+ * The bandwidth share allocation level for this
376
+ * interface. Can be one of `low`, `normal`, `high`, or `custom`.
403
377
  */
404
378
  bandwidthShareLevel?: string;
405
379
  /**
@@ -407,8 +381,8 @@ export interface GetVirtualMachineNetworkInterface {
407
381
  */
408
382
  macAddress: string;
409
383
  /**
410
- * The managed object reference ID of the network this interface is
411
- * connected to.
384
+ * The managed object reference ID of the network this interface
385
+ * is connected to.
412
386
  */
413
387
  networkId: string;
414
388
  /**
@@ -531,6 +505,10 @@ export interface GuestOsCustomizationSpecWindowsOptions {
531
505
  * The user account of the domain administrator used to join this virtual machine to the domain.
532
506
  */
533
507
  domainAdminUser?: string;
508
+ /**
509
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
510
+ */
511
+ domainOu?: string;
534
512
  /**
535
513
  * The full name of the user of this virtual machine.
536
514
  */
@@ -574,13 +552,103 @@ export interface HostPortGroupPort {
574
552
  */
575
553
  type: string;
576
554
  }
555
+ export interface OfflineSoftwareDepotComponent {
556
+ /**
557
+ * The name of the component. Useful for easier identification.
558
+ */
559
+ displayName: string;
560
+ /**
561
+ * The identifier of the component.
562
+ */
563
+ key: string;
564
+ /**
565
+ * The list of available versions of the component.
566
+ */
567
+ versions: string[];
568
+ }
569
+ export interface SupervisorEgressCidr {
570
+ /**
571
+ * Network address.
572
+ */
573
+ address: string;
574
+ /**
575
+ * Subnet prefix.
576
+ */
577
+ prefix: number;
578
+ }
579
+ export interface SupervisorIngressCidr {
580
+ /**
581
+ * Network address.
582
+ */
583
+ address: string;
584
+ /**
585
+ * Subnet prefix.
586
+ */
587
+ prefix: number;
588
+ }
589
+ export interface SupervisorManagementNetwork {
590
+ /**
591
+ * Number of addresses to allocate. Starts from 'starting_address'
592
+ */
593
+ addressCount: number;
594
+ /**
595
+ * Gateway IP address.
596
+ */
597
+ gateway: string;
598
+ /**
599
+ * ID of the network. (e.g. a distributed port group).
600
+ */
601
+ network: string;
602
+ /**
603
+ * Starting address of the management network range.
604
+ */
605
+ startingAddress: string;
606
+ /**
607
+ * Subnet mask.
608
+ */
609
+ subnetMask: string;
610
+ }
611
+ export interface SupervisorNamespace {
612
+ /**
613
+ * A list of content libraries.
614
+ */
615
+ contentLibraries?: string[];
616
+ /**
617
+ * The name of the namespace.
618
+ */
619
+ name: string;
620
+ /**
621
+ * A list of virtual machine classes.
622
+ */
623
+ vmClasses?: string[];
624
+ }
625
+ export interface SupervisorPodCidr {
626
+ /**
627
+ * Network address.
628
+ */
629
+ address: string;
630
+ /**
631
+ * Subnet prefix.
632
+ */
633
+ prefix: number;
634
+ }
635
+ export interface SupervisorServiceCidr {
636
+ /**
637
+ * Network address.
638
+ */
639
+ address: string;
640
+ /**
641
+ * Subnet prefix.
642
+ */
643
+ prefix: number;
644
+ }
577
645
  export interface VirtualMachineCdrom {
578
646
  /**
579
- * Indicates whether the device should be backed by remote client device. Conflicts with `datastoreId` and `path`.
647
+ * Indicates whether the device should be mapped to a remote client device
580
648
  */
581
649
  clientDevice?: boolean;
582
650
  /**
583
- * The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `clientDevice`.
651
+ * The datastore ID the ISO is located on.
584
652
  */
585
653
  datastoreId?: string;
586
654
  /**
@@ -592,11 +660,7 @@ export interface VirtualMachineCdrom {
592
660
  */
593
661
  key: number;
594
662
  /**
595
- * The path to the ISO file. Required for using a datastore ISO. Conflicts with `clientDevice`.
596
- *
597
- * > **NOTE:** Either `clientDevice` (for a remote backed CD-ROM) or `datastoreId` and `path` (for a datastore ISO backed CD-ROM) are required to .
598
- *
599
- * > **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.
663
+ * The path to the ISO file on the datastore.
600
664
  */
601
665
  path?: string;
602
666
  }
@@ -666,7 +730,7 @@ export interface VirtualMachineCloneCustomize {
666
730
  */
667
731
  linuxOptions?: outputs.VirtualMachineCloneCustomizeLinuxOptions;
668
732
  /**
669
- * A specification for a virtual NIC on the virtual machine. See network interface options for more information.
733
+ * A specification of network interface configuration options.
670
734
  */
671
735
  networkInterfaces?: outputs.VirtualMachineCloneCustomizeNetworkInterface[];
672
736
  /**
@@ -755,6 +819,10 @@ export interface VirtualMachineCloneCustomizeWindowsOptions {
755
819
  * The user account of the domain administrator used to join this virtual machine to the domain.
756
820
  */
757
821
  domainAdminUser?: string;
822
+ /**
823
+ * The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
824
+ */
825
+ domainOu?: string;
758
826
  /**
759
827
  * The full name of the user of this virtual machine.
760
828
  */
@@ -786,17 +854,15 @@ export interface VirtualMachineCloneCustomizeWindowsOptions {
786
854
  }
787
855
  export interface VirtualMachineDisk {
788
856
  /**
789
- * Attach an external disk instead of creating a new one. Implies and conflicts with `keepOnRemove`. If set, you cannot set `size`, `eagerlyScrub`, or `thinProvisioned`. Must set `path` if used.
790
- *
791
- * > **NOTE:** External disks cannot be attached when `datastoreClusterId` is used.
857
+ * If this is true, the disk is attached instead of created. Implies keep_on_remove.
792
858
  */
793
859
  attach?: boolean;
794
860
  /**
795
- * 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`.
861
+ * The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
796
862
  */
797
863
  controllerType?: string;
798
864
  /**
799
- * The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `clientDevice`.
865
+ * The datastore ID for this virtual disk, if different than the virtual machine.
800
866
  */
801
867
  datastoreId: string;
802
868
  /**
@@ -804,39 +870,35 @@ export interface VirtualMachineDisk {
804
870
  */
805
871
  deviceAddress: string;
806
872
  /**
807
- * The mode of this this virtual disk for purposes of writes and snapshots. One of `append`, `independentNonpersistent`, `independentPersistent`, `nonpersistent`, `persistent`, or `undoable`. Default: `persistent`. For more information on these option, please refer to the [product documentation][vmware-docs-disk-mode].
808
- *
809
- * [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
873
+ * 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.
810
874
  */
811
875
  diskMode?: string;
812
876
  /**
813
- * The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
814
- *
815
- * > **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
877
+ * The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
816
878
  */
817
879
  diskSharing?: string;
818
880
  /**
819
- * 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 `thinProvisioned` is `true`. See the section on picking a disk type for more information. Default: `false`.
881
+ * The virtual disk file zeroing policy when thinProvision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
820
882
  */
821
883
  eagerlyScrub?: boolean;
822
884
  /**
823
- * The upper limit of IOPS that this disk can use. The default is no limit.
885
+ * The upper limit of IOPS that this disk can use.
824
886
  */
825
887
  ioLimit?: number;
826
888
  /**
827
- * The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
889
+ * The I/O guarantee that this disk has, in IOPS.
828
890
  */
829
891
  ioReservation?: number;
830
892
  /**
831
- * The share count for the virtual disk when the share level is `custom`.
893
+ * The share count for this disk when the share level is custom.
832
894
  */
833
895
  ioShareCount?: number;
834
896
  /**
835
- * The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
897
+ * The share allocation level for this disk. Can be one of low, normal, high, or custom.
836
898
  */
837
899
  ioShareLevel?: string;
838
900
  /**
839
- * Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
901
+ * Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
840
902
  */
841
903
  keepOnRemove?: boolean;
842
904
  /**
@@ -848,57 +910,53 @@ export interface VirtualMachineDisk {
848
910
  */
849
911
  label: string;
850
912
  /**
851
- * The path to the ISO file. Required for using a datastore ISO. Conflicts with `clientDevice`.
852
- *
853
- * > **NOTE:** Either `clientDevice` (for a remote backed CD-ROM) or `datastoreId` and `path` (for a datastore ISO backed CD-ROM) are required to .
854
- *
855
- * > **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.
913
+ * 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.
856
914
  */
857
915
  path: string;
858
916
  /**
859
- * The size of the disk, in GB. Must be a whole number.
917
+ * The size of the disk, in GB.
860
918
  */
861
919
  size?: number;
862
920
  /**
863
- * The UUID of the storage policy to assign to the virtual disk.
921
+ * The ID of the storage policy to assign to the virtual disk in VM.
864
922
  */
865
923
  storagePolicyId: string;
866
924
  /**
867
- * 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 `eagerlyScrub` is `true`. See the section on selecting a disk type for more information. Default: `true`.
925
+ * If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
868
926
  */
869
927
  thinProvisioned?: boolean;
870
928
  /**
871
- * 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.
929
+ * The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
872
930
  */
873
931
  unitNumber?: number;
874
932
  /**
875
- * The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
933
+ * The UUID of the virtual machine. Also exposed as the `id` of the resource.
876
934
  */
877
935
  uuid: string;
878
936
  /**
879
- * If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
937
+ * If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
880
938
  */
881
939
  writeThrough?: boolean;
882
940
  }
883
941
  export interface VirtualMachineNetworkInterface {
884
942
  /**
885
- * The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
943
+ * The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
886
944
  */
887
945
  adapterType?: string;
888
946
  /**
889
- * The upper bandwidth limit of the network interface, in Mbits/sec. The default is no limit. Ignored if `adapterType` is set to `sriov`.
947
+ * The upper bandwidth limit of this network interface, in Mbits/sec.
890
948
  */
891
949
  bandwidthLimit?: number;
892
950
  /**
893
- * The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
951
+ * The bandwidth reservation of this network interface, in Mbits/sec.
894
952
  */
895
953
  bandwidthReservation?: number;
896
954
  /**
897
- * The share count for the network interface when the share level is `custom`. Ignored if `adapterType` is set to `sriov`.
955
+ * The share count for this network interface when the share level is custom.
898
956
  */
899
957
  bandwidthShareCount: number;
900
958
  /**
901
- * The bandwidth share allocation level for the network interface. One of `low`, `normal`, `high`, or `custom`. Default: `normal`. Ignored if `adapterType` is set to `sriov`.
959
+ * The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
902
960
  */
903
961
  bandwidthShareLevel?: string;
904
962
  /**
@@ -910,15 +968,15 @@ export interface VirtualMachineNetworkInterface {
910
968
  */
911
969
  key: number;
912
970
  /**
913
- * The MAC address of the network interface. Can only be manually set if `useStaticMac` is `true`. Otherwise, the value is computed and presents the assigned MAC address for the interface.
971
+ * The MAC address of this network interface. Can only be manually set if useStaticMac is true.
914
972
  */
915
973
  macAddress: string;
916
974
  /**
917
- * The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
975
+ * The ID of the network to connect this network interface to.
918
976
  */
919
977
  networkId: string;
920
978
  /**
921
- * Specifies which NIC in an OVF/OVA the `networkInterface` should be associated. Only applies at creation when deploying from an OVF/OVA.
979
+ * Mapping of network interface to OVF network.
922
980
  */
923
981
  ovfMapping?: string;
924
982
  /**
@@ -926,7 +984,7 @@ export interface VirtualMachineNetworkInterface {
926
984
  */
927
985
  physicalFunction?: string;
928
986
  /**
929
- * If true, the `macAddress` field is treated as a static MAC address and set accordingly. Setting this to `true` requires `macAddress` to be set. Default: `false`.
987
+ * If true, the macAddress field is treated as a static MAC address and set accordingly.
930
988
  */
931
989
  useStaticMac?: boolean;
932
990
  }
@@ -994,19 +1052,19 @@ export interface VmStoragePolicyTagRule {
994
1052
  }
995
1053
  export interface VnicIpv4 {
996
1054
  /**
997
- * Use DHCP to configure the interface's IPv6 stack.
1055
+ * Use DHCP to configure the interface's IPv4 stack.
998
1056
  */
999
1057
  dhcp?: boolean;
1000
1058
  /**
1001
- * IP address of the default gateway, if DHCP or autoconfig is not set.
1059
+ * IP address of the default gateway, if DHCP is not set.
1002
1060
  */
1003
1061
  gw?: string;
1004
1062
  /**
1005
- * Address of the interface, if DHCP is not set.
1063
+ * address of the interface, if DHCP is not set.
1006
1064
  */
1007
1065
  ip?: string;
1008
1066
  /**
1009
- * Netmask of the interface, if DHCP is not set.
1067
+ * netmask of the interface, if DHCP is not set.
1010
1068
  */
1011
1069
  netmask?: string;
1012
1070
  }
@@ -1020,7 +1078,7 @@ export interface VnicIpv6 {
1020
1078
  */
1021
1079
  autoconfig?: boolean;
1022
1080
  /**
1023
- * Use DHCP to configure the interface's IPv6 stack.
1081
+ * Use DHCP to configure the interface's IPv4 stack.
1024
1082
  */
1025
1083
  dhcp?: boolean;
1026
1084
  /**
package/virtualDisk.d.ts CHANGED
@@ -26,7 +26,7 @@ export declare class VirtualDisk extends pulumi.CustomResource {
26
26
  * disk controller types. This parameter will be removed in future versions of the
27
27
  * vSphere provider.
28
28
  *
29
- * @deprecated this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead
29
+ * @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
30
30
  */
31
31
  readonly adapterType: pulumi.Output<string | undefined>;
32
32
  /**
@@ -60,7 +60,7 @@ export declare class VirtualDisk extends pulumi.CustomResource {
60
60
  * information on what each kind of disk provisioning policy means, click
61
61
  * [here][docs-vmware-vm-disk-provisioning].
62
62
  *
63
- * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
63
+ * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
64
64
  */
65
65
  readonly type: pulumi.Output<string | undefined>;
66
66
  /**
@@ -92,7 +92,7 @@ export interface VirtualDiskState {
92
92
  * disk controller types. This parameter will be removed in future versions of the
93
93
  * vSphere provider.
94
94
  *
95
- * @deprecated this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead
95
+ * @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
96
96
  */
97
97
  adapterType?: pulumi.Input<string>;
98
98
  /**
@@ -126,7 +126,7 @@ export interface VirtualDiskState {
126
126
  * information on what each kind of disk provisioning policy means, click
127
127
  * [here][docs-vmware-vm-disk-provisioning].
128
128
  *
129
- * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
129
+ * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
130
130
  */
131
131
  type?: pulumi.Input<string>;
132
132
  /**
@@ -150,7 +150,7 @@ export interface VirtualDiskArgs {
150
150
  * disk controller types. This parameter will be removed in future versions of the
151
151
  * vSphere provider.
152
152
  *
153
- * @deprecated this attribute has no effect on controller types - please use scsi_type in vsphere_virtual_machine instead
153
+ * @deprecated this attribute has no effect on controller types - please use scsiType in vsphere.VirtualMachine instead
154
154
  */
155
155
  adapterType?: pulumi.Input<string>;
156
156
  /**
@@ -184,7 +184,7 @@ export interface VirtualDiskArgs {
184
184
  * information on what each kind of disk provisioning policy means, click
185
185
  * [here][docs-vmware-vm-disk-provisioning].
186
186
  *
187
- * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
187
+ * [docs-vmware-vm-disk-provisioning]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vm-administration/GUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html
188
188
  */
189
189
  type?: pulumi.Input<string>;
190
190
  /**