pulumi-vsphere 4.11.0a1713561492__py3-none-any.whl → 4.11.0a1713905355__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/_inputs.py +96 -232
- pulumi_vsphere/compute_cluster.py +700 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -8
- pulumi_vsphere/datacenter.py +0 -8
- pulumi_vsphere/datastore_cluster.py +154 -350
- pulumi_vsphere/distributed_port_group.py +70 -175
- pulumi_vsphere/distributed_virtual_switch.py +308 -798
- pulumi_vsphere/file.py +0 -8
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
- pulumi_vsphere/get_content_library.py +0 -4
- pulumi_vsphere/get_custom_attribute.py +0 -4
- pulumi_vsphere/get_datacenter.py +0 -4
- pulumi_vsphere/get_datastore.py +0 -4
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +0 -8
- pulumi_vsphere/get_distributed_virtual_switch.py +0 -4
- pulumi_vsphere/get_dynamic.py +0 -4
- pulumi_vsphere/get_folder.py +0 -4
- pulumi_vsphere/get_guest_os_customization.py +0 -4
- pulumi_vsphere/get_host.py +0 -4
- pulumi_vsphere/get_host_pci_device.py +4 -12
- pulumi_vsphere/get_host_thumbprint.py +0 -4
- pulumi_vsphere/get_host_vgpu_profile.py +0 -8
- pulumi_vsphere/get_license.py +0 -4
- pulumi_vsphere/get_network.py +0 -4
- pulumi_vsphere/get_policy.py +0 -4
- pulumi_vsphere/get_resource_pool.py +0 -8
- pulumi_vsphere/get_role.py +0 -4
- pulumi_vsphere/get_tag.py +0 -4
- pulumi_vsphere/get_tag_category.py +0 -4
- pulumi_vsphere/get_vapp_container.py +0 -4
- pulumi_vsphere/get_virtual_machine.py +0 -8
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +0 -4
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -8
- pulumi_vsphere/host_port_group.py +0 -8
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/outputs.py +96 -232
- pulumi_vsphere/resource_pool.py +0 -12
- pulumi_vsphere/virtual_machine.py +599 -739
- pulumi_vsphere/virtual_machine_snapshot.py +0 -4
- pulumi_vsphere/vm_storage_policy.py +0 -12
- pulumi_vsphere/vnic.py +0 -8
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1713905355.dist-info/RECORD +82 -0
- pulumi_vsphere-4.11.0a1713561492.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/top_level.txt +0 -0
|
@@ -37,58 +37,37 @@ class HostVirtualSwitchArgs:
|
|
|
37
37
|
teaming_policy: Optional[pulumi.Input[str]] = None):
|
|
38
38
|
"""
|
|
39
39
|
The set of arguments for constructing a HostVirtualSwitch resource.
|
|
40
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics:
|
|
41
|
-
balancing.
|
|
40
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
42
41
|
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
43
42
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
44
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The network
|
|
45
|
-
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
:param pulumi.Input[bool]
|
|
49
|
-
|
|
50
|
-
:param pulumi.Input[bool]
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
:param pulumi.Input[
|
|
54
|
-
|
|
55
|
-
offer link failure capability beyond link status only. Default: `1`.
|
|
56
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing - this requires that the
|
|
57
|
-
`beacon_interval` option has been set in the bridge
|
|
58
|
-
options. If this is set to `false`, only link status is used to check for
|
|
59
|
-
failed NICs. Default: `false`.
|
|
60
|
-
:param pulumi.Input[bool] failback: If set to `true`, the teaming policy will re-activate
|
|
61
|
-
failed interfaces higher in precedence when they come back up. Default:
|
|
62
|
-
`true`.
|
|
63
|
-
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
64
|
-
for link discovery traffic. Default: `listen`.
|
|
65
|
-
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
66
|
-
types are `cpd` and `lldp`. Default: `cdp`.
|
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
44
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
45
|
+
that of its own.
|
|
46
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
47
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
48
|
+
:param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
49
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
50
|
+
only.
|
|
51
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
52
|
+
:param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
53
|
+
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
67
54
|
:param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
68
55
|
switch. Default: `1500`.
|
|
69
56
|
:param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
|
|
70
57
|
changed.
|
|
71
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
72
|
-
notify the broadcast network of a NIC failover, triggering cache updates.
|
|
73
|
-
Default: `true`.
|
|
58
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
74
59
|
:param pulumi.Input[int] number_of_ports: The number of ports to create with this
|
|
75
60
|
virtual switch. Default: `128`.
|
|
76
61
|
|
|
77
62
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
78
63
|
will not restart the host for you.
|
|
79
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per
|
|
80
|
-
|
|
81
|
-
:param pulumi.Input[
|
|
82
|
-
|
|
83
|
-
:param pulumi.Input[
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
bits per second if traffic shaping is enabled. Default: `0`
|
|
87
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: The list of standby network adapters used for
|
|
88
|
-
failover.
|
|
89
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one
|
|
90
|
-
of `loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`, or
|
|
91
|
-
`failover_explicit`. Default: `loadbalance_srcid`.
|
|
64
|
+
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
65
|
+
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
66
|
+
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
67
|
+
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
68
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
69
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
70
|
+
failover_explicit.
|
|
92
71
|
"""
|
|
93
72
|
pulumi.set(__self__, "active_nics", active_nics)
|
|
94
73
|
pulumi.set(__self__, "host_system_id", host_system_id)
|
|
@@ -134,8 +113,7 @@ class HostVirtualSwitchArgs:
|
|
|
134
113
|
@pulumi.getter(name="activeNics")
|
|
135
114
|
def active_nics(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
136
115
|
"""
|
|
137
|
-
|
|
138
|
-
balancing.
|
|
116
|
+
List of active network adapters used for load balancing.
|
|
139
117
|
"""
|
|
140
118
|
return pulumi.get(self, "active_nics")
|
|
141
119
|
|
|
@@ -160,7 +138,7 @@ class HostVirtualSwitchArgs:
|
|
|
160
138
|
@pulumi.getter(name="networkAdapters")
|
|
161
139
|
def network_adapters(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
162
140
|
"""
|
|
163
|
-
The network
|
|
141
|
+
The list of network adapters to bind to this virtual switch.
|
|
164
142
|
"""
|
|
165
143
|
return pulumi.get(self, "network_adapters")
|
|
166
144
|
|
|
@@ -172,9 +150,8 @@ class HostVirtualSwitchArgs:
|
|
|
172
150
|
@pulumi.getter(name="allowForgedTransmits")
|
|
173
151
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
174
152
|
"""
|
|
175
|
-
Controls whether or not the virtual
|
|
176
|
-
|
|
177
|
-
address than that of its own. Default: `true`.
|
|
153
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
154
|
+
that of its own.
|
|
178
155
|
"""
|
|
179
156
|
return pulumi.get(self, "allow_forged_transmits")
|
|
180
157
|
|
|
@@ -186,8 +163,7 @@ class HostVirtualSwitchArgs:
|
|
|
186
163
|
@pulumi.getter(name="allowMacChanges")
|
|
187
164
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
188
165
|
"""
|
|
189
|
-
Controls whether or not the Media Access
|
|
190
|
-
Control (MAC) address can be changed. Default: `true`.
|
|
166
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
191
167
|
"""
|
|
192
168
|
return pulumi.get(self, "allow_mac_changes")
|
|
193
169
|
|
|
@@ -199,9 +175,7 @@ class HostVirtualSwitchArgs:
|
|
|
199
175
|
@pulumi.getter(name="allowPromiscuous")
|
|
200
176
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
201
177
|
"""
|
|
202
|
-
Enable promiscuous mode on the network. This
|
|
203
|
-
flag indicates whether or not all traffic is seen on a given port. Default:
|
|
204
|
-
`false`.
|
|
178
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
205
179
|
"""
|
|
206
180
|
return pulumi.get(self, "allow_promiscuous")
|
|
207
181
|
|
|
@@ -213,9 +187,7 @@ class HostVirtualSwitchArgs:
|
|
|
213
187
|
@pulumi.getter(name="beaconInterval")
|
|
214
188
|
def beacon_interval(self) -> Optional[pulumi.Input[int]]:
|
|
215
189
|
"""
|
|
216
|
-
|
|
217
|
-
packet is sent out. This can be used with `check_beacon` to
|
|
218
|
-
offer link failure capability beyond link status only. Default: `1`.
|
|
190
|
+
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
219
191
|
"""
|
|
220
192
|
return pulumi.get(self, "beacon_interval")
|
|
221
193
|
|
|
@@ -227,10 +199,8 @@ class HostVirtualSwitchArgs:
|
|
|
227
199
|
@pulumi.getter(name="checkBeacon")
|
|
228
200
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
229
201
|
"""
|
|
230
|
-
Enable beacon probing
|
|
231
|
-
|
|
232
|
-
options. If this is set to `false`, only link status is used to check for
|
|
233
|
-
failed NICs. Default: `false`.
|
|
202
|
+
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
203
|
+
only.
|
|
234
204
|
"""
|
|
235
205
|
return pulumi.get(self, "check_beacon")
|
|
236
206
|
|
|
@@ -242,9 +212,7 @@ class HostVirtualSwitchArgs:
|
|
|
242
212
|
@pulumi.getter
|
|
243
213
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
244
214
|
"""
|
|
245
|
-
If
|
|
246
|
-
failed interfaces higher in precedence when they come back up. Default:
|
|
247
|
-
`true`.
|
|
215
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
248
216
|
"""
|
|
249
217
|
return pulumi.get(self, "failback")
|
|
250
218
|
|
|
@@ -256,8 +224,7 @@ class HostVirtualSwitchArgs:
|
|
|
256
224
|
@pulumi.getter(name="linkDiscoveryOperation")
|
|
257
225
|
def link_discovery_operation(self) -> Optional[pulumi.Input[str]]:
|
|
258
226
|
"""
|
|
259
|
-
Whether to
|
|
260
|
-
for link discovery traffic. Default: `listen`.
|
|
227
|
+
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
261
228
|
"""
|
|
262
229
|
return pulumi.get(self, "link_discovery_operation")
|
|
263
230
|
|
|
@@ -269,8 +236,7 @@ class HostVirtualSwitchArgs:
|
|
|
269
236
|
@pulumi.getter(name="linkDiscoveryProtocol")
|
|
270
237
|
def link_discovery_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
271
238
|
"""
|
|
272
|
-
The discovery protocol type.
|
|
273
|
-
types are `cpd` and `lldp`. Default: `cdp`.
|
|
239
|
+
The discovery protocol type. Valid values are cdp and lldp.
|
|
274
240
|
"""
|
|
275
241
|
return pulumi.get(self, "link_discovery_protocol")
|
|
276
242
|
|
|
@@ -308,9 +274,7 @@ class HostVirtualSwitchArgs:
|
|
|
308
274
|
@pulumi.getter(name="notifySwitches")
|
|
309
275
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
310
276
|
"""
|
|
311
|
-
If
|
|
312
|
-
notify the broadcast network of a NIC failover, triggering cache updates.
|
|
313
|
-
Default: `true`.
|
|
277
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
314
278
|
"""
|
|
315
279
|
return pulumi.get(self, "notify_switches")
|
|
316
280
|
|
|
@@ -338,8 +302,7 @@ class HostVirtualSwitchArgs:
|
|
|
338
302
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
339
303
|
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
340
304
|
"""
|
|
341
|
-
The average bandwidth in bits per
|
|
342
|
-
second if traffic shaping is enabled. Default: `0`
|
|
305
|
+
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
343
306
|
"""
|
|
344
307
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
345
308
|
|
|
@@ -351,8 +314,7 @@ class HostVirtualSwitchArgs:
|
|
|
351
314
|
@pulumi.getter(name="shapingBurstSize")
|
|
352
315
|
def shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
353
316
|
"""
|
|
354
|
-
The maximum burst size allowed in bytes if
|
|
355
|
-
shaping is enabled. Default: `0`
|
|
317
|
+
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
356
318
|
"""
|
|
357
319
|
return pulumi.get(self, "shaping_burst_size")
|
|
358
320
|
|
|
@@ -364,8 +326,7 @@ class HostVirtualSwitchArgs:
|
|
|
364
326
|
@pulumi.getter(name="shapingEnabled")
|
|
365
327
|
def shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
366
328
|
"""
|
|
367
|
-
|
|
368
|
-
ports managed by this virtual switch. Default: `false`.
|
|
329
|
+
Enable traffic shaping on this virtual switch or port group.
|
|
369
330
|
"""
|
|
370
331
|
return pulumi.get(self, "shaping_enabled")
|
|
371
332
|
|
|
@@ -377,8 +338,7 @@ class HostVirtualSwitchArgs:
|
|
|
377
338
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
378
339
|
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
379
340
|
"""
|
|
380
|
-
The peak bandwidth during bursts in
|
|
381
|
-
bits per second if traffic shaping is enabled. Default: `0`
|
|
341
|
+
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
382
342
|
"""
|
|
383
343
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
384
344
|
|
|
@@ -390,8 +350,7 @@ class HostVirtualSwitchArgs:
|
|
|
390
350
|
@pulumi.getter(name="standbyNics")
|
|
391
351
|
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
392
352
|
"""
|
|
393
|
-
|
|
394
|
-
failover.
|
|
353
|
+
List of standby network adapters used for failover.
|
|
395
354
|
"""
|
|
396
355
|
return pulumi.get(self, "standby_nics")
|
|
397
356
|
|
|
@@ -403,9 +362,8 @@ class HostVirtualSwitchArgs:
|
|
|
403
362
|
@pulumi.getter(name="teamingPolicy")
|
|
404
363
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
405
364
|
"""
|
|
406
|
-
The network adapter teaming policy. Can be one
|
|
407
|
-
|
|
408
|
-
`failover_explicit`. Default: `loadbalance_srcid`.
|
|
365
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
366
|
+
failover_explicit.
|
|
409
367
|
"""
|
|
410
368
|
return pulumi.get(self, "teaming_policy")
|
|
411
369
|
|
|
@@ -440,58 +398,37 @@ class _HostVirtualSwitchState:
|
|
|
440
398
|
teaming_policy: Optional[pulumi.Input[str]] = None):
|
|
441
399
|
"""
|
|
442
400
|
Input properties used for looking up and filtering HostVirtualSwitch resources.
|
|
443
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
:param pulumi.Input[
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
`false`.
|
|
453
|
-
:param pulumi.Input[int] beacon_interval: The interval, in seconds, that a NIC beacon
|
|
454
|
-
packet is sent out. This can be used with `check_beacon` to
|
|
455
|
-
offer link failure capability beyond link status only. Default: `1`.
|
|
456
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing - this requires that the
|
|
457
|
-
`beacon_interval` option has been set in the bridge
|
|
458
|
-
options. If this is set to `false`, only link status is used to check for
|
|
459
|
-
failed NICs. Default: `false`.
|
|
460
|
-
:param pulumi.Input[bool] failback: If set to `true`, the teaming policy will re-activate
|
|
461
|
-
failed interfaces higher in precedence when they come back up. Default:
|
|
462
|
-
`true`.
|
|
401
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
402
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
403
|
+
that of its own.
|
|
404
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
405
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
406
|
+
:param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
407
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
408
|
+
only.
|
|
409
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
463
410
|
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
464
411
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
465
|
-
:param pulumi.Input[str] link_discovery_operation: Whether to
|
|
466
|
-
|
|
467
|
-
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
468
|
-
types are `cpd` and `lldp`. Default: `cdp`.
|
|
412
|
+
:param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
413
|
+
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
469
414
|
:param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
470
415
|
switch. Default: `1500`.
|
|
471
416
|
:param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
|
|
472
417
|
changed.
|
|
473
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The network
|
|
474
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
475
|
-
notify the broadcast network of a NIC failover, triggering cache updates.
|
|
476
|
-
Default: `true`.
|
|
418
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
419
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
477
420
|
:param pulumi.Input[int] number_of_ports: The number of ports to create with this
|
|
478
421
|
virtual switch. Default: `128`.
|
|
479
422
|
|
|
480
423
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
481
424
|
will not restart the host for you.
|
|
482
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per
|
|
483
|
-
|
|
484
|
-
:param pulumi.Input[
|
|
485
|
-
|
|
486
|
-
:param pulumi.Input[
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
bits per second if traffic shaping is enabled. Default: `0`
|
|
490
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: The list of standby network adapters used for
|
|
491
|
-
failover.
|
|
492
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one
|
|
493
|
-
of `loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`, or
|
|
494
|
-
`failover_explicit`. Default: `loadbalance_srcid`.
|
|
425
|
+
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
426
|
+
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
427
|
+
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
428
|
+
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
429
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
430
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
431
|
+
failover_explicit.
|
|
495
432
|
"""
|
|
496
433
|
if active_nics is not None:
|
|
497
434
|
pulumi.set(__self__, "active_nics", active_nics)
|
|
@@ -540,8 +477,7 @@ class _HostVirtualSwitchState:
|
|
|
540
477
|
@pulumi.getter(name="activeNics")
|
|
541
478
|
def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
542
479
|
"""
|
|
543
|
-
|
|
544
|
-
balancing.
|
|
480
|
+
List of active network adapters used for load balancing.
|
|
545
481
|
"""
|
|
546
482
|
return pulumi.get(self, "active_nics")
|
|
547
483
|
|
|
@@ -553,9 +489,8 @@ class _HostVirtualSwitchState:
|
|
|
553
489
|
@pulumi.getter(name="allowForgedTransmits")
|
|
554
490
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
555
491
|
"""
|
|
556
|
-
Controls whether or not the virtual
|
|
557
|
-
|
|
558
|
-
address than that of its own. Default: `true`.
|
|
492
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
493
|
+
that of its own.
|
|
559
494
|
"""
|
|
560
495
|
return pulumi.get(self, "allow_forged_transmits")
|
|
561
496
|
|
|
@@ -567,8 +502,7 @@ class _HostVirtualSwitchState:
|
|
|
567
502
|
@pulumi.getter(name="allowMacChanges")
|
|
568
503
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
569
504
|
"""
|
|
570
|
-
Controls whether or not the Media Access
|
|
571
|
-
Control (MAC) address can be changed. Default: `true`.
|
|
505
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
572
506
|
"""
|
|
573
507
|
return pulumi.get(self, "allow_mac_changes")
|
|
574
508
|
|
|
@@ -580,9 +514,7 @@ class _HostVirtualSwitchState:
|
|
|
580
514
|
@pulumi.getter(name="allowPromiscuous")
|
|
581
515
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
582
516
|
"""
|
|
583
|
-
Enable promiscuous mode on the network. This
|
|
584
|
-
flag indicates whether or not all traffic is seen on a given port. Default:
|
|
585
|
-
`false`.
|
|
517
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
586
518
|
"""
|
|
587
519
|
return pulumi.get(self, "allow_promiscuous")
|
|
588
520
|
|
|
@@ -594,9 +526,7 @@ class _HostVirtualSwitchState:
|
|
|
594
526
|
@pulumi.getter(name="beaconInterval")
|
|
595
527
|
def beacon_interval(self) -> Optional[pulumi.Input[int]]:
|
|
596
528
|
"""
|
|
597
|
-
|
|
598
|
-
packet is sent out. This can be used with `check_beacon` to
|
|
599
|
-
offer link failure capability beyond link status only. Default: `1`.
|
|
529
|
+
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
600
530
|
"""
|
|
601
531
|
return pulumi.get(self, "beacon_interval")
|
|
602
532
|
|
|
@@ -608,10 +538,8 @@ class _HostVirtualSwitchState:
|
|
|
608
538
|
@pulumi.getter(name="checkBeacon")
|
|
609
539
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
610
540
|
"""
|
|
611
|
-
Enable beacon probing
|
|
612
|
-
|
|
613
|
-
options. If this is set to `false`, only link status is used to check for
|
|
614
|
-
failed NICs. Default: `false`.
|
|
541
|
+
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
542
|
+
only.
|
|
615
543
|
"""
|
|
616
544
|
return pulumi.get(self, "check_beacon")
|
|
617
545
|
|
|
@@ -623,9 +551,7 @@ class _HostVirtualSwitchState:
|
|
|
623
551
|
@pulumi.getter
|
|
624
552
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
625
553
|
"""
|
|
626
|
-
If
|
|
627
|
-
failed interfaces higher in precedence when they come back up. Default:
|
|
628
|
-
`true`.
|
|
554
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
629
555
|
"""
|
|
630
556
|
return pulumi.get(self, "failback")
|
|
631
557
|
|
|
@@ -650,8 +576,7 @@ class _HostVirtualSwitchState:
|
|
|
650
576
|
@pulumi.getter(name="linkDiscoveryOperation")
|
|
651
577
|
def link_discovery_operation(self) -> Optional[pulumi.Input[str]]:
|
|
652
578
|
"""
|
|
653
|
-
Whether to
|
|
654
|
-
for link discovery traffic. Default: `listen`.
|
|
579
|
+
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
655
580
|
"""
|
|
656
581
|
return pulumi.get(self, "link_discovery_operation")
|
|
657
582
|
|
|
@@ -663,8 +588,7 @@ class _HostVirtualSwitchState:
|
|
|
663
588
|
@pulumi.getter(name="linkDiscoveryProtocol")
|
|
664
589
|
def link_discovery_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
665
590
|
"""
|
|
666
|
-
The discovery protocol type.
|
|
667
|
-
types are `cpd` and `lldp`. Default: `cdp`.
|
|
591
|
+
The discovery protocol type. Valid values are cdp and lldp.
|
|
668
592
|
"""
|
|
669
593
|
return pulumi.get(self, "link_discovery_protocol")
|
|
670
594
|
|
|
@@ -702,7 +626,7 @@ class _HostVirtualSwitchState:
|
|
|
702
626
|
@pulumi.getter(name="networkAdapters")
|
|
703
627
|
def network_adapters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
704
628
|
"""
|
|
705
|
-
The network
|
|
629
|
+
The list of network adapters to bind to this virtual switch.
|
|
706
630
|
"""
|
|
707
631
|
return pulumi.get(self, "network_adapters")
|
|
708
632
|
|
|
@@ -714,9 +638,7 @@ class _HostVirtualSwitchState:
|
|
|
714
638
|
@pulumi.getter(name="notifySwitches")
|
|
715
639
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
716
640
|
"""
|
|
717
|
-
If
|
|
718
|
-
notify the broadcast network of a NIC failover, triggering cache updates.
|
|
719
|
-
Default: `true`.
|
|
641
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
720
642
|
"""
|
|
721
643
|
return pulumi.get(self, "notify_switches")
|
|
722
644
|
|
|
@@ -744,8 +666,7 @@ class _HostVirtualSwitchState:
|
|
|
744
666
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
745
667
|
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
746
668
|
"""
|
|
747
|
-
The average bandwidth in bits per
|
|
748
|
-
second if traffic shaping is enabled. Default: `0`
|
|
669
|
+
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
749
670
|
"""
|
|
750
671
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
751
672
|
|
|
@@ -757,8 +678,7 @@ class _HostVirtualSwitchState:
|
|
|
757
678
|
@pulumi.getter(name="shapingBurstSize")
|
|
758
679
|
def shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
759
680
|
"""
|
|
760
|
-
The maximum burst size allowed in bytes if
|
|
761
|
-
shaping is enabled. Default: `0`
|
|
681
|
+
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
762
682
|
"""
|
|
763
683
|
return pulumi.get(self, "shaping_burst_size")
|
|
764
684
|
|
|
@@ -770,8 +690,7 @@ class _HostVirtualSwitchState:
|
|
|
770
690
|
@pulumi.getter(name="shapingEnabled")
|
|
771
691
|
def shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
772
692
|
"""
|
|
773
|
-
|
|
774
|
-
ports managed by this virtual switch. Default: `false`.
|
|
693
|
+
Enable traffic shaping on this virtual switch or port group.
|
|
775
694
|
"""
|
|
776
695
|
return pulumi.get(self, "shaping_enabled")
|
|
777
696
|
|
|
@@ -783,8 +702,7 @@ class _HostVirtualSwitchState:
|
|
|
783
702
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
784
703
|
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
785
704
|
"""
|
|
786
|
-
The peak bandwidth during bursts in
|
|
787
|
-
bits per second if traffic shaping is enabled. Default: `0`
|
|
705
|
+
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
788
706
|
"""
|
|
789
707
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
790
708
|
|
|
@@ -796,8 +714,7 @@ class _HostVirtualSwitchState:
|
|
|
796
714
|
@pulumi.getter(name="standbyNics")
|
|
797
715
|
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
798
716
|
"""
|
|
799
|
-
|
|
800
|
-
failover.
|
|
717
|
+
List of standby network adapters used for failover.
|
|
801
718
|
"""
|
|
802
719
|
return pulumi.get(self, "standby_nics")
|
|
803
720
|
|
|
@@ -809,9 +726,8 @@ class _HostVirtualSwitchState:
|
|
|
809
726
|
@pulumi.getter(name="teamingPolicy")
|
|
810
727
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
811
728
|
"""
|
|
812
|
-
The network adapter teaming policy. Can be one
|
|
813
|
-
|
|
814
|
-
`failover_explicit`. Default: `loadbalance_srcid`.
|
|
729
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
730
|
+
failover_explicit.
|
|
815
731
|
"""
|
|
816
732
|
return pulumi.get(self, "teaming_policy")
|
|
817
733
|
|
|
@@ -851,58 +767,37 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
851
767
|
Create a HostVirtualSwitch resource with the given unique name, props, and options.
|
|
852
768
|
:param str resource_name: The name of the resource.
|
|
853
769
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
854
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics:
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
:param pulumi.Input[
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
`false`.
|
|
864
|
-
:param pulumi.Input[int] beacon_interval: The interval, in seconds, that a NIC beacon
|
|
865
|
-
packet is sent out. This can be used with `check_beacon` to
|
|
866
|
-
offer link failure capability beyond link status only. Default: `1`.
|
|
867
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing - this requires that the
|
|
868
|
-
`beacon_interval` option has been set in the bridge
|
|
869
|
-
options. If this is set to `false`, only link status is used to check for
|
|
870
|
-
failed NICs. Default: `false`.
|
|
871
|
-
:param pulumi.Input[bool] failback: If set to `true`, the teaming policy will re-activate
|
|
872
|
-
failed interfaces higher in precedence when they come back up. Default:
|
|
873
|
-
`true`.
|
|
770
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
771
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
772
|
+
that of its own.
|
|
773
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
774
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
775
|
+
:param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
776
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
777
|
+
only.
|
|
778
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
874
779
|
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
875
780
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
876
|
-
:param pulumi.Input[str] link_discovery_operation: Whether to
|
|
877
|
-
|
|
878
|
-
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
879
|
-
types are `cpd` and `lldp`. Default: `cdp`.
|
|
781
|
+
:param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
782
|
+
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
880
783
|
:param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
881
784
|
switch. Default: `1500`.
|
|
882
785
|
:param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
|
|
883
786
|
changed.
|
|
884
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The network
|
|
885
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
886
|
-
notify the broadcast network of a NIC failover, triggering cache updates.
|
|
887
|
-
Default: `true`.
|
|
787
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
788
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
888
789
|
:param pulumi.Input[int] number_of_ports: The number of ports to create with this
|
|
889
790
|
virtual switch. Default: `128`.
|
|
890
791
|
|
|
891
792
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
892
793
|
will not restart the host for you.
|
|
893
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per
|
|
894
|
-
|
|
895
|
-
:param pulumi.Input[
|
|
896
|
-
|
|
897
|
-
:param pulumi.Input[
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
bits per second if traffic shaping is enabled. Default: `0`
|
|
901
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: The list of standby network adapters used for
|
|
902
|
-
failover.
|
|
903
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one
|
|
904
|
-
of `loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`, or
|
|
905
|
-
`failover_explicit`. Default: `loadbalance_srcid`.
|
|
794
|
+
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
795
|
+
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
796
|
+
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
797
|
+
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
798
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
799
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
800
|
+
failover_explicit.
|
|
906
801
|
"""
|
|
907
802
|
...
|
|
908
803
|
@overload
|
|
@@ -1022,58 +917,37 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1022
917
|
:param str resource_name: The unique name of the resulting resource.
|
|
1023
918
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1024
919
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1025
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics:
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
:param pulumi.Input[
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
`false`.
|
|
1035
|
-
:param pulumi.Input[int] beacon_interval: The interval, in seconds, that a NIC beacon
|
|
1036
|
-
packet is sent out. This can be used with `check_beacon` to
|
|
1037
|
-
offer link failure capability beyond link status only. Default: `1`.
|
|
1038
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing - this requires that the
|
|
1039
|
-
`beacon_interval` option has been set in the bridge
|
|
1040
|
-
options. If this is set to `false`, only link status is used to check for
|
|
1041
|
-
failed NICs. Default: `false`.
|
|
1042
|
-
:param pulumi.Input[bool] failback: If set to `true`, the teaming policy will re-activate
|
|
1043
|
-
failed interfaces higher in precedence when they come back up. Default:
|
|
1044
|
-
`true`.
|
|
920
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
921
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
922
|
+
that of its own.
|
|
923
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
924
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
925
|
+
:param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
926
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
927
|
+
only.
|
|
928
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1045
929
|
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
1046
930
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
1047
|
-
:param pulumi.Input[str] link_discovery_operation: Whether to
|
|
1048
|
-
|
|
1049
|
-
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
1050
|
-
types are `cpd` and `lldp`. Default: `cdp`.
|
|
931
|
+
:param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
932
|
+
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
1051
933
|
:param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
1052
934
|
switch. Default: `1500`.
|
|
1053
935
|
:param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
|
|
1054
936
|
changed.
|
|
1055
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The network
|
|
1056
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
1057
|
-
notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1058
|
-
Default: `true`.
|
|
937
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
938
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1059
939
|
:param pulumi.Input[int] number_of_ports: The number of ports to create with this
|
|
1060
940
|
virtual switch. Default: `128`.
|
|
1061
941
|
|
|
1062
942
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
1063
943
|
will not restart the host for you.
|
|
1064
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per
|
|
1065
|
-
|
|
1066
|
-
:param pulumi.Input[
|
|
1067
|
-
|
|
1068
|
-
:param pulumi.Input[
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
bits per second if traffic shaping is enabled. Default: `0`
|
|
1072
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: The list of standby network adapters used for
|
|
1073
|
-
failover.
|
|
1074
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one
|
|
1075
|
-
of `loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`, or
|
|
1076
|
-
`failover_explicit`. Default: `loadbalance_srcid`.
|
|
944
|
+
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
945
|
+
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
946
|
+
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
947
|
+
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
948
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
949
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
950
|
+
failover_explicit.
|
|
1077
951
|
"""
|
|
1078
952
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1079
953
|
|
|
@@ -1106,8 +980,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1106
980
|
@pulumi.getter(name="activeNics")
|
|
1107
981
|
def active_nics(self) -> pulumi.Output[Sequence[str]]:
|
|
1108
982
|
"""
|
|
1109
|
-
|
|
1110
|
-
balancing.
|
|
983
|
+
List of active network adapters used for load balancing.
|
|
1111
984
|
"""
|
|
1112
985
|
return pulumi.get(self, "active_nics")
|
|
1113
986
|
|
|
@@ -1115,9 +988,8 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1115
988
|
@pulumi.getter(name="allowForgedTransmits")
|
|
1116
989
|
def allow_forged_transmits(self) -> pulumi.Output[Optional[bool]]:
|
|
1117
990
|
"""
|
|
1118
|
-
Controls whether or not the virtual
|
|
1119
|
-
|
|
1120
|
-
address than that of its own. Default: `true`.
|
|
991
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
992
|
+
that of its own.
|
|
1121
993
|
"""
|
|
1122
994
|
return pulumi.get(self, "allow_forged_transmits")
|
|
1123
995
|
|
|
@@ -1125,8 +997,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1125
997
|
@pulumi.getter(name="allowMacChanges")
|
|
1126
998
|
def allow_mac_changes(self) -> pulumi.Output[Optional[bool]]:
|
|
1127
999
|
"""
|
|
1128
|
-
Controls whether or not the Media Access
|
|
1129
|
-
Control (MAC) address can be changed. Default: `true`.
|
|
1000
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1130
1001
|
"""
|
|
1131
1002
|
return pulumi.get(self, "allow_mac_changes")
|
|
1132
1003
|
|
|
@@ -1134,9 +1005,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1134
1005
|
@pulumi.getter(name="allowPromiscuous")
|
|
1135
1006
|
def allow_promiscuous(self) -> pulumi.Output[Optional[bool]]:
|
|
1136
1007
|
"""
|
|
1137
|
-
Enable promiscuous mode on the network. This
|
|
1138
|
-
flag indicates whether or not all traffic is seen on a given port. Default:
|
|
1139
|
-
`false`.
|
|
1008
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1140
1009
|
"""
|
|
1141
1010
|
return pulumi.get(self, "allow_promiscuous")
|
|
1142
1011
|
|
|
@@ -1144,9 +1013,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1144
1013
|
@pulumi.getter(name="beaconInterval")
|
|
1145
1014
|
def beacon_interval(self) -> pulumi.Output[Optional[int]]:
|
|
1146
1015
|
"""
|
|
1147
|
-
|
|
1148
|
-
packet is sent out. This can be used with `check_beacon` to
|
|
1149
|
-
offer link failure capability beyond link status only. Default: `1`.
|
|
1016
|
+
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
1150
1017
|
"""
|
|
1151
1018
|
return pulumi.get(self, "beacon_interval")
|
|
1152
1019
|
|
|
@@ -1154,10 +1021,8 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1154
1021
|
@pulumi.getter(name="checkBeacon")
|
|
1155
1022
|
def check_beacon(self) -> pulumi.Output[Optional[bool]]:
|
|
1156
1023
|
"""
|
|
1157
|
-
Enable beacon probing
|
|
1158
|
-
|
|
1159
|
-
options. If this is set to `false`, only link status is used to check for
|
|
1160
|
-
failed NICs. Default: `false`.
|
|
1024
|
+
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
1025
|
+
only.
|
|
1161
1026
|
"""
|
|
1162
1027
|
return pulumi.get(self, "check_beacon")
|
|
1163
1028
|
|
|
@@ -1165,9 +1030,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1165
1030
|
@pulumi.getter
|
|
1166
1031
|
def failback(self) -> pulumi.Output[Optional[bool]]:
|
|
1167
1032
|
"""
|
|
1168
|
-
If
|
|
1169
|
-
failed interfaces higher in precedence when they come back up. Default:
|
|
1170
|
-
`true`.
|
|
1033
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1171
1034
|
"""
|
|
1172
1035
|
return pulumi.get(self, "failback")
|
|
1173
1036
|
|
|
@@ -1184,8 +1047,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1184
1047
|
@pulumi.getter(name="linkDiscoveryOperation")
|
|
1185
1048
|
def link_discovery_operation(self) -> pulumi.Output[Optional[str]]:
|
|
1186
1049
|
"""
|
|
1187
|
-
Whether to
|
|
1188
|
-
for link discovery traffic. Default: `listen`.
|
|
1050
|
+
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
1189
1051
|
"""
|
|
1190
1052
|
return pulumi.get(self, "link_discovery_operation")
|
|
1191
1053
|
|
|
@@ -1193,8 +1055,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1193
1055
|
@pulumi.getter(name="linkDiscoveryProtocol")
|
|
1194
1056
|
def link_discovery_protocol(self) -> pulumi.Output[Optional[str]]:
|
|
1195
1057
|
"""
|
|
1196
|
-
The discovery protocol type.
|
|
1197
|
-
types are `cpd` and `lldp`. Default: `cdp`.
|
|
1058
|
+
The discovery protocol type. Valid values are cdp and lldp.
|
|
1198
1059
|
"""
|
|
1199
1060
|
return pulumi.get(self, "link_discovery_protocol")
|
|
1200
1061
|
|
|
@@ -1220,7 +1081,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1220
1081
|
@pulumi.getter(name="networkAdapters")
|
|
1221
1082
|
def network_adapters(self) -> pulumi.Output[Sequence[str]]:
|
|
1222
1083
|
"""
|
|
1223
|
-
The network
|
|
1084
|
+
The list of network adapters to bind to this virtual switch.
|
|
1224
1085
|
"""
|
|
1225
1086
|
return pulumi.get(self, "network_adapters")
|
|
1226
1087
|
|
|
@@ -1228,9 +1089,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1228
1089
|
@pulumi.getter(name="notifySwitches")
|
|
1229
1090
|
def notify_switches(self) -> pulumi.Output[Optional[bool]]:
|
|
1230
1091
|
"""
|
|
1231
|
-
If
|
|
1232
|
-
notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1233
|
-
Default: `true`.
|
|
1092
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1234
1093
|
"""
|
|
1235
1094
|
return pulumi.get(self, "notify_switches")
|
|
1236
1095
|
|
|
@@ -1250,8 +1109,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1250
1109
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
1251
1110
|
def shaping_average_bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
1252
1111
|
"""
|
|
1253
|
-
The average bandwidth in bits per
|
|
1254
|
-
second if traffic shaping is enabled. Default: `0`
|
|
1112
|
+
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1255
1113
|
"""
|
|
1256
1114
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
1257
1115
|
|
|
@@ -1259,8 +1117,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1259
1117
|
@pulumi.getter(name="shapingBurstSize")
|
|
1260
1118
|
def shaping_burst_size(self) -> pulumi.Output[Optional[int]]:
|
|
1261
1119
|
"""
|
|
1262
|
-
The maximum burst size allowed in bytes if
|
|
1263
|
-
shaping is enabled. Default: `0`
|
|
1120
|
+
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1264
1121
|
"""
|
|
1265
1122
|
return pulumi.get(self, "shaping_burst_size")
|
|
1266
1123
|
|
|
@@ -1268,8 +1125,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1268
1125
|
@pulumi.getter(name="shapingEnabled")
|
|
1269
1126
|
def shaping_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
1270
1127
|
"""
|
|
1271
|
-
|
|
1272
|
-
ports managed by this virtual switch. Default: `false`.
|
|
1128
|
+
Enable traffic shaping on this virtual switch or port group.
|
|
1273
1129
|
"""
|
|
1274
1130
|
return pulumi.get(self, "shaping_enabled")
|
|
1275
1131
|
|
|
@@ -1277,8 +1133,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1277
1133
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
1278
1134
|
def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
1279
1135
|
"""
|
|
1280
|
-
The peak bandwidth during bursts in
|
|
1281
|
-
bits per second if traffic shaping is enabled. Default: `0`
|
|
1136
|
+
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1282
1137
|
"""
|
|
1283
1138
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
1284
1139
|
|
|
@@ -1286,8 +1141,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1286
1141
|
@pulumi.getter(name="standbyNics")
|
|
1287
1142
|
def standby_nics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1288
1143
|
"""
|
|
1289
|
-
|
|
1290
|
-
failover.
|
|
1144
|
+
List of standby network adapters used for failover.
|
|
1291
1145
|
"""
|
|
1292
1146
|
return pulumi.get(self, "standby_nics")
|
|
1293
1147
|
|
|
@@ -1295,9 +1149,8 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1295
1149
|
@pulumi.getter(name="teamingPolicy")
|
|
1296
1150
|
def teaming_policy(self) -> pulumi.Output[Optional[str]]:
|
|
1297
1151
|
"""
|
|
1298
|
-
The network adapter teaming policy. Can be one
|
|
1299
|
-
|
|
1300
|
-
`failover_explicit`. Default: `loadbalance_srcid`.
|
|
1152
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1153
|
+
failover_explicit.
|
|
1301
1154
|
"""
|
|
1302
1155
|
return pulumi.get(self, "teaming_policy")
|
|
1303
1156
|
|