@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.
- package/README.md +1 -1
- package/computeCluster.d.ts +111 -111
- package/computeCluster.js +1 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterHostGroup.d.ts +6 -6
- package/computeClusterHostGroup.js +1 -0
- package/computeClusterHostGroup.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +10 -10
- package/computeClusterVmAffinityRule.js +1 -0
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/computeClusterVmAntiAffinityRule.d.ts +10 -10
- package/computeClusterVmAntiAffinityRule.js +1 -0
- package/computeClusterVmAntiAffinityRule.js.map +1 -1
- package/computeClusterVmDependencyRule.d.ts +12 -12
- package/computeClusterVmDependencyRule.js +1 -0
- package/computeClusterVmDependencyRule.js.map +1 -1
- package/computeClusterVmGroup.d.ts +6 -6
- package/computeClusterVmGroup.js +1 -0
- package/computeClusterVmGroup.js.map +1 -1
- package/computeClusterVmHostRule.d.ts +14 -14
- package/computeClusterVmHostRule.js +1 -0
- package/computeClusterVmHostRule.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +13 -13
- package/config/vars.js +87 -50
- package/config/vars.js.map +1 -1
- package/contentLibrary.d.ts +10 -10
- package/contentLibrary.js +1 -0
- package/contentLibrary.js.map +1 -1
- package/contentLibraryItem.d.ts +12 -12
- package/contentLibraryItem.js +1 -0
- package/contentLibraryItem.js.map +1 -1
- package/customAttribute.d.ts +4 -4
- package/customAttribute.js +1 -0
- package/customAttribute.js.map +1 -1
- package/datacenter.d.ts +9 -9
- package/datacenter.js +1 -0
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +50 -50
- package/datastoreCluster.js +1 -0
- package/datastoreCluster.js.map +1 -1
- package/datastoreClusterVmAntiAffinityRule.d.ts +10 -10
- package/datastoreClusterVmAntiAffinityRule.js +1 -0
- package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
- package/distributedPortGroup.d.ts +94 -94
- package/distributedPortGroup.js +1 -0
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +189 -189
- package/distributedVirtualSwitch.js +1 -0
- package/distributedVirtualSwitch.js.map +1 -1
- package/dpmHostOverride.d.ts +8 -8
- package/dpmHostOverride.js +1 -0
- package/dpmHostOverride.js.map +1 -1
- package/drsVmOverride.d.ts +8 -8
- package/drsVmOverride.js +1 -0
- package/drsVmOverride.js.map +1 -1
- package/entityPermissions.d.ts +6 -6
- package/entityPermissions.js +1 -0
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +14 -14
- package/file.js +1 -0
- package/file.js.map +1 -1
- package/folder.d.ts +10 -10
- package/folder.js +1 -0
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +22 -4
- package/getComputeCluster.js +7 -2
- package/getComputeCluster.js.map +1 -1
- package/getContentLibrary.d.ts +12 -2
- package/getContentLibrary.js +6 -1
- package/getContentLibrary.js.map +1 -1
- package/getContentLibraryItem.d.ts +36 -3
- package/getContentLibraryItem.js +20 -0
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +12 -2
- package/getCustomAttribute.js +6 -1
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +13 -2
- package/getDatacenter.js +6 -1
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +22 -4
- package/getDatastore.js +7 -2
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +22 -4
- package/getDatastoreCluster.js +7 -2
- package/getDatastoreCluster.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +23 -4
- package/getDistributedVirtualSwitch.js +7 -2
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +24 -3
- package/getDynamic.js +5 -0
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +16 -2
- package/getFolder.js +6 -1
- package/getFolder.js.map +1 -1
- package/getHost.d.ts +20 -4
- package/getHost.js +7 -2
- package/getHost.js.map +1 -1
- package/getHostPciDevice.d.ts +28 -4
- package/getHostPciDevice.js +5 -0
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +24 -4
- package/getHostThumbprint.js +6 -1
- package/getHostThumbprint.js.map +1 -1
- package/getNetwork.d.ts +30 -5
- package/getNetwork.js +7 -2
- package/getNetwork.js.map +1 -1
- package/getOvfVmTemplate.d.ts +78 -14
- package/getOvfVmTemplate.js +5 -0
- package/getOvfVmTemplate.js.map +1 -1
- package/getPolicy.d.ts +12 -2
- package/getPolicy.js +6 -1
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +24 -5
- package/getResourcePool.js +8 -3
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +24 -5
- package/getRole.js +6 -1
- package/getRole.js.map +1 -1
- package/getTag.d.ts +18 -4
- package/getTag.js +7 -2
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +12 -2
- package/getTagCategory.js +6 -1
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +20 -4
- package/getVappContainer.js +7 -2
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +150 -50
- package/getVirtualMachine.js +8 -2
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +28 -6
- package/getVmfsDisks.js +8 -3
- package/getVmfsDisks.js.map +1 -1
- package/haVmOverride.d.ts +30 -30
- package/haVmOverride.js +1 -0
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +24 -24
- package/host.js +1 -0
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +41 -41
- package/hostPortGroup.js +5 -4
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +42 -42
- package/hostVirtualSwitch.js +1 -0
- package/hostVirtualSwitch.js.map +1 -1
- package/index.js +74 -66
- package/index.js.map +1 -1
- package/license.d.ts +8 -8
- package/license.js +1 -0
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +30 -30
- package/nasDatastore.js +1 -0
- package/nasDatastore.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/provider.d.ts +45 -13
- package/provider.js +9 -8
- package/provider.js.map +1 -1
- package/resourcePool.d.ts +28 -28
- package/resourcePool.js +1 -0
- package/resourcePool.js.map +1 -1
- package/role.d.ts +5 -5
- package/role.js +1 -0
- package/role.js.map +1 -1
- package/storageDrsVmOverride.d.ts +10 -10
- package/storageDrsVmOverride.js +1 -0
- package/storageDrsVmOverride.js.map +1 -1
- package/tag.d.ts +6 -6
- package/tag.js +1 -0
- package/tag.js.map +1 -1
- package/tagCategory.d.ts +8 -8
- package/tagCategory.js +1 -0
- package/tagCategory.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +5 -0
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/vappContainer.d.ts +30 -30
- package/vappContainer.js +1 -0
- package/vappContainer.js.map +1 -1
- package/vappEntity.d.ts +20 -20
- package/vappEntity.js +1 -0
- package/vappEntity.js.map +1 -1
- package/virtualDisk.d.ts +14 -14
- package/virtualDisk.js +1 -0
- package/virtualDisk.js.map +1 -1
- package/virtualMachine.d.ts +185 -158
- package/virtualMachine.js +3 -0
- package/virtualMachine.js.map +1 -1
- package/virtualMachineSnapshot.d.ts +14 -14
- package/virtualMachineSnapshot.js +1 -0
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +6 -6
- package/vmStoragePolicy.js +1 -0
- package/vmStoragePolicy.js.map +1 -1
- package/vmfsDatastore.d.ts +21 -21
- package/vmfsDatastore.js +1 -0
- package/vmfsDatastore.js.map +1 -1
- package/vnic.d.ts +18 -18
- package/vnic.js +1 -0
- package/vnic.js.map +1 -1
package/getVirtualMachine.d.ts
CHANGED
|
@@ -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
|
-
* }
|
|
18
|
+
* }));
|
|
19
19
|
* const template = datacenter.apply(datacenter => vsphere.getVirtualMachine({
|
|
20
20
|
* datacenterId: datacenter.id,
|
|
21
21
|
* name: "test-vm-template",
|
|
22
|
-
* }
|
|
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
|
-
|
|
34
|
+
alternateGuestName?: string;
|
|
35
35
|
/**
|
|
36
36
|
* The user-provided description of this virtual machine.
|
|
37
37
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
-
|
|
67
|
+
firmware?: string;
|
|
68
68
|
/**
|
|
69
69
|
* The guest ID of the virtual machine or template.
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
guestId?: string;
|
|
72
72
|
/**
|
|
73
73
|
* The hardware version number on this virtual machine.
|
|
74
74
|
*/
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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
|
-
|
|
93
|
-
|
|
92
|
+
name: string;
|
|
93
|
+
nestedHvEnabled?: boolean;
|
|
94
94
|
/**
|
|
95
95
|
* The number of cores per socket for this virtual machine.
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
numCoresPerSocket?: number;
|
|
98
98
|
/**
|
|
99
99
|
* The total number of virtual processor cores assigned to this
|
|
100
100
|
* virtual machine.
|
|
101
101
|
*/
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
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
|
+
}
|
package/getVirtualMachine.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.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
|
-
* }
|
|
23
|
+
* }));
|
|
23
24
|
* const template = datacenter.apply(datacenter => vsphere.getVirtualMachine({
|
|
24
25
|
* datacenterId: datacenter.id,
|
|
25
26
|
* name: "test-vm-template",
|
|
26
|
-
* }
|
|
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
|
package/getVirtualMachine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVirtualMachine.js","sourceRoot":"","sources":["../getVirtualMachine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getVirtualMachine.js","sourceRoot":"","sources":["../getVirtualMachine.ts"],"names":[],"mappings":"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"}
|
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
|
-
* }
|
|
16
|
+
* }));
|
|
17
17
|
* const host = datacenter.apply(datacenter => vsphere.getHost({
|
|
18
18
|
* datacenterId: datacenter.id,
|
|
19
19
|
* name: "esxi1",
|
|
20
|
-
* }
|
|
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
|
-
* }
|
|
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
|
-
|
|
37
|
+
filter?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The managed object ID of
|
|
40
40
|
* the host to look for disks on.
|
|
41
41
|
*/
|
|
42
|
-
|
|
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
|
-
|
|
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
|
-
* }
|
|
22
|
+
* }));
|
|
22
23
|
* const host = datacenter.apply(datacenter => vsphere.getHost({
|
|
23
24
|
* datacenterId: datacenter.id,
|
|
24
25
|
* name: "esxi1",
|
|
25
|
-
* }
|
|
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
|
-
* }
|
|
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
|
package/getVmfsDisks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVmfsDisks.js","sourceRoot":"","sources":["../getVmfsDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|