@pulumi/vsphere 4.16.5 → 4.16.6

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 (327) hide show
  1. package/computeCluster.d.ts +141 -140
  2. package/computeCluster.d.ts.map +1 -0
  3. package/computeCluster.js +29 -6
  4. package/computeCluster.js.map +1 -1
  5. package/computeClusterHostGroup.d.ts +6 -5
  6. package/computeClusterHostGroup.d.ts.map +1 -0
  7. package/computeClusterHostGroup.js +27 -4
  8. package/computeClusterHostGroup.js.map +1 -1
  9. package/computeClusterVmAffinityRule.d.ts +10 -9
  10. package/computeClusterVmAffinityRule.d.ts.map +1 -0
  11. package/computeClusterVmAffinityRule.js +28 -5
  12. package/computeClusterVmAffinityRule.js.map +1 -1
  13. package/computeClusterVmAntiAffinityRule.d.ts +9 -8
  14. package/computeClusterVmAntiAffinityRule.d.ts.map +1 -0
  15. package/computeClusterVmAntiAffinityRule.js +27 -4
  16. package/computeClusterVmAntiAffinityRule.js.map +1 -1
  17. package/computeClusterVmDependencyRule.d.ts +10 -9
  18. package/computeClusterVmDependencyRule.d.ts.map +1 -0
  19. package/computeClusterVmDependencyRule.js +27 -4
  20. package/computeClusterVmDependencyRule.js.map +1 -1
  21. package/computeClusterVmGroup.d.ts +6 -5
  22. package/computeClusterVmGroup.d.ts.map +1 -0
  23. package/computeClusterVmGroup.js +27 -4
  24. package/computeClusterVmGroup.js.map +1 -1
  25. package/computeClusterVmHostRule.d.ts +13 -12
  26. package/computeClusterVmHostRule.d.ts.map +1 -0
  27. package/computeClusterVmHostRule.js +27 -4
  28. package/computeClusterVmHostRule.js.map +1 -1
  29. package/config/index.d.ts +1 -0
  30. package/config/index.d.ts.map +1 -0
  31. package/config/vars.d.ts +1 -0
  32. package/config/vars.d.ts.map +1 -0
  33. package/config/vars.js +25 -2
  34. package/config/vars.js.map +1 -1
  35. package/configurationProfile.d.ts +8 -7
  36. package/configurationProfile.d.ts.map +1 -0
  37. package/configurationProfile.js +28 -5
  38. package/configurationProfile.js.map +1 -1
  39. package/contentLibrary.d.ts +10 -9
  40. package/contentLibrary.d.ts.map +1 -0
  41. package/contentLibrary.js +27 -4
  42. package/contentLibrary.js.map +1 -1
  43. package/contentLibraryItem.d.ts +12 -11
  44. package/contentLibraryItem.d.ts.map +1 -0
  45. package/contentLibraryItem.js +27 -4
  46. package/contentLibraryItem.js.map +1 -1
  47. package/customAttribute.d.ts +5 -4
  48. package/customAttribute.d.ts.map +1 -0
  49. package/customAttribute.js +27 -4
  50. package/customAttribute.js.map +1 -1
  51. package/datacenter.d.ts +10 -9
  52. package/datacenter.d.ts.map +1 -0
  53. package/datacenter.js +27 -4
  54. package/datacenter.js.map +1 -1
  55. package/datastoreCluster.d.ts +50 -49
  56. package/datastoreCluster.d.ts.map +1 -0
  57. package/datastoreCluster.js +27 -4
  58. package/datastoreCluster.js.map +1 -1
  59. package/datastoreClusterVmAntiAffinityRule.d.ts +9 -8
  60. package/datastoreClusterVmAntiAffinityRule.d.ts.map +1 -0
  61. package/datastoreClusterVmAntiAffinityRule.js +27 -4
  62. package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
  63. package/distributedPortGroup.d.ts +94 -93
  64. package/distributedPortGroup.d.ts.map +1 -0
  65. package/distributedPortGroup.js +27 -4
  66. package/distributedPortGroup.js.map +1 -1
  67. package/distributedVirtualSwitch.d.ts +189 -188
  68. package/distributedVirtualSwitch.d.ts.map +1 -0
  69. package/distributedVirtualSwitch.js +27 -4
  70. package/distributedVirtualSwitch.js.map +1 -1
  71. package/distributedVirtualSwitchPvlanMapping.d.ts +5 -4
  72. package/distributedVirtualSwitchPvlanMapping.d.ts.map +1 -0
  73. package/distributedVirtualSwitchPvlanMapping.js +27 -4
  74. package/distributedVirtualSwitchPvlanMapping.js.map +1 -1
  75. package/dpmHostOverride.d.ts +7 -6
  76. package/dpmHostOverride.d.ts.map +1 -0
  77. package/dpmHostOverride.js +27 -4
  78. package/dpmHostOverride.js.map +1 -1
  79. package/drsVmOverride.d.ts +7 -6
  80. package/drsVmOverride.d.ts.map +1 -0
  81. package/drsVmOverride.js +27 -4
  82. package/drsVmOverride.js.map +1 -1
  83. package/entityPermissions.d.ts +4 -3
  84. package/entityPermissions.d.ts.map +1 -0
  85. package/entityPermissions.js +27 -4
  86. package/entityPermissions.js.map +1 -1
  87. package/file.d.ts +12 -11
  88. package/file.d.ts.map +1 -0
  89. package/file.js +27 -4
  90. package/file.js.map +1 -1
  91. package/folder.d.ts +9 -8
  92. package/folder.d.ts.map +1 -0
  93. package/folder.js +27 -4
  94. package/folder.js.map +1 -1
  95. package/getComputeCluster.d.ts +2 -1
  96. package/getComputeCluster.d.ts.map +1 -0
  97. package/getComputeCluster.js +25 -2
  98. package/getComputeCluster.js.map +1 -1
  99. package/getComputeClusterHostGroup.d.ts +1 -0
  100. package/getComputeClusterHostGroup.d.ts.map +1 -0
  101. package/getComputeClusterHostGroup.js +25 -2
  102. package/getComputeClusterHostGroup.js.map +1 -1
  103. package/getConfigurationProfile.d.ts +1 -0
  104. package/getConfigurationProfile.d.ts.map +1 -0
  105. package/getConfigurationProfile.js +25 -2
  106. package/getConfigurationProfile.js.map +1 -1
  107. package/getContentLibrary.d.ts +1 -0
  108. package/getContentLibrary.d.ts.map +1 -0
  109. package/getContentLibrary.js +25 -2
  110. package/getContentLibrary.js.map +1 -1
  111. package/getContentLibraryItem.d.ts +1 -0
  112. package/getContentLibraryItem.d.ts.map +1 -0
  113. package/getContentLibraryItem.js +25 -2
  114. package/getContentLibraryItem.js.map +1 -1
  115. package/getCustomAttribute.d.ts +1 -0
  116. package/getCustomAttribute.d.ts.map +1 -0
  117. package/getCustomAttribute.js +25 -2
  118. package/getCustomAttribute.js.map +1 -1
  119. package/getDatacenter.d.ts +2 -1
  120. package/getDatacenter.d.ts.map +1 -0
  121. package/getDatacenter.js +25 -2
  122. package/getDatacenter.js.map +1 -1
  123. package/getDatastore.d.ts +3 -2
  124. package/getDatastore.d.ts.map +1 -0
  125. package/getDatastore.js +25 -2
  126. package/getDatastore.js.map +1 -1
  127. package/getDatastoreCluster.d.ts +2 -1
  128. package/getDatastoreCluster.d.ts.map +1 -0
  129. package/getDatastoreCluster.js +25 -2
  130. package/getDatastoreCluster.js.map +1 -1
  131. package/getDatastoreStats.d.ts +3 -2
  132. package/getDatastoreStats.d.ts.map +1 -0
  133. package/getDatastoreStats.js +25 -2
  134. package/getDatastoreStats.js.map +1 -1
  135. package/getDistributedVirtualSwitch.d.ts +2 -1
  136. package/getDistributedVirtualSwitch.d.ts.map +1 -0
  137. package/getDistributedVirtualSwitch.js +25 -2
  138. package/getDistributedVirtualSwitch.js.map +1 -1
  139. package/getDynamic.d.ts +3 -2
  140. package/getDynamic.d.ts.map +1 -0
  141. package/getDynamic.js +25 -2
  142. package/getDynamic.js.map +1 -1
  143. package/getFolder.d.ts +1 -0
  144. package/getFolder.d.ts.map +1 -0
  145. package/getFolder.js +25 -2
  146. package/getFolder.js.map +1 -1
  147. package/getGuestOsCustomization.d.ts +1 -0
  148. package/getGuestOsCustomization.d.ts.map +1 -0
  149. package/getGuestOsCustomization.js +25 -2
  150. package/getGuestOsCustomization.js.map +1 -1
  151. package/getHost.d.ts +2 -1
  152. package/getHost.d.ts.map +1 -0
  153. package/getHost.js +25 -2
  154. package/getHost.js.map +1 -1
  155. package/getHostBaseImages.d.ts +1 -0
  156. package/getHostBaseImages.d.ts.map +1 -0
  157. package/getHostBaseImages.js +25 -2
  158. package/getHostBaseImages.js.map +1 -1
  159. package/getHostPciDevice.d.ts +4 -3
  160. package/getHostPciDevice.d.ts.map +1 -0
  161. package/getHostPciDevice.js +25 -2
  162. package/getHostPciDevice.js.map +1 -1
  163. package/getHostThumbprint.d.ts +3 -2
  164. package/getHostThumbprint.d.ts.map +1 -0
  165. package/getHostThumbprint.js +25 -2
  166. package/getHostThumbprint.js.map +1 -1
  167. package/getHostVgpuProfile.d.ts +2 -1
  168. package/getHostVgpuProfile.d.ts.map +1 -0
  169. package/getHostVgpuProfile.js +25 -2
  170. package/getHostVgpuProfile.js.map +1 -1
  171. package/getLicense.d.ts +1 -0
  172. package/getLicense.d.ts.map +1 -0
  173. package/getLicense.js +25 -2
  174. package/getLicense.js.map +1 -1
  175. package/getNetwork.d.ts +7 -6
  176. package/getNetwork.d.ts.map +1 -0
  177. package/getNetwork.js +25 -2
  178. package/getNetwork.js.map +1 -1
  179. package/getOvfVmTemplate.d.ts +18 -17
  180. package/getOvfVmTemplate.d.ts.map +1 -0
  181. package/getOvfVmTemplate.js +31 -8
  182. package/getOvfVmTemplate.js.map +1 -1
  183. package/getPolicy.d.ts +1 -0
  184. package/getPolicy.d.ts.map +1 -0
  185. package/getPolicy.js +25 -2
  186. package/getPolicy.js.map +1 -1
  187. package/getResourcePool.d.ts +4 -3
  188. package/getResourcePool.d.ts.map +1 -0
  189. package/getResourcePool.js +25 -2
  190. package/getResourcePool.js.map +1 -1
  191. package/getRole.d.ts +4 -3
  192. package/getRole.d.ts.map +1 -0
  193. package/getRole.js +25 -2
  194. package/getRole.js.map +1 -1
  195. package/getTag.d.ts +1 -0
  196. package/getTag.d.ts.map +1 -0
  197. package/getTag.js +25 -2
  198. package/getTag.js.map +1 -1
  199. package/getTagCategory.d.ts +1 -0
  200. package/getTagCategory.d.ts.map +1 -0
  201. package/getTagCategory.js +25 -2
  202. package/getTagCategory.js.map +1 -1
  203. package/getVappContainer.d.ts +1 -0
  204. package/getVappContainer.d.ts.map +1 -0
  205. package/getVappContainer.js +25 -2
  206. package/getVappContainer.js.map +1 -1
  207. package/getVirtualMachine.d.ts +57 -56
  208. package/getVirtualMachine.d.ts.map +1 -0
  209. package/getVirtualMachine.js +25 -2
  210. package/getVirtualMachine.js.map +1 -1
  211. package/getVmfsDisks.d.ts +3 -2
  212. package/getVmfsDisks.d.ts.map +1 -0
  213. package/getVmfsDisks.js +25 -2
  214. package/getVmfsDisks.js.map +1 -1
  215. package/guestOsCustomization.d.ts +9 -8
  216. package/guestOsCustomization.d.ts.map +1 -0
  217. package/guestOsCustomization.js +27 -4
  218. package/guestOsCustomization.js.map +1 -1
  219. package/haVmOverride.d.ts +29 -28
  220. package/haVmOverride.d.ts.map +1 -0
  221. package/haVmOverride.js +27 -4
  222. package/haVmOverride.js.map +1 -1
  223. package/host.d.ts +28 -27
  224. package/host.d.ts.map +1 -0
  225. package/host.js +27 -4
  226. package/host.js.map +1 -1
  227. package/hostPortGroup.d.ts +36 -35
  228. package/hostPortGroup.d.ts.map +1 -0
  229. package/hostPortGroup.js +27 -4
  230. package/hostPortGroup.js.map +1 -1
  231. package/hostVirtualSwitch.d.ts +40 -39
  232. package/hostVirtualSwitch.d.ts.map +1 -0
  233. package/hostVirtualSwitch.js +27 -4
  234. package/hostVirtualSwitch.js.map +1 -1
  235. package/index.d.ts +1 -0
  236. package/index.d.ts.map +1 -0
  237. package/index.js +16 -4
  238. package/index.js.map +1 -1
  239. package/license.d.ts +8 -7
  240. package/license.d.ts.map +1 -0
  241. package/license.js +27 -4
  242. package/license.js.map +1 -1
  243. package/nasDatastore.d.ts +28 -27
  244. package/nasDatastore.d.ts.map +1 -0
  245. package/nasDatastore.js +27 -4
  246. package/nasDatastore.js.map +1 -1
  247. package/offlineSoftwareDepot.d.ts +3 -2
  248. package/offlineSoftwareDepot.d.ts.map +1 -0
  249. package/offlineSoftwareDepot.js +27 -4
  250. package/offlineSoftwareDepot.js.map +1 -1
  251. package/package.json +3 -3
  252. package/provider.d.ts +14 -13
  253. package/provider.d.ts.map +1 -0
  254. package/provider.js +27 -4
  255. package/provider.js.map +1 -1
  256. package/resourcePool.d.ts +30 -29
  257. package/resourcePool.d.ts.map +1 -0
  258. package/resourcePool.js +27 -4
  259. package/resourcePool.js.map +1 -1
  260. package/role.d.ts +6 -5
  261. package/role.d.ts.map +1 -0
  262. package/role.js +27 -4
  263. package/role.js.map +1 -1
  264. package/storageDrsVmOverride.d.ts +9 -8
  265. package/storageDrsVmOverride.d.ts.map +1 -0
  266. package/storageDrsVmOverride.js +27 -4
  267. package/storageDrsVmOverride.js.map +1 -1
  268. package/supervisor.d.ts +19 -18
  269. package/supervisor.d.ts.map +1 -0
  270. package/supervisor.js +27 -4
  271. package/supervisor.js.map +1 -1
  272. package/tag.d.ts +6 -5
  273. package/tag.d.ts.map +1 -0
  274. package/tag.js +27 -4
  275. package/tag.js.map +1 -1
  276. package/tagCategory.d.ts +7 -6
  277. package/tagCategory.d.ts.map +1 -0
  278. package/tagCategory.js +27 -4
  279. package/tagCategory.js.map +1 -1
  280. package/types/index.d.ts +1 -0
  281. package/types/index.d.ts.map +1 -0
  282. package/types/index.js +25 -2
  283. package/types/index.js.map +1 -1
  284. package/types/input.d.ts +160 -159
  285. package/types/input.d.ts.map +1 -0
  286. package/types/output.d.ts +1 -0
  287. package/types/output.d.ts.map +1 -0
  288. package/utilities.d.ts +1 -0
  289. package/utilities.d.ts.map +1 -0
  290. package/utilities.js +24 -1
  291. package/utilities.js.map +1 -1
  292. package/vappContainer.d.ts +30 -29
  293. package/vappContainer.d.ts.map +1 -0
  294. package/vappContainer.js +27 -4
  295. package/vappContainer.js.map +1 -1
  296. package/vappEntity.d.ts +19 -18
  297. package/vappEntity.d.ts.map +1 -0
  298. package/vappEntity.js +27 -4
  299. package/vappEntity.js.map +1 -1
  300. package/virtualDisk.d.ts +12 -11
  301. package/virtualDisk.d.ts.map +1 -0
  302. package/virtualDisk.js +27 -4
  303. package/virtualDisk.js.map +1 -1
  304. package/virtualMachine.d.ts +171 -170
  305. package/virtualMachine.d.ts.map +1 -0
  306. package/virtualMachine.js +33 -10
  307. package/virtualMachine.js.map +1 -1
  308. package/virtualMachineClass.d.ts +11 -10
  309. package/virtualMachineClass.d.ts.map +1 -0
  310. package/virtualMachineClass.js +27 -4
  311. package/virtualMachineClass.js.map +1 -1
  312. package/virtualMachineSnapshot.d.ts +10 -9
  313. package/virtualMachineSnapshot.d.ts.map +1 -0
  314. package/virtualMachineSnapshot.js +27 -4
  315. package/virtualMachineSnapshot.js.map +1 -1
  316. package/vmStoragePolicy.d.ts +6 -5
  317. package/vmStoragePolicy.d.ts.map +1 -0
  318. package/vmStoragePolicy.js +27 -4
  319. package/vmStoragePolicy.js.map +1 -1
  320. package/vmfsDatastore.d.ts +20 -19
  321. package/vmfsDatastore.d.ts.map +1 -0
  322. package/vmfsDatastore.js +27 -4
  323. package/vmfsDatastore.js.map +1 -1
  324. package/vnic.d.ts +20 -19
  325. package/vnic.d.ts.map +1 -0
  326. package/vnic.js +27 -4
  327. package/vnic.js.map +1 -1
@@ -212,7 +212,7 @@ import * as outputs from "./types/output";
212
212
  * datacenterId: datacenter.id,
213
213
  * }));
214
214
  * const _default = Promise.all([cluster, datacenter]).then(([cluster, datacenter]) => vsphere.getResourcePool({
215
- * name: std.index.format({
215
+ * name: std.format({
216
216
  * input: "%s%s",
217
217
  * args: [
218
218
  * cluster.name,
@@ -233,7 +233,7 @@ import * as outputs from "./types/output";
233
233
  * const vmFromRemoteOvf = new vsphere.VirtualMachine("vmFromRemoteOvf", {
234
234
  * name: "remote-foo",
235
235
  * datacenterId: datacenter.then(datacenter => datacenter.id),
236
- * datastoreId: datastore.then(datastore => datastore.i),
236
+ * datastoreId: output(datastore.then(datastore => datastore.i)).apply(x =>String(x)),
237
237
  * resourcePoolId: _default.then(_default => _default.id),
238
238
  * waitForGuestNetTimeout: 0,
239
239
  * waitForGuestIpTimeout: 0,
@@ -320,7 +320,7 @@ import * as outputs from "./types/output";
320
320
  * datacenterId: datacenter.id,
321
321
  * }));
322
322
  * const _default = Promise.all([cluster, datacenter]).then(([cluster, datacenter]) => vsphere.getResourcePool({
323
- * name: std.index.format({
323
+ * name: std.format({
324
324
  * input: "%s%s",
325
325
  * args: [
326
326
  * cluster.name,
@@ -389,7 +389,7 @@ import * as outputs from "./types/output";
389
389
  * "instance-id": remoteOvfUuid,
390
390
  * "public-keys": remoteOvfPublicKeys,
391
391
  * password: remoteOvfPassword,
392
- * "user-data": std.index.base64encode({
392
+ * "user-data": std.base64encode({
393
393
  * input: remoteOvfUserData,
394
394
  * }).result,
395
395
  * },
@@ -427,7 +427,7 @@ import * as outputs from "./types/output";
427
427
  * "instance-id": localOvfUuid,
428
428
  * "public-keys": localOvfPublicKeys,
429
429
  * password: localOvfPassword,
430
- * "user-data": std.index.base64encode({
430
+ * "user-data": std.base64encode({
431
431
  * input: localOvfUserData,
432
432
  * }).result,
433
433
  * },
@@ -458,7 +458,7 @@ import * as outputs from "./types/output";
458
458
  * datacenterId: datacenter.id,
459
459
  * }));
460
460
  * const _default = Promise.all([cluster, datacenter]).then(([cluster, datacenter]) => vsphere.getResourcePool({
461
- * name: std.index.format({
461
+ * name: std.format({
462
462
  * input: "%s%s",
463
463
  * args: [
464
464
  * cluster.name,
@@ -1464,359 +1464,359 @@ export interface VirtualMachineState {
1464
1464
  /**
1465
1465
  * The guest name for the operating system when guestId is otherGuest or otherGuest64.
1466
1466
  */
1467
- alternateGuestName?: pulumi.Input<string>;
1467
+ alternateGuestName?: pulumi.Input<string | undefined>;
1468
1468
  /**
1469
1469
  * User-provided description of the virtual machine.
1470
1470
  */
1471
- annotation?: pulumi.Input<string>;
1471
+ annotation?: pulumi.Input<string | undefined>;
1472
1472
  /**
1473
1473
  * The number of milliseconds to wait before starting the boot sequence.
1474
1474
  */
1475
- bootDelay?: pulumi.Input<number>;
1475
+ bootDelay?: pulumi.Input<number | undefined>;
1476
1476
  /**
1477
1477
  * The number of milliseconds to wait before retrying the boot sequence. This only valid if bootRetryEnabled is true.
1478
1478
  */
1479
- bootRetryDelay?: pulumi.Input<number>;
1479
+ bootRetryDelay?: pulumi.Input<number | undefined>;
1480
1480
  /**
1481
1481
  * If set to true, a virtual machine that fails to boot will try again after the delay defined in boot_retry_delay.
1482
1482
  */
1483
- bootRetryEnabled?: pulumi.Input<boolean>;
1483
+ bootRetryEnabled?: pulumi.Input<boolean | undefined>;
1484
1484
  /**
1485
1485
  * A specification for a CDROM device on this virtual machine.
1486
1486
  */
1487
- cdroms?: pulumi.Input<pulumi.Input<inputs.VirtualMachineCdrom>[]>;
1487
+ cdroms?: pulumi.Input<pulumi.Input<inputs.VirtualMachineCdrom>[] | undefined>;
1488
1488
  /**
1489
1489
  * A unique identifier for a given version of the last configuration was applied.
1490
1490
  */
1491
- changeVersion?: pulumi.Input<string>;
1491
+ changeVersion?: pulumi.Input<string | undefined>;
1492
1492
  /**
1493
1493
  * A specification for cloning a virtual machine from template.
1494
1494
  */
1495
- clone?: pulumi.Input<inputs.VirtualMachineClone>;
1495
+ clone?: pulumi.Input<inputs.VirtualMachineClone | undefined>;
1496
1496
  /**
1497
1497
  * Allow CPUs to be added to this virtual machine while it is running.
1498
1498
  */
1499
- cpuHotAddEnabled?: pulumi.Input<boolean>;
1499
+ cpuHotAddEnabled?: pulumi.Input<boolean | undefined>;
1500
1500
  /**
1501
1501
  * Allow CPUs to be added to this virtual machine while it is running.
1502
1502
  */
1503
- cpuHotRemoveEnabled?: pulumi.Input<boolean>;
1503
+ cpuHotRemoveEnabled?: pulumi.Input<boolean | undefined>;
1504
1504
  /**
1505
1505
  * The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available resources.
1506
1506
  */
1507
- cpuLimit?: pulumi.Input<number>;
1507
+ cpuLimit?: pulumi.Input<number | undefined>;
1508
1508
  /**
1509
1509
  * Enable CPU performance counters on this virtual machine.
1510
1510
  */
1511
- cpuPerformanceCountersEnabled?: pulumi.Input<boolean>;
1511
+ cpuPerformanceCountersEnabled?: pulumi.Input<boolean | undefined>;
1512
1512
  /**
1513
1513
  * The amount of memory (in MB) or CPU (in MHz) that this virtual machine is guaranteed.
1514
1514
  */
1515
- cpuReservation?: pulumi.Input<number>;
1515
+ cpuReservation?: pulumi.Input<number | undefined>;
1516
1516
  /**
1517
1517
  * The amount of shares to allocate to cpu for a custom share level.
1518
1518
  */
1519
- cpuShareCount?: pulumi.Input<number>;
1519
+ cpuShareCount?: pulumi.Input<number | undefined>;
1520
1520
  /**
1521
1521
  * The allocation level for cpu resources. Can be one of high, low, normal, or custom.
1522
1522
  */
1523
- cpuShareLevel?: pulumi.Input<string>;
1523
+ cpuShareLevel?: pulumi.Input<string | undefined>;
1524
1524
  /**
1525
1525
  * A list of custom attributes to set on this resource.
1526
1526
  */
1527
1527
  customAttributes?: pulumi.Input<{
1528
1528
  [key: string]: pulumi.Input<string>;
1529
- }>;
1529
+ } | undefined>;
1530
1530
  /**
1531
1531
  * The ID of the datacenter where the VM is to be created.
1532
1532
  */
1533
- datacenterId?: pulumi.Input<string>;
1533
+ datacenterId?: pulumi.Input<string | undefined>;
1534
1534
  /**
1535
1535
  * The ID of a datastore cluster to put the virtual machine in.
1536
1536
  */
1537
- datastoreClusterId?: pulumi.Input<string>;
1537
+ datastoreClusterId?: pulumi.Input<string | undefined>;
1538
1538
  /**
1539
1539
  * The ID of the virtual machine's datastore. The virtual machine configuration is placed here, along with any virtual disks that are created without datastores.
1540
1540
  */
1541
- datastoreId?: pulumi.Input<string>;
1541
+ datastoreId?: pulumi.Input<string | undefined>;
1542
1542
  /**
1543
1543
  * The IP address selected by Terraform to be used with any provisioners configured on this resource. When possible, this is the first IPv4 address that is reachable through the default gateway configured on the machine, then the first reachable IPv6 address, and then the first general discovered address if neither exists. If VMware Tools is not running on the virtual machine, or if the virtual machine is powered off, this value will be blank.
1544
1544
  */
1545
- defaultIpAddress?: pulumi.Input<string>;
1545
+ defaultIpAddress?: pulumi.Input<string | undefined>;
1546
1546
  /**
1547
1547
  * A specification for a virtual disk device on this virtual machine.
1548
1548
  */
1549
- disks?: pulumi.Input<pulumi.Input<inputs.VirtualMachineDisk>[]>;
1549
+ disks?: pulumi.Input<pulumi.Input<inputs.VirtualMachineDisk>[] | undefined>;
1550
1550
  /**
1551
1551
  * When the boot type set in firmware is efi, this enables EFI secure boot.
1552
1552
  */
1553
- efiSecureBootEnabled?: pulumi.Input<boolean>;
1553
+ efiSecureBootEnabled?: pulumi.Input<boolean | undefined>;
1554
1554
  /**
1555
1555
  * Expose the UUIDs of attached virtual disks to the virtual machine, allowing access to them in the guest.
1556
1556
  */
1557
- enableDiskUuid?: pulumi.Input<boolean>;
1557
+ enableDiskUuid?: pulumi.Input<boolean | undefined>;
1558
1558
  /**
1559
1559
  * Enable logging on this virtual machine.
1560
1560
  */
1561
- enableLogging?: pulumi.Input<boolean>;
1561
+ enableLogging?: pulumi.Input<boolean | undefined>;
1562
1562
  /**
1563
1563
  * The EPT/RVI (hardware memory virtualization) setting for this virtual machine. Can be one of automatic, on, or off.
1564
1564
  */
1565
- eptRviMode?: pulumi.Input<string>;
1565
+ eptRviMode?: pulumi.Input<string | undefined>;
1566
1566
  /**
1567
1567
  * Extra configuration data for this virtual machine. Can be used to supply advanced parameters not normally in configuration, such as instance metadata, or configuration data for OVF images.
1568
1568
  */
1569
1569
  extraConfig?: pulumi.Input<{
1570
1570
  [key: string]: pulumi.Input<string>;
1571
- }>;
1571
+ } | undefined>;
1572
1572
  /**
1573
1573
  * Allow the virtual machine to be rebooted when a change to `extraConfig` occurs.
1574
1574
  */
1575
- extraConfigRebootRequired?: pulumi.Input<boolean>;
1575
+ extraConfigRebootRequired?: pulumi.Input<boolean | undefined>;
1576
1576
  /**
1577
1577
  * The firmware interface to use on the virtual machine. Can be one of bios or efi.
1578
1578
  */
1579
- firmware?: pulumi.Input<string>;
1579
+ firmware?: pulumi.Input<string | undefined>;
1580
1580
  /**
1581
1581
  * The name of the folder to locate the virtual machine in.
1582
1582
  */
1583
- folder?: pulumi.Input<string>;
1583
+ folder?: pulumi.Input<string | undefined>;
1584
1584
  /**
1585
1585
  * Set to true to force power-off a virtual machine if a graceful guest shutdown failed for a necessary operation.
1586
1586
  */
1587
- forcePowerOff?: pulumi.Input<boolean>;
1587
+ forcePowerOff?: pulumi.Input<boolean | undefined>;
1588
1588
  /**
1589
1589
  * The guest ID for the operating system.
1590
1590
  */
1591
- guestId?: pulumi.Input<string>;
1591
+ guestId?: pulumi.Input<string | undefined>;
1592
1592
  /**
1593
1593
  * The current list of IP addresses on this machine, including the value of `defaultIpAddress`. If VMware Tools is not running on the virtual machine, or if the virtual machine is powered off, this list will be empty.
1594
1594
  */
1595
- guestIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
1595
+ guestIpAddresses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1596
1596
  /**
1597
1597
  * The hardware version for the virtual machine. Allows versions within ranges: 4, 7-11, 13-15, 17-22.
1598
1598
  */
1599
- hardwareVersion?: pulumi.Input<number>;
1599
+ hardwareVersion?: pulumi.Input<number | undefined>;
1600
1600
  /**
1601
1601
  * The ID of an optional host system to pin the virtual machine to.
1602
1602
  */
1603
- hostSystemId?: pulumi.Input<string>;
1603
+ hostSystemId?: pulumi.Input<string | undefined>;
1604
1604
  /**
1605
1605
  * The (non-nested) hardware virtualization setting for this virtual machine. Can be one of hvAuto, hvOn, or hvOff.
1606
1606
  */
1607
- hvMode?: pulumi.Input<string>;
1607
+ hvMode?: pulumi.Input<string | undefined>;
1608
1608
  /**
1609
1609
  * The number of IDE controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
1610
1610
  */
1611
- ideControllerCount?: pulumi.Input<number>;
1611
+ ideControllerCount?: pulumi.Input<number | undefined>;
1612
1612
  /**
1613
1613
  * List of IP addresses and CIDR networks to ignore while waiting for an IP
1614
1614
  */
1615
- ignoredGuestIps?: pulumi.Input<pulumi.Input<string>[]>;
1615
+ ignoredGuestIps?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1616
1616
  /**
1617
1617
  * Indicates if the virtual machine resource has been imported, or if the state has been migrated from a previous version of the resource. It influences the behavior of the first post-import apply operation. See the section on importing below.
1618
1618
  */
1619
- imported?: pulumi.Input<boolean>;
1619
+ imported?: pulumi.Input<boolean | undefined>;
1620
1620
  /**
1621
1621
  * Controls the scheduling delay of the virtual machine. Use a higher sensitivity for applications that require lower latency, such as VOIP, media player applications, or applications that require frequent access to mouse or keyboard devices. Can be one of low, normal, medium, or high.
1622
1622
  */
1623
- latencySensitivity?: pulumi.Input<string>;
1623
+ latencySensitivity?: pulumi.Input<string | undefined>;
1624
1624
  /**
1625
1625
  * The size of the virtual machine's memory, in MB.
1626
1626
  */
1627
- memory?: pulumi.Input<number>;
1627
+ memory?: pulumi.Input<number | undefined>;
1628
1628
  /**
1629
1629
  * Allow memory to be added to this virtual machine while it is running.
1630
1630
  */
1631
- memoryHotAddEnabled?: pulumi.Input<boolean>;
1631
+ memoryHotAddEnabled?: pulumi.Input<boolean | undefined>;
1632
1632
  /**
1633
1633
  * The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available resources.
1634
1634
  */
1635
- memoryLimit?: pulumi.Input<number>;
1635
+ memoryLimit?: pulumi.Input<number | undefined>;
1636
1636
  /**
1637
1637
  * The amount of memory (in MB) or CPU (in MHz) that this virtual machine is guaranteed.
1638
1638
  */
1639
- memoryReservation?: pulumi.Input<number>;
1639
+ memoryReservation?: pulumi.Input<number | undefined>;
1640
1640
  /**
1641
1641
  * If set true, memory resource reservation for this virtual machine will always be equal to the virtual machine's memory size;increases in memory size will be rejected when a corresponding reservation increase is not possible. This feature may only be enabled if it is currently possible to reserve all of the virtual machine's memory.
1642
1642
  */
1643
- memoryReservationLockedToMax?: pulumi.Input<boolean>;
1643
+ memoryReservationLockedToMax?: pulumi.Input<boolean | undefined>;
1644
1644
  /**
1645
1645
  * The amount of shares to allocate to memory for a custom share level.
1646
1646
  */
1647
- memoryShareCount?: pulumi.Input<number>;
1647
+ memoryShareCount?: pulumi.Input<number | undefined>;
1648
1648
  /**
1649
1649
  * The allocation level for memory resources. Can be one of high, low, normal, or custom.
1650
1650
  */
1651
- memoryShareLevel?: pulumi.Input<string>;
1651
+ memoryShareLevel?: pulumi.Input<string | undefined>;
1652
1652
  /**
1653
1653
  * The amount of time, in minutes, to wait for a vMotion operation to complete before failing.
1654
1654
  */
1655
- migrateWaitTimeout?: pulumi.Input<number>;
1655
+ migrateWaitTimeout?: pulumi.Input<number | undefined>;
1656
1656
  /**
1657
1657
  * The [managed object reference ID][docs-about-morefs] of the created virtual machine.
1658
1658
  */
1659
- moid?: pulumi.Input<string>;
1659
+ moid?: pulumi.Input<string | undefined>;
1660
1660
  /**
1661
1661
  * The name of this virtual machine.
1662
1662
  */
1663
- name?: pulumi.Input<string>;
1663
+ name?: pulumi.Input<string | undefined>;
1664
1664
  /**
1665
1665
  * Enable nested hardware virtualization on this virtual machine, facilitating nested virtualization in the guest.
1666
1666
  */
1667
- nestedHvEnabled?: pulumi.Input<boolean>;
1667
+ nestedHvEnabled?: pulumi.Input<boolean | undefined>;
1668
1668
  /**
1669
1669
  * A specification for a virtual NIC on this virtual machine.
1670
1670
  */
1671
- networkInterfaces?: pulumi.Input<pulumi.Input<inputs.VirtualMachineNetworkInterface>[]>;
1671
+ networkInterfaces?: pulumi.Input<pulumi.Input<inputs.VirtualMachineNetworkInterface>[] | undefined>;
1672
1672
  /**
1673
1673
  * The number of cores to distribute amongst the CPUs in this virtual machine. If specified, the value supplied to numCpus must be evenly divisible by this value.
1674
1674
  */
1675
- numCoresPerSocket?: pulumi.Input<number>;
1675
+ numCoresPerSocket?: pulumi.Input<number | undefined>;
1676
1676
  /**
1677
1677
  * The number of virtual processors to assign to this virtual machine.
1678
1678
  */
1679
- numCpus?: pulumi.Input<number>;
1679
+ numCpus?: pulumi.Input<number | undefined>;
1680
1680
  /**
1681
1681
  * The number of NVMe controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
1682
1682
  */
1683
- nvmeControllerCount?: pulumi.Input<number>;
1683
+ nvmeControllerCount?: pulumi.Input<number | undefined>;
1684
1684
  /**
1685
1685
  * A specification for deploying a virtual machine from ovf/ova template.
1686
1686
  */
1687
- ovfDeploy?: pulumi.Input<inputs.VirtualMachineOvfDeploy>;
1687
+ ovfDeploy?: pulumi.Input<inputs.VirtualMachineOvfDeploy | undefined>;
1688
1688
  /**
1689
1689
  * A list of PCI passthrough devices
1690
1690
  */
1691
- pciDeviceIds?: pulumi.Input<pulumi.Input<string>[]>;
1691
+ pciDeviceIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1692
1692
  /**
1693
1693
  * A computed value for the current power state of the virtual machine. One of `on`, `off`, or `suspended`.
1694
1694
  */
1695
- powerState?: pulumi.Input<string>;
1695
+ powerState?: pulumi.Input<string | undefined>;
1696
1696
  /**
1697
1697
  * The amount of time, in seconds, that we will be trying to power on a VM
1698
1698
  */
1699
- poweronTimeout?: pulumi.Input<number>;
1699
+ poweronTimeout?: pulumi.Input<number | undefined>;
1700
1700
  /**
1701
1701
  * Value internal to Terraform used to determine if a configuration set change requires a reboot. This value is most useful during an update process and gets reset on refresh.
1702
1702
  */
1703
- rebootRequired?: pulumi.Input<boolean>;
1703
+ rebootRequired?: pulumi.Input<boolean | undefined>;
1704
1704
  /**
1705
1705
  * Triggers replacement of resource whenever it changes.
1706
1706
  */
1707
- replaceTrigger?: pulumi.Input<string>;
1707
+ replaceTrigger?: pulumi.Input<string | undefined>;
1708
1708
  /**
1709
1709
  * The ID of a resource pool to put the virtual machine in.
1710
1710
  */
1711
- resourcePoolId?: pulumi.Input<string>;
1711
+ resourcePoolId?: pulumi.Input<string | undefined>;
1712
1712
  /**
1713
1713
  * Enable the run of scripts after virtual machine power-on when VMware Tools is installed.
1714
1714
  */
1715
- runToolsScriptsAfterPowerOn?: pulumi.Input<boolean>;
1715
+ runToolsScriptsAfterPowerOn?: pulumi.Input<boolean | undefined>;
1716
1716
  /**
1717
1717
  * Enable the run of scripts after virtual machine resume when when VMware Tools is installed.
1718
1718
  */
1719
- runToolsScriptsAfterResume?: pulumi.Input<boolean>;
1719
+ runToolsScriptsAfterResume?: pulumi.Input<boolean | undefined>;
1720
1720
  /**
1721
1721
  * Enable the run of scripts before guest operating system reboot when VMware Tools is installed.
1722
1722
  */
1723
- runToolsScriptsBeforeGuestReboot?: pulumi.Input<boolean>;
1723
+ runToolsScriptsBeforeGuestReboot?: pulumi.Input<boolean | undefined>;
1724
1724
  /**
1725
1725
  * Enable the run of scripts before guest operating system shutdown when VMware Tools is installed.
1726
1726
  */
1727
- runToolsScriptsBeforeGuestShutdown?: pulumi.Input<boolean>;
1727
+ runToolsScriptsBeforeGuestShutdown?: pulumi.Input<boolean | undefined>;
1728
1728
  /**
1729
1729
  * Enable the run of scripts before guest operating system standby when VMware Tools is installed.
1730
1730
  */
1731
- runToolsScriptsBeforeGuestStandby?: pulumi.Input<boolean>;
1731
+ runToolsScriptsBeforeGuestStandby?: pulumi.Input<boolean | undefined>;
1732
1732
  /**
1733
1733
  * The number of SATA controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
1734
1734
  */
1735
- sataControllerCount?: pulumi.Input<number>;
1735
+ sataControllerCount?: pulumi.Input<number | undefined>;
1736
1736
  /**
1737
1737
  * Mode for sharing the SCSI bus. The modes are physicalSharing, virtualSharing, and noSharing.
1738
1738
  */
1739
- scsiBusSharing?: pulumi.Input<string>;
1739
+ scsiBusSharing?: pulumi.Input<string | undefined>;
1740
1740
  /**
1741
1741
  * The number of SCSI controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
1742
1742
  */
1743
- scsiControllerCount?: pulumi.Input<number>;
1743
+ scsiControllerCount?: pulumi.Input<number | undefined>;
1744
1744
  /**
1745
1745
  * The type of SCSI bus this virtual machine will have. Can be one of lsilogic, lsilogic-sas or pvscsi.
1746
1746
  */
1747
- scsiType?: pulumi.Input<string>;
1747
+ scsiType?: pulumi.Input<string | undefined>;
1748
1748
  /**
1749
1749
  * The amount of time, in minutes, to wait for shutdown when making necessary updates to the virtual machine.
1750
1750
  */
1751
- shutdownWaitTimeout?: pulumi.Input<number>;
1751
+ shutdownWaitTimeout?: pulumi.Input<number | undefined>;
1752
1752
  /**
1753
1753
  * The ID of the storage policy to assign to the virtual machine home directory.
1754
1754
  */
1755
- storagePolicyId?: pulumi.Input<string>;
1755
+ storagePolicyId?: pulumi.Input<string | undefined>;
1756
1756
  /**
1757
1757
  * The swap file placement policy for this virtual machine. Can be one of inherit, hostLocal, or vmDirectory.
1758
1758
  */
1759
- swapPlacementPolicy?: pulumi.Input<string>;
1759
+ swapPlacementPolicy?: pulumi.Input<string | undefined>;
1760
1760
  /**
1761
1761
  * Enable guest clock synchronization with the host. On vSphere 7.0 U1 and above, with only this setting the clock is synchronized on startup and resume. Requires VMware Tools to be installed.
1762
1762
  */
1763
- syncTimeWithHost?: pulumi.Input<boolean>;
1763
+ syncTimeWithHost?: pulumi.Input<boolean | undefined>;
1764
1764
  /**
1765
1765
  * Enable periodic clock synchronization with the host. Supported only on vSphere 7.0 U1 and above. On prior versions setting `syncTimeWithHost` is enough for periodic synchronization. Requires VMware Tools to be installed.
1766
1766
  */
1767
- syncTimeWithHostPeriodically?: pulumi.Input<boolean>;
1767
+ syncTimeWithHostPeriodically?: pulumi.Input<boolean | undefined>;
1768
1768
  /**
1769
1769
  * A list of tag IDs to apply to this object.
1770
1770
  */
1771
- tags?: pulumi.Input<pulumi.Input<string>[]>;
1771
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1772
1772
  /**
1773
1773
  * Set the upgrade policy for VMware Tools. Can be one of `manual` or `upgradeAtPowerCycle`.
1774
1774
  */
1775
- toolsUpgradePolicy?: pulumi.Input<string>;
1775
+ toolsUpgradePolicy?: pulumi.Input<string | undefined>;
1776
1776
  /**
1777
1777
  * The UUID of the virtual machine. Also exposed as the `id` of the resource.
1778
1778
  */
1779
- uuid?: pulumi.Input<string>;
1779
+ uuid?: pulumi.Input<string | undefined>;
1780
1780
  /**
1781
1781
  * vApp configuration data for this virtual machine. Can be used to provide configuration data for OVF images.
1782
1782
  */
1783
- vapp?: pulumi.Input<inputs.VirtualMachineVapp>;
1783
+ vapp?: pulumi.Input<inputs.VirtualMachineVapp | undefined>;
1784
1784
  /**
1785
1785
  * Computed value which is only valid for cloned virtual machines. A list of vApp transport methods supported by the source virtual machine or template.
1786
1786
  */
1787
- vappTransports?: pulumi.Input<pulumi.Input<string>[]>;
1787
+ vappTransports?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1788
1788
  /**
1789
1789
  * Flag to specify if Virtualization-based security is enabled for this virtual machine.
1790
1790
  */
1791
- vbsEnabled?: pulumi.Input<boolean>;
1791
+ vbsEnabled?: pulumi.Input<boolean | undefined>;
1792
1792
  /**
1793
1793
  * The state of VMware Tools in the guest. This will determine the proper course of action for some device operations.
1794
1794
  */
1795
- vmwareToolsStatus?: pulumi.Input<string>;
1795
+ vmwareToolsStatus?: pulumi.Input<string | undefined>;
1796
1796
  /**
1797
1797
  * The path of the virtual machine configuration file on the datastore in which the virtual machine is placed.
1798
1798
  */
1799
- vmxPath?: pulumi.Input<string>;
1799
+ vmxPath?: pulumi.Input<string | undefined>;
1800
1800
  /**
1801
1801
  * A specification for a virtual Trusted Platform Module (TPM) device on the virtual machine.
1802
1802
  */
1803
- vtpm?: pulumi.Input<inputs.VirtualMachineVtpm>;
1803
+ vtpm?: pulumi.Input<inputs.VirtualMachineVtpm | undefined>;
1804
1804
  /**
1805
1805
  * Flag to specify if I/O MMU virtualization, also called Intel Virtualization Technology for Directed I/O (VT-d) and AMD I/O Virtualization (AMD-Vi or IOMMU), is enabled.
1806
1806
  */
1807
- vvtdEnabled?: pulumi.Input<boolean>;
1807
+ vvtdEnabled?: pulumi.Input<boolean | undefined>;
1808
1808
  /**
1809
1809
  * The amount of time, in minutes, to wait for an available IP address on this virtual machine. A value less than 1 disables the waiter.
1810
1810
  */
1811
- waitForGuestIpTimeout?: pulumi.Input<number>;
1811
+ waitForGuestIpTimeout?: pulumi.Input<number | undefined>;
1812
1812
  /**
1813
1813
  * Controls whether or not the guest network waiter waits for a routable address. When false, the waiter does not wait for a default gateway, nor are IP addresses checked against any discovered default gateways as part of its success criteria.
1814
1814
  */
1815
- waitForGuestNetRoutable?: pulumi.Input<boolean>;
1815
+ waitForGuestNetRoutable?: pulumi.Input<boolean | undefined>;
1816
1816
  /**
1817
1817
  * The amount of time, in minutes, to wait for an available IP address on this virtual machine. A value less than 1 disables the waiter.
1818
1818
  */
1819
- waitForGuestNetTimeout?: pulumi.Input<number>;
1819
+ waitForGuestNetTimeout?: pulumi.Input<number | undefined>;
1820
1820
  }
1821
1821
  /**
1822
1822
  * The set of arguments for constructing a VirtualMachine resource.
@@ -1825,219 +1825,219 @@ export interface VirtualMachineArgs {
1825
1825
  /**
1826
1826
  * The guest name for the operating system when guestId is otherGuest or otherGuest64.
1827
1827
  */
1828
- alternateGuestName?: pulumi.Input<string>;
1828
+ alternateGuestName?: pulumi.Input<string | undefined>;
1829
1829
  /**
1830
1830
  * User-provided description of the virtual machine.
1831
1831
  */
1832
- annotation?: pulumi.Input<string>;
1832
+ annotation?: pulumi.Input<string | undefined>;
1833
1833
  /**
1834
1834
  * The number of milliseconds to wait before starting the boot sequence.
1835
1835
  */
1836
- bootDelay?: pulumi.Input<number>;
1836
+ bootDelay?: pulumi.Input<number | undefined>;
1837
1837
  /**
1838
1838
  * The number of milliseconds to wait before retrying the boot sequence. This only valid if bootRetryEnabled is true.
1839
1839
  */
1840
- bootRetryDelay?: pulumi.Input<number>;
1840
+ bootRetryDelay?: pulumi.Input<number | undefined>;
1841
1841
  /**
1842
1842
  * If set to true, a virtual machine that fails to boot will try again after the delay defined in boot_retry_delay.
1843
1843
  */
1844
- bootRetryEnabled?: pulumi.Input<boolean>;
1844
+ bootRetryEnabled?: pulumi.Input<boolean | undefined>;
1845
1845
  /**
1846
1846
  * A specification for a CDROM device on this virtual machine.
1847
1847
  */
1848
- cdroms?: pulumi.Input<pulumi.Input<inputs.VirtualMachineCdrom>[]>;
1848
+ cdroms?: pulumi.Input<pulumi.Input<inputs.VirtualMachineCdrom>[] | undefined>;
1849
1849
  /**
1850
1850
  * A specification for cloning a virtual machine from template.
1851
1851
  */
1852
- clone?: pulumi.Input<inputs.VirtualMachineClone>;
1852
+ clone?: pulumi.Input<inputs.VirtualMachineClone | undefined>;
1853
1853
  /**
1854
1854
  * Allow CPUs to be added to this virtual machine while it is running.
1855
1855
  */
1856
- cpuHotAddEnabled?: pulumi.Input<boolean>;
1856
+ cpuHotAddEnabled?: pulumi.Input<boolean | undefined>;
1857
1857
  /**
1858
1858
  * Allow CPUs to be added to this virtual machine while it is running.
1859
1859
  */
1860
- cpuHotRemoveEnabled?: pulumi.Input<boolean>;
1860
+ cpuHotRemoveEnabled?: pulumi.Input<boolean | undefined>;
1861
1861
  /**
1862
1862
  * The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available resources.
1863
1863
  */
1864
- cpuLimit?: pulumi.Input<number>;
1864
+ cpuLimit?: pulumi.Input<number | undefined>;
1865
1865
  /**
1866
1866
  * Enable CPU performance counters on this virtual machine.
1867
1867
  */
1868
- cpuPerformanceCountersEnabled?: pulumi.Input<boolean>;
1868
+ cpuPerformanceCountersEnabled?: pulumi.Input<boolean | undefined>;
1869
1869
  /**
1870
1870
  * The amount of memory (in MB) or CPU (in MHz) that this virtual machine is guaranteed.
1871
1871
  */
1872
- cpuReservation?: pulumi.Input<number>;
1872
+ cpuReservation?: pulumi.Input<number | undefined>;
1873
1873
  /**
1874
1874
  * The amount of shares to allocate to cpu for a custom share level.
1875
1875
  */
1876
- cpuShareCount?: pulumi.Input<number>;
1876
+ cpuShareCount?: pulumi.Input<number | undefined>;
1877
1877
  /**
1878
1878
  * The allocation level for cpu resources. Can be one of high, low, normal, or custom.
1879
1879
  */
1880
- cpuShareLevel?: pulumi.Input<string>;
1880
+ cpuShareLevel?: pulumi.Input<string | undefined>;
1881
1881
  /**
1882
1882
  * A list of custom attributes to set on this resource.
1883
1883
  */
1884
1884
  customAttributes?: pulumi.Input<{
1885
1885
  [key: string]: pulumi.Input<string>;
1886
- }>;
1886
+ } | undefined>;
1887
1887
  /**
1888
1888
  * The ID of the datacenter where the VM is to be created.
1889
1889
  */
1890
- datacenterId?: pulumi.Input<string>;
1890
+ datacenterId?: pulumi.Input<string | undefined>;
1891
1891
  /**
1892
1892
  * The ID of a datastore cluster to put the virtual machine in.
1893
1893
  */
1894
- datastoreClusterId?: pulumi.Input<string>;
1894
+ datastoreClusterId?: pulumi.Input<string | undefined>;
1895
1895
  /**
1896
1896
  * The ID of the virtual machine's datastore. The virtual machine configuration is placed here, along with any virtual disks that are created without datastores.
1897
1897
  */
1898
- datastoreId?: pulumi.Input<string>;
1898
+ datastoreId?: pulumi.Input<string | undefined>;
1899
1899
  /**
1900
1900
  * A specification for a virtual disk device on this virtual machine.
1901
1901
  */
1902
- disks?: pulumi.Input<pulumi.Input<inputs.VirtualMachineDisk>[]>;
1902
+ disks?: pulumi.Input<pulumi.Input<inputs.VirtualMachineDisk>[] | undefined>;
1903
1903
  /**
1904
1904
  * When the boot type set in firmware is efi, this enables EFI secure boot.
1905
1905
  */
1906
- efiSecureBootEnabled?: pulumi.Input<boolean>;
1906
+ efiSecureBootEnabled?: pulumi.Input<boolean | undefined>;
1907
1907
  /**
1908
1908
  * Expose the UUIDs of attached virtual disks to the virtual machine, allowing access to them in the guest.
1909
1909
  */
1910
- enableDiskUuid?: pulumi.Input<boolean>;
1910
+ enableDiskUuid?: pulumi.Input<boolean | undefined>;
1911
1911
  /**
1912
1912
  * Enable logging on this virtual machine.
1913
1913
  */
1914
- enableLogging?: pulumi.Input<boolean>;
1914
+ enableLogging?: pulumi.Input<boolean | undefined>;
1915
1915
  /**
1916
1916
  * The EPT/RVI (hardware memory virtualization) setting for this virtual machine. Can be one of automatic, on, or off.
1917
1917
  */
1918
- eptRviMode?: pulumi.Input<string>;
1918
+ eptRviMode?: pulumi.Input<string | undefined>;
1919
1919
  /**
1920
1920
  * Extra configuration data for this virtual machine. Can be used to supply advanced parameters not normally in configuration, such as instance metadata, or configuration data for OVF images.
1921
1921
  */
1922
1922
  extraConfig?: pulumi.Input<{
1923
1923
  [key: string]: pulumi.Input<string>;
1924
- }>;
1924
+ } | undefined>;
1925
1925
  /**
1926
1926
  * Allow the virtual machine to be rebooted when a change to `extraConfig` occurs.
1927
1927
  */
1928
- extraConfigRebootRequired?: pulumi.Input<boolean>;
1928
+ extraConfigRebootRequired?: pulumi.Input<boolean | undefined>;
1929
1929
  /**
1930
1930
  * The firmware interface to use on the virtual machine. Can be one of bios or efi.
1931
1931
  */
1932
- firmware?: pulumi.Input<string>;
1932
+ firmware?: pulumi.Input<string | undefined>;
1933
1933
  /**
1934
1934
  * The name of the folder to locate the virtual machine in.
1935
1935
  */
1936
- folder?: pulumi.Input<string>;
1936
+ folder?: pulumi.Input<string | undefined>;
1937
1937
  /**
1938
1938
  * Set to true to force power-off a virtual machine if a graceful guest shutdown failed for a necessary operation.
1939
1939
  */
1940
- forcePowerOff?: pulumi.Input<boolean>;
1940
+ forcePowerOff?: pulumi.Input<boolean | undefined>;
1941
1941
  /**
1942
1942
  * The guest ID for the operating system.
1943
1943
  */
1944
- guestId?: pulumi.Input<string>;
1944
+ guestId?: pulumi.Input<string | undefined>;
1945
1945
  /**
1946
1946
  * The hardware version for the virtual machine. Allows versions within ranges: 4, 7-11, 13-15, 17-22.
1947
1947
  */
1948
- hardwareVersion?: pulumi.Input<number>;
1948
+ hardwareVersion?: pulumi.Input<number | undefined>;
1949
1949
  /**
1950
1950
  * The ID of an optional host system to pin the virtual machine to.
1951
1951
  */
1952
- hostSystemId?: pulumi.Input<string>;
1952
+ hostSystemId?: pulumi.Input<string | undefined>;
1953
1953
  /**
1954
1954
  * The (non-nested) hardware virtualization setting for this virtual machine. Can be one of hvAuto, hvOn, or hvOff.
1955
1955
  */
1956
- hvMode?: pulumi.Input<string>;
1956
+ hvMode?: pulumi.Input<string | undefined>;
1957
1957
  /**
1958
1958
  * The number of IDE controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
1959
1959
  */
1960
- ideControllerCount?: pulumi.Input<number>;
1960
+ ideControllerCount?: pulumi.Input<number | undefined>;
1961
1961
  /**
1962
1962
  * List of IP addresses and CIDR networks to ignore while waiting for an IP
1963
1963
  */
1964
- ignoredGuestIps?: pulumi.Input<pulumi.Input<string>[]>;
1964
+ ignoredGuestIps?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1965
1965
  /**
1966
1966
  * Controls the scheduling delay of the virtual machine. Use a higher sensitivity for applications that require lower latency, such as VOIP, media player applications, or applications that require frequent access to mouse or keyboard devices. Can be one of low, normal, medium, or high.
1967
1967
  */
1968
- latencySensitivity?: pulumi.Input<string>;
1968
+ latencySensitivity?: pulumi.Input<string | undefined>;
1969
1969
  /**
1970
1970
  * The size of the virtual machine's memory, in MB.
1971
1971
  */
1972
- memory?: pulumi.Input<number>;
1972
+ memory?: pulumi.Input<number | undefined>;
1973
1973
  /**
1974
1974
  * Allow memory to be added to this virtual machine while it is running.
1975
1975
  */
1976
- memoryHotAddEnabled?: pulumi.Input<boolean>;
1976
+ memoryHotAddEnabled?: pulumi.Input<boolean | undefined>;
1977
1977
  /**
1978
1978
  * The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available resources.
1979
1979
  */
1980
- memoryLimit?: pulumi.Input<number>;
1980
+ memoryLimit?: pulumi.Input<number | undefined>;
1981
1981
  /**
1982
1982
  * The amount of memory (in MB) or CPU (in MHz) that this virtual machine is guaranteed.
1983
1983
  */
1984
- memoryReservation?: pulumi.Input<number>;
1984
+ memoryReservation?: pulumi.Input<number | undefined>;
1985
1985
  /**
1986
1986
  * If set true, memory resource reservation for this virtual machine will always be equal to the virtual machine's memory size;increases in memory size will be rejected when a corresponding reservation increase is not possible. This feature may only be enabled if it is currently possible to reserve all of the virtual machine's memory.
1987
1987
  */
1988
- memoryReservationLockedToMax?: pulumi.Input<boolean>;
1988
+ memoryReservationLockedToMax?: pulumi.Input<boolean | undefined>;
1989
1989
  /**
1990
1990
  * The amount of shares to allocate to memory for a custom share level.
1991
1991
  */
1992
- memoryShareCount?: pulumi.Input<number>;
1992
+ memoryShareCount?: pulumi.Input<number | undefined>;
1993
1993
  /**
1994
1994
  * The allocation level for memory resources. Can be one of high, low, normal, or custom.
1995
1995
  */
1996
- memoryShareLevel?: pulumi.Input<string>;
1996
+ memoryShareLevel?: pulumi.Input<string | undefined>;
1997
1997
  /**
1998
1998
  * The amount of time, in minutes, to wait for a vMotion operation to complete before failing.
1999
1999
  */
2000
- migrateWaitTimeout?: pulumi.Input<number>;
2000
+ migrateWaitTimeout?: pulumi.Input<number | undefined>;
2001
2001
  /**
2002
2002
  * The name of this virtual machine.
2003
2003
  */
2004
- name?: pulumi.Input<string>;
2004
+ name?: pulumi.Input<string | undefined>;
2005
2005
  /**
2006
2006
  * Enable nested hardware virtualization on this virtual machine, facilitating nested virtualization in the guest.
2007
2007
  */
2008
- nestedHvEnabled?: pulumi.Input<boolean>;
2008
+ nestedHvEnabled?: pulumi.Input<boolean | undefined>;
2009
2009
  /**
2010
2010
  * A specification for a virtual NIC on this virtual machine.
2011
2011
  */
2012
- networkInterfaces?: pulumi.Input<pulumi.Input<inputs.VirtualMachineNetworkInterface>[]>;
2012
+ networkInterfaces?: pulumi.Input<pulumi.Input<inputs.VirtualMachineNetworkInterface>[] | undefined>;
2013
2013
  /**
2014
2014
  * The number of cores to distribute amongst the CPUs in this virtual machine. If specified, the value supplied to numCpus must be evenly divisible by this value.
2015
2015
  */
2016
- numCoresPerSocket?: pulumi.Input<number>;
2016
+ numCoresPerSocket?: pulumi.Input<number | undefined>;
2017
2017
  /**
2018
2018
  * The number of virtual processors to assign to this virtual machine.
2019
2019
  */
2020
- numCpus?: pulumi.Input<number>;
2020
+ numCpus?: pulumi.Input<number | undefined>;
2021
2021
  /**
2022
2022
  * The number of NVMe controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
2023
2023
  */
2024
- nvmeControllerCount?: pulumi.Input<number>;
2024
+ nvmeControllerCount?: pulumi.Input<number | undefined>;
2025
2025
  /**
2026
2026
  * A specification for deploying a virtual machine from ovf/ova template.
2027
2027
  */
2028
- ovfDeploy?: pulumi.Input<inputs.VirtualMachineOvfDeploy>;
2028
+ ovfDeploy?: pulumi.Input<inputs.VirtualMachineOvfDeploy | undefined>;
2029
2029
  /**
2030
2030
  * A list of PCI passthrough devices
2031
2031
  */
2032
- pciDeviceIds?: pulumi.Input<pulumi.Input<string>[]>;
2032
+ pciDeviceIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2033
2033
  /**
2034
2034
  * The amount of time, in seconds, that we will be trying to power on a VM
2035
2035
  */
2036
- poweronTimeout?: pulumi.Input<number>;
2036
+ poweronTimeout?: pulumi.Input<number | undefined>;
2037
2037
  /**
2038
2038
  * Triggers replacement of resource whenever it changes.
2039
2039
  */
2040
- replaceTrigger?: pulumi.Input<string>;
2040
+ replaceTrigger?: pulumi.Input<string | undefined>;
2041
2041
  /**
2042
2042
  * The ID of a resource pool to put the virtual machine in.
2043
2043
  */
@@ -2045,93 +2045,94 @@ export interface VirtualMachineArgs {
2045
2045
  /**
2046
2046
  * Enable the run of scripts after virtual machine power-on when VMware Tools is installed.
2047
2047
  */
2048
- runToolsScriptsAfterPowerOn?: pulumi.Input<boolean>;
2048
+ runToolsScriptsAfterPowerOn?: pulumi.Input<boolean | undefined>;
2049
2049
  /**
2050
2050
  * Enable the run of scripts after virtual machine resume when when VMware Tools is installed.
2051
2051
  */
2052
- runToolsScriptsAfterResume?: pulumi.Input<boolean>;
2052
+ runToolsScriptsAfterResume?: pulumi.Input<boolean | undefined>;
2053
2053
  /**
2054
2054
  * Enable the run of scripts before guest operating system reboot when VMware Tools is installed.
2055
2055
  */
2056
- runToolsScriptsBeforeGuestReboot?: pulumi.Input<boolean>;
2056
+ runToolsScriptsBeforeGuestReboot?: pulumi.Input<boolean | undefined>;
2057
2057
  /**
2058
2058
  * Enable the run of scripts before guest operating system shutdown when VMware Tools is installed.
2059
2059
  */
2060
- runToolsScriptsBeforeGuestShutdown?: pulumi.Input<boolean>;
2060
+ runToolsScriptsBeforeGuestShutdown?: pulumi.Input<boolean | undefined>;
2061
2061
  /**
2062
2062
  * Enable the run of scripts before guest operating system standby when VMware Tools is installed.
2063
2063
  */
2064
- runToolsScriptsBeforeGuestStandby?: pulumi.Input<boolean>;
2064
+ runToolsScriptsBeforeGuestStandby?: pulumi.Input<boolean | undefined>;
2065
2065
  /**
2066
2066
  * The number of SATA controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
2067
2067
  */
2068
- sataControllerCount?: pulumi.Input<number>;
2068
+ sataControllerCount?: pulumi.Input<number | undefined>;
2069
2069
  /**
2070
2070
  * Mode for sharing the SCSI bus. The modes are physicalSharing, virtualSharing, and noSharing.
2071
2071
  */
2072
- scsiBusSharing?: pulumi.Input<string>;
2072
+ scsiBusSharing?: pulumi.Input<string | undefined>;
2073
2073
  /**
2074
2074
  * The number of SCSI controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers.
2075
2075
  */
2076
- scsiControllerCount?: pulumi.Input<number>;
2076
+ scsiControllerCount?: pulumi.Input<number | undefined>;
2077
2077
  /**
2078
2078
  * The type of SCSI bus this virtual machine will have. Can be one of lsilogic, lsilogic-sas or pvscsi.
2079
2079
  */
2080
- scsiType?: pulumi.Input<string>;
2080
+ scsiType?: pulumi.Input<string | undefined>;
2081
2081
  /**
2082
2082
  * The amount of time, in minutes, to wait for shutdown when making necessary updates to the virtual machine.
2083
2083
  */
2084
- shutdownWaitTimeout?: pulumi.Input<number>;
2084
+ shutdownWaitTimeout?: pulumi.Input<number | undefined>;
2085
2085
  /**
2086
2086
  * The ID of the storage policy to assign to the virtual machine home directory.
2087
2087
  */
2088
- storagePolicyId?: pulumi.Input<string>;
2088
+ storagePolicyId?: pulumi.Input<string | undefined>;
2089
2089
  /**
2090
2090
  * The swap file placement policy for this virtual machine. Can be one of inherit, hostLocal, or vmDirectory.
2091
2091
  */
2092
- swapPlacementPolicy?: pulumi.Input<string>;
2092
+ swapPlacementPolicy?: pulumi.Input<string | undefined>;
2093
2093
  /**
2094
2094
  * Enable guest clock synchronization with the host. On vSphere 7.0 U1 and above, with only this setting the clock is synchronized on startup and resume. Requires VMware Tools to be installed.
2095
2095
  */
2096
- syncTimeWithHost?: pulumi.Input<boolean>;
2096
+ syncTimeWithHost?: pulumi.Input<boolean | undefined>;
2097
2097
  /**
2098
2098
  * Enable periodic clock synchronization with the host. Supported only on vSphere 7.0 U1 and above. On prior versions setting `syncTimeWithHost` is enough for periodic synchronization. Requires VMware Tools to be installed.
2099
2099
  */
2100
- syncTimeWithHostPeriodically?: pulumi.Input<boolean>;
2100
+ syncTimeWithHostPeriodically?: pulumi.Input<boolean | undefined>;
2101
2101
  /**
2102
2102
  * A list of tag IDs to apply to this object.
2103
2103
  */
2104
- tags?: pulumi.Input<pulumi.Input<string>[]>;
2104
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2105
2105
  /**
2106
2106
  * Set the upgrade policy for VMware Tools. Can be one of `manual` or `upgradeAtPowerCycle`.
2107
2107
  */
2108
- toolsUpgradePolicy?: pulumi.Input<string>;
2108
+ toolsUpgradePolicy?: pulumi.Input<string | undefined>;
2109
2109
  /**
2110
2110
  * vApp configuration data for this virtual machine. Can be used to provide configuration data for OVF images.
2111
2111
  */
2112
- vapp?: pulumi.Input<inputs.VirtualMachineVapp>;
2112
+ vapp?: pulumi.Input<inputs.VirtualMachineVapp | undefined>;
2113
2113
  /**
2114
2114
  * Flag to specify if Virtualization-based security is enabled for this virtual machine.
2115
2115
  */
2116
- vbsEnabled?: pulumi.Input<boolean>;
2116
+ vbsEnabled?: pulumi.Input<boolean | undefined>;
2117
2117
  /**
2118
2118
  * A specification for a virtual Trusted Platform Module (TPM) device on the virtual machine.
2119
2119
  */
2120
- vtpm?: pulumi.Input<inputs.VirtualMachineVtpm>;
2120
+ vtpm?: pulumi.Input<inputs.VirtualMachineVtpm | undefined>;
2121
2121
  /**
2122
2122
  * Flag to specify if I/O MMU virtualization, also called Intel Virtualization Technology for Directed I/O (VT-d) and AMD I/O Virtualization (AMD-Vi or IOMMU), is enabled.
2123
2123
  */
2124
- vvtdEnabled?: pulumi.Input<boolean>;
2124
+ vvtdEnabled?: pulumi.Input<boolean | undefined>;
2125
2125
  /**
2126
2126
  * The amount of time, in minutes, to wait for an available IP address on this virtual machine. A value less than 1 disables the waiter.
2127
2127
  */
2128
- waitForGuestIpTimeout?: pulumi.Input<number>;
2128
+ waitForGuestIpTimeout?: pulumi.Input<number | undefined>;
2129
2129
  /**
2130
2130
  * Controls whether or not the guest network waiter waits for a routable address. When false, the waiter does not wait for a default gateway, nor are IP addresses checked against any discovered default gateways as part of its success criteria.
2131
2131
  */
2132
- waitForGuestNetRoutable?: pulumi.Input<boolean>;
2132
+ waitForGuestNetRoutable?: pulumi.Input<boolean | undefined>;
2133
2133
  /**
2134
2134
  * The amount of time, in minutes, to wait for an available IP address on this virtual machine. A value less than 1 disables the waiter.
2135
2135
  */
2136
- waitForGuestNetTimeout?: pulumi.Input<number>;
2136
+ waitForGuestNetTimeout?: pulumi.Input<number | undefined>;
2137
2137
  }
2138
+ //# sourceMappingURL=virtualMachine.d.ts.map