@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
|
@@ -18,26 +18,20 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is DistributedVirtualSwitch;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* balancing. These uplinks need to match the definitions in the
|
|
23
|
-
* `uplinks` VDS argument. See
|
|
24
|
-
* here for more details.
|
|
21
|
+
* List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
25
22
|
*/
|
|
26
23
|
readonly activeUplinks: pulumi.Output<string[]>;
|
|
27
24
|
/**
|
|
28
|
-
* Controls whether or not a
|
|
29
|
-
*
|
|
30
|
-
* address than that of its own.
|
|
25
|
+
* Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
26
|
+
* that of its own.
|
|
31
27
|
*/
|
|
32
28
|
readonly allowForgedTransmits: pulumi.Output<boolean>;
|
|
33
29
|
/**
|
|
34
|
-
* Controls whether or not the Media Access
|
|
35
|
-
* Control (MAC) address can be changed.
|
|
30
|
+
* Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
36
31
|
*/
|
|
37
32
|
readonly allowMacChanges: pulumi.Output<boolean>;
|
|
38
33
|
/**
|
|
39
|
-
* Enable promiscuous mode on the network. This
|
|
40
|
-
* flag indicates whether or not all traffic is seen on a given port.
|
|
34
|
+
* Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
41
35
|
*/
|
|
42
36
|
readonly allowPromiscuous: pulumi.Output<boolean>;
|
|
43
37
|
/**
|
|
@@ -57,17 +51,11 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
57
51
|
*/
|
|
58
52
|
readonly backupnfcShareLevel: pulumi.Output<string>;
|
|
59
53
|
/**
|
|
60
|
-
*
|
|
61
|
-
* this policy applies to, effectively blocking all network access to connected
|
|
62
|
-
* virtual devices.
|
|
54
|
+
* Indicates whether to block all ports by default.
|
|
63
55
|
*/
|
|
64
56
|
readonly blockAllPorts: pulumi.Output<boolean>;
|
|
65
57
|
/**
|
|
66
|
-
*
|
|
67
|
-
* to detect NIC failure.
|
|
68
|
-
*
|
|
69
|
-
* > **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
70
|
-
* probing.
|
|
58
|
+
* Enable beacon probing on the ports this policy applies to.
|
|
71
59
|
*/
|
|
72
60
|
readonly checkBeacon: pulumi.Output<boolean>;
|
|
73
61
|
/**
|
|
@@ -105,33 +93,27 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
105
93
|
*/
|
|
106
94
|
readonly description: pulumi.Output<string | undefined>;
|
|
107
95
|
/**
|
|
108
|
-
* Allow VMDirectPath Gen2
|
|
109
|
-
* for which this policy applies to.
|
|
96
|
+
* Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
110
97
|
*/
|
|
111
98
|
readonly directpathGen2Allowed: pulumi.Output<boolean>;
|
|
112
99
|
/**
|
|
113
|
-
* The average bandwidth in bits
|
|
114
|
-
* per second if egress traffic shaping is enabled on the port.
|
|
100
|
+
* The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
115
101
|
*/
|
|
116
102
|
readonly egressShapingAverageBandwidth: pulumi.Output<number>;
|
|
117
103
|
/**
|
|
118
|
-
* The maximum burst size allowed in
|
|
119
|
-
* bytes if egress traffic shaping is enabled on the port.
|
|
104
|
+
* The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
120
105
|
*/
|
|
121
106
|
readonly egressShapingBurstSize: pulumi.Output<number>;
|
|
122
107
|
/**
|
|
123
|
-
*
|
|
124
|
-
* on the port for egress traffic.
|
|
108
|
+
* True if the traffic shaper is enabled for egress traffic on the port.
|
|
125
109
|
*/
|
|
126
110
|
readonly egressShapingEnabled: pulumi.Output<boolean>;
|
|
127
111
|
/**
|
|
128
|
-
* The peak bandwidth during bursts
|
|
129
|
-
* in bits per second if egress traffic shaping is enabled on the port.
|
|
112
|
+
* The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
130
113
|
*/
|
|
131
114
|
readonly egressShapingPeakBandwidth: pulumi.Output<number>;
|
|
132
115
|
/**
|
|
133
|
-
* If
|
|
134
|
-
* uplinks higher in precedence when they come back up.
|
|
116
|
+
* If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
135
117
|
*/
|
|
136
118
|
readonly failback: pulumi.Output<boolean>;
|
|
137
119
|
/**
|
|
@@ -172,33 +154,27 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
172
154
|
*/
|
|
173
155
|
readonly hbrShareLevel: pulumi.Output<string>;
|
|
174
156
|
/**
|
|
175
|
-
*
|
|
176
|
-
* options are:
|
|
157
|
+
* A host member specification.
|
|
177
158
|
*/
|
|
178
159
|
readonly hosts: pulumi.Output<outputs.DistributedVirtualSwitchHost[] | undefined>;
|
|
179
160
|
/**
|
|
180
|
-
* Whether to ignore existing PVLAN
|
|
181
|
-
* mappings not managed by this resource. Defaults to false.
|
|
161
|
+
* Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
182
162
|
*/
|
|
183
163
|
readonly ignoreOtherPvlanMappings: pulumi.Output<boolean | undefined>;
|
|
184
164
|
/**
|
|
185
|
-
* The average bandwidth in
|
|
186
|
-
* bits per second if ingress traffic shaping is enabled on the port.
|
|
165
|
+
* The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
187
166
|
*/
|
|
188
167
|
readonly ingressShapingAverageBandwidth: pulumi.Output<number>;
|
|
189
168
|
/**
|
|
190
|
-
* The maximum burst size allowed in
|
|
191
|
-
* bytes if ingress traffic shaping is enabled on the port.
|
|
169
|
+
* The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
192
170
|
*/
|
|
193
171
|
readonly ingressShapingBurstSize: pulumi.Output<number>;
|
|
194
172
|
/**
|
|
195
|
-
*
|
|
196
|
-
* enabled on the port for ingress traffic.
|
|
173
|
+
* True if the traffic shaper is enabled for ingress traffic on the port.
|
|
197
174
|
*/
|
|
198
175
|
readonly ingressShapingEnabled: pulumi.Output<boolean>;
|
|
199
176
|
/**
|
|
200
|
-
* The peak bandwidth during
|
|
201
|
-
* bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
177
|
+
* The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
202
178
|
*/
|
|
203
179
|
readonly ingressShapingPeakBandwidth: pulumi.Output<number>;
|
|
204
180
|
/**
|
|
@@ -229,12 +205,11 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
229
205
|
*/
|
|
230
206
|
readonly lacpApiVersion: pulumi.Output<string>;
|
|
231
207
|
/**
|
|
232
|
-
*
|
|
233
|
-
* applies to.
|
|
208
|
+
* Whether or not to enable LACP on all uplink ports.
|
|
234
209
|
*/
|
|
235
210
|
readonly lacpEnabled: pulumi.Output<boolean>;
|
|
236
211
|
/**
|
|
237
|
-
* The LACP mode. Can be one of
|
|
212
|
+
* The uplink LACP mode to use. Can be one of active or passive.
|
|
238
213
|
*/
|
|
239
214
|
readonly lacpMode: pulumi.Output<string>;
|
|
240
215
|
/**
|
|
@@ -277,60 +252,44 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
277
252
|
*/
|
|
278
253
|
readonly name: pulumi.Output<string>;
|
|
279
254
|
/**
|
|
280
|
-
* The number of seconds after which
|
|
281
|
-
* active flows are forced to be exported to the collector. Allowed range is
|
|
282
|
-
* `60` to `3600`. Default: `60`.
|
|
255
|
+
* The number of seconds after which active flows are forced to be exported to the collector.
|
|
283
256
|
*/
|
|
284
257
|
readonly netflowActiveFlowTimeout: pulumi.Output<number | undefined>;
|
|
285
258
|
/**
|
|
286
|
-
* IP address for the
|
|
287
|
-
* collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
288
|
-
* Must be set before Netflow can be enabled.
|
|
259
|
+
* IP address for the netflow collector, using IPv4 or IPv6.
|
|
289
260
|
*/
|
|
290
261
|
readonly netflowCollectorIpAddress: pulumi.Output<string | undefined>;
|
|
291
262
|
/**
|
|
292
|
-
*
|
|
293
|
-
* must be set before Netflow can be enabled.
|
|
263
|
+
* The port for the netflow collector.
|
|
294
264
|
*/
|
|
295
265
|
readonly netflowCollectorPort: pulumi.Output<number | undefined>;
|
|
296
266
|
/**
|
|
297
|
-
*
|
|
298
|
-
* applies to.
|
|
267
|
+
* Indicates whether to enable netflow on all ports.
|
|
299
268
|
*/
|
|
300
269
|
readonly netflowEnabled: pulumi.Output<boolean>;
|
|
301
270
|
/**
|
|
302
|
-
* The number of seconds after which
|
|
303
|
-
* idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
304
|
-
* to `600`. Default: `15`.
|
|
271
|
+
* The number of seconds after which idle flows are forced to be exported to the collector.
|
|
305
272
|
*/
|
|
306
273
|
readonly netflowIdleFlowTimeout: pulumi.Output<number | undefined>;
|
|
307
274
|
/**
|
|
308
|
-
* Whether to limit analysis to
|
|
309
|
-
* traffic that has both source and destination served by the same host.
|
|
310
|
-
* Default: `false`.
|
|
275
|
+
* Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
311
276
|
*/
|
|
312
277
|
readonly netflowInternalFlowsOnly: pulumi.Output<boolean | undefined>;
|
|
313
278
|
/**
|
|
314
|
-
* The observation
|
|
315
|
-
* the Netflow collector.
|
|
279
|
+
* The observation Domain ID for the netflow collector.
|
|
316
280
|
*/
|
|
317
281
|
readonly netflowObservationDomainId: pulumi.Output<number | undefined>;
|
|
318
282
|
/**
|
|
319
|
-
* The ratio of total number of packets to
|
|
320
|
-
*
|
|
321
|
-
* VDS should analyze all packets. The maximum value is `1000`, which
|
|
322
|
-
* indicates an analysis rate of 0.001%!
|
|
323
|
-
* (MISSING)
|
|
283
|
+
* The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
284
|
+
* packets are analyzed.
|
|
324
285
|
*/
|
|
325
286
|
readonly netflowSamplingRate: pulumi.Output<number | undefined>;
|
|
326
287
|
/**
|
|
327
|
-
*
|
|
328
|
-
* network I/O control. Default: `false`.
|
|
288
|
+
* Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
329
289
|
*/
|
|
330
290
|
readonly networkResourceControlEnabled: pulumi.Output<boolean | undefined>;
|
|
331
291
|
/**
|
|
332
|
-
* The version of
|
|
333
|
-
* control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
292
|
+
* The network I/O control version to use. Can be one of version2 or version3.
|
|
334
293
|
*/
|
|
335
294
|
readonly networkResourceControlVersion: pulumi.Output<string>;
|
|
336
295
|
/**
|
|
@@ -350,50 +309,38 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
350
309
|
*/
|
|
351
310
|
readonly nfsShareLevel: pulumi.Output<string>;
|
|
352
311
|
/**
|
|
353
|
-
* If
|
|
354
|
-
* broadcast network of an uplink failover, triggering cache updates.
|
|
312
|
+
* If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
355
313
|
*/
|
|
356
314
|
readonly notifySwitches: pulumi.Output<boolean>;
|
|
357
315
|
/**
|
|
358
|
-
*
|
|
359
|
-
* ID when using private VLANs.
|
|
316
|
+
* The secondary VLAN ID for this port.
|
|
360
317
|
*/
|
|
361
318
|
readonly portPrivateSecondaryVlanId: pulumi.Output<number>;
|
|
362
319
|
/**
|
|
363
|
-
*
|
|
364
|
-
* private VLAN mapping. The options are:
|
|
320
|
+
* A private VLAN (PVLAN) mapping.
|
|
365
321
|
*/
|
|
366
322
|
readonly pvlanMappings: pulumi.Output<outputs.DistributedVirtualSwitchPvlanMapping[] | undefined>;
|
|
367
323
|
/**
|
|
368
|
-
*
|
|
369
|
-
* failover. These uplinks need to match the definitions in the
|
|
370
|
-
* `uplinks` VDS argument. See
|
|
371
|
-
* here for more details.
|
|
324
|
+
* List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
372
325
|
*/
|
|
373
326
|
readonly standbyUplinks: pulumi.Output<string[]>;
|
|
374
327
|
/**
|
|
375
328
|
* The IDs of any tags to attach to this resource.
|
|
376
|
-
*
|
|
377
|
-
* > **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
378
329
|
*/
|
|
379
330
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
380
331
|
/**
|
|
381
|
-
* The
|
|
382
|
-
*
|
|
383
|
-
* `failoverExplicit`, or `loadbalanceLoadbased`.
|
|
332
|
+
* The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
333
|
+
* failover_explicit, or loadbalance_loadbased.
|
|
384
334
|
*/
|
|
385
335
|
readonly teamingPolicy: pulumi.Output<string>;
|
|
386
336
|
/**
|
|
387
|
-
*
|
|
388
|
-
*
|
|
337
|
+
* If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
338
|
+
* forwarded done by the switch.
|
|
389
339
|
*/
|
|
390
340
|
readonly txUplink: pulumi.Output<boolean>;
|
|
391
341
|
/**
|
|
392
|
-
* A list of
|
|
393
|
-
*
|
|
394
|
-
* controls the number of uplinks that exist on the VDS, in addition to the
|
|
395
|
-
* names. See here for an example on how to
|
|
396
|
-
* use this option.
|
|
342
|
+
* A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
343
|
+
* across hosts.
|
|
397
344
|
*/
|
|
398
345
|
readonly uplinks: pulumi.Output<string[]>;
|
|
399
346
|
/**
|
|
@@ -439,28 +386,7 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
439
386
|
*/
|
|
440
387
|
readonly vlanId: pulumi.Output<number>;
|
|
441
388
|
/**
|
|
442
|
-
*
|
|
443
|
-
* and `maxVlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
444
|
-
* `vlanRange` definitions are allowed, but they must not overlap. Example
|
|
445
|
-
* below:
|
|
446
|
-
*
|
|
447
|
-
* <!--Start PulumiCodeChooser -->
|
|
448
|
-
* ```typescript
|
|
449
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
450
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
451
|
-
*
|
|
452
|
-
* const vds = new vsphere.DistributedVirtualSwitch("vds", {vlanRanges: [
|
|
453
|
-
* {
|
|
454
|
-
* maxVlan: 199,
|
|
455
|
-
* minVlan: 100,
|
|
456
|
-
* },
|
|
457
|
-
* {
|
|
458
|
-
* maxVlan: 399,
|
|
459
|
-
* minVlan: 300,
|
|
460
|
-
* },
|
|
461
|
-
* ]});
|
|
462
|
-
* ```
|
|
463
|
-
* <!--End PulumiCodeChooser -->
|
|
389
|
+
* The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
464
390
|
*/
|
|
465
391
|
readonly vlanRanges: pulumi.Output<outputs.DistributedVirtualSwitchVlanRange[]>;
|
|
466
392
|
/**
|
|
@@ -509,26 +435,20 @@ export declare class DistributedVirtualSwitch extends pulumi.CustomResource {
|
|
|
509
435
|
*/
|
|
510
436
|
export interface DistributedVirtualSwitchState {
|
|
511
437
|
/**
|
|
512
|
-
*
|
|
513
|
-
* balancing. These uplinks need to match the definitions in the
|
|
514
|
-
* `uplinks` VDS argument. See
|
|
515
|
-
* here for more details.
|
|
438
|
+
* List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
516
439
|
*/
|
|
517
440
|
activeUplinks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
518
441
|
/**
|
|
519
|
-
* Controls whether or not a
|
|
520
|
-
*
|
|
521
|
-
* address than that of its own.
|
|
442
|
+
* Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
443
|
+
* that of its own.
|
|
522
444
|
*/
|
|
523
445
|
allowForgedTransmits?: pulumi.Input<boolean>;
|
|
524
446
|
/**
|
|
525
|
-
* Controls whether or not the Media Access
|
|
526
|
-
* Control (MAC) address can be changed.
|
|
447
|
+
* Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
527
448
|
*/
|
|
528
449
|
allowMacChanges?: pulumi.Input<boolean>;
|
|
529
450
|
/**
|
|
530
|
-
* Enable promiscuous mode on the network. This
|
|
531
|
-
* flag indicates whether or not all traffic is seen on a given port.
|
|
451
|
+
* Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
532
452
|
*/
|
|
533
453
|
allowPromiscuous?: pulumi.Input<boolean>;
|
|
534
454
|
/**
|
|
@@ -548,17 +468,11 @@ export interface DistributedVirtualSwitchState {
|
|
|
548
468
|
*/
|
|
549
469
|
backupnfcShareLevel?: pulumi.Input<string>;
|
|
550
470
|
/**
|
|
551
|
-
*
|
|
552
|
-
* this policy applies to, effectively blocking all network access to connected
|
|
553
|
-
* virtual devices.
|
|
471
|
+
* Indicates whether to block all ports by default.
|
|
554
472
|
*/
|
|
555
473
|
blockAllPorts?: pulumi.Input<boolean>;
|
|
556
474
|
/**
|
|
557
|
-
*
|
|
558
|
-
* to detect NIC failure.
|
|
559
|
-
*
|
|
560
|
-
* > **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
561
|
-
* probing.
|
|
475
|
+
* Enable beacon probing on the ports this policy applies to.
|
|
562
476
|
*/
|
|
563
477
|
checkBeacon?: pulumi.Input<boolean>;
|
|
564
478
|
/**
|
|
@@ -596,33 +510,27 @@ export interface DistributedVirtualSwitchState {
|
|
|
596
510
|
*/
|
|
597
511
|
description?: pulumi.Input<string>;
|
|
598
512
|
/**
|
|
599
|
-
* Allow VMDirectPath Gen2
|
|
600
|
-
* for which this policy applies to.
|
|
513
|
+
* Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
601
514
|
*/
|
|
602
515
|
directpathGen2Allowed?: pulumi.Input<boolean>;
|
|
603
516
|
/**
|
|
604
|
-
* The average bandwidth in bits
|
|
605
|
-
* per second if egress traffic shaping is enabled on the port.
|
|
517
|
+
* The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
606
518
|
*/
|
|
607
519
|
egressShapingAverageBandwidth?: pulumi.Input<number>;
|
|
608
520
|
/**
|
|
609
|
-
* The maximum burst size allowed in
|
|
610
|
-
* bytes if egress traffic shaping is enabled on the port.
|
|
521
|
+
* The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
611
522
|
*/
|
|
612
523
|
egressShapingBurstSize?: pulumi.Input<number>;
|
|
613
524
|
/**
|
|
614
|
-
*
|
|
615
|
-
* on the port for egress traffic.
|
|
525
|
+
* True if the traffic shaper is enabled for egress traffic on the port.
|
|
616
526
|
*/
|
|
617
527
|
egressShapingEnabled?: pulumi.Input<boolean>;
|
|
618
528
|
/**
|
|
619
|
-
* The peak bandwidth during bursts
|
|
620
|
-
* in bits per second if egress traffic shaping is enabled on the port.
|
|
529
|
+
* The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
621
530
|
*/
|
|
622
531
|
egressShapingPeakBandwidth?: pulumi.Input<number>;
|
|
623
532
|
/**
|
|
624
|
-
* If
|
|
625
|
-
* uplinks higher in precedence when they come back up.
|
|
533
|
+
* If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
626
534
|
*/
|
|
627
535
|
failback?: pulumi.Input<boolean>;
|
|
628
536
|
/**
|
|
@@ -663,33 +571,27 @@ export interface DistributedVirtualSwitchState {
|
|
|
663
571
|
*/
|
|
664
572
|
hbrShareLevel?: pulumi.Input<string>;
|
|
665
573
|
/**
|
|
666
|
-
*
|
|
667
|
-
* options are:
|
|
574
|
+
* A host member specification.
|
|
668
575
|
*/
|
|
669
576
|
hosts?: pulumi.Input<pulumi.Input<inputs.DistributedVirtualSwitchHost>[]>;
|
|
670
577
|
/**
|
|
671
|
-
* Whether to ignore existing PVLAN
|
|
672
|
-
* mappings not managed by this resource. Defaults to false.
|
|
578
|
+
* Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
673
579
|
*/
|
|
674
580
|
ignoreOtherPvlanMappings?: pulumi.Input<boolean>;
|
|
675
581
|
/**
|
|
676
|
-
* The average bandwidth in
|
|
677
|
-
* bits per second if ingress traffic shaping is enabled on the port.
|
|
582
|
+
* The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
678
583
|
*/
|
|
679
584
|
ingressShapingAverageBandwidth?: pulumi.Input<number>;
|
|
680
585
|
/**
|
|
681
|
-
* The maximum burst size allowed in
|
|
682
|
-
* bytes if ingress traffic shaping is enabled on the port.
|
|
586
|
+
* The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
683
587
|
*/
|
|
684
588
|
ingressShapingBurstSize?: pulumi.Input<number>;
|
|
685
589
|
/**
|
|
686
|
-
*
|
|
687
|
-
* enabled on the port for ingress traffic.
|
|
590
|
+
* True if the traffic shaper is enabled for ingress traffic on the port.
|
|
688
591
|
*/
|
|
689
592
|
ingressShapingEnabled?: pulumi.Input<boolean>;
|
|
690
593
|
/**
|
|
691
|
-
* The peak bandwidth during
|
|
692
|
-
* bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
594
|
+
* The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
693
595
|
*/
|
|
694
596
|
ingressShapingPeakBandwidth?: pulumi.Input<number>;
|
|
695
597
|
/**
|
|
@@ -720,12 +622,11 @@ export interface DistributedVirtualSwitchState {
|
|
|
720
622
|
*/
|
|
721
623
|
lacpApiVersion?: pulumi.Input<string>;
|
|
722
624
|
/**
|
|
723
|
-
*
|
|
724
|
-
* applies to.
|
|
625
|
+
* Whether or not to enable LACP on all uplink ports.
|
|
725
626
|
*/
|
|
726
627
|
lacpEnabled?: pulumi.Input<boolean>;
|
|
727
628
|
/**
|
|
728
|
-
* The LACP mode. Can be one of
|
|
629
|
+
* The uplink LACP mode to use. Can be one of active or passive.
|
|
729
630
|
*/
|
|
730
631
|
lacpMode?: pulumi.Input<string>;
|
|
731
632
|
/**
|
|
@@ -768,60 +669,44 @@ export interface DistributedVirtualSwitchState {
|
|
|
768
669
|
*/
|
|
769
670
|
name?: pulumi.Input<string>;
|
|
770
671
|
/**
|
|
771
|
-
* The number of seconds after which
|
|
772
|
-
* active flows are forced to be exported to the collector. Allowed range is
|
|
773
|
-
* `60` to `3600`. Default: `60`.
|
|
672
|
+
* The number of seconds after which active flows are forced to be exported to the collector.
|
|
774
673
|
*/
|
|
775
674
|
netflowActiveFlowTimeout?: pulumi.Input<number>;
|
|
776
675
|
/**
|
|
777
|
-
* IP address for the
|
|
778
|
-
* collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
779
|
-
* Must be set before Netflow can be enabled.
|
|
676
|
+
* IP address for the netflow collector, using IPv4 or IPv6.
|
|
780
677
|
*/
|
|
781
678
|
netflowCollectorIpAddress?: pulumi.Input<string>;
|
|
782
679
|
/**
|
|
783
|
-
*
|
|
784
|
-
* must be set before Netflow can be enabled.
|
|
680
|
+
* The port for the netflow collector.
|
|
785
681
|
*/
|
|
786
682
|
netflowCollectorPort?: pulumi.Input<number>;
|
|
787
683
|
/**
|
|
788
|
-
*
|
|
789
|
-
* applies to.
|
|
684
|
+
* Indicates whether to enable netflow on all ports.
|
|
790
685
|
*/
|
|
791
686
|
netflowEnabled?: pulumi.Input<boolean>;
|
|
792
687
|
/**
|
|
793
|
-
* The number of seconds after which
|
|
794
|
-
* idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
795
|
-
* to `600`. Default: `15`.
|
|
688
|
+
* The number of seconds after which idle flows are forced to be exported to the collector.
|
|
796
689
|
*/
|
|
797
690
|
netflowIdleFlowTimeout?: pulumi.Input<number>;
|
|
798
691
|
/**
|
|
799
|
-
* Whether to limit analysis to
|
|
800
|
-
* traffic that has both source and destination served by the same host.
|
|
801
|
-
* Default: `false`.
|
|
692
|
+
* Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
802
693
|
*/
|
|
803
694
|
netflowInternalFlowsOnly?: pulumi.Input<boolean>;
|
|
804
695
|
/**
|
|
805
|
-
* The observation
|
|
806
|
-
* the Netflow collector.
|
|
696
|
+
* The observation Domain ID for the netflow collector.
|
|
807
697
|
*/
|
|
808
698
|
netflowObservationDomainId?: pulumi.Input<number>;
|
|
809
699
|
/**
|
|
810
|
-
* The ratio of total number of packets to
|
|
811
|
-
*
|
|
812
|
-
* VDS should analyze all packets. The maximum value is `1000`, which
|
|
813
|
-
* indicates an analysis rate of 0.001%!
|
|
814
|
-
* (MISSING)
|
|
700
|
+
* The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
701
|
+
* packets are analyzed.
|
|
815
702
|
*/
|
|
816
703
|
netflowSamplingRate?: pulumi.Input<number>;
|
|
817
704
|
/**
|
|
818
|
-
*
|
|
819
|
-
* network I/O control. Default: `false`.
|
|
705
|
+
* Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
820
706
|
*/
|
|
821
707
|
networkResourceControlEnabled?: pulumi.Input<boolean>;
|
|
822
708
|
/**
|
|
823
|
-
* The version of
|
|
824
|
-
* control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
709
|
+
* The network I/O control version to use. Can be one of version2 or version3.
|
|
825
710
|
*/
|
|
826
711
|
networkResourceControlVersion?: pulumi.Input<string>;
|
|
827
712
|
/**
|
|
@@ -841,50 +726,38 @@ export interface DistributedVirtualSwitchState {
|
|
|
841
726
|
*/
|
|
842
727
|
nfsShareLevel?: pulumi.Input<string>;
|
|
843
728
|
/**
|
|
844
|
-
* If
|
|
845
|
-
* broadcast network of an uplink failover, triggering cache updates.
|
|
729
|
+
* If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
846
730
|
*/
|
|
847
731
|
notifySwitches?: pulumi.Input<boolean>;
|
|
848
732
|
/**
|
|
849
|
-
*
|
|
850
|
-
* ID when using private VLANs.
|
|
733
|
+
* The secondary VLAN ID for this port.
|
|
851
734
|
*/
|
|
852
735
|
portPrivateSecondaryVlanId?: pulumi.Input<number>;
|
|
853
736
|
/**
|
|
854
|
-
*
|
|
855
|
-
* private VLAN mapping. The options are:
|
|
737
|
+
* A private VLAN (PVLAN) mapping.
|
|
856
738
|
*/
|
|
857
739
|
pvlanMappings?: pulumi.Input<pulumi.Input<inputs.DistributedVirtualSwitchPvlanMapping>[]>;
|
|
858
740
|
/**
|
|
859
|
-
*
|
|
860
|
-
* failover. These uplinks need to match the definitions in the
|
|
861
|
-
* `uplinks` VDS argument. See
|
|
862
|
-
* here for more details.
|
|
741
|
+
* List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
863
742
|
*/
|
|
864
743
|
standbyUplinks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
865
744
|
/**
|
|
866
745
|
* The IDs of any tags to attach to this resource.
|
|
867
|
-
*
|
|
868
|
-
* > **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
869
746
|
*/
|
|
870
747
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
871
748
|
/**
|
|
872
|
-
* The
|
|
873
|
-
*
|
|
874
|
-
* `failoverExplicit`, or `loadbalanceLoadbased`.
|
|
749
|
+
* The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
750
|
+
* failover_explicit, or loadbalance_loadbased.
|
|
875
751
|
*/
|
|
876
752
|
teamingPolicy?: pulumi.Input<string>;
|
|
877
753
|
/**
|
|
878
|
-
*
|
|
879
|
-
*
|
|
754
|
+
* If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
755
|
+
* forwarded done by the switch.
|
|
880
756
|
*/
|
|
881
757
|
txUplink?: pulumi.Input<boolean>;
|
|
882
758
|
/**
|
|
883
|
-
* A list of
|
|
884
|
-
*
|
|
885
|
-
* controls the number of uplinks that exist on the VDS, in addition to the
|
|
886
|
-
* names. See here for an example on how to
|
|
887
|
-
* use this option.
|
|
759
|
+
* A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
760
|
+
* across hosts.
|
|
888
761
|
*/
|
|
889
762
|
uplinks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
890
763
|
/**
|
|
@@ -930,28 +803,7 @@ export interface DistributedVirtualSwitchState {
|
|
|
930
803
|
*/
|
|
931
804
|
vlanId?: pulumi.Input<number>;
|
|
932
805
|
/**
|
|
933
|
-
*
|
|
934
|
-
* and `maxVlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
935
|
-
* `vlanRange` definitions are allowed, but they must not overlap. Example
|
|
936
|
-
* below:
|
|
937
|
-
*
|
|
938
|
-
* <!--Start PulumiCodeChooser -->
|
|
939
|
-
* ```typescript
|
|
940
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
941
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
942
|
-
*
|
|
943
|
-
* const vds = new vsphere.DistributedVirtualSwitch("vds", {vlanRanges: [
|
|
944
|
-
* {
|
|
945
|
-
* maxVlan: 199,
|
|
946
|
-
* minVlan: 100,
|
|
947
|
-
* },
|
|
948
|
-
* {
|
|
949
|
-
* maxVlan: 399,
|
|
950
|
-
* minVlan: 300,
|
|
951
|
-
* },
|
|
952
|
-
* ]});
|
|
953
|
-
* ```
|
|
954
|
-
* <!--End PulumiCodeChooser -->
|
|
806
|
+
* The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
955
807
|
*/
|
|
956
808
|
vlanRanges?: pulumi.Input<pulumi.Input<inputs.DistributedVirtualSwitchVlanRange>[]>;
|
|
957
809
|
/**
|
|
@@ -992,26 +844,20 @@ export interface DistributedVirtualSwitchState {
|
|
|
992
844
|
*/
|
|
993
845
|
export interface DistributedVirtualSwitchArgs {
|
|
994
846
|
/**
|
|
995
|
-
*
|
|
996
|
-
* balancing. These uplinks need to match the definitions in the
|
|
997
|
-
* `uplinks` VDS argument. See
|
|
998
|
-
* here for more details.
|
|
847
|
+
* List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
999
848
|
*/
|
|
1000
849
|
activeUplinks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1001
850
|
/**
|
|
1002
|
-
* Controls whether or not a
|
|
1003
|
-
*
|
|
1004
|
-
* address than that of its own.
|
|
851
|
+
* Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
852
|
+
* that of its own.
|
|
1005
853
|
*/
|
|
1006
854
|
allowForgedTransmits?: pulumi.Input<boolean>;
|
|
1007
855
|
/**
|
|
1008
|
-
* Controls whether or not the Media Access
|
|
1009
|
-
* Control (MAC) address can be changed.
|
|
856
|
+
* Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1010
857
|
*/
|
|
1011
858
|
allowMacChanges?: pulumi.Input<boolean>;
|
|
1012
859
|
/**
|
|
1013
|
-
* Enable promiscuous mode on the network. This
|
|
1014
|
-
* flag indicates whether or not all traffic is seen on a given port.
|
|
860
|
+
* Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1015
861
|
*/
|
|
1016
862
|
allowPromiscuous?: pulumi.Input<boolean>;
|
|
1017
863
|
/**
|
|
@@ -1031,17 +877,11 @@ export interface DistributedVirtualSwitchArgs {
|
|
|
1031
877
|
*/
|
|
1032
878
|
backupnfcShareLevel?: pulumi.Input<string>;
|
|
1033
879
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
* this policy applies to, effectively blocking all network access to connected
|
|
1036
|
-
* virtual devices.
|
|
880
|
+
* Indicates whether to block all ports by default.
|
|
1037
881
|
*/
|
|
1038
882
|
blockAllPorts?: pulumi.Input<boolean>;
|
|
1039
883
|
/**
|
|
1040
|
-
*
|
|
1041
|
-
* to detect NIC failure.
|
|
1042
|
-
*
|
|
1043
|
-
* > **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
1044
|
-
* probing.
|
|
884
|
+
* Enable beacon probing on the ports this policy applies to.
|
|
1045
885
|
*/
|
|
1046
886
|
checkBeacon?: pulumi.Input<boolean>;
|
|
1047
887
|
/**
|
|
@@ -1074,33 +914,27 @@ export interface DistributedVirtualSwitchArgs {
|
|
|
1074
914
|
*/
|
|
1075
915
|
description?: pulumi.Input<string>;
|
|
1076
916
|
/**
|
|
1077
|
-
* Allow VMDirectPath Gen2
|
|
1078
|
-
* for which this policy applies to.
|
|
917
|
+
* Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
1079
918
|
*/
|
|
1080
919
|
directpathGen2Allowed?: pulumi.Input<boolean>;
|
|
1081
920
|
/**
|
|
1082
|
-
* The average bandwidth in bits
|
|
1083
|
-
* per second if egress traffic shaping is enabled on the port.
|
|
921
|
+
* The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
1084
922
|
*/
|
|
1085
923
|
egressShapingAverageBandwidth?: pulumi.Input<number>;
|
|
1086
924
|
/**
|
|
1087
|
-
* The maximum burst size allowed in
|
|
1088
|
-
* bytes if egress traffic shaping is enabled on the port.
|
|
925
|
+
* The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
1089
926
|
*/
|
|
1090
927
|
egressShapingBurstSize?: pulumi.Input<number>;
|
|
1091
928
|
/**
|
|
1092
|
-
*
|
|
1093
|
-
* on the port for egress traffic.
|
|
929
|
+
* True if the traffic shaper is enabled for egress traffic on the port.
|
|
1094
930
|
*/
|
|
1095
931
|
egressShapingEnabled?: pulumi.Input<boolean>;
|
|
1096
932
|
/**
|
|
1097
|
-
* The peak bandwidth during bursts
|
|
1098
|
-
* in bits per second if egress traffic shaping is enabled on the port.
|
|
933
|
+
* The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
1099
934
|
*/
|
|
1100
935
|
egressShapingPeakBandwidth?: pulumi.Input<number>;
|
|
1101
936
|
/**
|
|
1102
|
-
* If
|
|
1103
|
-
* uplinks higher in precedence when they come back up.
|
|
937
|
+
* If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1104
938
|
*/
|
|
1105
939
|
failback?: pulumi.Input<boolean>;
|
|
1106
940
|
/**
|
|
@@ -1141,33 +975,27 @@ export interface DistributedVirtualSwitchArgs {
|
|
|
1141
975
|
*/
|
|
1142
976
|
hbrShareLevel?: pulumi.Input<string>;
|
|
1143
977
|
/**
|
|
1144
|
-
*
|
|
1145
|
-
* options are:
|
|
978
|
+
* A host member specification.
|
|
1146
979
|
*/
|
|
1147
980
|
hosts?: pulumi.Input<pulumi.Input<inputs.DistributedVirtualSwitchHost>[]>;
|
|
1148
981
|
/**
|
|
1149
|
-
* Whether to ignore existing PVLAN
|
|
1150
|
-
* mappings not managed by this resource. Defaults to false.
|
|
982
|
+
* Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
1151
983
|
*/
|
|
1152
984
|
ignoreOtherPvlanMappings?: pulumi.Input<boolean>;
|
|
1153
985
|
/**
|
|
1154
|
-
* The average bandwidth in
|
|
1155
|
-
* bits per second if ingress traffic shaping is enabled on the port.
|
|
986
|
+
* The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
1156
987
|
*/
|
|
1157
988
|
ingressShapingAverageBandwidth?: pulumi.Input<number>;
|
|
1158
989
|
/**
|
|
1159
|
-
* The maximum burst size allowed in
|
|
1160
|
-
* bytes if ingress traffic shaping is enabled on the port.
|
|
990
|
+
* The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
1161
991
|
*/
|
|
1162
992
|
ingressShapingBurstSize?: pulumi.Input<number>;
|
|
1163
993
|
/**
|
|
1164
|
-
*
|
|
1165
|
-
* enabled on the port for ingress traffic.
|
|
994
|
+
* True if the traffic shaper is enabled for ingress traffic on the port.
|
|
1166
995
|
*/
|
|
1167
996
|
ingressShapingEnabled?: pulumi.Input<boolean>;
|
|
1168
997
|
/**
|
|
1169
|
-
* The peak bandwidth during
|
|
1170
|
-
* bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
998
|
+
* The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
1171
999
|
*/
|
|
1172
1000
|
ingressShapingPeakBandwidth?: pulumi.Input<number>;
|
|
1173
1001
|
/**
|
|
@@ -1198,12 +1026,11 @@ export interface DistributedVirtualSwitchArgs {
|
|
|
1198
1026
|
*/
|
|
1199
1027
|
lacpApiVersion?: pulumi.Input<string>;
|
|
1200
1028
|
/**
|
|
1201
|
-
*
|
|
1202
|
-
* applies to.
|
|
1029
|
+
* Whether or not to enable LACP on all uplink ports.
|
|
1203
1030
|
*/
|
|
1204
1031
|
lacpEnabled?: pulumi.Input<boolean>;
|
|
1205
1032
|
/**
|
|
1206
|
-
* The LACP mode. Can be one of
|
|
1033
|
+
* The uplink LACP mode to use. Can be one of active or passive.
|
|
1207
1034
|
*/
|
|
1208
1035
|
lacpMode?: pulumi.Input<string>;
|
|
1209
1036
|
/**
|
|
@@ -1246,60 +1073,44 @@ export interface DistributedVirtualSwitchArgs {
|
|
|
1246
1073
|
*/
|
|
1247
1074
|
name?: pulumi.Input<string>;
|
|
1248
1075
|
/**
|
|
1249
|
-
* The number of seconds after which
|
|
1250
|
-
* active flows are forced to be exported to the collector. Allowed range is
|
|
1251
|
-
* `60` to `3600`. Default: `60`.
|
|
1076
|
+
* The number of seconds after which active flows are forced to be exported to the collector.
|
|
1252
1077
|
*/
|
|
1253
1078
|
netflowActiveFlowTimeout?: pulumi.Input<number>;
|
|
1254
1079
|
/**
|
|
1255
|
-
* IP address for the
|
|
1256
|
-
* collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
1257
|
-
* Must be set before Netflow can be enabled.
|
|
1080
|
+
* IP address for the netflow collector, using IPv4 or IPv6.
|
|
1258
1081
|
*/
|
|
1259
1082
|
netflowCollectorIpAddress?: pulumi.Input<string>;
|
|
1260
1083
|
/**
|
|
1261
|
-
*
|
|
1262
|
-
* must be set before Netflow can be enabled.
|
|
1084
|
+
* The port for the netflow collector.
|
|
1263
1085
|
*/
|
|
1264
1086
|
netflowCollectorPort?: pulumi.Input<number>;
|
|
1265
1087
|
/**
|
|
1266
|
-
*
|
|
1267
|
-
* applies to.
|
|
1088
|
+
* Indicates whether to enable netflow on all ports.
|
|
1268
1089
|
*/
|
|
1269
1090
|
netflowEnabled?: pulumi.Input<boolean>;
|
|
1270
1091
|
/**
|
|
1271
|
-
* The number of seconds after which
|
|
1272
|
-
* idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
1273
|
-
* to `600`. Default: `15`.
|
|
1092
|
+
* The number of seconds after which idle flows are forced to be exported to the collector.
|
|
1274
1093
|
*/
|
|
1275
1094
|
netflowIdleFlowTimeout?: pulumi.Input<number>;
|
|
1276
1095
|
/**
|
|
1277
|
-
* Whether to limit analysis to
|
|
1278
|
-
* traffic that has both source and destination served by the same host.
|
|
1279
|
-
* Default: `false`.
|
|
1096
|
+
* Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
1280
1097
|
*/
|
|
1281
1098
|
netflowInternalFlowsOnly?: pulumi.Input<boolean>;
|
|
1282
1099
|
/**
|
|
1283
|
-
* The observation
|
|
1284
|
-
* the Netflow collector.
|
|
1100
|
+
* The observation Domain ID for the netflow collector.
|
|
1285
1101
|
*/
|
|
1286
1102
|
netflowObservationDomainId?: pulumi.Input<number>;
|
|
1287
1103
|
/**
|
|
1288
|
-
* The ratio of total number of packets to
|
|
1289
|
-
*
|
|
1290
|
-
* VDS should analyze all packets. The maximum value is `1000`, which
|
|
1291
|
-
* indicates an analysis rate of 0.001%!
|
|
1292
|
-
* (MISSING)
|
|
1104
|
+
* The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
1105
|
+
* packets are analyzed.
|
|
1293
1106
|
*/
|
|
1294
1107
|
netflowSamplingRate?: pulumi.Input<number>;
|
|
1295
1108
|
/**
|
|
1296
|
-
*
|
|
1297
|
-
* network I/O control. Default: `false`.
|
|
1109
|
+
* Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
1298
1110
|
*/
|
|
1299
1111
|
networkResourceControlEnabled?: pulumi.Input<boolean>;
|
|
1300
1112
|
/**
|
|
1301
|
-
* The version of
|
|
1302
|
-
* control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
1113
|
+
* The network I/O control version to use. Can be one of version2 or version3.
|
|
1303
1114
|
*/
|
|
1304
1115
|
networkResourceControlVersion?: pulumi.Input<string>;
|
|
1305
1116
|
/**
|
|
@@ -1319,50 +1130,38 @@ export interface DistributedVirtualSwitchArgs {
|
|
|
1319
1130
|
*/
|
|
1320
1131
|
nfsShareLevel?: pulumi.Input<string>;
|
|
1321
1132
|
/**
|
|
1322
|
-
* If
|
|
1323
|
-
* broadcast network of an uplink failover, triggering cache updates.
|
|
1133
|
+
* If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1324
1134
|
*/
|
|
1325
1135
|
notifySwitches?: pulumi.Input<boolean>;
|
|
1326
1136
|
/**
|
|
1327
|
-
*
|
|
1328
|
-
* ID when using private VLANs.
|
|
1137
|
+
* The secondary VLAN ID for this port.
|
|
1329
1138
|
*/
|
|
1330
1139
|
portPrivateSecondaryVlanId?: pulumi.Input<number>;
|
|
1331
1140
|
/**
|
|
1332
|
-
*
|
|
1333
|
-
* private VLAN mapping. The options are:
|
|
1141
|
+
* A private VLAN (PVLAN) mapping.
|
|
1334
1142
|
*/
|
|
1335
1143
|
pvlanMappings?: pulumi.Input<pulumi.Input<inputs.DistributedVirtualSwitchPvlanMapping>[]>;
|
|
1336
1144
|
/**
|
|
1337
|
-
*
|
|
1338
|
-
* failover. These uplinks need to match the definitions in the
|
|
1339
|
-
* `uplinks` VDS argument. See
|
|
1340
|
-
* here for more details.
|
|
1145
|
+
* List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1341
1146
|
*/
|
|
1342
1147
|
standbyUplinks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1343
1148
|
/**
|
|
1344
1149
|
* The IDs of any tags to attach to this resource.
|
|
1345
|
-
*
|
|
1346
|
-
* > **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
1347
1150
|
*/
|
|
1348
1151
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1349
1152
|
/**
|
|
1350
|
-
* The
|
|
1351
|
-
*
|
|
1352
|
-
* `failoverExplicit`, or `loadbalanceLoadbased`.
|
|
1153
|
+
* The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1154
|
+
* failover_explicit, or loadbalance_loadbased.
|
|
1353
1155
|
*/
|
|
1354
1156
|
teamingPolicy?: pulumi.Input<string>;
|
|
1355
1157
|
/**
|
|
1356
|
-
*
|
|
1357
|
-
*
|
|
1158
|
+
* If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
1159
|
+
* forwarded done by the switch.
|
|
1358
1160
|
*/
|
|
1359
1161
|
txUplink?: pulumi.Input<boolean>;
|
|
1360
1162
|
/**
|
|
1361
|
-
* A list of
|
|
1362
|
-
*
|
|
1363
|
-
* controls the number of uplinks that exist on the VDS, in addition to the
|
|
1364
|
-
* names. See here for an example on how to
|
|
1365
|
-
* use this option.
|
|
1163
|
+
* A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
1164
|
+
* across hosts.
|
|
1366
1165
|
*/
|
|
1367
1166
|
uplinks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1368
1167
|
/**
|
|
@@ -1408,28 +1207,7 @@ export interface DistributedVirtualSwitchArgs {
|
|
|
1408
1207
|
*/
|
|
1409
1208
|
vlanId?: pulumi.Input<number>;
|
|
1410
1209
|
/**
|
|
1411
|
-
*
|
|
1412
|
-
* and `maxVlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
1413
|
-
* `vlanRange` definitions are allowed, but they must not overlap. Example
|
|
1414
|
-
* below:
|
|
1415
|
-
*
|
|
1416
|
-
* <!--Start PulumiCodeChooser -->
|
|
1417
|
-
* ```typescript
|
|
1418
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
1419
|
-
* import * as vsphere from "@pulumi/vsphere";
|
|
1420
|
-
*
|
|
1421
|
-
* const vds = new vsphere.DistributedVirtualSwitch("vds", {vlanRanges: [
|
|
1422
|
-
* {
|
|
1423
|
-
* maxVlan: 199,
|
|
1424
|
-
* minVlan: 100,
|
|
1425
|
-
* },
|
|
1426
|
-
* {
|
|
1427
|
-
* maxVlan: 399,
|
|
1428
|
-
* minVlan: 300,
|
|
1429
|
-
* },
|
|
1430
|
-
* ]});
|
|
1431
|
-
* ```
|
|
1432
|
-
* <!--End PulumiCodeChooser -->
|
|
1210
|
+
* The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1433
1211
|
*/
|
|
1434
1212
|
vlanRanges?: pulumi.Input<pulumi.Input<inputs.DistributedVirtualSwitchVlanRange>[]>;
|
|
1435
1213
|
/**
|