@pulumi/vsphere 4.0.0 → 4.2.0-alpha.1641576184

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 (205) hide show
  1. package/README.md +1 -1
  2. package/computeCluster.d.ts +111 -111
  3. package/computeCluster.js +1 -0
  4. package/computeCluster.js.map +1 -1
  5. package/computeClusterHostGroup.d.ts +6 -6
  6. package/computeClusterHostGroup.js +1 -0
  7. package/computeClusterHostGroup.js.map +1 -1
  8. package/computeClusterVmAffinityRule.d.ts +10 -10
  9. package/computeClusterVmAffinityRule.js +1 -0
  10. package/computeClusterVmAffinityRule.js.map +1 -1
  11. package/computeClusterVmAntiAffinityRule.d.ts +10 -10
  12. package/computeClusterVmAntiAffinityRule.js +1 -0
  13. package/computeClusterVmAntiAffinityRule.js.map +1 -1
  14. package/computeClusterVmDependencyRule.d.ts +12 -12
  15. package/computeClusterVmDependencyRule.js +1 -0
  16. package/computeClusterVmDependencyRule.js.map +1 -1
  17. package/computeClusterVmGroup.d.ts +6 -6
  18. package/computeClusterVmGroup.js +1 -0
  19. package/computeClusterVmGroup.js.map +1 -1
  20. package/computeClusterVmHostRule.d.ts +14 -14
  21. package/computeClusterVmHostRule.js +1 -0
  22. package/computeClusterVmHostRule.js.map +1 -1
  23. package/config/index.js +11 -4
  24. package/config/index.js.map +1 -1
  25. package/config/vars.d.ts +13 -13
  26. package/config/vars.js +87 -50
  27. package/config/vars.js.map +1 -1
  28. package/contentLibrary.d.ts +10 -10
  29. package/contentLibrary.js +1 -0
  30. package/contentLibrary.js.map +1 -1
  31. package/contentLibraryItem.d.ts +12 -12
  32. package/contentLibraryItem.js +1 -0
  33. package/contentLibraryItem.js.map +1 -1
  34. package/customAttribute.d.ts +4 -4
  35. package/customAttribute.js +1 -0
  36. package/customAttribute.js.map +1 -1
  37. package/datacenter.d.ts +9 -9
  38. package/datacenter.js +1 -0
  39. package/datacenter.js.map +1 -1
  40. package/datastoreCluster.d.ts +50 -50
  41. package/datastoreCluster.js +1 -0
  42. package/datastoreCluster.js.map +1 -1
  43. package/datastoreClusterVmAntiAffinityRule.d.ts +10 -10
  44. package/datastoreClusterVmAntiAffinityRule.js +1 -0
  45. package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
  46. package/distributedPortGroup.d.ts +94 -94
  47. package/distributedPortGroup.js +1 -0
  48. package/distributedPortGroup.js.map +1 -1
  49. package/distributedVirtualSwitch.d.ts +189 -189
  50. package/distributedVirtualSwitch.js +1 -0
  51. package/distributedVirtualSwitch.js.map +1 -1
  52. package/dpmHostOverride.d.ts +8 -8
  53. package/dpmHostOverride.js +1 -0
  54. package/dpmHostOverride.js.map +1 -1
  55. package/drsVmOverride.d.ts +8 -8
  56. package/drsVmOverride.js +1 -0
  57. package/drsVmOverride.js.map +1 -1
  58. package/entityPermissions.d.ts +6 -6
  59. package/entityPermissions.js +1 -0
  60. package/entityPermissions.js.map +1 -1
  61. package/file.d.ts +14 -14
  62. package/file.js +1 -0
  63. package/file.js.map +1 -1
  64. package/folder.d.ts +10 -10
  65. package/folder.js +1 -0
  66. package/folder.js.map +1 -1
  67. package/getComputeCluster.d.ts +22 -4
  68. package/getComputeCluster.js +7 -2
  69. package/getComputeCluster.js.map +1 -1
  70. package/getContentLibrary.d.ts +12 -2
  71. package/getContentLibrary.js +6 -1
  72. package/getContentLibrary.js.map +1 -1
  73. package/getContentLibraryItem.d.ts +36 -3
  74. package/getContentLibraryItem.js +20 -0
  75. package/getContentLibraryItem.js.map +1 -1
  76. package/getCustomAttribute.d.ts +12 -2
  77. package/getCustomAttribute.js +6 -1
  78. package/getCustomAttribute.js.map +1 -1
  79. package/getDatacenter.d.ts +13 -2
  80. package/getDatacenter.js +6 -1
  81. package/getDatacenter.js.map +1 -1
  82. package/getDatastore.d.ts +22 -4
  83. package/getDatastore.js +7 -2
  84. package/getDatastore.js.map +1 -1
  85. package/getDatastoreCluster.d.ts +22 -4
  86. package/getDatastoreCluster.js +7 -2
  87. package/getDatastoreCluster.js.map +1 -1
  88. package/getDistributedVirtualSwitch.d.ts +23 -4
  89. package/getDistributedVirtualSwitch.js +7 -2
  90. package/getDistributedVirtualSwitch.js.map +1 -1
  91. package/getDynamic.d.ts +24 -3
  92. package/getDynamic.js +5 -0
  93. package/getDynamic.js.map +1 -1
  94. package/getFolder.d.ts +16 -2
  95. package/getFolder.js +6 -1
  96. package/getFolder.js.map +1 -1
  97. package/getHost.d.ts +20 -4
  98. package/getHost.js +7 -2
  99. package/getHost.js.map +1 -1
  100. package/getHostPciDevice.d.ts +28 -4
  101. package/getHostPciDevice.js +5 -0
  102. package/getHostPciDevice.js.map +1 -1
  103. package/getHostThumbprint.d.ts +24 -4
  104. package/getHostThumbprint.js +6 -1
  105. package/getHostThumbprint.js.map +1 -1
  106. package/getNetwork.d.ts +30 -5
  107. package/getNetwork.js +7 -2
  108. package/getNetwork.js.map +1 -1
  109. package/getOvfVmTemplate.d.ts +78 -14
  110. package/getOvfVmTemplate.js +5 -0
  111. package/getOvfVmTemplate.js.map +1 -1
  112. package/getPolicy.d.ts +12 -2
  113. package/getPolicy.js +6 -1
  114. package/getPolicy.js.map +1 -1
  115. package/getResourcePool.d.ts +24 -5
  116. package/getResourcePool.js +8 -3
  117. package/getResourcePool.js.map +1 -1
  118. package/getRole.d.ts +24 -5
  119. package/getRole.js +6 -1
  120. package/getRole.js.map +1 -1
  121. package/getTag.d.ts +18 -4
  122. package/getTag.js +7 -2
  123. package/getTag.js.map +1 -1
  124. package/getTagCategory.d.ts +12 -2
  125. package/getTagCategory.js +6 -1
  126. package/getTagCategory.js.map +1 -1
  127. package/getVappContainer.d.ts +20 -4
  128. package/getVappContainer.js +7 -2
  129. package/getVappContainer.js.map +1 -1
  130. package/getVirtualMachine.d.ts +150 -50
  131. package/getVirtualMachine.js +8 -2
  132. package/getVirtualMachine.js.map +1 -1
  133. package/getVmfsDisks.d.ts +28 -6
  134. package/getVmfsDisks.js +8 -3
  135. package/getVmfsDisks.js.map +1 -1
  136. package/haVmOverride.d.ts +30 -30
  137. package/haVmOverride.js +1 -0
  138. package/haVmOverride.js.map +1 -1
  139. package/host.d.ts +24 -24
  140. package/host.js +1 -0
  141. package/host.js.map +1 -1
  142. package/hostPortGroup.d.ts +41 -41
  143. package/hostPortGroup.js +5 -4
  144. package/hostPortGroup.js.map +1 -1
  145. package/hostVirtualSwitch.d.ts +42 -42
  146. package/hostVirtualSwitch.js +1 -0
  147. package/hostVirtualSwitch.js.map +1 -1
  148. package/index.js +74 -66
  149. package/index.js.map +1 -1
  150. package/license.d.ts +8 -8
  151. package/license.js +1 -0
  152. package/license.js.map +1 -1
  153. package/nasDatastore.d.ts +30 -30
  154. package/nasDatastore.js +1 -0
  155. package/nasDatastore.js.map +1 -1
  156. package/package.json +4 -3
  157. package/package.json.bak +3 -2
  158. package/package.json.dev +4 -3
  159. package/provider.d.ts +45 -13
  160. package/provider.js +9 -8
  161. package/provider.js.map +1 -1
  162. package/resourcePool.d.ts +28 -28
  163. package/resourcePool.js +1 -0
  164. package/resourcePool.js.map +1 -1
  165. package/role.d.ts +5 -5
  166. package/role.js +1 -0
  167. package/role.js.map +1 -1
  168. package/storageDrsVmOverride.d.ts +10 -10
  169. package/storageDrsVmOverride.js +1 -0
  170. package/storageDrsVmOverride.js.map +1 -1
  171. package/tag.d.ts +6 -6
  172. package/tag.js +1 -0
  173. package/tag.js.map +1 -1
  174. package/tagCategory.d.ts +8 -8
  175. package/tagCategory.js +1 -0
  176. package/tagCategory.js.map +1 -1
  177. package/types/index.js +1 -0
  178. package/types/index.js.map +1 -1
  179. package/types/input.d.ts +5 -0
  180. package/utilities.js +1 -0
  181. package/utilities.js.map +1 -1
  182. package/vappContainer.d.ts +30 -30
  183. package/vappContainer.js +1 -0
  184. package/vappContainer.js.map +1 -1
  185. package/vappEntity.d.ts +20 -20
  186. package/vappEntity.js +1 -0
  187. package/vappEntity.js.map +1 -1
  188. package/virtualDisk.d.ts +14 -14
  189. package/virtualDisk.js +1 -0
  190. package/virtualDisk.js.map +1 -1
  191. package/virtualMachine.d.ts +185 -158
  192. package/virtualMachine.js +3 -0
  193. package/virtualMachine.js.map +1 -1
  194. package/virtualMachineSnapshot.d.ts +14 -14
  195. package/virtualMachineSnapshot.js +1 -0
  196. package/virtualMachineSnapshot.js.map +1 -1
  197. package/vmStoragePolicy.d.ts +6 -6
  198. package/vmStoragePolicy.js +1 -0
  199. package/vmStoragePolicy.js.map +1 -1
  200. package/vmfsDatastore.d.ts +21 -21
  201. package/vmfsDatastore.js +1 -0
  202. package/vmfsDatastore.js.map +1 -1
  203. package/vnic.d.ts +18 -18
  204. package/vnic.js +1 -0
  205. package/vnic.js.map +1 -1
@@ -15,11 +15,11 @@ import { input as inputs, output as outputs } from "./types";
15
15
  *
16
16
  * const datacenter = pulumi.output(vsphere.getDatacenter({
17
17
  * name: "dc1",
18
- * }, { async: true }));
18
+ * }));
19
19
  * const template = datacenter.apply(datacenter => vsphere.getVirtualMachine({
20
20
  * datacenterId: datacenter.id,
21
21
  * name: "test-vm-template",
22
- * }, { async: true }));
22
+ * }));
23
23
  * ```
24
24
  */
25
25
  export declare function getVirtualMachine(args: GetVirtualMachineArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineResult>;
@@ -31,21 +31,21 @@ export interface GetVirtualMachineArgs {
31
31
  * The alternate guest name of the virtual machine when
32
32
  * guestId is a non-specific operating system, like `otherGuest`.
33
33
  */
34
- readonly alternateGuestName?: string;
34
+ alternateGuestName?: string;
35
35
  /**
36
36
  * The user-provided description of this virtual machine.
37
37
  */
38
- readonly annotation?: string;
39
- readonly bootDelay?: number;
40
- readonly bootRetryDelay?: number;
41
- readonly bootRetryEnabled?: boolean;
42
- readonly cpuHotAddEnabled?: boolean;
43
- readonly cpuHotRemoveEnabled?: boolean;
44
- readonly cpuLimit?: number;
45
- readonly cpuPerformanceCountersEnabled?: boolean;
46
- readonly cpuReservation?: number;
47
- readonly cpuShareCount?: number;
48
- readonly cpuShareLevel?: string;
38
+ annotation?: string;
39
+ bootDelay?: number;
40
+ bootRetryDelay?: number;
41
+ bootRetryEnabled?: boolean;
42
+ cpuHotAddEnabled?: boolean;
43
+ cpuHotRemoveEnabled?: boolean;
44
+ cpuLimit?: number;
45
+ cpuPerformanceCountersEnabled?: boolean;
46
+ cpuReservation?: number;
47
+ cpuShareCount?: number;
48
+ cpuShareLevel?: string;
49
49
  /**
50
50
  * The managed object reference
51
51
  * ID of the datacenter the virtual machine is located in.
@@ -53,71 +53,72 @@ export interface GetVirtualMachineArgs {
53
53
  * For default datacenters, use the `id` attribute from an empty
54
54
  * `vsphere.Datacenter` data source.
55
55
  */
56
- readonly datacenterId?: string;
57
- readonly efiSecureBootEnabled?: boolean;
58
- readonly enableDiskUuid?: boolean;
59
- readonly enableLogging?: boolean;
60
- readonly eptRviMode?: string;
61
- readonly extraConfig?: {
56
+ datacenterId?: string;
57
+ efiSecureBootEnabled?: boolean;
58
+ enableDiskUuid?: boolean;
59
+ enableLogging?: boolean;
60
+ eptRviMode?: string;
61
+ extraConfig?: {
62
62
  [key: string]: string;
63
63
  };
64
64
  /**
65
65
  * The firmware type for this virtual machine. Can be `bios` or `efi`.
66
66
  */
67
- readonly firmware?: string;
67
+ firmware?: string;
68
68
  /**
69
69
  * The guest ID of the virtual machine or template.
70
70
  */
71
- readonly guestId?: string;
71
+ guestId?: string;
72
72
  /**
73
73
  * The hardware version number on this virtual machine.
74
74
  */
75
- readonly hardwareVersion?: number;
76
- readonly hvMode?: string;
77
- readonly ideControllerScanCount?: number;
78
- readonly latencySensitivity?: string;
75
+ hardwareVersion?: number;
76
+ hvMode?: string;
77
+ ideControllerScanCount?: number;
78
+ latencySensitivity?: string;
79
79
  /**
80
80
  * The size of the virtual machine's memory, in MB.
81
81
  */
82
- readonly memory?: number;
83
- readonly memoryHotAddEnabled?: boolean;
84
- readonly memoryLimit?: number;
85
- readonly memoryReservation?: number;
86
- readonly memoryShareCount?: number;
87
- readonly memoryShareLevel?: string;
82
+ memory?: number;
83
+ memoryHotAddEnabled?: boolean;
84
+ memoryLimit?: number;
85
+ memoryReservation?: number;
86
+ memoryShareCount?: number;
87
+ memoryShareLevel?: string;
88
88
  /**
89
89
  * The name of the virtual machine. This can be a name or
90
90
  * path.
91
91
  */
92
- readonly name: string;
93
- readonly nestedHvEnabled?: boolean;
92
+ name: string;
93
+ nestedHvEnabled?: boolean;
94
94
  /**
95
95
  * The number of cores per socket for this virtual machine.
96
96
  */
97
- readonly numCoresPerSocket?: number;
97
+ numCoresPerSocket?: number;
98
98
  /**
99
99
  * The total number of virtual processor cores assigned to this
100
100
  * virtual machine.
101
101
  */
102
- readonly numCpus?: number;
103
- readonly replaceTrigger?: string;
104
- readonly runToolsScriptsAfterPowerOn?: boolean;
105
- readonly runToolsScriptsAfterResume?: boolean;
106
- readonly runToolsScriptsBeforeGuestReboot?: boolean;
107
- readonly runToolsScriptsBeforeGuestShutdown?: boolean;
108
- readonly runToolsScriptsBeforeGuestStandby?: boolean;
109
- readonly sataControllerScanCount?: number;
102
+ numCpus?: number;
103
+ replaceTrigger?: string;
104
+ runToolsScriptsAfterPowerOn?: boolean;
105
+ runToolsScriptsAfterResume?: boolean;
106
+ runToolsScriptsBeforeGuestReboot?: boolean;
107
+ runToolsScriptsBeforeGuestShutdown?: boolean;
108
+ runToolsScriptsBeforeGuestStandby?: boolean;
109
+ sataControllerScanCount?: number;
110
110
  /**
111
111
  * The number of SCSI controllers to
112
112
  * scan for disk attributes and controller types on. Default: `1`.
113
113
  */
114
- readonly scsiControllerScanCount?: number;
115
- readonly storagePolicyId?: string;
116
- readonly swapPlacementPolicy?: string;
117
- readonly syncTimeWithHost?: boolean;
118
- readonly vapp?: inputs.GetVirtualMachineVapp;
119
- readonly vbsEnabled?: boolean;
120
- readonly vvtdEnabled?: boolean;
114
+ scsiControllerScanCount?: number;
115
+ storagePolicyId?: string;
116
+ swapPlacementPolicy?: string;
117
+ syncTimeWithHost?: boolean;
118
+ syncTimeWithHostPeriodically?: boolean;
119
+ vapp?: inputs.GetVirtualMachineVapp;
120
+ vbsEnabled?: boolean;
121
+ vvtdEnabled?: boolean;
121
122
  }
122
123
  /**
123
124
  * A collection of values returned by getVirtualMachine.
@@ -246,9 +247,108 @@ export interface GetVirtualMachineResult {
246
247
  readonly storagePolicyId: string;
247
248
  readonly swapPlacementPolicy?: string;
248
249
  readonly syncTimeWithHost?: boolean;
250
+ readonly syncTimeWithHostPeriodically?: boolean;
249
251
  readonly uuid: string;
250
252
  readonly vapp?: outputs.GetVirtualMachineVapp;
251
253
  readonly vappTransports: string[];
252
254
  readonly vbsEnabled?: boolean;
253
255
  readonly vvtdEnabled?: boolean;
254
256
  }
257
+ export declare function getVirtualMachineOutput(args: GetVirtualMachineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVirtualMachineResult>;
258
+ /**
259
+ * A collection of arguments for invoking getVirtualMachine.
260
+ */
261
+ export interface GetVirtualMachineOutputArgs {
262
+ /**
263
+ * The alternate guest name of the virtual machine when
264
+ * guestId is a non-specific operating system, like `otherGuest`.
265
+ */
266
+ alternateGuestName?: pulumi.Input<string>;
267
+ /**
268
+ * The user-provided description of this virtual machine.
269
+ */
270
+ annotation?: pulumi.Input<string>;
271
+ bootDelay?: pulumi.Input<number>;
272
+ bootRetryDelay?: pulumi.Input<number>;
273
+ bootRetryEnabled?: pulumi.Input<boolean>;
274
+ cpuHotAddEnabled?: pulumi.Input<boolean>;
275
+ cpuHotRemoveEnabled?: pulumi.Input<boolean>;
276
+ cpuLimit?: pulumi.Input<number>;
277
+ cpuPerformanceCountersEnabled?: pulumi.Input<boolean>;
278
+ cpuReservation?: pulumi.Input<number>;
279
+ cpuShareCount?: pulumi.Input<number>;
280
+ cpuShareLevel?: pulumi.Input<string>;
281
+ /**
282
+ * The managed object reference
283
+ * ID of the datacenter the virtual machine is located in.
284
+ * This can be omitted if the search path used in `name` is an absolute path.
285
+ * For default datacenters, use the `id` attribute from an empty
286
+ * `vsphere.Datacenter` data source.
287
+ */
288
+ datacenterId?: pulumi.Input<string>;
289
+ efiSecureBootEnabled?: pulumi.Input<boolean>;
290
+ enableDiskUuid?: pulumi.Input<boolean>;
291
+ enableLogging?: pulumi.Input<boolean>;
292
+ eptRviMode?: pulumi.Input<string>;
293
+ extraConfig?: pulumi.Input<{
294
+ [key: string]: pulumi.Input<string>;
295
+ }>;
296
+ /**
297
+ * The firmware type for this virtual machine. Can be `bios` or `efi`.
298
+ */
299
+ firmware?: pulumi.Input<string>;
300
+ /**
301
+ * The guest ID of the virtual machine or template.
302
+ */
303
+ guestId?: pulumi.Input<string>;
304
+ /**
305
+ * The hardware version number on this virtual machine.
306
+ */
307
+ hardwareVersion?: pulumi.Input<number>;
308
+ hvMode?: pulumi.Input<string>;
309
+ ideControllerScanCount?: pulumi.Input<number>;
310
+ latencySensitivity?: pulumi.Input<string>;
311
+ /**
312
+ * The size of the virtual machine's memory, in MB.
313
+ */
314
+ memory?: pulumi.Input<number>;
315
+ memoryHotAddEnabled?: pulumi.Input<boolean>;
316
+ memoryLimit?: pulumi.Input<number>;
317
+ memoryReservation?: pulumi.Input<number>;
318
+ memoryShareCount?: pulumi.Input<number>;
319
+ memoryShareLevel?: pulumi.Input<string>;
320
+ /**
321
+ * The name of the virtual machine. This can be a name or
322
+ * path.
323
+ */
324
+ name: pulumi.Input<string>;
325
+ nestedHvEnabled?: pulumi.Input<boolean>;
326
+ /**
327
+ * The number of cores per socket for this virtual machine.
328
+ */
329
+ numCoresPerSocket?: pulumi.Input<number>;
330
+ /**
331
+ * The total number of virtual processor cores assigned to this
332
+ * virtual machine.
333
+ */
334
+ numCpus?: pulumi.Input<number>;
335
+ replaceTrigger?: pulumi.Input<string>;
336
+ runToolsScriptsAfterPowerOn?: pulumi.Input<boolean>;
337
+ runToolsScriptsAfterResume?: pulumi.Input<boolean>;
338
+ runToolsScriptsBeforeGuestReboot?: pulumi.Input<boolean>;
339
+ runToolsScriptsBeforeGuestShutdown?: pulumi.Input<boolean>;
340
+ runToolsScriptsBeforeGuestStandby?: pulumi.Input<boolean>;
341
+ sataControllerScanCount?: pulumi.Input<number>;
342
+ /**
343
+ * The number of SCSI controllers to
344
+ * scan for disk attributes and controller types on. Default: `1`.
345
+ */
346
+ scsiControllerScanCount?: pulumi.Input<number>;
347
+ storagePolicyId?: pulumi.Input<string>;
348
+ swapPlacementPolicy?: pulumi.Input<string>;
349
+ syncTimeWithHost?: pulumi.Input<boolean>;
350
+ syncTimeWithHostPeriodically?: pulumi.Input<boolean>;
351
+ vapp?: pulumi.Input<inputs.GetVirtualMachineVappArgs>;
352
+ vbsEnabled?: pulumi.Input<boolean>;
353
+ vvtdEnabled?: pulumi.Input<boolean>;
354
+ }
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getVirtualMachineOutput = exports.getVirtualMachine = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -19,11 +20,11 @@ const utilities = require("./utilities");
19
20
  *
20
21
  * const datacenter = pulumi.output(vsphere.getDatacenter({
21
22
  * name: "dc1",
22
- * }, { async: true }));
23
+ * }));
23
24
  * const template = datacenter.apply(datacenter => vsphere.getVirtualMachine({
24
25
  * datacenterId: datacenter.id,
25
26
  * name: "test-vm-template",
26
- * }, { async: true }));
27
+ * }));
27
28
  * ```
28
29
  */
29
30
  function getVirtualMachine(args, opts) {
@@ -79,10 +80,15 @@ function getVirtualMachine(args, opts) {
79
80
  "storagePolicyId": args.storagePolicyId,
80
81
  "swapPlacementPolicy": args.swapPlacementPolicy,
81
82
  "syncTimeWithHost": args.syncTimeWithHost,
83
+ "syncTimeWithHostPeriodically": args.syncTimeWithHostPeriodically,
82
84
  "vapp": args.vapp,
83
85
  "vbsEnabled": args.vbsEnabled,
84
86
  "vvtdEnabled": args.vvtdEnabled,
85
87
  }, opts);
86
88
  }
87
89
  exports.getVirtualMachine = getVirtualMachine;
90
+ function getVirtualMachineOutput(args, opts) {
91
+ return pulumi.output(args).apply(a => getVirtualMachine(a, opts));
92
+ }
93
+ exports.getVirtualMachineOutput = getVirtualMachineOutput;
88
94
  //# sourceMappingURL=getVirtualMachine.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getVirtualMachine.js","sourceRoot":"","sources":["../getVirtualMachine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,gBAAgB,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,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA3DD,8CA2DC;AAuOD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
package/getVmfsDisks.d.ts CHANGED
@@ -13,16 +13,16 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  *
14
14
  * const datacenter = pulumi.output(vsphere.getDatacenter({
15
15
  * name: "dc1",
16
- * }, { async: true }));
16
+ * }));
17
17
  * const host = datacenter.apply(datacenter => vsphere.getHost({
18
18
  * datacenterId: datacenter.id,
19
19
  * name: "esxi1",
20
- * }, { async: true }));
20
+ * }));
21
21
  * const available = host.apply(host => vsphere.getVmfsDisks({
22
22
  * filter: "mpx.vmhba1:C0:T[12]:L0",
23
23
  * hostSystemId: host.id,
24
24
  * rescan: true,
25
- * }, { async: true }));
25
+ * }));
26
26
  * ```
27
27
  */
28
28
  export declare function getVmfsDisks(args: GetVmfsDisksArgs, opts?: pulumi.InvokeOptions): Promise<GetVmfsDisksResult>;
@@ -34,18 +34,18 @@ export interface GetVmfsDisksArgs {
34
34
  * A regular expression to filter the disks against. Only
35
35
  * disks with canonical names that match will be included.
36
36
  */
37
- readonly filter?: string;
37
+ filter?: string;
38
38
  /**
39
39
  * The managed object ID of
40
40
  * the host to look for disks on.
41
41
  */
42
- readonly hostSystemId: string;
42
+ hostSystemId: string;
43
43
  /**
44
44
  * Whether or not to rescan storage adapters before
45
45
  * searching for disks. This may lengthen the time it takes to perform the
46
46
  * search. Default: `false`.
47
47
  */
48
- readonly rescan?: boolean;
48
+ rescan?: boolean;
49
49
  }
50
50
  /**
51
51
  * A collection of values returned by getVmfsDisks.
@@ -64,3 +64,25 @@ export interface GetVmfsDisksResult {
64
64
  readonly id: string;
65
65
  readonly rescan?: boolean;
66
66
  }
67
+ export declare function getVmfsDisksOutput(args: GetVmfsDisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVmfsDisksResult>;
68
+ /**
69
+ * A collection of arguments for invoking getVmfsDisks.
70
+ */
71
+ export interface GetVmfsDisksOutputArgs {
72
+ /**
73
+ * A regular expression to filter the disks against. Only
74
+ * disks with canonical names that match will be included.
75
+ */
76
+ filter?: pulumi.Input<string>;
77
+ /**
78
+ * The managed object ID of
79
+ * the host to look for disks on.
80
+ */
81
+ hostSystemId: pulumi.Input<string>;
82
+ /**
83
+ * Whether or not to rescan storage adapters before
84
+ * searching for disks. This may lengthen the time it takes to perform the
85
+ * search. Default: `false`.
86
+ */
87
+ rescan?: pulumi.Input<boolean>;
88
+ }
package/getVmfsDisks.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getVmfsDisksOutput = exports.getVmfsDisks = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -18,16 +19,16 @@ const utilities = require("./utilities");
18
19
  *
19
20
  * const datacenter = pulumi.output(vsphere.getDatacenter({
20
21
  * name: "dc1",
21
- * }, { async: true }));
22
+ * }));
22
23
  * const host = datacenter.apply(datacenter => vsphere.getHost({
23
24
  * datacenterId: datacenter.id,
24
25
  * name: "esxi1",
25
- * }, { async: true }));
26
+ * }));
26
27
  * const available = host.apply(host => vsphere.getVmfsDisks({
27
28
  * filter: "mpx.vmhba1:C0:T[12]:L0",
28
29
  * hostSystemId: host.id,
29
30
  * rescan: true,
30
- * }, { async: true }));
31
+ * }));
31
32
  * ```
32
33
  */
33
34
  function getVmfsDisks(args, opts) {
@@ -44,4 +45,8 @@ function getVmfsDisks(args, opts) {
44
45
  }, opts);
45
46
  }
46
47
  exports.getVmfsDisks = getVmfsDisks;
48
+ function getVmfsDisksOutput(args, opts) {
49
+ return pulumi.output(args).apply(a => getVmfsDisks(a, opts));
50
+ }
51
+ exports.getVmfsDisksOutput = getVmfsDisksOutput;
47
52
  //# sourceMappingURL=getVmfsDisks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getVmfsDisks.js","sourceRoot":"","sources":["../getVmfsDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,oCAaC"}
1
+ {"version":3,"file":"getVmfsDisks.js","sourceRoot":"","sources":["../getVmfsDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,oCAaC;AA0CD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
package/haVmOverride.d.ts CHANGED
@@ -132,48 +132,48 @@ export interface HaVmOverrideState {
132
132
  * ID of the cluster to put the override in. Forces a new
133
133
  * resource if changed.
134
134
  */
135
- readonly computeClusterId?: pulumi.Input<string>;
135
+ computeClusterId?: pulumi.Input<string>;
136
136
  /**
137
137
  * Controls the action to take
138
138
  * on this virtual machine if an APD status on an affected datastore clears in
139
139
  * the middle of an APD event. Can be one of `useClusterDefault`, `none` or
140
140
  * `reset`. Default: `useClusterDefault`.
141
141
  */
142
- readonly haDatastoreApdRecoveryAction?: pulumi.Input<string>;
142
+ haDatastoreApdRecoveryAction?: pulumi.Input<string>;
143
143
  /**
144
144
  * Controls the action to take on this
145
145
  * virtual machine when the cluster has detected loss to all paths to a relevant
146
146
  * datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
147
147
  * `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
148
148
  */
149
- readonly haDatastoreApdResponse?: pulumi.Input<string>;
149
+ haDatastoreApdResponse?: pulumi.Input<string>;
150
150
  /**
151
151
  * Controls the delay in minutes
152
152
  * to wait after an APD timeout event to execute the response action defined in
153
153
  * `haDatastoreApdResponse`. Use `-1` to use
154
154
  * the cluster default. Default: `-1`.
155
155
  */
156
- readonly haDatastoreApdResponseDelay?: pulumi.Input<number>;
156
+ haDatastoreApdResponseDelay?: pulumi.Input<number>;
157
157
  /**
158
158
  * Controls the action to take on this
159
159
  * virtual machine when the cluster has detected a permanent device loss to a
160
160
  * relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
161
161
  * `restartAggressive`. Default: `clusterDefault`.
162
162
  */
163
- readonly haDatastorePdlResponse?: pulumi.Input<string>;
163
+ haDatastorePdlResponse?: pulumi.Input<string>;
164
164
  /**
165
165
  * The action to take on this virtual
166
166
  * machine when a host has detected that it has been isolated from the rest of
167
167
  * the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
168
168
  * `shutdown`. Default: `clusterIsolationResponse`.
169
169
  */
170
- readonly haHostIsolationResponse?: pulumi.Input<string>;
170
+ haHostIsolationResponse?: pulumi.Input<string>;
171
171
  /**
172
172
  * If a heartbeat from this virtual
173
173
  * machine is not received within this configured interval, the virtual machine
174
174
  * is marked as failed. The value is in seconds. Default: `30`.
175
175
  */
176
- readonly haVmFailureInterval?: pulumi.Input<number>;
176
+ haVmFailureInterval?: pulumi.Input<number>;
177
177
  /**
178
178
  * The length of the reset window in
179
179
  * which `haVmMaximumResets` can operate. When this
@@ -182,50 +182,50 @@ export interface HaVmOverrideState {
182
182
  * unlimited reset time is allotted. The value is specified in seconds. Default:
183
183
  * `-1` (no window).
184
184
  */
185
- readonly haVmMaximumFailureWindow?: pulumi.Input<number>;
185
+ haVmMaximumFailureWindow?: pulumi.Input<number>;
186
186
  /**
187
187
  * The maximum number of resets that HA will
188
188
  * perform to this virtual machine when responding to a failure event. Default:
189
189
  * `3`
190
190
  */
191
- readonly haVmMaximumResets?: pulumi.Input<number>;
191
+ haVmMaximumResets?: pulumi.Input<number>;
192
192
  /**
193
193
  * The time, in seconds, that HA waits after
194
194
  * powering on this virtual machine before monitoring for heartbeats. Default:
195
195
  * `120` (2 minutes).
196
196
  */
197
- readonly haVmMinimumUptime?: pulumi.Input<number>;
197
+ haVmMinimumUptime?: pulumi.Input<number>;
198
198
  /**
199
199
  * The type of virtual machine monitoring to use
200
200
  * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
201
201
  * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
202
202
  */
203
- readonly haVmMonitoring?: pulumi.Input<string>;
203
+ haVmMonitoring?: pulumi.Input<string>;
204
204
  /**
205
205
  * Determines whether or
206
206
  * not the cluster's default settings or the VM override settings specified in
207
207
  * this resource are used for virtual machine monitoring. The default is `true`
208
208
  * (use cluster defaults) - set to `false` to have overrides take effect.
209
209
  */
210
- readonly haVmMonitoringUseClusterDefaults?: pulumi.Input<boolean>;
210
+ haVmMonitoringUseClusterDefaults?: pulumi.Input<boolean>;
211
211
  /**
212
212
  * The restart priority for the virtual
213
213
  * machine when vSphere detects a host failure. Can be one of
214
214
  * `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, or `highest`.
215
215
  * Default: `clusterRestartPriority`.
216
216
  */
217
- readonly haVmRestartPriority?: pulumi.Input<string>;
217
+ haVmRestartPriority?: pulumi.Input<string>;
218
218
  /**
219
219
  * The maximum time, in seconds, that
220
220
  * vSphere HA will wait for this virtual machine to be ready. Use `-1` to
221
221
  * specify the cluster default. Default: `-1`.
222
222
  */
223
- readonly haVmRestartTimeout?: pulumi.Input<number>;
223
+ haVmRestartTimeout?: pulumi.Input<number>;
224
224
  /**
225
225
  * The UUID of the virtual machine to create
226
226
  * the override for. Forces a new resource if changed.
227
227
  */
228
- readonly virtualMachineId?: pulumi.Input<string>;
228
+ virtualMachineId?: pulumi.Input<string>;
229
229
  }
230
230
  /**
231
231
  * The set of arguments for constructing a HaVmOverride resource.
@@ -236,48 +236,48 @@ export interface HaVmOverrideArgs {
236
236
  * ID of the cluster to put the override in. Forces a new
237
237
  * resource if changed.
238
238
  */
239
- readonly computeClusterId: pulumi.Input<string>;
239
+ computeClusterId: pulumi.Input<string>;
240
240
  /**
241
241
  * Controls the action to take
242
242
  * on this virtual machine if an APD status on an affected datastore clears in
243
243
  * the middle of an APD event. Can be one of `useClusterDefault`, `none` or
244
244
  * `reset`. Default: `useClusterDefault`.
245
245
  */
246
- readonly haDatastoreApdRecoveryAction?: pulumi.Input<string>;
246
+ haDatastoreApdRecoveryAction?: pulumi.Input<string>;
247
247
  /**
248
248
  * Controls the action to take on this
249
249
  * virtual machine when the cluster has detected loss to all paths to a relevant
250
250
  * datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
251
251
  * `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
252
252
  */
253
- readonly haDatastoreApdResponse?: pulumi.Input<string>;
253
+ haDatastoreApdResponse?: pulumi.Input<string>;
254
254
  /**
255
255
  * Controls the delay in minutes
256
256
  * to wait after an APD timeout event to execute the response action defined in
257
257
  * `haDatastoreApdResponse`. Use `-1` to use
258
258
  * the cluster default. Default: `-1`.
259
259
  */
260
- readonly haDatastoreApdResponseDelay?: pulumi.Input<number>;
260
+ haDatastoreApdResponseDelay?: pulumi.Input<number>;
261
261
  /**
262
262
  * Controls the action to take on this
263
263
  * virtual machine when the cluster has detected a permanent device loss to a
264
264
  * relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
265
265
  * `restartAggressive`. Default: `clusterDefault`.
266
266
  */
267
- readonly haDatastorePdlResponse?: pulumi.Input<string>;
267
+ haDatastorePdlResponse?: pulumi.Input<string>;
268
268
  /**
269
269
  * The action to take on this virtual
270
270
  * machine when a host has detected that it has been isolated from the rest of
271
271
  * the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
272
272
  * `shutdown`. Default: `clusterIsolationResponse`.
273
273
  */
274
- readonly haHostIsolationResponse?: pulumi.Input<string>;
274
+ haHostIsolationResponse?: pulumi.Input<string>;
275
275
  /**
276
276
  * If a heartbeat from this virtual
277
277
  * machine is not received within this configured interval, the virtual machine
278
278
  * is marked as failed. The value is in seconds. Default: `30`.
279
279
  */
280
- readonly haVmFailureInterval?: pulumi.Input<number>;
280
+ haVmFailureInterval?: pulumi.Input<number>;
281
281
  /**
282
282
  * The length of the reset window in
283
283
  * which `haVmMaximumResets` can operate. When this
@@ -286,48 +286,48 @@ export interface HaVmOverrideArgs {
286
286
  * unlimited reset time is allotted. The value is specified in seconds. Default:
287
287
  * `-1` (no window).
288
288
  */
289
- readonly haVmMaximumFailureWindow?: pulumi.Input<number>;
289
+ haVmMaximumFailureWindow?: pulumi.Input<number>;
290
290
  /**
291
291
  * The maximum number of resets that HA will
292
292
  * perform to this virtual machine when responding to a failure event. Default:
293
293
  * `3`
294
294
  */
295
- readonly haVmMaximumResets?: pulumi.Input<number>;
295
+ haVmMaximumResets?: pulumi.Input<number>;
296
296
  /**
297
297
  * The time, in seconds, that HA waits after
298
298
  * powering on this virtual machine before monitoring for heartbeats. Default:
299
299
  * `120` (2 minutes).
300
300
  */
301
- readonly haVmMinimumUptime?: pulumi.Input<number>;
301
+ haVmMinimumUptime?: pulumi.Input<number>;
302
302
  /**
303
303
  * The type of virtual machine monitoring to use
304
304
  * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
305
305
  * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
306
306
  */
307
- readonly haVmMonitoring?: pulumi.Input<string>;
307
+ haVmMonitoring?: pulumi.Input<string>;
308
308
  /**
309
309
  * Determines whether or
310
310
  * not the cluster's default settings or the VM override settings specified in
311
311
  * this resource are used for virtual machine monitoring. The default is `true`
312
312
  * (use cluster defaults) - set to `false` to have overrides take effect.
313
313
  */
314
- readonly haVmMonitoringUseClusterDefaults?: pulumi.Input<boolean>;
314
+ haVmMonitoringUseClusterDefaults?: pulumi.Input<boolean>;
315
315
  /**
316
316
  * The restart priority for the virtual
317
317
  * machine when vSphere detects a host failure. Can be one of
318
318
  * `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, or `highest`.
319
319
  * Default: `clusterRestartPriority`.
320
320
  */
321
- readonly haVmRestartPriority?: pulumi.Input<string>;
321
+ haVmRestartPriority?: pulumi.Input<string>;
322
322
  /**
323
323
  * The maximum time, in seconds, that
324
324
  * vSphere HA will wait for this virtual machine to be ready. Use `-1` to
325
325
  * specify the cluster default. Default: `-1`.
326
326
  */
327
- readonly haVmRestartTimeout?: pulumi.Input<number>;
327
+ haVmRestartTimeout?: pulumi.Input<number>;
328
328
  /**
329
329
  * The UUID of the virtual machine to create
330
330
  * the override for. Forces a new resource if changed.
331
331
  */
332
- readonly virtualMachineId: pulumi.Input<string>;
332
+ virtualMachineId: pulumi.Input<string>;
333
333
  }
package/haVmOverride.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.HaVmOverride = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  class HaVmOverride extends pulumi.CustomResource {