@pulumi/vsphere 4.10.0 → 4.10.2-alpha.1720054582
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/computeCluster.d.ts +309 -633
- package/computeCluster.js +2 -0
- package/computeCluster.js.map +1 -1
- package/computeClusterVmAffinityRule.d.ts +14 -10
- package/computeClusterVmAffinityRule.js +14 -10
- package/computeClusterVmAffinityRule.js.map +1 -1
- package/datacenter.d.ts +14 -15
- package/datacenter.js +14 -6
- package/datacenter.js.map +1 -1
- package/datastoreCluster.d.ts +72 -162
- package/datastoreCluster.js.map +1 -1
- package/distributedPortGroup.d.ts +54 -78
- package/distributedPortGroup.js.map +1 -1
- package/distributedVirtualSwitch.d.ts +129 -351
- package/distributedVirtualSwitch.js.map +1 -1
- package/entityPermissions.d.ts +24 -15
- package/entityPermissions.js.map +1 -1
- package/file.d.ts +8 -12
- package/file.js +8 -12
- package/file.js.map +1 -1
- package/folder.d.ts +0 -9
- package/folder.js.map +1 -1
- package/getComputeCluster.d.ts +0 -4
- package/getComputeCluster.js +0 -4
- package/getComputeCluster.js.map +1 -1
- package/getComputeClusterHostGroup.d.ts +22 -22
- package/getComputeClusterHostGroup.js +16 -18
- package/getComputeClusterHostGroup.js.map +1 -1
- package/getContentLibrary.d.ts +10 -10
- package/getContentLibrary.js +10 -10
- package/getContentLibraryItem.d.ts +12 -8
- package/getContentLibraryItem.js +4 -4
- package/getContentLibraryItem.js.map +1 -1
- package/getCustomAttribute.d.ts +0 -4
- package/getCustomAttribute.js +0 -4
- package/getCustomAttribute.js.map +1 -1
- package/getDatacenter.d.ts +0 -4
- package/getDatacenter.js +0 -4
- package/getDatacenter.js.map +1 -1
- package/getDatastore.d.ts +9 -13
- package/getDatastore.js +0 -4
- package/getDatastore.js.map +1 -1
- package/getDatastoreCluster.d.ts +0 -4
- package/getDatastoreCluster.js +0 -4
- package/getDatastoreCluster.js.map +1 -1
- package/getDatastoreStats.d.ts +38 -44
- package/getDatastoreStats.js +16 -24
- package/getDatastoreStats.js.map +1 -1
- package/getDistributedVirtualSwitch.d.ts +2 -4
- package/getDistributedVirtualSwitch.js +2 -4
- package/getDistributedVirtualSwitch.js.map +1 -1
- package/getDynamic.d.ts +18 -20
- package/getDynamic.js +12 -14
- package/getDynamic.js.map +1 -1
- package/getFolder.d.ts +10 -6
- package/getFolder.js +10 -6
- package/getFolder.js.map +1 -1
- package/getGuestOsCustomization.d.ts +8 -51
- package/getGuestOsCustomization.js +4 -34
- package/getGuestOsCustomization.js.map +1 -1
- package/getHost.d.ts +0 -4
- package/getHost.js +0 -4
- package/getHost.js.map +1 -1
- package/getHostBaseImages.d.ts +42 -0
- package/getHostBaseImages.js +43 -0
- package/getHostBaseImages.js.map +1 -0
- package/getHostPciDevice.d.ts +14 -20
- package/getHostPciDevice.js +10 -18
- package/getHostPciDevice.js.map +1 -1
- package/getHostThumbprint.d.ts +12 -16
- package/getHostThumbprint.js +8 -12
- package/getHostThumbprint.js.map +1 -1
- package/getHostVgpuProfile.d.ts +4 -10
- package/getHostVgpuProfile.js +0 -8
- package/getHostVgpuProfile.js.map +1 -1
- package/getLicense.d.ts +2 -5
- package/getLicense.js +0 -4
- package/getLicense.js.map +1 -1
- package/getNetwork.d.ts +14 -18
- package/getNetwork.js +10 -14
- package/getNetwork.js.map +1 -1
- package/getPolicy.d.ts +0 -4
- package/getPolicy.js +0 -4
- package/getPolicy.js.map +1 -1
- package/getResourcePool.d.ts +14 -18
- package/getResourcePool.js +14 -18
- package/getResourcePool.js.map +1 -1
- package/getRole.d.ts +4 -8
- package/getRole.js +4 -8
- package/getRole.js.map +1 -1
- package/getTag.d.ts +0 -4
- package/getTag.js +0 -4
- package/getTag.js.map +1 -1
- package/getTagCategory.d.ts +0 -4
- package/getTagCategory.js +0 -4
- package/getTagCategory.js.map +1 -1
- package/getVappContainer.d.ts +0 -4
- package/getVappContainer.js +0 -4
- package/getVappContainer.js.map +1 -1
- package/getVirtualMachine.d.ts +48 -40
- package/getVirtualMachine.js +6 -12
- package/getVirtualMachine.js.map +1 -1
- package/getVmfsDisks.d.ts +0 -4
- package/getVmfsDisks.js +0 -4
- package/getVmfsDisks.js.map +1 -1
- package/guestOsCustomization.d.ts +26 -0
- package/guestOsCustomization.js +26 -0
- package/guestOsCustomization.js.map +1 -1
- package/haVmOverride.d.ts +81 -162
- package/haVmOverride.js.map +1 -1
- package/host.d.ts +0 -10
- package/host.js +0 -10
- package/host.js.map +1 -1
- package/hostPortGroup.d.ts +6 -12
- package/hostPortGroup.js +6 -12
- package/hostPortGroup.js.map +1 -1
- package/hostVirtualSwitch.d.ts +60 -123
- package/hostVirtualSwitch.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +21 -2
- package/index.js.map +1 -1
- package/license.d.ts +0 -17
- package/license.js +0 -17
- package/license.js.map +1 -1
- package/nasDatastore.d.ts +3 -3
- package/offlineSoftwareDepot.d.ts +63 -0
- package/offlineSoftwareDepot.js +59 -0
- package/offlineSoftwareDepot.js.map +1 -0
- package/package.json +3 -2
- package/resourcePool.d.ts +28 -12
- package/resourcePool.js +28 -12
- package/resourcePool.js.map +1 -1
- package/supervisor.d.ts +292 -0
- package/supervisor.js +178 -0
- package/supervisor.js.map +1 -0
- package/types/input.d.ts +172 -119
- package/types/output.d.ts +192 -134
- package/virtualDisk.d.ts +6 -6
- package/virtualMachine.d.ts +250 -361
- package/virtualMachine.js.map +1 -1
- package/virtualMachineClass.d.ts +143 -0
- package/virtualMachineClass.js +100 -0
- package/virtualMachineClass.js.map +1 -0
- package/virtualMachineSnapshot.d.ts +4 -6
- package/virtualMachineSnapshot.js +4 -6
- package/virtualMachineSnapshot.js.map +1 -1
- package/vmStoragePolicy.d.ts +29 -35
- package/vmStoragePolicy.js +29 -35
- package/vmStoragePolicy.js.map +1 -1
- package/vnic.d.ts +34 -42
- package/vnic.js +31 -39
- package/vnic.js.map +1 -1
- package/package.json.bak +0 -29
package/computeCluster.d.ts
CHANGED
|
@@ -33,65 +33,50 @@ export declare class ComputeCluster extends pulumi.CustomResource {
|
|
|
33
33
|
*/
|
|
34
34
|
readonly datacenterId: pulumi.Output<string>;
|
|
35
35
|
/**
|
|
36
|
-
* The automation level for host power
|
|
37
|
-
* operations in this cluster. Can be one of `manual` or `automated`. Default:
|
|
38
|
-
* `manual`.
|
|
36
|
+
* The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
39
37
|
*/
|
|
40
38
|
readonly dpmAutomationLevel: pulumi.Output<string | undefined>;
|
|
41
39
|
/**
|
|
42
|
-
* Enable DPM support for DRS
|
|
43
|
-
*
|
|
44
|
-
* Default: `false`.
|
|
40
|
+
* Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
41
|
+
* machines in the cluster. Requires that DRS be enabled.
|
|
45
42
|
*/
|
|
46
43
|
readonly dpmEnabled: pulumi.Output<boolean | undefined>;
|
|
47
44
|
/**
|
|
48
|
-
* A value between
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* tolerate more of a surplus/deficit than a higher setting. Default: `3`.
|
|
45
|
+
* A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
46
|
+
* affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
47
|
+
* setting.
|
|
52
48
|
*/
|
|
53
49
|
readonly dpmThreshold: pulumi.Output<number | undefined>;
|
|
54
50
|
/**
|
|
55
|
-
*
|
|
56
|
-
* options for DRS and DPM.
|
|
51
|
+
* Advanced configuration options for DRS and DPM.
|
|
57
52
|
*/
|
|
58
53
|
readonly drsAdvancedOptions: pulumi.Output<{
|
|
59
54
|
[key: string]: string;
|
|
60
55
|
} | undefined>;
|
|
61
56
|
/**
|
|
62
|
-
* The default automation level for all
|
|
63
|
-
*
|
|
64
|
-
* `partiallyAutomated`, or `fullyAutomated`. Default: `manual`.
|
|
57
|
+
* The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
58
|
+
* fullyAutomated.
|
|
65
59
|
*/
|
|
66
60
|
readonly drsAutomationLevel: pulumi.Output<string | undefined>;
|
|
67
61
|
/**
|
|
68
|
-
* When
|
|
69
|
-
* from [vRealize Operations Manager][ref-vsphere-vrops] to make proactive DRS
|
|
70
|
-
* recommendations. <sup>\*</sup>
|
|
71
|
-
*
|
|
72
|
-
* [ref-vsphere-vrops]: https://docs.vmware.com/en/vRealize-Operations-Manager/index.html
|
|
62
|
+
* When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
73
63
|
*/
|
|
74
64
|
readonly drsEnablePredictiveDrs: pulumi.Output<boolean | undefined>;
|
|
75
65
|
/**
|
|
76
|
-
*
|
|
77
|
-
* set for virtual machines in the cluster. Default: `true`.
|
|
66
|
+
* When true, allows individual VM overrides within this cluster to be set.
|
|
78
67
|
*/
|
|
79
68
|
readonly drsEnableVmOverrides: pulumi.Output<boolean | undefined>;
|
|
80
69
|
/**
|
|
81
|
-
* Enable DRS for this cluster.
|
|
70
|
+
* Enable DRS for this cluster.
|
|
82
71
|
*/
|
|
83
72
|
readonly drsEnabled: pulumi.Output<boolean | undefined>;
|
|
84
73
|
/**
|
|
85
|
-
* A value between
|
|
86
|
-
*
|
|
87
|
-
* tolerate more imbalance while a higher setting will tolerate less. Default:
|
|
88
|
-
* `3`.
|
|
74
|
+
* A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
75
|
+
* more imbalance while a higher setting will tolerate less.
|
|
89
76
|
*/
|
|
90
77
|
readonly drsMigrationThreshold: pulumi.Output<number | undefined>;
|
|
91
78
|
/**
|
|
92
|
-
* Enable scalable shares for all
|
|
93
|
-
* resource pools in the cluster. Can be one of `disabled` or
|
|
94
|
-
* `scaleCpuAndMemoryShares`. Default: `disabled`.
|
|
79
|
+
* Enable scalable shares for all descendants of this cluster.
|
|
95
80
|
*/
|
|
96
81
|
readonly drsScaleDescendantsShares: pulumi.Output<string | undefined>;
|
|
97
82
|
/**
|
|
@@ -104,237 +89,174 @@ export declare class ComputeCluster extends pulumi.CustomResource {
|
|
|
104
89
|
*/
|
|
105
90
|
readonly folder: pulumi.Output<string | undefined>;
|
|
106
91
|
/**
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* as if they were removed by taking their entry out of `hostSystemIds` (see
|
|
110
|
-
* below. This is an advanced
|
|
111
|
-
* option and should only be used for testing. Default: `false`.
|
|
112
|
-
*
|
|
113
|
-
* > **NOTE:** Do not set `forceEvacuateOnDestroy` in production operation as
|
|
114
|
-
* there are many pitfalls to its use when working with complex cluster
|
|
115
|
-
* configurations. Depending on the virtual machines currently on the cluster, and
|
|
116
|
-
* your DRS and HA settings, the full host evacuation may fail. Instead,
|
|
117
|
-
* incrementally remove hosts from your configuration by adjusting the contents of
|
|
118
|
-
* the `hostSystemIds` attribute.
|
|
92
|
+
* Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
93
|
+
* for testing and is not recommended in normal use.
|
|
119
94
|
*/
|
|
120
95
|
readonly forceEvacuateOnDestroy: pulumi.Output<boolean | undefined>;
|
|
121
96
|
/**
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* block access to the host, and DRS will ignore the host when making
|
|
126
|
-
* recommendations.
|
|
97
|
+
* When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
98
|
+
* failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
99
|
+
* will ignore the host when making recommendations.
|
|
127
100
|
*/
|
|
128
101
|
readonly haAdmissionControlFailoverHostSystemIds: pulumi.Output<string[] | undefined>;
|
|
129
102
|
/**
|
|
130
|
-
* The maximum number
|
|
131
|
-
*
|
|
132
|
-
* whether to permit virtual machine operations. The maximum is one less than
|
|
133
|
-
* the number of hosts in the cluster. Default: `1`.
|
|
134
|
-
* <sup>\*</sup>
|
|
103
|
+
* The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
104
|
+
* machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
135
105
|
*/
|
|
136
106
|
readonly haAdmissionControlHostFailureTolerance: pulumi.Output<number | undefined>;
|
|
137
107
|
/**
|
|
138
|
-
* The percentage of
|
|
139
|
-
*
|
|
140
|
-
* a failover. A value of 0 produces warnings only, whereas a value of 100
|
|
141
|
-
* disables the setting. Default: `100` (disabled).
|
|
108
|
+
* The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
109
|
+
* warnings only, whereas a value of 100 disables the setting.
|
|
142
110
|
*/
|
|
143
111
|
readonly haAdmissionControlPerformanceTolerance: pulumi.Output<number | undefined>;
|
|
144
112
|
/**
|
|
145
|
-
* The type of admission control
|
|
146
|
-
*
|
|
147
|
-
*
|
|
113
|
+
* The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
114
|
+
* permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
115
|
+
* slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
116
|
+
* issues.
|
|
148
117
|
*/
|
|
149
118
|
readonly haAdmissionControlPolicy: pulumi.Output<string | undefined>;
|
|
150
119
|
/**
|
|
151
|
-
*
|
|
152
|
-
* average number of host resources represented by the
|
|
153
|
-
*
|
|
154
|
-
* setting from the total amount of resources in the cluster. Disable to supply
|
|
155
|
-
* user-defined values. Default: `true`.
|
|
156
|
-
* <sup>\*</sup>
|
|
120
|
+
* When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by
|
|
121
|
+
* subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from
|
|
122
|
+
* the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
157
123
|
*/
|
|
158
124
|
readonly haAdmissionControlResourcePercentageAutoCompute: pulumi.Output<boolean | undefined>;
|
|
159
125
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* failover. Default: `100`.
|
|
126
|
+
* When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the
|
|
127
|
+
* cluster to reserve for failover.
|
|
163
128
|
*/
|
|
164
129
|
readonly haAdmissionControlResourcePercentageCpu: pulumi.Output<number | undefined>;
|
|
165
130
|
/**
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* failover. Default: `100`.
|
|
131
|
+
* When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
132
|
+
* the cluster to reserve for failover.
|
|
169
133
|
*/
|
|
170
134
|
readonly haAdmissionControlResourcePercentageMemory: pulumi.Output<number | undefined>;
|
|
171
135
|
/**
|
|
172
|
-
*
|
|
173
|
-
* user-defined CPU slot size, in MHz. Default: `32`.
|
|
136
|
+
* When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
174
137
|
*/
|
|
175
138
|
readonly haAdmissionControlSlotPolicyExplicitCpu: pulumi.Output<number | undefined>;
|
|
176
139
|
/**
|
|
177
|
-
*
|
|
178
|
-
* user-defined memory slot size, in MB. Default: `100`.
|
|
140
|
+
* When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
179
141
|
*/
|
|
180
142
|
readonly haAdmissionControlSlotPolicyExplicitMemory: pulumi.Output<number | undefined>;
|
|
181
143
|
/**
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
* average based on all powered-on virtual machines currently in the cluster.
|
|
144
|
+
* When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to
|
|
145
|
+
* CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
146
|
+
* currently in the cluster.
|
|
186
147
|
*/
|
|
187
148
|
readonly haAdmissionControlSlotPolicyUseExplicitSize: pulumi.Output<boolean | undefined>;
|
|
188
149
|
/**
|
|
189
|
-
*
|
|
190
|
-
* options for vSphere HA.
|
|
150
|
+
* Advanced configuration options for vSphere HA.
|
|
191
151
|
*/
|
|
192
152
|
readonly haAdvancedOptions: pulumi.Output<{
|
|
193
153
|
[key: string]: string;
|
|
194
154
|
} | undefined>;
|
|
195
155
|
/**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* middle of an APD event. Can be one of `none` or `reset`. Default: `none`.
|
|
199
|
-
* <sup>\*</sup>
|
|
156
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected
|
|
157
|
+
* datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
200
158
|
*/
|
|
201
159
|
readonly haDatastoreApdRecoveryAction: pulumi.Output<string | undefined>;
|
|
202
160
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* relevant datastore. Can be one of `disabled`, `warning`,
|
|
206
|
-
* `restartConservative`, or `restartAggressive`. Default: `disabled`.
|
|
207
|
-
* <sup>\*</sup>
|
|
161
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected
|
|
162
|
+
* loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
208
163
|
*/
|
|
209
164
|
readonly haDatastoreApdResponse: pulumi.Output<string | undefined>;
|
|
210
165
|
/**
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* `haDatastoreApdResponse`. Default: `180`
|
|
214
|
-
* seconds (3 minutes). <sup>\*</sup>
|
|
166
|
+
* When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the
|
|
167
|
+
* response action defined in ha_datastore_apd_response.
|
|
215
168
|
*/
|
|
216
169
|
readonly haDatastoreApdResponseDelay: pulumi.Output<number | undefined>;
|
|
217
170
|
/**
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
* relevant datastore. Can be one of `disabled`, `warning`, or
|
|
221
|
-
* `restartAggressive`. Default: `disabled`.
|
|
222
|
-
* <sup>\*</sup>
|
|
171
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a
|
|
172
|
+
* permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
223
173
|
*/
|
|
224
174
|
readonly haDatastorePdlResponse: pulumi.Output<string | undefined>;
|
|
225
175
|
/**
|
|
226
|
-
* Enable vSphere HA for this cluster.
|
|
227
|
-
* `false`.
|
|
176
|
+
* Enable vSphere HA for this cluster.
|
|
228
177
|
*/
|
|
229
178
|
readonly haEnabled: pulumi.Output<boolean | undefined>;
|
|
230
179
|
/**
|
|
231
|
-
* The list of managed object IDs for
|
|
232
|
-
*
|
|
233
|
-
* when `haHeartbeatDatastorePolicy` is set
|
|
234
|
-
* to either `userSelectedDs` or `allFeasibleDsWithUserPreference`.
|
|
180
|
+
* The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
181
|
+
* haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
235
182
|
*/
|
|
236
183
|
readonly haHeartbeatDatastoreIds: pulumi.Output<string[] | undefined>;
|
|
237
184
|
/**
|
|
238
|
-
* The selection policy for HA
|
|
239
|
-
*
|
|
240
|
-
* `allFeasibleDsWithUserPreference`. Default:
|
|
241
|
-
* `allFeasibleDsWithUserPreference`.
|
|
185
|
+
* The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
186
|
+
* allFeasibleDsWithUserPreference.
|
|
242
187
|
*/
|
|
243
188
|
readonly haHeartbeatDatastorePolicy: pulumi.Output<string | undefined>;
|
|
244
189
|
/**
|
|
245
|
-
* The action to take on virtual
|
|
246
|
-
*
|
|
247
|
-
* the cluster. Can be one of `none`, `powerOff`, or `shutdown`. Default:
|
|
248
|
-
* `none`.
|
|
190
|
+
* The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
191
|
+
* Can be one of none, powerOff, or shutdown.
|
|
249
192
|
*/
|
|
250
193
|
readonly haHostIsolationResponse: pulumi.Output<string | undefined>;
|
|
251
194
|
/**
|
|
252
|
-
* Global setting that controls whether
|
|
253
|
-
* vSphere HA remediates virtual machines on host failure. Can be one of `enabled`
|
|
254
|
-
* or `disabled`. Default: `enabled`.
|
|
195
|
+
* Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
255
196
|
*/
|
|
256
197
|
readonly haHostMonitoring: pulumi.Output<string | undefined>;
|
|
257
198
|
/**
|
|
258
|
-
* Controls vSphere VM component
|
|
259
|
-
*
|
|
260
|
-
* `disabled`. Default: `enabled`.
|
|
261
|
-
* <sup>\*</sup>
|
|
199
|
+
* Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
200
|
+
* failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
262
201
|
*/
|
|
263
202
|
readonly haVmComponentProtection: pulumi.Output<string | undefined>;
|
|
264
203
|
/**
|
|
265
|
-
* The condition used to
|
|
266
|
-
*
|
|
267
|
-
* are online, allowing HA to move on to restarting virtual machines on the next
|
|
268
|
-
* priority. Can be one of `none`, `poweredOn`, `guestHbStatusGreen`, or
|
|
269
|
-
* `appHbStatusGreen`. The default is `none`, which means that a virtual machine
|
|
270
|
-
* is considered ready immediately after a host is found to start it on.
|
|
271
|
-
* <sup>\*</sup>
|
|
204
|
+
* The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
205
|
+
* on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
272
206
|
*/
|
|
273
207
|
readonly haVmDependencyRestartCondition: pulumi.Output<string | undefined>;
|
|
274
208
|
/**
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
* the virtual machine is marked as failed. Default: `30` seconds.
|
|
209
|
+
* If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
210
|
+
* failed. The value is in seconds.
|
|
278
211
|
*/
|
|
279
212
|
readonly haVmFailureInterval: pulumi.Output<number | undefined>;
|
|
280
213
|
/**
|
|
281
|
-
* The
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
* configured in `haVmMaximumResets`. `-1` means no window, meaning an
|
|
285
|
-
* unlimited reset time is allotted. Default: `-1` (no window).
|
|
214
|
+
* The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
|
|
215
|
+
* attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
216
|
+
* time is allotted.
|
|
286
217
|
*/
|
|
287
218
|
readonly haVmMaximumFailureWindow: pulumi.Output<number | undefined>;
|
|
288
219
|
/**
|
|
289
|
-
* The maximum number of resets that HA will
|
|
290
|
-
* perform to a virtual machine when responding to a failure event. Default: `3`
|
|
220
|
+
* The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
291
221
|
*/
|
|
292
222
|
readonly haVmMaximumResets: pulumi.Output<number | undefined>;
|
|
293
223
|
/**
|
|
294
|
-
* The time, in seconds, that HA waits after
|
|
295
|
-
* powering on a virtual machine before monitoring for heartbeats. Default:
|
|
296
|
-
* `120` seconds (2 minutes).
|
|
224
|
+
* The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
297
225
|
*/
|
|
298
226
|
readonly haVmMinimumUptime: pulumi.Output<number | undefined>;
|
|
299
227
|
/**
|
|
300
|
-
* The type of virtual machine monitoring to use
|
|
301
|
-
*
|
|
302
|
-
* `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
|
|
228
|
+
* The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
229
|
+
* vmMonitoringOnly, or vmAndAppMonitoring.
|
|
303
230
|
*/
|
|
304
231
|
readonly haVmMonitoring: pulumi.Output<string | undefined>;
|
|
305
232
|
/**
|
|
306
|
-
* Additional delay
|
|
307
|
-
* after ready condition is met. A VM is considered ready at this point.
|
|
308
|
-
* Default: `0` seconds (no delay). <sup>\*</sup>
|
|
233
|
+
* Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
309
234
|
*/
|
|
310
235
|
readonly haVmRestartAdditionalDelay: pulumi.Output<number | undefined>;
|
|
311
236
|
/**
|
|
312
|
-
* The default restart priority
|
|
313
|
-
*
|
|
314
|
-
* of `lowest`, `low`, `medium`, `high`, or `highest`. Default: `medium`.
|
|
237
|
+
* The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
238
|
+
* high, or highest.
|
|
315
239
|
*/
|
|
316
240
|
readonly haVmRestartPriority: pulumi.Output<string | undefined>;
|
|
317
241
|
/**
|
|
318
|
-
* The maximum time, in seconds,
|
|
319
|
-
*
|
|
320
|
-
* before proceeding with the next priority. Default: `600` seconds (10 minutes).
|
|
321
|
-
* <sup>\*</sup>
|
|
242
|
+
* The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
243
|
+
* proceeding with the next priority.
|
|
322
244
|
*/
|
|
323
245
|
readonly haVmRestartTimeout: pulumi.Output<number | undefined>;
|
|
324
246
|
/**
|
|
325
|
-
* The timeout
|
|
326
|
-
* mode operation when removing hosts from a cluster. Default: `3600` seconds (1 hour).
|
|
247
|
+
* The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
327
248
|
*/
|
|
328
249
|
readonly hostClusterExitTimeout: pulumi.Output<number | undefined>;
|
|
329
250
|
/**
|
|
330
|
-
*
|
|
331
|
-
|
|
332
|
-
|
|
251
|
+
* Details about the host image which should be applied to the cluster.
|
|
252
|
+
*/
|
|
253
|
+
readonly hostImage: pulumi.Output<outputs.ComputeClusterHostImage | undefined>;
|
|
254
|
+
/**
|
|
255
|
+
* Must be set if cluster enrollment is managed from host resource.
|
|
333
256
|
*/
|
|
334
257
|
readonly hostManaged: pulumi.Output<boolean | undefined>;
|
|
335
258
|
/**
|
|
336
|
-
* The managed object IDs of
|
|
337
|
-
* the hosts to put in the cluster. Conflicts with: `hostManaged`.
|
|
259
|
+
* The managed object IDs of the hosts to put in the cluster.
|
|
338
260
|
*/
|
|
339
261
|
readonly hostSystemIds: pulumi.Output<string[] | undefined>;
|
|
340
262
|
/**
|
|
@@ -342,39 +264,25 @@ export declare class ComputeCluster extends pulumi.CustomResource {
|
|
|
342
264
|
*/
|
|
343
265
|
readonly name: pulumi.Output<string>;
|
|
344
266
|
/**
|
|
345
|
-
*
|
|
346
|
-
* quarantine, maintenance mode, or virtual machine migration recommendations
|
|
347
|
-
* made by proactive HA are to be handled. Can be one of `Automated` or
|
|
348
|
-
* `Manual`. Default: `Manual`. <sup>\*</sup>
|
|
267
|
+
* The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
349
268
|
*/
|
|
350
269
|
readonly proactiveHaAutomationLevel: pulumi.Output<string | undefined>;
|
|
351
270
|
/**
|
|
352
|
-
* Enables
|
|
353
|
-
* <sup>\*</sup>
|
|
271
|
+
* Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
354
272
|
*/
|
|
355
273
|
readonly proactiveHaEnabled: pulumi.Output<boolean | undefined>;
|
|
356
274
|
/**
|
|
357
|
-
* The configured remediation
|
|
358
|
-
*
|
|
359
|
-
* `QuarantineMode`. Note that this cannot be set to `MaintenanceMode` when
|
|
360
|
-
* `proactiveHaSevereRemediation` is set
|
|
361
|
-
* to `QuarantineMode`. Default: `QuarantineMode`.
|
|
362
|
-
* <sup>\*</sup>
|
|
275
|
+
* The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
276
|
+
* this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
|
|
363
277
|
*/
|
|
364
278
|
readonly proactiveHaModerateRemediation: pulumi.Output<string | undefined>;
|
|
365
279
|
/**
|
|
366
|
-
* The list of IDs for health update
|
|
367
|
-
* providers configured for this cluster.
|
|
368
|
-
* <sup>\*</sup>
|
|
280
|
+
* The list of IDs for health update providers configured for this cluster.
|
|
369
281
|
*/
|
|
370
282
|
readonly proactiveHaProviderIds: pulumi.Output<string[] | undefined>;
|
|
371
283
|
/**
|
|
372
|
-
* The configured remediation for
|
|
373
|
-
*
|
|
374
|
-
* Note that this cannot be set to `QuarantineMode` when
|
|
375
|
-
* `proactiveHaModerateRemediation` is
|
|
376
|
-
* set to `MaintenanceMode`. Default: `QuarantineMode`.
|
|
377
|
-
* <sup>\*</sup>
|
|
284
|
+
* The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
285
|
+
* cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
|
|
378
286
|
*/
|
|
379
287
|
readonly proactiveHaSevereRemediation: pulumi.Output<string | undefined>;
|
|
380
288
|
/**
|
|
@@ -390,75 +298,59 @@ export declare class ComputeCluster extends pulumi.CustomResource {
|
|
|
390
298
|
*/
|
|
391
299
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
392
300
|
/**
|
|
393
|
-
*
|
|
394
|
-
* cluster.
|
|
301
|
+
* Whether the vSAN compression service is enabled for the cluster.
|
|
395
302
|
*/
|
|
396
303
|
readonly vsanCompressionEnabled: pulumi.Output<boolean | undefined>;
|
|
397
304
|
/**
|
|
398
|
-
*
|
|
399
|
-
* Cannot be independently set to `true`. When vSAN deduplication is enabled, vSAN
|
|
400
|
-
* compression must also be enabled.
|
|
305
|
+
* Whether the vSAN deduplication service is enabled for the cluster.
|
|
401
306
|
*/
|
|
402
307
|
readonly vsanDedupEnabled: pulumi.Output<boolean | undefined>;
|
|
403
308
|
/**
|
|
404
|
-
*
|
|
405
|
-
* group in the cluster.
|
|
309
|
+
* A list of disk UUIDs to add to the vSAN cluster.
|
|
406
310
|
*/
|
|
407
311
|
readonly vsanDiskGroups: pulumi.Output<outputs.ComputeClusterVsanDiskGroup[]>;
|
|
408
312
|
/**
|
|
409
|
-
*
|
|
410
|
-
* encryption on the cluster. Conflicts with `vsanRemoteDatastoreIds`, i.e.,
|
|
411
|
-
* vSAN data-in-transit feature cannot be enabled with the vSAN HCI Mesh feature
|
|
412
|
-
* at the same time.
|
|
313
|
+
* Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
413
314
|
*/
|
|
414
315
|
readonly vsanDitEncryptionEnabled: pulumi.Output<boolean | undefined>;
|
|
415
316
|
/**
|
|
416
|
-
*
|
|
417
|
-
* minutes for data-in-transit encryption. The valid rekey interval is 30 to
|
|
418
|
-
* 10800 (feature defaults to 1440). Conflicts with `vsanRemoteDatastoreIds`.
|
|
317
|
+
* When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
419
318
|
*/
|
|
420
319
|
readonly vsanDitRekeyInterval: pulumi.Output<number>;
|
|
421
320
|
/**
|
|
422
|
-
*
|
|
321
|
+
* Whether the vSAN service is enabled for the cluster.
|
|
423
322
|
*/
|
|
424
323
|
readonly vsanEnabled: pulumi.Output<boolean | undefined>;
|
|
425
324
|
/**
|
|
426
|
-
*
|
|
325
|
+
* Whether the vSAN ESA service is enabled for the cluster.
|
|
427
326
|
*/
|
|
428
327
|
readonly vsanEsaEnabled: pulumi.Output<boolean | undefined>;
|
|
429
328
|
/**
|
|
430
|
-
*
|
|
329
|
+
* The configuration for vSAN fault domains.
|
|
431
330
|
*/
|
|
432
331
|
readonly vsanFaultDomains: pulumi.Output<outputs.ComputeClusterVsanFaultDomain[] | undefined>;
|
|
433
332
|
/**
|
|
434
|
-
*
|
|
435
|
-
* diagnostic mode for vSAN performance service on the cluster.
|
|
333
|
+
* Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
436
334
|
*/
|
|
437
335
|
readonly vsanNetworkDiagnosticModeEnabled: pulumi.Output<boolean | undefined>;
|
|
438
336
|
/**
|
|
439
|
-
*
|
|
440
|
-
* the cluster. Default: `true`.
|
|
337
|
+
* Whether the vSAN performance service is enabled for the cluster.
|
|
441
338
|
*/
|
|
442
339
|
readonly vsanPerformanceEnabled: pulumi.Output<boolean | undefined>;
|
|
443
340
|
/**
|
|
444
|
-
* The
|
|
445
|
-
* mounted to this cluster. Conflicts with `vsanDitEncryptionEnabled` and
|
|
446
|
-
* `vsanDitRekeyInterval`, i.e., vSAN HCI Mesh feature cannot be enabled with
|
|
447
|
-
* data-in-transit encryption feature at the same time.
|
|
341
|
+
* The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
448
342
|
*/
|
|
449
343
|
readonly vsanRemoteDatastoreIds: pulumi.Output<string[] | undefined>;
|
|
450
344
|
/**
|
|
451
|
-
*
|
|
345
|
+
* The configuration for stretched cluster.
|
|
452
346
|
*/
|
|
453
347
|
readonly vsanStretchedCluster: pulumi.Output<outputs.ComputeClusterVsanStretchedCluster | undefined>;
|
|
454
348
|
/**
|
|
455
|
-
*
|
|
456
|
-
* You must explicitly enable vSAN unmap when you enable vSAN ESA on the cluster.
|
|
349
|
+
* Whether the vSAN unmap service is enabled for the cluster.
|
|
457
350
|
*/
|
|
458
351
|
readonly vsanUnmapEnabled: pulumi.Output<boolean | undefined>;
|
|
459
352
|
/**
|
|
460
|
-
*
|
|
461
|
-
* performance service on the cluster.
|
|
353
|
+
* Whether the vSAN verbose mode is enabled for the cluster.
|
|
462
354
|
*/
|
|
463
355
|
readonly vsanVerboseModeEnabled: pulumi.Output<boolean | undefined>;
|
|
464
356
|
/**
|
|
@@ -490,65 +382,50 @@ export interface ComputeClusterState {
|
|
|
490
382
|
*/
|
|
491
383
|
datacenterId?: pulumi.Input<string>;
|
|
492
384
|
/**
|
|
493
|
-
* The automation level for host power
|
|
494
|
-
* operations in this cluster. Can be one of `manual` or `automated`. Default:
|
|
495
|
-
* `manual`.
|
|
385
|
+
* The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
496
386
|
*/
|
|
497
387
|
dpmAutomationLevel?: pulumi.Input<string>;
|
|
498
388
|
/**
|
|
499
|
-
* Enable DPM support for DRS
|
|
500
|
-
*
|
|
501
|
-
* Default: `false`.
|
|
389
|
+
* Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
390
|
+
* machines in the cluster. Requires that DRS be enabled.
|
|
502
391
|
*/
|
|
503
392
|
dpmEnabled?: pulumi.Input<boolean>;
|
|
504
393
|
/**
|
|
505
|
-
* A value between
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
* tolerate more of a surplus/deficit than a higher setting. Default: `3`.
|
|
394
|
+
* A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
395
|
+
* affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
396
|
+
* setting.
|
|
509
397
|
*/
|
|
510
398
|
dpmThreshold?: pulumi.Input<number>;
|
|
511
399
|
/**
|
|
512
|
-
*
|
|
513
|
-
* options for DRS and DPM.
|
|
400
|
+
* Advanced configuration options for DRS and DPM.
|
|
514
401
|
*/
|
|
515
402
|
drsAdvancedOptions?: pulumi.Input<{
|
|
516
403
|
[key: string]: pulumi.Input<string>;
|
|
517
404
|
}>;
|
|
518
405
|
/**
|
|
519
|
-
* The default automation level for all
|
|
520
|
-
*
|
|
521
|
-
* `partiallyAutomated`, or `fullyAutomated`. Default: `manual`.
|
|
406
|
+
* The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
407
|
+
* fullyAutomated.
|
|
522
408
|
*/
|
|
523
409
|
drsAutomationLevel?: pulumi.Input<string>;
|
|
524
410
|
/**
|
|
525
|
-
* When
|
|
526
|
-
* from [vRealize Operations Manager][ref-vsphere-vrops] to make proactive DRS
|
|
527
|
-
* recommendations. <sup>\*</sup>
|
|
528
|
-
*
|
|
529
|
-
* [ref-vsphere-vrops]: https://docs.vmware.com/en/vRealize-Operations-Manager/index.html
|
|
411
|
+
* When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
530
412
|
*/
|
|
531
413
|
drsEnablePredictiveDrs?: pulumi.Input<boolean>;
|
|
532
414
|
/**
|
|
533
|
-
*
|
|
534
|
-
* set for virtual machines in the cluster. Default: `true`.
|
|
415
|
+
* When true, allows individual VM overrides within this cluster to be set.
|
|
535
416
|
*/
|
|
536
417
|
drsEnableVmOverrides?: pulumi.Input<boolean>;
|
|
537
418
|
/**
|
|
538
|
-
* Enable DRS for this cluster.
|
|
419
|
+
* Enable DRS for this cluster.
|
|
539
420
|
*/
|
|
540
421
|
drsEnabled?: pulumi.Input<boolean>;
|
|
541
422
|
/**
|
|
542
|
-
* A value between
|
|
543
|
-
*
|
|
544
|
-
* tolerate more imbalance while a higher setting will tolerate less. Default:
|
|
545
|
-
* `3`.
|
|
423
|
+
* A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
424
|
+
* more imbalance while a higher setting will tolerate less.
|
|
546
425
|
*/
|
|
547
426
|
drsMigrationThreshold?: pulumi.Input<number>;
|
|
548
427
|
/**
|
|
549
|
-
* Enable scalable shares for all
|
|
550
|
-
* resource pools in the cluster. Can be one of `disabled` or
|
|
551
|
-
* `scaleCpuAndMemoryShares`. Default: `disabled`.
|
|
428
|
+
* Enable scalable shares for all descendants of this cluster.
|
|
552
429
|
*/
|
|
553
430
|
drsScaleDescendantsShares?: pulumi.Input<string>;
|
|
554
431
|
/**
|
|
@@ -561,237 +438,174 @@ export interface ComputeClusterState {
|
|
|
561
438
|
*/
|
|
562
439
|
folder?: pulumi.Input<string>;
|
|
563
440
|
/**
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
* as if they were removed by taking their entry out of `hostSystemIds` (see
|
|
567
|
-
* below. This is an advanced
|
|
568
|
-
* option and should only be used for testing. Default: `false`.
|
|
569
|
-
*
|
|
570
|
-
* > **NOTE:** Do not set `forceEvacuateOnDestroy` in production operation as
|
|
571
|
-
* there are many pitfalls to its use when working with complex cluster
|
|
572
|
-
* configurations. Depending on the virtual machines currently on the cluster, and
|
|
573
|
-
* your DRS and HA settings, the full host evacuation may fail. Instead,
|
|
574
|
-
* incrementally remove hosts from your configuration by adjusting the contents of
|
|
575
|
-
* the `hostSystemIds` attribute.
|
|
441
|
+
* Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
442
|
+
* for testing and is not recommended in normal use.
|
|
576
443
|
*/
|
|
577
444
|
forceEvacuateOnDestroy?: pulumi.Input<boolean>;
|
|
578
445
|
/**
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
* block access to the host, and DRS will ignore the host when making
|
|
583
|
-
* recommendations.
|
|
446
|
+
* When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
447
|
+
* failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
448
|
+
* will ignore the host when making recommendations.
|
|
584
449
|
*/
|
|
585
450
|
haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
586
451
|
/**
|
|
587
|
-
* The maximum number
|
|
588
|
-
*
|
|
589
|
-
* whether to permit virtual machine operations. The maximum is one less than
|
|
590
|
-
* the number of hosts in the cluster. Default: `1`.
|
|
591
|
-
* <sup>\*</sup>
|
|
452
|
+
* The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
453
|
+
* machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
592
454
|
*/
|
|
593
455
|
haAdmissionControlHostFailureTolerance?: pulumi.Input<number>;
|
|
594
456
|
/**
|
|
595
|
-
* The percentage of
|
|
596
|
-
*
|
|
597
|
-
* a failover. A value of 0 produces warnings only, whereas a value of 100
|
|
598
|
-
* disables the setting. Default: `100` (disabled).
|
|
457
|
+
* The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
458
|
+
* warnings only, whereas a value of 100 disables the setting.
|
|
599
459
|
*/
|
|
600
460
|
haAdmissionControlPerformanceTolerance?: pulumi.Input<number>;
|
|
601
461
|
/**
|
|
602
|
-
* The type of admission control
|
|
603
|
-
*
|
|
604
|
-
*
|
|
462
|
+
* The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
463
|
+
* permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
464
|
+
* slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
465
|
+
* issues.
|
|
605
466
|
*/
|
|
606
467
|
haAdmissionControlPolicy?: pulumi.Input<string>;
|
|
607
468
|
/**
|
|
608
|
-
*
|
|
609
|
-
* average number of host resources represented by the
|
|
610
|
-
*
|
|
611
|
-
* setting from the total amount of resources in the cluster. Disable to supply
|
|
612
|
-
* user-defined values. Default: `true`.
|
|
613
|
-
* <sup>\*</sup>
|
|
469
|
+
* When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by
|
|
470
|
+
* subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from
|
|
471
|
+
* the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
614
472
|
*/
|
|
615
473
|
haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean>;
|
|
616
474
|
/**
|
|
617
|
-
*
|
|
618
|
-
*
|
|
619
|
-
* failover. Default: `100`.
|
|
475
|
+
* When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the
|
|
476
|
+
* cluster to reserve for failover.
|
|
620
477
|
*/
|
|
621
478
|
haAdmissionControlResourcePercentageCpu?: pulumi.Input<number>;
|
|
622
479
|
/**
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
* failover. Default: `100`.
|
|
480
|
+
* When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
481
|
+
* the cluster to reserve for failover.
|
|
626
482
|
*/
|
|
627
483
|
haAdmissionControlResourcePercentageMemory?: pulumi.Input<number>;
|
|
628
484
|
/**
|
|
629
|
-
*
|
|
630
|
-
* user-defined CPU slot size, in MHz. Default: `32`.
|
|
485
|
+
* When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
631
486
|
*/
|
|
632
487
|
haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number>;
|
|
633
488
|
/**
|
|
634
|
-
*
|
|
635
|
-
* user-defined memory slot size, in MB. Default: `100`.
|
|
489
|
+
* When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
636
490
|
*/
|
|
637
491
|
haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number>;
|
|
638
492
|
/**
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
|
-
*
|
|
642
|
-
* average based on all powered-on virtual machines currently in the cluster.
|
|
493
|
+
* When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to
|
|
494
|
+
* CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
495
|
+
* currently in the cluster.
|
|
643
496
|
*/
|
|
644
497
|
haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean>;
|
|
645
498
|
/**
|
|
646
|
-
*
|
|
647
|
-
* options for vSphere HA.
|
|
499
|
+
* Advanced configuration options for vSphere HA.
|
|
648
500
|
*/
|
|
649
501
|
haAdvancedOptions?: pulumi.Input<{
|
|
650
502
|
[key: string]: pulumi.Input<string>;
|
|
651
503
|
}>;
|
|
652
504
|
/**
|
|
653
|
-
*
|
|
654
|
-
*
|
|
655
|
-
* middle of an APD event. Can be one of `none` or `reset`. Default: `none`.
|
|
656
|
-
* <sup>\*</sup>
|
|
505
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected
|
|
506
|
+
* datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
657
507
|
*/
|
|
658
508
|
haDatastoreApdRecoveryAction?: pulumi.Input<string>;
|
|
659
509
|
/**
|
|
660
|
-
*
|
|
661
|
-
*
|
|
662
|
-
* relevant datastore. Can be one of `disabled`, `warning`,
|
|
663
|
-
* `restartConservative`, or `restartAggressive`. Default: `disabled`.
|
|
664
|
-
* <sup>\*</sup>
|
|
510
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected
|
|
511
|
+
* loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
665
512
|
*/
|
|
666
513
|
haDatastoreApdResponse?: pulumi.Input<string>;
|
|
667
514
|
/**
|
|
668
|
-
*
|
|
669
|
-
*
|
|
670
|
-
* `haDatastoreApdResponse`. Default: `180`
|
|
671
|
-
* seconds (3 minutes). <sup>\*</sup>
|
|
515
|
+
* When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the
|
|
516
|
+
* response action defined in ha_datastore_apd_response.
|
|
672
517
|
*/
|
|
673
518
|
haDatastoreApdResponseDelay?: pulumi.Input<number>;
|
|
674
519
|
/**
|
|
675
|
-
*
|
|
676
|
-
*
|
|
677
|
-
* relevant datastore. Can be one of `disabled`, `warning`, or
|
|
678
|
-
* `restartAggressive`. Default: `disabled`.
|
|
679
|
-
* <sup>\*</sup>
|
|
520
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a
|
|
521
|
+
* permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
680
522
|
*/
|
|
681
523
|
haDatastorePdlResponse?: pulumi.Input<string>;
|
|
682
524
|
/**
|
|
683
|
-
* Enable vSphere HA for this cluster.
|
|
684
|
-
* `false`.
|
|
525
|
+
* Enable vSphere HA for this cluster.
|
|
685
526
|
*/
|
|
686
527
|
haEnabled?: pulumi.Input<boolean>;
|
|
687
528
|
/**
|
|
688
|
-
* The list of managed object IDs for
|
|
689
|
-
*
|
|
690
|
-
* when `haHeartbeatDatastorePolicy` is set
|
|
691
|
-
* to either `userSelectedDs` or `allFeasibleDsWithUserPreference`.
|
|
529
|
+
* The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
530
|
+
* haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
692
531
|
*/
|
|
693
532
|
haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
694
533
|
/**
|
|
695
|
-
* The selection policy for HA
|
|
696
|
-
*
|
|
697
|
-
* `allFeasibleDsWithUserPreference`. Default:
|
|
698
|
-
* `allFeasibleDsWithUserPreference`.
|
|
534
|
+
* The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
535
|
+
* allFeasibleDsWithUserPreference.
|
|
699
536
|
*/
|
|
700
537
|
haHeartbeatDatastorePolicy?: pulumi.Input<string>;
|
|
701
538
|
/**
|
|
702
|
-
* The action to take on virtual
|
|
703
|
-
*
|
|
704
|
-
* the cluster. Can be one of `none`, `powerOff`, or `shutdown`. Default:
|
|
705
|
-
* `none`.
|
|
539
|
+
* The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
540
|
+
* Can be one of none, powerOff, or shutdown.
|
|
706
541
|
*/
|
|
707
542
|
haHostIsolationResponse?: pulumi.Input<string>;
|
|
708
543
|
/**
|
|
709
|
-
* Global setting that controls whether
|
|
710
|
-
* vSphere HA remediates virtual machines on host failure. Can be one of `enabled`
|
|
711
|
-
* or `disabled`. Default: `enabled`.
|
|
544
|
+
* Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
712
545
|
*/
|
|
713
546
|
haHostMonitoring?: pulumi.Input<string>;
|
|
714
547
|
/**
|
|
715
|
-
* Controls vSphere VM component
|
|
716
|
-
*
|
|
717
|
-
* `disabled`. Default: `enabled`.
|
|
718
|
-
* <sup>\*</sup>
|
|
548
|
+
* Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
549
|
+
* failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
719
550
|
*/
|
|
720
551
|
haVmComponentProtection?: pulumi.Input<string>;
|
|
721
552
|
/**
|
|
722
|
-
* The condition used to
|
|
723
|
-
*
|
|
724
|
-
* are online, allowing HA to move on to restarting virtual machines on the next
|
|
725
|
-
* priority. Can be one of `none`, `poweredOn`, `guestHbStatusGreen`, or
|
|
726
|
-
* `appHbStatusGreen`. The default is `none`, which means that a virtual machine
|
|
727
|
-
* is considered ready immediately after a host is found to start it on.
|
|
728
|
-
* <sup>\*</sup>
|
|
553
|
+
* The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
554
|
+
* on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
729
555
|
*/
|
|
730
556
|
haVmDependencyRestartCondition?: pulumi.Input<string>;
|
|
731
557
|
/**
|
|
732
|
-
*
|
|
733
|
-
*
|
|
734
|
-
* the virtual machine is marked as failed. Default: `30` seconds.
|
|
558
|
+
* If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
559
|
+
* failed. The value is in seconds.
|
|
735
560
|
*/
|
|
736
561
|
haVmFailureInterval?: pulumi.Input<number>;
|
|
737
562
|
/**
|
|
738
|
-
* The
|
|
739
|
-
*
|
|
740
|
-
*
|
|
741
|
-
* configured in `haVmMaximumResets`. `-1` means no window, meaning an
|
|
742
|
-
* unlimited reset time is allotted. Default: `-1` (no window).
|
|
563
|
+
* The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
|
|
564
|
+
* attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
565
|
+
* time is allotted.
|
|
743
566
|
*/
|
|
744
567
|
haVmMaximumFailureWindow?: pulumi.Input<number>;
|
|
745
568
|
/**
|
|
746
|
-
* The maximum number of resets that HA will
|
|
747
|
-
* perform to a virtual machine when responding to a failure event. Default: `3`
|
|
569
|
+
* The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
748
570
|
*/
|
|
749
571
|
haVmMaximumResets?: pulumi.Input<number>;
|
|
750
572
|
/**
|
|
751
|
-
* The time, in seconds, that HA waits after
|
|
752
|
-
* powering on a virtual machine before monitoring for heartbeats. Default:
|
|
753
|
-
* `120` seconds (2 minutes).
|
|
573
|
+
* The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
754
574
|
*/
|
|
755
575
|
haVmMinimumUptime?: pulumi.Input<number>;
|
|
756
576
|
/**
|
|
757
|
-
* The type of virtual machine monitoring to use
|
|
758
|
-
*
|
|
759
|
-
* `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
|
|
577
|
+
* The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
578
|
+
* vmMonitoringOnly, or vmAndAppMonitoring.
|
|
760
579
|
*/
|
|
761
580
|
haVmMonitoring?: pulumi.Input<string>;
|
|
762
581
|
/**
|
|
763
|
-
* Additional delay
|
|
764
|
-
* after ready condition is met. A VM is considered ready at this point.
|
|
765
|
-
* Default: `0` seconds (no delay). <sup>\*</sup>
|
|
582
|
+
* Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
766
583
|
*/
|
|
767
584
|
haVmRestartAdditionalDelay?: pulumi.Input<number>;
|
|
768
585
|
/**
|
|
769
|
-
* The default restart priority
|
|
770
|
-
*
|
|
771
|
-
* of `lowest`, `low`, `medium`, `high`, or `highest`. Default: `medium`.
|
|
586
|
+
* The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
587
|
+
* high, or highest.
|
|
772
588
|
*/
|
|
773
589
|
haVmRestartPriority?: pulumi.Input<string>;
|
|
774
590
|
/**
|
|
775
|
-
* The maximum time, in seconds,
|
|
776
|
-
*
|
|
777
|
-
* before proceeding with the next priority. Default: `600` seconds (10 minutes).
|
|
778
|
-
* <sup>\*</sup>
|
|
591
|
+
* The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
592
|
+
* proceeding with the next priority.
|
|
779
593
|
*/
|
|
780
594
|
haVmRestartTimeout?: pulumi.Input<number>;
|
|
781
595
|
/**
|
|
782
|
-
* The timeout
|
|
783
|
-
* mode operation when removing hosts from a cluster. Default: `3600` seconds (1 hour).
|
|
596
|
+
* The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
784
597
|
*/
|
|
785
598
|
hostClusterExitTimeout?: pulumi.Input<number>;
|
|
786
599
|
/**
|
|
787
|
-
*
|
|
788
|
-
|
|
789
|
-
|
|
600
|
+
* Details about the host image which should be applied to the cluster.
|
|
601
|
+
*/
|
|
602
|
+
hostImage?: pulumi.Input<inputs.ComputeClusterHostImage>;
|
|
603
|
+
/**
|
|
604
|
+
* Must be set if cluster enrollment is managed from host resource.
|
|
790
605
|
*/
|
|
791
606
|
hostManaged?: pulumi.Input<boolean>;
|
|
792
607
|
/**
|
|
793
|
-
* The managed object IDs of
|
|
794
|
-
* the hosts to put in the cluster. Conflicts with: `hostManaged`.
|
|
608
|
+
* The managed object IDs of the hosts to put in the cluster.
|
|
795
609
|
*/
|
|
796
610
|
hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
797
611
|
/**
|
|
@@ -799,39 +613,25 @@ export interface ComputeClusterState {
|
|
|
799
613
|
*/
|
|
800
614
|
name?: pulumi.Input<string>;
|
|
801
615
|
/**
|
|
802
|
-
*
|
|
803
|
-
* quarantine, maintenance mode, or virtual machine migration recommendations
|
|
804
|
-
* made by proactive HA are to be handled. Can be one of `Automated` or
|
|
805
|
-
* `Manual`. Default: `Manual`. <sup>\*</sup>
|
|
616
|
+
* The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
806
617
|
*/
|
|
807
618
|
proactiveHaAutomationLevel?: pulumi.Input<string>;
|
|
808
619
|
/**
|
|
809
|
-
* Enables
|
|
810
|
-
* <sup>\*</sup>
|
|
620
|
+
* Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
811
621
|
*/
|
|
812
622
|
proactiveHaEnabled?: pulumi.Input<boolean>;
|
|
813
623
|
/**
|
|
814
|
-
* The configured remediation
|
|
815
|
-
*
|
|
816
|
-
* `QuarantineMode`. Note that this cannot be set to `MaintenanceMode` when
|
|
817
|
-
* `proactiveHaSevereRemediation` is set
|
|
818
|
-
* to `QuarantineMode`. Default: `QuarantineMode`.
|
|
819
|
-
* <sup>\*</sup>
|
|
624
|
+
* The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
625
|
+
* this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
|
|
820
626
|
*/
|
|
821
627
|
proactiveHaModerateRemediation?: pulumi.Input<string>;
|
|
822
628
|
/**
|
|
823
|
-
* The list of IDs for health update
|
|
824
|
-
* providers configured for this cluster.
|
|
825
|
-
* <sup>\*</sup>
|
|
629
|
+
* The list of IDs for health update providers configured for this cluster.
|
|
826
630
|
*/
|
|
827
631
|
proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
828
632
|
/**
|
|
829
|
-
* The configured remediation for
|
|
830
|
-
*
|
|
831
|
-
* Note that this cannot be set to `QuarantineMode` when
|
|
832
|
-
* `proactiveHaModerateRemediation` is
|
|
833
|
-
* set to `MaintenanceMode`. Default: `QuarantineMode`.
|
|
834
|
-
* <sup>\*</sup>
|
|
633
|
+
* The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
634
|
+
* cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
|
|
835
635
|
*/
|
|
836
636
|
proactiveHaSevereRemediation?: pulumi.Input<string>;
|
|
837
637
|
/**
|
|
@@ -847,75 +647,59 @@ export interface ComputeClusterState {
|
|
|
847
647
|
*/
|
|
848
648
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
849
649
|
/**
|
|
850
|
-
*
|
|
851
|
-
* cluster.
|
|
650
|
+
* Whether the vSAN compression service is enabled for the cluster.
|
|
852
651
|
*/
|
|
853
652
|
vsanCompressionEnabled?: pulumi.Input<boolean>;
|
|
854
653
|
/**
|
|
855
|
-
*
|
|
856
|
-
* Cannot be independently set to `true`. When vSAN deduplication is enabled, vSAN
|
|
857
|
-
* compression must also be enabled.
|
|
654
|
+
* Whether the vSAN deduplication service is enabled for the cluster.
|
|
858
655
|
*/
|
|
859
656
|
vsanDedupEnabled?: pulumi.Input<boolean>;
|
|
860
657
|
/**
|
|
861
|
-
*
|
|
862
|
-
* group in the cluster.
|
|
658
|
+
* A list of disk UUIDs to add to the vSAN cluster.
|
|
863
659
|
*/
|
|
864
660
|
vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[]>;
|
|
865
661
|
/**
|
|
866
|
-
*
|
|
867
|
-
* encryption on the cluster. Conflicts with `vsanRemoteDatastoreIds`, i.e.,
|
|
868
|
-
* vSAN data-in-transit feature cannot be enabled with the vSAN HCI Mesh feature
|
|
869
|
-
* at the same time.
|
|
662
|
+
* Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
870
663
|
*/
|
|
871
664
|
vsanDitEncryptionEnabled?: pulumi.Input<boolean>;
|
|
872
665
|
/**
|
|
873
|
-
*
|
|
874
|
-
* minutes for data-in-transit encryption. The valid rekey interval is 30 to
|
|
875
|
-
* 10800 (feature defaults to 1440). Conflicts with `vsanRemoteDatastoreIds`.
|
|
666
|
+
* When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
876
667
|
*/
|
|
877
668
|
vsanDitRekeyInterval?: pulumi.Input<number>;
|
|
878
669
|
/**
|
|
879
|
-
*
|
|
670
|
+
* Whether the vSAN service is enabled for the cluster.
|
|
880
671
|
*/
|
|
881
672
|
vsanEnabled?: pulumi.Input<boolean>;
|
|
882
673
|
/**
|
|
883
|
-
*
|
|
674
|
+
* Whether the vSAN ESA service is enabled for the cluster.
|
|
884
675
|
*/
|
|
885
676
|
vsanEsaEnabled?: pulumi.Input<boolean>;
|
|
886
677
|
/**
|
|
887
|
-
*
|
|
678
|
+
* The configuration for vSAN fault domains.
|
|
888
679
|
*/
|
|
889
680
|
vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[]>;
|
|
890
681
|
/**
|
|
891
|
-
*
|
|
892
|
-
* diagnostic mode for vSAN performance service on the cluster.
|
|
682
|
+
* Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
893
683
|
*/
|
|
894
684
|
vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean>;
|
|
895
685
|
/**
|
|
896
|
-
*
|
|
897
|
-
* the cluster. Default: `true`.
|
|
686
|
+
* Whether the vSAN performance service is enabled for the cluster.
|
|
898
687
|
*/
|
|
899
688
|
vsanPerformanceEnabled?: pulumi.Input<boolean>;
|
|
900
689
|
/**
|
|
901
|
-
* The
|
|
902
|
-
* mounted to this cluster. Conflicts with `vsanDitEncryptionEnabled` and
|
|
903
|
-
* `vsanDitRekeyInterval`, i.e., vSAN HCI Mesh feature cannot be enabled with
|
|
904
|
-
* data-in-transit encryption feature at the same time.
|
|
690
|
+
* The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
905
691
|
*/
|
|
906
692
|
vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
907
693
|
/**
|
|
908
|
-
*
|
|
694
|
+
* The configuration for stretched cluster.
|
|
909
695
|
*/
|
|
910
696
|
vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster>;
|
|
911
697
|
/**
|
|
912
|
-
*
|
|
913
|
-
* You must explicitly enable vSAN unmap when you enable vSAN ESA on the cluster.
|
|
698
|
+
* Whether the vSAN unmap service is enabled for the cluster.
|
|
914
699
|
*/
|
|
915
700
|
vsanUnmapEnabled?: pulumi.Input<boolean>;
|
|
916
701
|
/**
|
|
917
|
-
*
|
|
918
|
-
* performance service on the cluster.
|
|
702
|
+
* Whether the vSAN verbose mode is enabled for the cluster.
|
|
919
703
|
*/
|
|
920
704
|
vsanVerboseModeEnabled?: pulumi.Input<boolean>;
|
|
921
705
|
}
|
|
@@ -939,65 +723,50 @@ export interface ComputeClusterArgs {
|
|
|
939
723
|
*/
|
|
940
724
|
datacenterId: pulumi.Input<string>;
|
|
941
725
|
/**
|
|
942
|
-
* The automation level for host power
|
|
943
|
-
* operations in this cluster. Can be one of `manual` or `automated`. Default:
|
|
944
|
-
* `manual`.
|
|
726
|
+
* The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
945
727
|
*/
|
|
946
728
|
dpmAutomationLevel?: pulumi.Input<string>;
|
|
947
729
|
/**
|
|
948
|
-
* Enable DPM support for DRS
|
|
949
|
-
*
|
|
950
|
-
* Default: `false`.
|
|
730
|
+
* Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
731
|
+
* machines in the cluster. Requires that DRS be enabled.
|
|
951
732
|
*/
|
|
952
733
|
dpmEnabled?: pulumi.Input<boolean>;
|
|
953
734
|
/**
|
|
954
|
-
* A value between
|
|
955
|
-
*
|
|
956
|
-
*
|
|
957
|
-
* tolerate more of a surplus/deficit than a higher setting. Default: `3`.
|
|
735
|
+
* A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
736
|
+
* affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
737
|
+
* setting.
|
|
958
738
|
*/
|
|
959
739
|
dpmThreshold?: pulumi.Input<number>;
|
|
960
740
|
/**
|
|
961
|
-
*
|
|
962
|
-
* options for DRS and DPM.
|
|
741
|
+
* Advanced configuration options for DRS and DPM.
|
|
963
742
|
*/
|
|
964
743
|
drsAdvancedOptions?: pulumi.Input<{
|
|
965
744
|
[key: string]: pulumi.Input<string>;
|
|
966
745
|
}>;
|
|
967
746
|
/**
|
|
968
|
-
* The default automation level for all
|
|
969
|
-
*
|
|
970
|
-
* `partiallyAutomated`, or `fullyAutomated`. Default: `manual`.
|
|
747
|
+
* The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
748
|
+
* fullyAutomated.
|
|
971
749
|
*/
|
|
972
750
|
drsAutomationLevel?: pulumi.Input<string>;
|
|
973
751
|
/**
|
|
974
|
-
* When
|
|
975
|
-
* from [vRealize Operations Manager][ref-vsphere-vrops] to make proactive DRS
|
|
976
|
-
* recommendations. <sup>\*</sup>
|
|
977
|
-
*
|
|
978
|
-
* [ref-vsphere-vrops]: https://docs.vmware.com/en/vRealize-Operations-Manager/index.html
|
|
752
|
+
* When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
979
753
|
*/
|
|
980
754
|
drsEnablePredictiveDrs?: pulumi.Input<boolean>;
|
|
981
755
|
/**
|
|
982
|
-
*
|
|
983
|
-
* set for virtual machines in the cluster. Default: `true`.
|
|
756
|
+
* When true, allows individual VM overrides within this cluster to be set.
|
|
984
757
|
*/
|
|
985
758
|
drsEnableVmOverrides?: pulumi.Input<boolean>;
|
|
986
759
|
/**
|
|
987
|
-
* Enable DRS for this cluster.
|
|
760
|
+
* Enable DRS for this cluster.
|
|
988
761
|
*/
|
|
989
762
|
drsEnabled?: pulumi.Input<boolean>;
|
|
990
763
|
/**
|
|
991
|
-
* A value between
|
|
992
|
-
*
|
|
993
|
-
* tolerate more imbalance while a higher setting will tolerate less. Default:
|
|
994
|
-
* `3`.
|
|
764
|
+
* A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
765
|
+
* more imbalance while a higher setting will tolerate less.
|
|
995
766
|
*/
|
|
996
767
|
drsMigrationThreshold?: pulumi.Input<number>;
|
|
997
768
|
/**
|
|
998
|
-
* Enable scalable shares for all
|
|
999
|
-
* resource pools in the cluster. Can be one of `disabled` or
|
|
1000
|
-
* `scaleCpuAndMemoryShares`. Default: `disabled`.
|
|
769
|
+
* Enable scalable shares for all descendants of this cluster.
|
|
1001
770
|
*/
|
|
1002
771
|
drsScaleDescendantsShares?: pulumi.Input<string>;
|
|
1003
772
|
/**
|
|
@@ -1010,237 +779,174 @@ export interface ComputeClusterArgs {
|
|
|
1010
779
|
*/
|
|
1011
780
|
folder?: pulumi.Input<string>;
|
|
1012
781
|
/**
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
* as if they were removed by taking their entry out of `hostSystemIds` (see
|
|
1016
|
-
* below. This is an advanced
|
|
1017
|
-
* option and should only be used for testing. Default: `false`.
|
|
1018
|
-
*
|
|
1019
|
-
* > **NOTE:** Do not set `forceEvacuateOnDestroy` in production operation as
|
|
1020
|
-
* there are many pitfalls to its use when working with complex cluster
|
|
1021
|
-
* configurations. Depending on the virtual machines currently on the cluster, and
|
|
1022
|
-
* your DRS and HA settings, the full host evacuation may fail. Instead,
|
|
1023
|
-
* incrementally remove hosts from your configuration by adjusting the contents of
|
|
1024
|
-
* the `hostSystemIds` attribute.
|
|
782
|
+
* Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
783
|
+
* for testing and is not recommended in normal use.
|
|
1025
784
|
*/
|
|
1026
785
|
forceEvacuateOnDestroy?: pulumi.Input<boolean>;
|
|
1027
786
|
/**
|
|
1028
|
-
*
|
|
1029
|
-
*
|
|
1030
|
-
*
|
|
1031
|
-
* block access to the host, and DRS will ignore the host when making
|
|
1032
|
-
* recommendations.
|
|
787
|
+
* When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
788
|
+
* failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
789
|
+
* will ignore the host when making recommendations.
|
|
1033
790
|
*/
|
|
1034
791
|
haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1035
792
|
/**
|
|
1036
|
-
* The maximum number
|
|
1037
|
-
*
|
|
1038
|
-
* whether to permit virtual machine operations. The maximum is one less than
|
|
1039
|
-
* the number of hosts in the cluster. Default: `1`.
|
|
1040
|
-
* <sup>\*</sup>
|
|
793
|
+
* The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
794
|
+
* machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
1041
795
|
*/
|
|
1042
796
|
haAdmissionControlHostFailureTolerance?: pulumi.Input<number>;
|
|
1043
797
|
/**
|
|
1044
|
-
* The percentage of
|
|
1045
|
-
*
|
|
1046
|
-
* a failover. A value of 0 produces warnings only, whereas a value of 100
|
|
1047
|
-
* disables the setting. Default: `100` (disabled).
|
|
798
|
+
* The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
799
|
+
* warnings only, whereas a value of 100 disables the setting.
|
|
1048
800
|
*/
|
|
1049
801
|
haAdmissionControlPerformanceTolerance?: pulumi.Input<number>;
|
|
1050
802
|
/**
|
|
1051
|
-
* The type of admission control
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
803
|
+
* The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
804
|
+
* permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
805
|
+
* slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
806
|
+
* issues.
|
|
1054
807
|
*/
|
|
1055
808
|
haAdmissionControlPolicy?: pulumi.Input<string>;
|
|
1056
809
|
/**
|
|
1057
|
-
*
|
|
1058
|
-
* average number of host resources represented by the
|
|
1059
|
-
*
|
|
1060
|
-
* setting from the total amount of resources in the cluster. Disable to supply
|
|
1061
|
-
* user-defined values. Default: `true`.
|
|
1062
|
-
* <sup>\*</sup>
|
|
810
|
+
* When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by
|
|
811
|
+
* subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from
|
|
812
|
+
* the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
1063
813
|
*/
|
|
1064
814
|
haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean>;
|
|
1065
815
|
/**
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
1068
|
-
* failover. Default: `100`.
|
|
816
|
+
* When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the
|
|
817
|
+
* cluster to reserve for failover.
|
|
1069
818
|
*/
|
|
1070
819
|
haAdmissionControlResourcePercentageCpu?: pulumi.Input<number>;
|
|
1071
820
|
/**
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1074
|
-
* failover. Default: `100`.
|
|
821
|
+
* When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
822
|
+
* the cluster to reserve for failover.
|
|
1075
823
|
*/
|
|
1076
824
|
haAdmissionControlResourcePercentageMemory?: pulumi.Input<number>;
|
|
1077
825
|
/**
|
|
1078
|
-
*
|
|
1079
|
-
* user-defined CPU slot size, in MHz. Default: `32`.
|
|
826
|
+
* When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
1080
827
|
*/
|
|
1081
828
|
haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number>;
|
|
1082
829
|
/**
|
|
1083
|
-
*
|
|
1084
|
-
* user-defined memory slot size, in MB. Default: `100`.
|
|
830
|
+
* When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
1085
831
|
*/
|
|
1086
832
|
haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number>;
|
|
1087
833
|
/**
|
|
1088
|
-
*
|
|
1089
|
-
*
|
|
1090
|
-
*
|
|
1091
|
-
* average based on all powered-on virtual machines currently in the cluster.
|
|
834
|
+
* When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to
|
|
835
|
+
* CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
836
|
+
* currently in the cluster.
|
|
1092
837
|
*/
|
|
1093
838
|
haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean>;
|
|
1094
839
|
/**
|
|
1095
|
-
*
|
|
1096
|
-
* options for vSphere HA.
|
|
840
|
+
* Advanced configuration options for vSphere HA.
|
|
1097
841
|
*/
|
|
1098
842
|
haAdvancedOptions?: pulumi.Input<{
|
|
1099
843
|
[key: string]: pulumi.Input<string>;
|
|
1100
844
|
}>;
|
|
1101
845
|
/**
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
* middle of an APD event. Can be one of `none` or `reset`. Default: `none`.
|
|
1105
|
-
* <sup>\*</sup>
|
|
846
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected
|
|
847
|
+
* datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
1106
848
|
*/
|
|
1107
849
|
haDatastoreApdRecoveryAction?: pulumi.Input<string>;
|
|
1108
850
|
/**
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1111
|
-
* relevant datastore. Can be one of `disabled`, `warning`,
|
|
1112
|
-
* `restartConservative`, or `restartAggressive`. Default: `disabled`.
|
|
1113
|
-
* <sup>\*</sup>
|
|
851
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected
|
|
852
|
+
* loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
1114
853
|
*/
|
|
1115
854
|
haDatastoreApdResponse?: pulumi.Input<string>;
|
|
1116
855
|
/**
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
* `haDatastoreApdResponse`. Default: `180`
|
|
1120
|
-
* seconds (3 minutes). <sup>\*</sup>
|
|
856
|
+
* When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the
|
|
857
|
+
* response action defined in ha_datastore_apd_response.
|
|
1121
858
|
*/
|
|
1122
859
|
haDatastoreApdResponseDelay?: pulumi.Input<number>;
|
|
1123
860
|
/**
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
1126
|
-
* relevant datastore. Can be one of `disabled`, `warning`, or
|
|
1127
|
-
* `restartAggressive`. Default: `disabled`.
|
|
1128
|
-
* <sup>\*</sup>
|
|
861
|
+
* When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a
|
|
862
|
+
* permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
1129
863
|
*/
|
|
1130
864
|
haDatastorePdlResponse?: pulumi.Input<string>;
|
|
1131
865
|
/**
|
|
1132
|
-
* Enable vSphere HA for this cluster.
|
|
1133
|
-
* `false`.
|
|
866
|
+
* Enable vSphere HA for this cluster.
|
|
1134
867
|
*/
|
|
1135
868
|
haEnabled?: pulumi.Input<boolean>;
|
|
1136
869
|
/**
|
|
1137
|
-
* The list of managed object IDs for
|
|
1138
|
-
*
|
|
1139
|
-
* when `haHeartbeatDatastorePolicy` is set
|
|
1140
|
-
* to either `userSelectedDs` or `allFeasibleDsWithUserPreference`.
|
|
870
|
+
* The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
871
|
+
* haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
1141
872
|
*/
|
|
1142
873
|
haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1143
874
|
/**
|
|
1144
|
-
* The selection policy for HA
|
|
1145
|
-
*
|
|
1146
|
-
* `allFeasibleDsWithUserPreference`. Default:
|
|
1147
|
-
* `allFeasibleDsWithUserPreference`.
|
|
875
|
+
* The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
876
|
+
* allFeasibleDsWithUserPreference.
|
|
1148
877
|
*/
|
|
1149
878
|
haHeartbeatDatastorePolicy?: pulumi.Input<string>;
|
|
1150
879
|
/**
|
|
1151
|
-
* The action to take on virtual
|
|
1152
|
-
*
|
|
1153
|
-
* the cluster. Can be one of `none`, `powerOff`, or `shutdown`. Default:
|
|
1154
|
-
* `none`.
|
|
880
|
+
* The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
881
|
+
* Can be one of none, powerOff, or shutdown.
|
|
1155
882
|
*/
|
|
1156
883
|
haHostIsolationResponse?: pulumi.Input<string>;
|
|
1157
884
|
/**
|
|
1158
|
-
* Global setting that controls whether
|
|
1159
|
-
* vSphere HA remediates virtual machines on host failure. Can be one of `enabled`
|
|
1160
|
-
* or `disabled`. Default: `enabled`.
|
|
885
|
+
* Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
1161
886
|
*/
|
|
1162
887
|
haHostMonitoring?: pulumi.Input<string>;
|
|
1163
888
|
/**
|
|
1164
|
-
* Controls vSphere VM component
|
|
1165
|
-
*
|
|
1166
|
-
* `disabled`. Default: `enabled`.
|
|
1167
|
-
* <sup>\*</sup>
|
|
889
|
+
* Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
890
|
+
* failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
1168
891
|
*/
|
|
1169
892
|
haVmComponentProtection?: pulumi.Input<string>;
|
|
1170
893
|
/**
|
|
1171
|
-
* The condition used to
|
|
1172
|
-
*
|
|
1173
|
-
* are online, allowing HA to move on to restarting virtual machines on the next
|
|
1174
|
-
* priority. Can be one of `none`, `poweredOn`, `guestHbStatusGreen`, or
|
|
1175
|
-
* `appHbStatusGreen`. The default is `none`, which means that a virtual machine
|
|
1176
|
-
* is considered ready immediately after a host is found to start it on.
|
|
1177
|
-
* <sup>\*</sup>
|
|
894
|
+
* The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
895
|
+
* on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
1178
896
|
*/
|
|
1179
897
|
haVmDependencyRestartCondition?: pulumi.Input<string>;
|
|
1180
898
|
/**
|
|
1181
|
-
*
|
|
1182
|
-
*
|
|
1183
|
-
* the virtual machine is marked as failed. Default: `30` seconds.
|
|
899
|
+
* If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
900
|
+
* failed. The value is in seconds.
|
|
1184
901
|
*/
|
|
1185
902
|
haVmFailureInterval?: pulumi.Input<number>;
|
|
1186
903
|
/**
|
|
1187
|
-
* The
|
|
1188
|
-
*
|
|
1189
|
-
*
|
|
1190
|
-
* configured in `haVmMaximumResets`. `-1` means no window, meaning an
|
|
1191
|
-
* unlimited reset time is allotted. Default: `-1` (no window).
|
|
904
|
+
* The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
|
|
905
|
+
* attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
906
|
+
* time is allotted.
|
|
1192
907
|
*/
|
|
1193
908
|
haVmMaximumFailureWindow?: pulumi.Input<number>;
|
|
1194
909
|
/**
|
|
1195
|
-
* The maximum number of resets that HA will
|
|
1196
|
-
* perform to a virtual machine when responding to a failure event. Default: `3`
|
|
910
|
+
* The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
1197
911
|
*/
|
|
1198
912
|
haVmMaximumResets?: pulumi.Input<number>;
|
|
1199
913
|
/**
|
|
1200
|
-
* The time, in seconds, that HA waits after
|
|
1201
|
-
* powering on a virtual machine before monitoring for heartbeats. Default:
|
|
1202
|
-
* `120` seconds (2 minutes).
|
|
914
|
+
* The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
1203
915
|
*/
|
|
1204
916
|
haVmMinimumUptime?: pulumi.Input<number>;
|
|
1205
917
|
/**
|
|
1206
|
-
* The type of virtual machine monitoring to use
|
|
1207
|
-
*
|
|
1208
|
-
* `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
|
|
918
|
+
* The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
919
|
+
* vmMonitoringOnly, or vmAndAppMonitoring.
|
|
1209
920
|
*/
|
|
1210
921
|
haVmMonitoring?: pulumi.Input<string>;
|
|
1211
922
|
/**
|
|
1212
|
-
* Additional delay
|
|
1213
|
-
* after ready condition is met. A VM is considered ready at this point.
|
|
1214
|
-
* Default: `0` seconds (no delay). <sup>\*</sup>
|
|
923
|
+
* Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
1215
924
|
*/
|
|
1216
925
|
haVmRestartAdditionalDelay?: pulumi.Input<number>;
|
|
1217
926
|
/**
|
|
1218
|
-
* The default restart priority
|
|
1219
|
-
*
|
|
1220
|
-
* of `lowest`, `low`, `medium`, `high`, or `highest`. Default: `medium`.
|
|
927
|
+
* The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
928
|
+
* high, or highest.
|
|
1221
929
|
*/
|
|
1222
930
|
haVmRestartPriority?: pulumi.Input<string>;
|
|
1223
931
|
/**
|
|
1224
|
-
* The maximum time, in seconds,
|
|
1225
|
-
*
|
|
1226
|
-
* before proceeding with the next priority. Default: `600` seconds (10 minutes).
|
|
1227
|
-
* <sup>\*</sup>
|
|
932
|
+
* The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
933
|
+
* proceeding with the next priority.
|
|
1228
934
|
*/
|
|
1229
935
|
haVmRestartTimeout?: pulumi.Input<number>;
|
|
1230
936
|
/**
|
|
1231
|
-
* The timeout
|
|
1232
|
-
* mode operation when removing hosts from a cluster. Default: `3600` seconds (1 hour).
|
|
937
|
+
* The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
1233
938
|
*/
|
|
1234
939
|
hostClusterExitTimeout?: pulumi.Input<number>;
|
|
1235
940
|
/**
|
|
1236
|
-
*
|
|
1237
|
-
|
|
1238
|
-
|
|
941
|
+
* Details about the host image which should be applied to the cluster.
|
|
942
|
+
*/
|
|
943
|
+
hostImage?: pulumi.Input<inputs.ComputeClusterHostImage>;
|
|
944
|
+
/**
|
|
945
|
+
* Must be set if cluster enrollment is managed from host resource.
|
|
1239
946
|
*/
|
|
1240
947
|
hostManaged?: pulumi.Input<boolean>;
|
|
1241
948
|
/**
|
|
1242
|
-
* The managed object IDs of
|
|
1243
|
-
* the hosts to put in the cluster. Conflicts with: `hostManaged`.
|
|
949
|
+
* The managed object IDs of the hosts to put in the cluster.
|
|
1244
950
|
*/
|
|
1245
951
|
hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1246
952
|
/**
|
|
@@ -1248,39 +954,25 @@ export interface ComputeClusterArgs {
|
|
|
1248
954
|
*/
|
|
1249
955
|
name?: pulumi.Input<string>;
|
|
1250
956
|
/**
|
|
1251
|
-
*
|
|
1252
|
-
* quarantine, maintenance mode, or virtual machine migration recommendations
|
|
1253
|
-
* made by proactive HA are to be handled. Can be one of `Automated` or
|
|
1254
|
-
* `Manual`. Default: `Manual`. <sup>\*</sup>
|
|
957
|
+
* The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
1255
958
|
*/
|
|
1256
959
|
proactiveHaAutomationLevel?: pulumi.Input<string>;
|
|
1257
960
|
/**
|
|
1258
|
-
* Enables
|
|
1259
|
-
* <sup>\*</sup>
|
|
961
|
+
* Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
1260
962
|
*/
|
|
1261
963
|
proactiveHaEnabled?: pulumi.Input<boolean>;
|
|
1262
964
|
/**
|
|
1263
|
-
* The configured remediation
|
|
1264
|
-
*
|
|
1265
|
-
* `QuarantineMode`. Note that this cannot be set to `MaintenanceMode` when
|
|
1266
|
-
* `proactiveHaSevereRemediation` is set
|
|
1267
|
-
* to `QuarantineMode`. Default: `QuarantineMode`.
|
|
1268
|
-
* <sup>\*</sup>
|
|
965
|
+
* The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
966
|
+
* this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
|
|
1269
967
|
*/
|
|
1270
968
|
proactiveHaModerateRemediation?: pulumi.Input<string>;
|
|
1271
969
|
/**
|
|
1272
|
-
* The list of IDs for health update
|
|
1273
|
-
* providers configured for this cluster.
|
|
1274
|
-
* <sup>\*</sup>
|
|
970
|
+
* The list of IDs for health update providers configured for this cluster.
|
|
1275
971
|
*/
|
|
1276
972
|
proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1277
973
|
/**
|
|
1278
|
-
* The configured remediation for
|
|
1279
|
-
*
|
|
1280
|
-
* Note that this cannot be set to `QuarantineMode` when
|
|
1281
|
-
* `proactiveHaModerateRemediation` is
|
|
1282
|
-
* set to `MaintenanceMode`. Default: `QuarantineMode`.
|
|
1283
|
-
* <sup>\*</sup>
|
|
974
|
+
* The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
975
|
+
* cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
|
|
1284
976
|
*/
|
|
1285
977
|
proactiveHaSevereRemediation?: pulumi.Input<string>;
|
|
1286
978
|
/**
|
|
@@ -1288,75 +980,59 @@ export interface ComputeClusterArgs {
|
|
|
1288
980
|
*/
|
|
1289
981
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1290
982
|
/**
|
|
1291
|
-
*
|
|
1292
|
-
* cluster.
|
|
983
|
+
* Whether the vSAN compression service is enabled for the cluster.
|
|
1293
984
|
*/
|
|
1294
985
|
vsanCompressionEnabled?: pulumi.Input<boolean>;
|
|
1295
986
|
/**
|
|
1296
|
-
*
|
|
1297
|
-
* Cannot be independently set to `true`. When vSAN deduplication is enabled, vSAN
|
|
1298
|
-
* compression must also be enabled.
|
|
987
|
+
* Whether the vSAN deduplication service is enabled for the cluster.
|
|
1299
988
|
*/
|
|
1300
989
|
vsanDedupEnabled?: pulumi.Input<boolean>;
|
|
1301
990
|
/**
|
|
1302
|
-
*
|
|
1303
|
-
* group in the cluster.
|
|
991
|
+
* A list of disk UUIDs to add to the vSAN cluster.
|
|
1304
992
|
*/
|
|
1305
993
|
vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[]>;
|
|
1306
994
|
/**
|
|
1307
|
-
*
|
|
1308
|
-
* encryption on the cluster. Conflicts with `vsanRemoteDatastoreIds`, i.e.,
|
|
1309
|
-
* vSAN data-in-transit feature cannot be enabled with the vSAN HCI Mesh feature
|
|
1310
|
-
* at the same time.
|
|
995
|
+
* Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
1311
996
|
*/
|
|
1312
997
|
vsanDitEncryptionEnabled?: pulumi.Input<boolean>;
|
|
1313
998
|
/**
|
|
1314
|
-
*
|
|
1315
|
-
* minutes for data-in-transit encryption. The valid rekey interval is 30 to
|
|
1316
|
-
* 10800 (feature defaults to 1440). Conflicts with `vsanRemoteDatastoreIds`.
|
|
999
|
+
* When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
1317
1000
|
*/
|
|
1318
1001
|
vsanDitRekeyInterval?: pulumi.Input<number>;
|
|
1319
1002
|
/**
|
|
1320
|
-
*
|
|
1003
|
+
* Whether the vSAN service is enabled for the cluster.
|
|
1321
1004
|
*/
|
|
1322
1005
|
vsanEnabled?: pulumi.Input<boolean>;
|
|
1323
1006
|
/**
|
|
1324
|
-
*
|
|
1007
|
+
* Whether the vSAN ESA service is enabled for the cluster.
|
|
1325
1008
|
*/
|
|
1326
1009
|
vsanEsaEnabled?: pulumi.Input<boolean>;
|
|
1327
1010
|
/**
|
|
1328
|
-
*
|
|
1011
|
+
* The configuration for vSAN fault domains.
|
|
1329
1012
|
*/
|
|
1330
1013
|
vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[]>;
|
|
1331
1014
|
/**
|
|
1332
|
-
*
|
|
1333
|
-
* diagnostic mode for vSAN performance service on the cluster.
|
|
1015
|
+
* Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
1334
1016
|
*/
|
|
1335
1017
|
vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean>;
|
|
1336
1018
|
/**
|
|
1337
|
-
*
|
|
1338
|
-
* the cluster. Default: `true`.
|
|
1019
|
+
* Whether the vSAN performance service is enabled for the cluster.
|
|
1339
1020
|
*/
|
|
1340
1021
|
vsanPerformanceEnabled?: pulumi.Input<boolean>;
|
|
1341
1022
|
/**
|
|
1342
|
-
* The
|
|
1343
|
-
* mounted to this cluster. Conflicts with `vsanDitEncryptionEnabled` and
|
|
1344
|
-
* `vsanDitRekeyInterval`, i.e., vSAN HCI Mesh feature cannot be enabled with
|
|
1345
|
-
* data-in-transit encryption feature at the same time.
|
|
1023
|
+
* The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
1346
1024
|
*/
|
|
1347
1025
|
vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1348
1026
|
/**
|
|
1349
|
-
*
|
|
1027
|
+
* The configuration for stretched cluster.
|
|
1350
1028
|
*/
|
|
1351
1029
|
vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster>;
|
|
1352
1030
|
/**
|
|
1353
|
-
*
|
|
1354
|
-
* You must explicitly enable vSAN unmap when you enable vSAN ESA on the cluster.
|
|
1031
|
+
* Whether the vSAN unmap service is enabled for the cluster.
|
|
1355
1032
|
*/
|
|
1356
1033
|
vsanUnmapEnabled?: pulumi.Input<boolean>;
|
|
1357
1034
|
/**
|
|
1358
|
-
*
|
|
1359
|
-
* performance service on the cluster.
|
|
1035
|
+
* Whether the vSAN verbose mode is enabled for the cluster.
|
|
1360
1036
|
*/
|
|
1361
1037
|
vsanVerboseModeEnabled?: pulumi.Input<boolean>;
|
|
1362
1038
|
}
|