pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753512455__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/__init__.py +1 -1
- pulumi_vsphere/_inputs.py +1171 -1172
- pulumi_vsphere/compute_cluster.py +1127 -1128
- pulumi_vsphere/compute_cluster_host_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
- pulumi_vsphere/compute_cluster_vm_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
- pulumi_vsphere/config/__init__.py +1 -1
- pulumi_vsphere/config/__init__.pyi +1 -2
- pulumi_vsphere/config/vars.py +14 -15
- pulumi_vsphere/content_library.py +58 -59
- pulumi_vsphere/content_library_item.py +103 -104
- pulumi_vsphere/custom_attribute.py +35 -36
- pulumi_vsphere/datacenter.py +78 -79
- pulumi_vsphere/datastore_cluster.py +426 -427
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/distributed_port_group.py +787 -788
- pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
- pulumi_vsphere/dpm_host_override.py +69 -70
- pulumi_vsphere/drs_vm_override.py +69 -70
- pulumi_vsphere/entity_permissions.py +38 -39
- pulumi_vsphere/file.py +120 -121
- pulumi_vsphere/folder.py +86 -87
- pulumi_vsphere/get_compute_cluster.py +17 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
- pulumi_vsphere/get_content_library.py +9 -10
- pulumi_vsphere/get_content_library_item.py +21 -22
- pulumi_vsphere/get_custom_attribute.py +11 -12
- pulumi_vsphere/get_datacenter.py +11 -12
- pulumi_vsphere/get_datastore.py +21 -22
- pulumi_vsphere/get_datastore_cluster.py +17 -18
- pulumi_vsphere/get_datastore_stats.py +21 -22
- pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
- pulumi_vsphere/get_dynamic.py +21 -22
- pulumi_vsphere/get_folder.py +9 -10
- pulumi_vsphere/get_guest_os_customization.py +18 -19
- pulumi_vsphere/get_host.py +17 -18
- pulumi_vsphere/get_host_base_images.py +5 -6
- pulumi_vsphere/get_host_pci_device.py +29 -30
- pulumi_vsphere/get_host_thumbprint.py +21 -22
- pulumi_vsphere/get_host_vgpu_profile.py +16 -17
- pulumi_vsphere/get_license.py +19 -20
- pulumi_vsphere/get_network.py +42 -43
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +21 -22
- pulumi_vsphere/get_role.py +25 -26
- pulumi_vsphere/get_tag.py +17 -18
- pulumi_vsphere/get_tag_category.py +15 -16
- pulumi_vsphere/get_vapp_container.py +15 -16
- pulumi_vsphere/get_virtual_machine.py +272 -273
- pulumi_vsphere/get_vmfs_disks.py +23 -24
- pulumi_vsphere/guest_os_customization.py +73 -74
- pulumi_vsphere/ha_vm_override.py +256 -257
- pulumi_vsphere/host.py +242 -243
- pulumi_vsphere/host_port_group.py +310 -311
- pulumi_vsphere/host_virtual_switch.py +358 -359
- pulumi_vsphere/license.py +71 -72
- pulumi_vsphere/nas_datastore.py +260 -261
- pulumi_vsphere/offline_software_depot.py +20 -21
- pulumi_vsphere/outputs.py +981 -982
- pulumi_vsphere/provider.py +120 -121
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +256 -257
- pulumi_vsphere/role.py +44 -45
- pulumi_vsphere/storage_drs_vm_override.py +86 -87
- pulumi_vsphere/supervisor.py +206 -207
- pulumi_vsphere/tag.py +52 -53
- pulumi_vsphere/tag_category.py +69 -70
- pulumi_vsphere/vapp_container.py +256 -257
- pulumi_vsphere/vapp_entity.py +171 -172
- pulumi_vsphere/virtual_disk.py +120 -121
- pulumi_vsphere/virtual_machine.py +1293 -1294
- pulumi_vsphere/virtual_machine_class.py +103 -104
- pulumi_vsphere/virtual_machine_snapshot.py +120 -121
- pulumi_vsphere/vm_storage_policy.py +38 -39
- pulumi_vsphere/vmfs_datastore.py +183 -184
- pulumi_vsphere/vnic.py +143 -144
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.16.0a1753512455.dist-info/RECORD +87 -0
- pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753512455.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,59 +19,59 @@ __all__ = ['HostVirtualSwitchArgs', 'HostVirtualSwitch']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class HostVirtualSwitchArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
active_nics: pulumi.Input[Sequence[pulumi.Input[
|
|
24
|
-
host_system_id: pulumi.Input[
|
|
25
|
-
network_adapters: pulumi.Input[Sequence[pulumi.Input[
|
|
26
|
-
allow_forged_transmits: Optional[pulumi.Input[
|
|
27
|
-
allow_mac_changes: Optional[pulumi.Input[
|
|
28
|
-
allow_promiscuous: Optional[pulumi.Input[
|
|
29
|
-
beacon_interval: Optional[pulumi.Input[
|
|
30
|
-
check_beacon: Optional[pulumi.Input[
|
|
31
|
-
failback: Optional[pulumi.Input[
|
|
32
|
-
link_discovery_operation: Optional[pulumi.Input[
|
|
33
|
-
link_discovery_protocol: Optional[pulumi.Input[
|
|
34
|
-
mtu: Optional[pulumi.Input[
|
|
35
|
-
name: Optional[pulumi.Input[
|
|
36
|
-
notify_switches: Optional[pulumi.Input[
|
|
37
|
-
number_of_ports: Optional[pulumi.Input[
|
|
38
|
-
shaping_average_bandwidth: Optional[pulumi.Input[
|
|
39
|
-
shaping_burst_size: Optional[pulumi.Input[
|
|
40
|
-
shaping_enabled: Optional[pulumi.Input[
|
|
41
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[
|
|
42
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
43
|
-
teaming_policy: Optional[pulumi.Input[
|
|
22
|
+
active_nics: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
23
|
+
host_system_id: pulumi.Input[_builtins.str],
|
|
24
|
+
network_adapters: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
25
|
+
allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
|
+
allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
|
+
allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
|
+
beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
29
|
+
check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
|
+
failback: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
31
|
+
link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
34
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
|
+
notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
36
|
+
number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
|
|
37
|
+
shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
38
|
+
shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
39
|
+
shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
40
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
41
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
42
|
+
teaming_policy: Optional[pulumi.Input[_builtins.str]] = None):
|
|
44
43
|
"""
|
|
45
44
|
The set of arguments for constructing a HostVirtualSwitch resource.
|
|
46
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
47
|
-
:param pulumi.Input[
|
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
46
|
+
:param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
|
|
48
47
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
50
|
-
:param pulumi.Input[
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
49
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
51
50
|
that of its own.
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[
|
|
54
|
-
:param pulumi.Input[
|
|
55
|
-
:param pulumi.Input[
|
|
51
|
+
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
52
|
+
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
53
|
+
:param pulumi.Input[_builtins.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
54
|
+
:param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
56
55
|
only.
|
|
57
|
-
:param pulumi.Input[
|
|
58
|
-
:param pulumi.Input[
|
|
59
|
-
:param pulumi.Input[
|
|
60
|
-
:param pulumi.Input[
|
|
56
|
+
:param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
57
|
+
:param pulumi.Input[_builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
58
|
+
:param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
59
|
+
:param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
61
60
|
switch. Default: `1500`.
|
|
62
|
-
:param pulumi.Input[
|
|
61
|
+
:param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
|
|
63
62
|
changed.
|
|
64
|
-
:param pulumi.Input[
|
|
65
|
-
:param pulumi.Input[
|
|
63
|
+
:param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
64
|
+
:param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
|
|
66
65
|
virtual switch. Default: `128`.
|
|
67
66
|
|
|
68
67
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
69
68
|
will not restart the host for you.
|
|
70
|
-
:param pulumi.Input[
|
|
71
|
-
:param pulumi.Input[
|
|
72
|
-
:param pulumi.Input[
|
|
73
|
-
:param pulumi.Input[
|
|
74
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
75
|
-
:param pulumi.Input[
|
|
69
|
+
:param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
70
|
+
:param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
71
|
+
:param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
72
|
+
:param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
73
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
74
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
76
75
|
failover_explicit.
|
|
77
76
|
"""
|
|
78
77
|
pulumi.set(__self__, "active_nics", active_nics)
|
|
@@ -115,21 +114,21 @@ class HostVirtualSwitchArgs:
|
|
|
115
114
|
if teaming_policy is not None:
|
|
116
115
|
pulumi.set(__self__, "teaming_policy", teaming_policy)
|
|
117
116
|
|
|
118
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
119
118
|
@pulumi.getter(name="activeNics")
|
|
120
|
-
def active_nics(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
119
|
+
def active_nics(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
121
120
|
"""
|
|
122
121
|
List of active network adapters used for load balancing.
|
|
123
122
|
"""
|
|
124
123
|
return pulumi.get(self, "active_nics")
|
|
125
124
|
|
|
126
125
|
@active_nics.setter
|
|
127
|
-
def active_nics(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
126
|
+
def active_nics(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
128
127
|
pulumi.set(self, "active_nics", value)
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
@pulumi.getter(name="hostSystemId")
|
|
132
|
-
def host_system_id(self) -> pulumi.Input[
|
|
131
|
+
def host_system_id(self) -> pulumi.Input[_builtins.str]:
|
|
133
132
|
"""
|
|
134
133
|
The managed object ID of
|
|
135
134
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
@@ -137,24 +136,24 @@ class HostVirtualSwitchArgs:
|
|
|
137
136
|
return pulumi.get(self, "host_system_id")
|
|
138
137
|
|
|
139
138
|
@host_system_id.setter
|
|
140
|
-
def host_system_id(self, value: pulumi.Input[
|
|
139
|
+
def host_system_id(self, value: pulumi.Input[_builtins.str]):
|
|
141
140
|
pulumi.set(self, "host_system_id", value)
|
|
142
141
|
|
|
143
|
-
@property
|
|
142
|
+
@_builtins.property
|
|
144
143
|
@pulumi.getter(name="networkAdapters")
|
|
145
|
-
def network_adapters(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
144
|
+
def network_adapters(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
146
145
|
"""
|
|
147
146
|
The list of network adapters to bind to this virtual switch.
|
|
148
147
|
"""
|
|
149
148
|
return pulumi.get(self, "network_adapters")
|
|
150
149
|
|
|
151
150
|
@network_adapters.setter
|
|
152
|
-
def network_adapters(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
151
|
+
def network_adapters(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
153
152
|
pulumi.set(self, "network_adapters", value)
|
|
154
153
|
|
|
155
|
-
@property
|
|
154
|
+
@_builtins.property
|
|
156
155
|
@pulumi.getter(name="allowForgedTransmits")
|
|
157
|
-
def allow_forged_transmits(self) -> Optional[pulumi.Input[
|
|
156
|
+
def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
158
157
|
"""
|
|
159
158
|
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
160
159
|
that of its own.
|
|
@@ -162,48 +161,48 @@ class HostVirtualSwitchArgs:
|
|
|
162
161
|
return pulumi.get(self, "allow_forged_transmits")
|
|
163
162
|
|
|
164
163
|
@allow_forged_transmits.setter
|
|
165
|
-
def allow_forged_transmits(self, value: Optional[pulumi.Input[
|
|
164
|
+
def allow_forged_transmits(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
166
165
|
pulumi.set(self, "allow_forged_transmits", value)
|
|
167
166
|
|
|
168
|
-
@property
|
|
167
|
+
@_builtins.property
|
|
169
168
|
@pulumi.getter(name="allowMacChanges")
|
|
170
|
-
def allow_mac_changes(self) -> Optional[pulumi.Input[
|
|
169
|
+
def allow_mac_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
171
170
|
"""
|
|
172
171
|
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
173
172
|
"""
|
|
174
173
|
return pulumi.get(self, "allow_mac_changes")
|
|
175
174
|
|
|
176
175
|
@allow_mac_changes.setter
|
|
177
|
-
def allow_mac_changes(self, value: Optional[pulumi.Input[
|
|
176
|
+
def allow_mac_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
178
177
|
pulumi.set(self, "allow_mac_changes", value)
|
|
179
178
|
|
|
180
|
-
@property
|
|
179
|
+
@_builtins.property
|
|
181
180
|
@pulumi.getter(name="allowPromiscuous")
|
|
182
|
-
def allow_promiscuous(self) -> Optional[pulumi.Input[
|
|
181
|
+
def allow_promiscuous(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
183
182
|
"""
|
|
184
183
|
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
185
184
|
"""
|
|
186
185
|
return pulumi.get(self, "allow_promiscuous")
|
|
187
186
|
|
|
188
187
|
@allow_promiscuous.setter
|
|
189
|
-
def allow_promiscuous(self, value: Optional[pulumi.Input[
|
|
188
|
+
def allow_promiscuous(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
190
189
|
pulumi.set(self, "allow_promiscuous", value)
|
|
191
190
|
|
|
192
|
-
@property
|
|
191
|
+
@_builtins.property
|
|
193
192
|
@pulumi.getter(name="beaconInterval")
|
|
194
|
-
def beacon_interval(self) -> Optional[pulumi.Input[
|
|
193
|
+
def beacon_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
195
194
|
"""
|
|
196
195
|
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
197
196
|
"""
|
|
198
197
|
return pulumi.get(self, "beacon_interval")
|
|
199
198
|
|
|
200
199
|
@beacon_interval.setter
|
|
201
|
-
def beacon_interval(self, value: Optional[pulumi.Input[
|
|
200
|
+
def beacon_interval(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
202
201
|
pulumi.set(self, "beacon_interval", value)
|
|
203
202
|
|
|
204
|
-
@property
|
|
203
|
+
@_builtins.property
|
|
205
204
|
@pulumi.getter(name="checkBeacon")
|
|
206
|
-
def check_beacon(self) -> Optional[pulumi.Input[
|
|
205
|
+
def check_beacon(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
207
206
|
"""
|
|
208
207
|
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
209
208
|
only.
|
|
@@ -211,48 +210,48 @@ class HostVirtualSwitchArgs:
|
|
|
211
210
|
return pulumi.get(self, "check_beacon")
|
|
212
211
|
|
|
213
212
|
@check_beacon.setter
|
|
214
|
-
def check_beacon(self, value: Optional[pulumi.Input[
|
|
213
|
+
def check_beacon(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
215
214
|
pulumi.set(self, "check_beacon", value)
|
|
216
215
|
|
|
217
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
218
217
|
@pulumi.getter
|
|
219
|
-
def failback(self) -> Optional[pulumi.Input[
|
|
218
|
+
def failback(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
220
219
|
"""
|
|
221
220
|
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
222
221
|
"""
|
|
223
222
|
return pulumi.get(self, "failback")
|
|
224
223
|
|
|
225
224
|
@failback.setter
|
|
226
|
-
def failback(self, value: Optional[pulumi.Input[
|
|
225
|
+
def failback(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
227
226
|
pulumi.set(self, "failback", value)
|
|
228
227
|
|
|
229
|
-
@property
|
|
228
|
+
@_builtins.property
|
|
230
229
|
@pulumi.getter(name="linkDiscoveryOperation")
|
|
231
|
-
def link_discovery_operation(self) -> Optional[pulumi.Input[
|
|
230
|
+
def link_discovery_operation(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
232
231
|
"""
|
|
233
232
|
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
234
233
|
"""
|
|
235
234
|
return pulumi.get(self, "link_discovery_operation")
|
|
236
235
|
|
|
237
236
|
@link_discovery_operation.setter
|
|
238
|
-
def link_discovery_operation(self, value: Optional[pulumi.Input[
|
|
237
|
+
def link_discovery_operation(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
239
238
|
pulumi.set(self, "link_discovery_operation", value)
|
|
240
239
|
|
|
241
|
-
@property
|
|
240
|
+
@_builtins.property
|
|
242
241
|
@pulumi.getter(name="linkDiscoveryProtocol")
|
|
243
|
-
def link_discovery_protocol(self) -> Optional[pulumi.Input[
|
|
242
|
+
def link_discovery_protocol(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
244
243
|
"""
|
|
245
244
|
The discovery protocol type. Valid values are cdp and lldp.
|
|
246
245
|
"""
|
|
247
246
|
return pulumi.get(self, "link_discovery_protocol")
|
|
248
247
|
|
|
249
248
|
@link_discovery_protocol.setter
|
|
250
|
-
def link_discovery_protocol(self, value: Optional[pulumi.Input[
|
|
249
|
+
def link_discovery_protocol(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
251
250
|
pulumi.set(self, "link_discovery_protocol", value)
|
|
252
251
|
|
|
253
|
-
@property
|
|
252
|
+
@_builtins.property
|
|
254
253
|
@pulumi.getter
|
|
255
|
-
def mtu(self) -> Optional[pulumi.Input[
|
|
254
|
+
def mtu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
256
255
|
"""
|
|
257
256
|
The maximum transmission unit (MTU) for the virtual
|
|
258
257
|
switch. Default: `1500`.
|
|
@@ -260,12 +259,12 @@ class HostVirtualSwitchArgs:
|
|
|
260
259
|
return pulumi.get(self, "mtu")
|
|
261
260
|
|
|
262
261
|
@mtu.setter
|
|
263
|
-
def mtu(self, value: Optional[pulumi.Input[
|
|
262
|
+
def mtu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
264
263
|
pulumi.set(self, "mtu", value)
|
|
265
264
|
|
|
266
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
267
266
|
@pulumi.getter
|
|
268
|
-
def name(self) -> Optional[pulumi.Input[
|
|
267
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
269
268
|
"""
|
|
270
269
|
The name of the virtual switch. Forces a new resource if
|
|
271
270
|
changed.
|
|
@@ -273,24 +272,24 @@ class HostVirtualSwitchArgs:
|
|
|
273
272
|
return pulumi.get(self, "name")
|
|
274
273
|
|
|
275
274
|
@name.setter
|
|
276
|
-
def name(self, value: Optional[pulumi.Input[
|
|
275
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
277
276
|
pulumi.set(self, "name", value)
|
|
278
277
|
|
|
279
|
-
@property
|
|
278
|
+
@_builtins.property
|
|
280
279
|
@pulumi.getter(name="notifySwitches")
|
|
281
|
-
def notify_switches(self) -> Optional[pulumi.Input[
|
|
280
|
+
def notify_switches(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
282
281
|
"""
|
|
283
282
|
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
284
283
|
"""
|
|
285
284
|
return pulumi.get(self, "notify_switches")
|
|
286
285
|
|
|
287
286
|
@notify_switches.setter
|
|
288
|
-
def notify_switches(self, value: Optional[pulumi.Input[
|
|
287
|
+
def notify_switches(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
289
288
|
pulumi.set(self, "notify_switches", value)
|
|
290
289
|
|
|
291
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
292
291
|
@pulumi.getter(name="numberOfPorts")
|
|
293
|
-
def number_of_ports(self) -> Optional[pulumi.Input[
|
|
292
|
+
def number_of_ports(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
294
293
|
"""
|
|
295
294
|
The number of ports to create with this
|
|
296
295
|
virtual switch. Default: `128`.
|
|
@@ -301,72 +300,72 @@ class HostVirtualSwitchArgs:
|
|
|
301
300
|
return pulumi.get(self, "number_of_ports")
|
|
302
301
|
|
|
303
302
|
@number_of_ports.setter
|
|
304
|
-
def number_of_ports(self, value: Optional[pulumi.Input[
|
|
303
|
+
def number_of_ports(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
305
304
|
pulumi.set(self, "number_of_ports", value)
|
|
306
305
|
|
|
307
|
-
@property
|
|
306
|
+
@_builtins.property
|
|
308
307
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
309
|
-
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[
|
|
308
|
+
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
310
309
|
"""
|
|
311
310
|
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
312
311
|
"""
|
|
313
312
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
314
313
|
|
|
315
314
|
@shaping_average_bandwidth.setter
|
|
316
|
-
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[
|
|
315
|
+
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
317
316
|
pulumi.set(self, "shaping_average_bandwidth", value)
|
|
318
317
|
|
|
319
|
-
@property
|
|
318
|
+
@_builtins.property
|
|
320
319
|
@pulumi.getter(name="shapingBurstSize")
|
|
321
|
-
def shaping_burst_size(self) -> Optional[pulumi.Input[
|
|
320
|
+
def shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
322
321
|
"""
|
|
323
322
|
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
324
323
|
"""
|
|
325
324
|
return pulumi.get(self, "shaping_burst_size")
|
|
326
325
|
|
|
327
326
|
@shaping_burst_size.setter
|
|
328
|
-
def shaping_burst_size(self, value: Optional[pulumi.Input[
|
|
327
|
+
def shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
329
328
|
pulumi.set(self, "shaping_burst_size", value)
|
|
330
329
|
|
|
331
|
-
@property
|
|
330
|
+
@_builtins.property
|
|
332
331
|
@pulumi.getter(name="shapingEnabled")
|
|
333
|
-
def shaping_enabled(self) -> Optional[pulumi.Input[
|
|
332
|
+
def shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
334
333
|
"""
|
|
335
334
|
Enable traffic shaping on this virtual switch or port group.
|
|
336
335
|
"""
|
|
337
336
|
return pulumi.get(self, "shaping_enabled")
|
|
338
337
|
|
|
339
338
|
@shaping_enabled.setter
|
|
340
|
-
def shaping_enabled(self, value: Optional[pulumi.Input[
|
|
339
|
+
def shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
341
340
|
pulumi.set(self, "shaping_enabled", value)
|
|
342
341
|
|
|
343
|
-
@property
|
|
342
|
+
@_builtins.property
|
|
344
343
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
345
|
-
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[
|
|
344
|
+
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
346
345
|
"""
|
|
347
346
|
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
348
347
|
"""
|
|
349
348
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
350
349
|
|
|
351
350
|
@shaping_peak_bandwidth.setter
|
|
352
|
-
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[
|
|
351
|
+
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
353
352
|
pulumi.set(self, "shaping_peak_bandwidth", value)
|
|
354
353
|
|
|
355
|
-
@property
|
|
354
|
+
@_builtins.property
|
|
356
355
|
@pulumi.getter(name="standbyNics")
|
|
357
|
-
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
356
|
+
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
358
357
|
"""
|
|
359
358
|
List of standby network adapters used for failover.
|
|
360
359
|
"""
|
|
361
360
|
return pulumi.get(self, "standby_nics")
|
|
362
361
|
|
|
363
362
|
@standby_nics.setter
|
|
364
|
-
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
363
|
+
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
365
364
|
pulumi.set(self, "standby_nics", value)
|
|
366
365
|
|
|
367
|
-
@property
|
|
366
|
+
@_builtins.property
|
|
368
367
|
@pulumi.getter(name="teamingPolicy")
|
|
369
|
-
def teaming_policy(self) -> Optional[pulumi.Input[
|
|
368
|
+
def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
370
369
|
"""
|
|
371
370
|
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
372
371
|
failover_explicit.
|
|
@@ -374,66 +373,66 @@ class HostVirtualSwitchArgs:
|
|
|
374
373
|
return pulumi.get(self, "teaming_policy")
|
|
375
374
|
|
|
376
375
|
@teaming_policy.setter
|
|
377
|
-
def teaming_policy(self, value: Optional[pulumi.Input[
|
|
376
|
+
def teaming_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
378
377
|
pulumi.set(self, "teaming_policy", value)
|
|
379
378
|
|
|
380
379
|
|
|
381
380
|
@pulumi.input_type
|
|
382
381
|
class _HostVirtualSwitchState:
|
|
383
382
|
def __init__(__self__, *,
|
|
384
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
385
|
-
allow_forged_transmits: Optional[pulumi.Input[
|
|
386
|
-
allow_mac_changes: Optional[pulumi.Input[
|
|
387
|
-
allow_promiscuous: Optional[pulumi.Input[
|
|
388
|
-
beacon_interval: Optional[pulumi.Input[
|
|
389
|
-
check_beacon: Optional[pulumi.Input[
|
|
390
|
-
failback: Optional[pulumi.Input[
|
|
391
|
-
host_system_id: Optional[pulumi.Input[
|
|
392
|
-
link_discovery_operation: Optional[pulumi.Input[
|
|
393
|
-
link_discovery_protocol: Optional[pulumi.Input[
|
|
394
|
-
mtu: Optional[pulumi.Input[
|
|
395
|
-
name: Optional[pulumi.Input[
|
|
396
|
-
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
397
|
-
notify_switches: Optional[pulumi.Input[
|
|
398
|
-
number_of_ports: Optional[pulumi.Input[
|
|
399
|
-
shaping_average_bandwidth: Optional[pulumi.Input[
|
|
400
|
-
shaping_burst_size: Optional[pulumi.Input[
|
|
401
|
-
shaping_enabled: Optional[pulumi.Input[
|
|
402
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[
|
|
403
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
404
|
-
teaming_policy: Optional[pulumi.Input[
|
|
383
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
384
|
+
allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
385
|
+
allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
386
|
+
allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
387
|
+
beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
388
|
+
check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
389
|
+
failback: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
390
|
+
host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
391
|
+
link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
|
|
392
|
+
link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
|
|
393
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
394
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
395
|
+
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
396
|
+
notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
397
|
+
number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
|
|
398
|
+
shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
399
|
+
shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
400
|
+
shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
401
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
402
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
403
|
+
teaming_policy: Optional[pulumi.Input[_builtins.str]] = None):
|
|
405
404
|
"""
|
|
406
405
|
Input properties used for looking up and filtering HostVirtualSwitch resources.
|
|
407
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
408
|
-
:param pulumi.Input[
|
|
406
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
407
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
409
408
|
that of its own.
|
|
410
|
-
:param pulumi.Input[
|
|
411
|
-
:param pulumi.Input[
|
|
412
|
-
:param pulumi.Input[
|
|
413
|
-
:param pulumi.Input[
|
|
409
|
+
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
410
|
+
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
411
|
+
:param pulumi.Input[_builtins.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
412
|
+
:param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
414
413
|
only.
|
|
415
|
-
:param pulumi.Input[
|
|
416
|
-
:param pulumi.Input[
|
|
414
|
+
:param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
415
|
+
:param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
|
|
417
416
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
418
|
-
:param pulumi.Input[
|
|
419
|
-
:param pulumi.Input[
|
|
420
|
-
:param pulumi.Input[
|
|
417
|
+
:param pulumi.Input[_builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
418
|
+
:param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
419
|
+
:param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
421
420
|
switch. Default: `1500`.
|
|
422
|
-
:param pulumi.Input[
|
|
421
|
+
:param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
|
|
423
422
|
changed.
|
|
424
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
425
|
-
:param pulumi.Input[
|
|
426
|
-
:param pulumi.Input[
|
|
423
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
424
|
+
:param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
425
|
+
:param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
|
|
427
426
|
virtual switch. Default: `128`.
|
|
428
427
|
|
|
429
428
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
430
429
|
will not restart the host for you.
|
|
431
|
-
:param pulumi.Input[
|
|
432
|
-
:param pulumi.Input[
|
|
433
|
-
:param pulumi.Input[
|
|
434
|
-
:param pulumi.Input[
|
|
435
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
436
|
-
:param pulumi.Input[
|
|
430
|
+
:param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
431
|
+
:param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
432
|
+
:param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
433
|
+
:param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
434
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
435
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
437
436
|
failover_explicit.
|
|
438
437
|
"""
|
|
439
438
|
if active_nics is not None:
|
|
@@ -479,21 +478,21 @@ class _HostVirtualSwitchState:
|
|
|
479
478
|
if teaming_policy is not None:
|
|
480
479
|
pulumi.set(__self__, "teaming_policy", teaming_policy)
|
|
481
480
|
|
|
482
|
-
@property
|
|
481
|
+
@_builtins.property
|
|
483
482
|
@pulumi.getter(name="activeNics")
|
|
484
|
-
def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
483
|
+
def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
485
484
|
"""
|
|
486
485
|
List of active network adapters used for load balancing.
|
|
487
486
|
"""
|
|
488
487
|
return pulumi.get(self, "active_nics")
|
|
489
488
|
|
|
490
489
|
@active_nics.setter
|
|
491
|
-
def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
490
|
+
def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
492
491
|
pulumi.set(self, "active_nics", value)
|
|
493
492
|
|
|
494
|
-
@property
|
|
493
|
+
@_builtins.property
|
|
495
494
|
@pulumi.getter(name="allowForgedTransmits")
|
|
496
|
-
def allow_forged_transmits(self) -> Optional[pulumi.Input[
|
|
495
|
+
def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
497
496
|
"""
|
|
498
497
|
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
499
498
|
that of its own.
|
|
@@ -501,48 +500,48 @@ class _HostVirtualSwitchState:
|
|
|
501
500
|
return pulumi.get(self, "allow_forged_transmits")
|
|
502
501
|
|
|
503
502
|
@allow_forged_transmits.setter
|
|
504
|
-
def allow_forged_transmits(self, value: Optional[pulumi.Input[
|
|
503
|
+
def allow_forged_transmits(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
505
504
|
pulumi.set(self, "allow_forged_transmits", value)
|
|
506
505
|
|
|
507
|
-
@property
|
|
506
|
+
@_builtins.property
|
|
508
507
|
@pulumi.getter(name="allowMacChanges")
|
|
509
|
-
def allow_mac_changes(self) -> Optional[pulumi.Input[
|
|
508
|
+
def allow_mac_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
510
509
|
"""
|
|
511
510
|
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
512
511
|
"""
|
|
513
512
|
return pulumi.get(self, "allow_mac_changes")
|
|
514
513
|
|
|
515
514
|
@allow_mac_changes.setter
|
|
516
|
-
def allow_mac_changes(self, value: Optional[pulumi.Input[
|
|
515
|
+
def allow_mac_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
517
516
|
pulumi.set(self, "allow_mac_changes", value)
|
|
518
517
|
|
|
519
|
-
@property
|
|
518
|
+
@_builtins.property
|
|
520
519
|
@pulumi.getter(name="allowPromiscuous")
|
|
521
|
-
def allow_promiscuous(self) -> Optional[pulumi.Input[
|
|
520
|
+
def allow_promiscuous(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
522
521
|
"""
|
|
523
522
|
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
524
523
|
"""
|
|
525
524
|
return pulumi.get(self, "allow_promiscuous")
|
|
526
525
|
|
|
527
526
|
@allow_promiscuous.setter
|
|
528
|
-
def allow_promiscuous(self, value: Optional[pulumi.Input[
|
|
527
|
+
def allow_promiscuous(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
529
528
|
pulumi.set(self, "allow_promiscuous", value)
|
|
530
529
|
|
|
531
|
-
@property
|
|
530
|
+
@_builtins.property
|
|
532
531
|
@pulumi.getter(name="beaconInterval")
|
|
533
|
-
def beacon_interval(self) -> Optional[pulumi.Input[
|
|
532
|
+
def beacon_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
534
533
|
"""
|
|
535
534
|
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
536
535
|
"""
|
|
537
536
|
return pulumi.get(self, "beacon_interval")
|
|
538
537
|
|
|
539
538
|
@beacon_interval.setter
|
|
540
|
-
def beacon_interval(self, value: Optional[pulumi.Input[
|
|
539
|
+
def beacon_interval(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
541
540
|
pulumi.set(self, "beacon_interval", value)
|
|
542
541
|
|
|
543
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
544
543
|
@pulumi.getter(name="checkBeacon")
|
|
545
|
-
def check_beacon(self) -> Optional[pulumi.Input[
|
|
544
|
+
def check_beacon(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
546
545
|
"""
|
|
547
546
|
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
548
547
|
only.
|
|
@@ -550,24 +549,24 @@ class _HostVirtualSwitchState:
|
|
|
550
549
|
return pulumi.get(self, "check_beacon")
|
|
551
550
|
|
|
552
551
|
@check_beacon.setter
|
|
553
|
-
def check_beacon(self, value: Optional[pulumi.Input[
|
|
552
|
+
def check_beacon(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
554
553
|
pulumi.set(self, "check_beacon", value)
|
|
555
554
|
|
|
556
|
-
@property
|
|
555
|
+
@_builtins.property
|
|
557
556
|
@pulumi.getter
|
|
558
|
-
def failback(self) -> Optional[pulumi.Input[
|
|
557
|
+
def failback(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
559
558
|
"""
|
|
560
559
|
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
561
560
|
"""
|
|
562
561
|
return pulumi.get(self, "failback")
|
|
563
562
|
|
|
564
563
|
@failback.setter
|
|
565
|
-
def failback(self, value: Optional[pulumi.Input[
|
|
564
|
+
def failback(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
566
565
|
pulumi.set(self, "failback", value)
|
|
567
566
|
|
|
568
|
-
@property
|
|
567
|
+
@_builtins.property
|
|
569
568
|
@pulumi.getter(name="hostSystemId")
|
|
570
|
-
def host_system_id(self) -> Optional[pulumi.Input[
|
|
569
|
+
def host_system_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
571
570
|
"""
|
|
572
571
|
The managed object ID of
|
|
573
572
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
@@ -575,36 +574,36 @@ class _HostVirtualSwitchState:
|
|
|
575
574
|
return pulumi.get(self, "host_system_id")
|
|
576
575
|
|
|
577
576
|
@host_system_id.setter
|
|
578
|
-
def host_system_id(self, value: Optional[pulumi.Input[
|
|
577
|
+
def host_system_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
579
578
|
pulumi.set(self, "host_system_id", value)
|
|
580
579
|
|
|
581
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
582
581
|
@pulumi.getter(name="linkDiscoveryOperation")
|
|
583
|
-
def link_discovery_operation(self) -> Optional[pulumi.Input[
|
|
582
|
+
def link_discovery_operation(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
584
583
|
"""
|
|
585
584
|
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
586
585
|
"""
|
|
587
586
|
return pulumi.get(self, "link_discovery_operation")
|
|
588
587
|
|
|
589
588
|
@link_discovery_operation.setter
|
|
590
|
-
def link_discovery_operation(self, value: Optional[pulumi.Input[
|
|
589
|
+
def link_discovery_operation(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
591
590
|
pulumi.set(self, "link_discovery_operation", value)
|
|
592
591
|
|
|
593
|
-
@property
|
|
592
|
+
@_builtins.property
|
|
594
593
|
@pulumi.getter(name="linkDiscoveryProtocol")
|
|
595
|
-
def link_discovery_protocol(self) -> Optional[pulumi.Input[
|
|
594
|
+
def link_discovery_protocol(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
596
595
|
"""
|
|
597
596
|
The discovery protocol type. Valid values are cdp and lldp.
|
|
598
597
|
"""
|
|
599
598
|
return pulumi.get(self, "link_discovery_protocol")
|
|
600
599
|
|
|
601
600
|
@link_discovery_protocol.setter
|
|
602
|
-
def link_discovery_protocol(self, value: Optional[pulumi.Input[
|
|
601
|
+
def link_discovery_protocol(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
603
602
|
pulumi.set(self, "link_discovery_protocol", value)
|
|
604
603
|
|
|
605
|
-
@property
|
|
604
|
+
@_builtins.property
|
|
606
605
|
@pulumi.getter
|
|
607
|
-
def mtu(self) -> Optional[pulumi.Input[
|
|
606
|
+
def mtu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
608
607
|
"""
|
|
609
608
|
The maximum transmission unit (MTU) for the virtual
|
|
610
609
|
switch. Default: `1500`.
|
|
@@ -612,12 +611,12 @@ class _HostVirtualSwitchState:
|
|
|
612
611
|
return pulumi.get(self, "mtu")
|
|
613
612
|
|
|
614
613
|
@mtu.setter
|
|
615
|
-
def mtu(self, value: Optional[pulumi.Input[
|
|
614
|
+
def mtu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
616
615
|
pulumi.set(self, "mtu", value)
|
|
617
616
|
|
|
618
|
-
@property
|
|
617
|
+
@_builtins.property
|
|
619
618
|
@pulumi.getter
|
|
620
|
-
def name(self) -> Optional[pulumi.Input[
|
|
619
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
621
620
|
"""
|
|
622
621
|
The name of the virtual switch. Forces a new resource if
|
|
623
622
|
changed.
|
|
@@ -625,36 +624,36 @@ class _HostVirtualSwitchState:
|
|
|
625
624
|
return pulumi.get(self, "name")
|
|
626
625
|
|
|
627
626
|
@name.setter
|
|
628
|
-
def name(self, value: Optional[pulumi.Input[
|
|
627
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
629
628
|
pulumi.set(self, "name", value)
|
|
630
629
|
|
|
631
|
-
@property
|
|
630
|
+
@_builtins.property
|
|
632
631
|
@pulumi.getter(name="networkAdapters")
|
|
633
|
-
def network_adapters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
632
|
+
def network_adapters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
634
633
|
"""
|
|
635
634
|
The list of network adapters to bind to this virtual switch.
|
|
636
635
|
"""
|
|
637
636
|
return pulumi.get(self, "network_adapters")
|
|
638
637
|
|
|
639
638
|
@network_adapters.setter
|
|
640
|
-
def network_adapters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
639
|
+
def network_adapters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
641
640
|
pulumi.set(self, "network_adapters", value)
|
|
642
641
|
|
|
643
|
-
@property
|
|
642
|
+
@_builtins.property
|
|
644
643
|
@pulumi.getter(name="notifySwitches")
|
|
645
|
-
def notify_switches(self) -> Optional[pulumi.Input[
|
|
644
|
+
def notify_switches(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
646
645
|
"""
|
|
647
646
|
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
648
647
|
"""
|
|
649
648
|
return pulumi.get(self, "notify_switches")
|
|
650
649
|
|
|
651
650
|
@notify_switches.setter
|
|
652
|
-
def notify_switches(self, value: Optional[pulumi.Input[
|
|
651
|
+
def notify_switches(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
653
652
|
pulumi.set(self, "notify_switches", value)
|
|
654
653
|
|
|
655
|
-
@property
|
|
654
|
+
@_builtins.property
|
|
656
655
|
@pulumi.getter(name="numberOfPorts")
|
|
657
|
-
def number_of_ports(self) -> Optional[pulumi.Input[
|
|
656
|
+
def number_of_ports(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
658
657
|
"""
|
|
659
658
|
The number of ports to create with this
|
|
660
659
|
virtual switch. Default: `128`.
|
|
@@ -665,72 +664,72 @@ class _HostVirtualSwitchState:
|
|
|
665
664
|
return pulumi.get(self, "number_of_ports")
|
|
666
665
|
|
|
667
666
|
@number_of_ports.setter
|
|
668
|
-
def number_of_ports(self, value: Optional[pulumi.Input[
|
|
667
|
+
def number_of_ports(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
669
668
|
pulumi.set(self, "number_of_ports", value)
|
|
670
669
|
|
|
671
|
-
@property
|
|
670
|
+
@_builtins.property
|
|
672
671
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
673
|
-
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[
|
|
672
|
+
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
674
673
|
"""
|
|
675
674
|
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
676
675
|
"""
|
|
677
676
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
678
677
|
|
|
679
678
|
@shaping_average_bandwidth.setter
|
|
680
|
-
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[
|
|
679
|
+
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
681
680
|
pulumi.set(self, "shaping_average_bandwidth", value)
|
|
682
681
|
|
|
683
|
-
@property
|
|
682
|
+
@_builtins.property
|
|
684
683
|
@pulumi.getter(name="shapingBurstSize")
|
|
685
|
-
def shaping_burst_size(self) -> Optional[pulumi.Input[
|
|
684
|
+
def shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
686
685
|
"""
|
|
687
686
|
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
688
687
|
"""
|
|
689
688
|
return pulumi.get(self, "shaping_burst_size")
|
|
690
689
|
|
|
691
690
|
@shaping_burst_size.setter
|
|
692
|
-
def shaping_burst_size(self, value: Optional[pulumi.Input[
|
|
691
|
+
def shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
693
692
|
pulumi.set(self, "shaping_burst_size", value)
|
|
694
693
|
|
|
695
|
-
@property
|
|
694
|
+
@_builtins.property
|
|
696
695
|
@pulumi.getter(name="shapingEnabled")
|
|
697
|
-
def shaping_enabled(self) -> Optional[pulumi.Input[
|
|
696
|
+
def shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
698
697
|
"""
|
|
699
698
|
Enable traffic shaping on this virtual switch or port group.
|
|
700
699
|
"""
|
|
701
700
|
return pulumi.get(self, "shaping_enabled")
|
|
702
701
|
|
|
703
702
|
@shaping_enabled.setter
|
|
704
|
-
def shaping_enabled(self, value: Optional[pulumi.Input[
|
|
703
|
+
def shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
705
704
|
pulumi.set(self, "shaping_enabled", value)
|
|
706
705
|
|
|
707
|
-
@property
|
|
706
|
+
@_builtins.property
|
|
708
707
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
709
|
-
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[
|
|
708
|
+
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
710
709
|
"""
|
|
711
710
|
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
712
711
|
"""
|
|
713
712
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
714
713
|
|
|
715
714
|
@shaping_peak_bandwidth.setter
|
|
716
|
-
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[
|
|
715
|
+
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
717
716
|
pulumi.set(self, "shaping_peak_bandwidth", value)
|
|
718
717
|
|
|
719
|
-
@property
|
|
718
|
+
@_builtins.property
|
|
720
719
|
@pulumi.getter(name="standbyNics")
|
|
721
|
-
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
720
|
+
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
722
721
|
"""
|
|
723
722
|
List of standby network adapters used for failover.
|
|
724
723
|
"""
|
|
725
724
|
return pulumi.get(self, "standby_nics")
|
|
726
725
|
|
|
727
726
|
@standby_nics.setter
|
|
728
|
-
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
727
|
+
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
729
728
|
pulumi.set(self, "standby_nics", value)
|
|
730
729
|
|
|
731
|
-
@property
|
|
730
|
+
@_builtins.property
|
|
732
731
|
@pulumi.getter(name="teamingPolicy")
|
|
733
|
-
def teaming_policy(self) -> Optional[pulumi.Input[
|
|
732
|
+
def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
734
733
|
"""
|
|
735
734
|
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
736
735
|
failover_explicit.
|
|
@@ -738,7 +737,7 @@ class _HostVirtualSwitchState:
|
|
|
738
737
|
return pulumi.get(self, "teaming_policy")
|
|
739
738
|
|
|
740
739
|
@teaming_policy.setter
|
|
741
|
-
def teaming_policy(self, value: Optional[pulumi.Input[
|
|
740
|
+
def teaming_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
742
741
|
pulumi.set(self, "teaming_policy", value)
|
|
743
742
|
|
|
744
743
|
|
|
@@ -748,27 +747,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
748
747
|
def __init__(__self__,
|
|
749
748
|
resource_name: str,
|
|
750
749
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
751
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
752
|
-
allow_forged_transmits: Optional[pulumi.Input[
|
|
753
|
-
allow_mac_changes: Optional[pulumi.Input[
|
|
754
|
-
allow_promiscuous: Optional[pulumi.Input[
|
|
755
|
-
beacon_interval: Optional[pulumi.Input[
|
|
756
|
-
check_beacon: Optional[pulumi.Input[
|
|
757
|
-
failback: Optional[pulumi.Input[
|
|
758
|
-
host_system_id: Optional[pulumi.Input[
|
|
759
|
-
link_discovery_operation: Optional[pulumi.Input[
|
|
760
|
-
link_discovery_protocol: Optional[pulumi.Input[
|
|
761
|
-
mtu: Optional[pulumi.Input[
|
|
762
|
-
name: Optional[pulumi.Input[
|
|
763
|
-
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
764
|
-
notify_switches: Optional[pulumi.Input[
|
|
765
|
-
number_of_ports: Optional[pulumi.Input[
|
|
766
|
-
shaping_average_bandwidth: Optional[pulumi.Input[
|
|
767
|
-
shaping_burst_size: Optional[pulumi.Input[
|
|
768
|
-
shaping_enabled: Optional[pulumi.Input[
|
|
769
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[
|
|
770
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
771
|
-
teaming_policy: Optional[pulumi.Input[
|
|
750
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
751
|
+
allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
752
|
+
allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
753
|
+
allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
754
|
+
beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
755
|
+
check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
756
|
+
failback: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
757
|
+
host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
|
+
link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
|
|
759
|
+
link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
|
|
760
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
761
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
762
|
+
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
763
|
+
notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
764
|
+
number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
|
|
765
|
+
shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
766
|
+
shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
767
|
+
shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
768
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
769
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
770
|
+
teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
772
771
|
__props__=None):
|
|
773
772
|
"""
|
|
774
773
|
The `HostVirtualSwitch` resource can be used to manage vSphere
|
|
@@ -855,36 +854,36 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
855
854
|
|
|
856
855
|
:param str resource_name: The name of the resource.
|
|
857
856
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
858
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
859
|
-
:param pulumi.Input[
|
|
857
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
858
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
860
859
|
that of its own.
|
|
861
|
-
:param pulumi.Input[
|
|
862
|
-
:param pulumi.Input[
|
|
863
|
-
:param pulumi.Input[
|
|
864
|
-
:param pulumi.Input[
|
|
860
|
+
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
861
|
+
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
862
|
+
:param pulumi.Input[_builtins.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
863
|
+
:param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
865
864
|
only.
|
|
866
|
-
:param pulumi.Input[
|
|
867
|
-
:param pulumi.Input[
|
|
865
|
+
:param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
866
|
+
:param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
|
|
868
867
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
869
|
-
:param pulumi.Input[
|
|
870
|
-
:param pulumi.Input[
|
|
871
|
-
:param pulumi.Input[
|
|
868
|
+
:param pulumi.Input[_builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
869
|
+
:param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
870
|
+
:param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
872
871
|
switch. Default: `1500`.
|
|
873
|
-
:param pulumi.Input[
|
|
872
|
+
:param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
|
|
874
873
|
changed.
|
|
875
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
876
|
-
:param pulumi.Input[
|
|
877
|
-
:param pulumi.Input[
|
|
874
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
875
|
+
:param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
876
|
+
:param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
|
|
878
877
|
virtual switch. Default: `128`.
|
|
879
878
|
|
|
880
879
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
881
880
|
will not restart the host for you.
|
|
882
|
-
:param pulumi.Input[
|
|
883
|
-
:param pulumi.Input[
|
|
884
|
-
:param pulumi.Input[
|
|
885
|
-
:param pulumi.Input[
|
|
886
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
887
|
-
:param pulumi.Input[
|
|
881
|
+
:param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
882
|
+
:param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
883
|
+
:param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
884
|
+
:param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
885
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
886
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
888
887
|
failover_explicit.
|
|
889
888
|
"""
|
|
890
889
|
...
|
|
@@ -991,27 +990,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
991
990
|
def _internal_init(__self__,
|
|
992
991
|
resource_name: str,
|
|
993
992
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
994
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
995
|
-
allow_forged_transmits: Optional[pulumi.Input[
|
|
996
|
-
allow_mac_changes: Optional[pulumi.Input[
|
|
997
|
-
allow_promiscuous: Optional[pulumi.Input[
|
|
998
|
-
beacon_interval: Optional[pulumi.Input[
|
|
999
|
-
check_beacon: Optional[pulumi.Input[
|
|
1000
|
-
failback: Optional[pulumi.Input[
|
|
1001
|
-
host_system_id: Optional[pulumi.Input[
|
|
1002
|
-
link_discovery_operation: Optional[pulumi.Input[
|
|
1003
|
-
link_discovery_protocol: Optional[pulumi.Input[
|
|
1004
|
-
mtu: Optional[pulumi.Input[
|
|
1005
|
-
name: Optional[pulumi.Input[
|
|
1006
|
-
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1007
|
-
notify_switches: Optional[pulumi.Input[
|
|
1008
|
-
number_of_ports: Optional[pulumi.Input[
|
|
1009
|
-
shaping_average_bandwidth: Optional[pulumi.Input[
|
|
1010
|
-
shaping_burst_size: Optional[pulumi.Input[
|
|
1011
|
-
shaping_enabled: Optional[pulumi.Input[
|
|
1012
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[
|
|
1013
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1014
|
-
teaming_policy: Optional[pulumi.Input[
|
|
993
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
994
|
+
allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
995
|
+
allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
996
|
+
allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
997
|
+
beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
998
|
+
check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
999
|
+
failback: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1000
|
+
host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1001
|
+
link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1002
|
+
link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1003
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1004
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1005
|
+
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1006
|
+
notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1007
|
+
number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1008
|
+
shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1009
|
+
shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1010
|
+
shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1011
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1012
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1013
|
+
teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1015
1014
|
__props__=None):
|
|
1016
1015
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1017
1016
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1058,27 +1057,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1058
1057
|
def get(resource_name: str,
|
|
1059
1058
|
id: pulumi.Input[str],
|
|
1060
1059
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1061
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1062
|
-
allow_forged_transmits: Optional[pulumi.Input[
|
|
1063
|
-
allow_mac_changes: Optional[pulumi.Input[
|
|
1064
|
-
allow_promiscuous: Optional[pulumi.Input[
|
|
1065
|
-
beacon_interval: Optional[pulumi.Input[
|
|
1066
|
-
check_beacon: Optional[pulumi.Input[
|
|
1067
|
-
failback: Optional[pulumi.Input[
|
|
1068
|
-
host_system_id: Optional[pulumi.Input[
|
|
1069
|
-
link_discovery_operation: Optional[pulumi.Input[
|
|
1070
|
-
link_discovery_protocol: Optional[pulumi.Input[
|
|
1071
|
-
mtu: Optional[pulumi.Input[
|
|
1072
|
-
name: Optional[pulumi.Input[
|
|
1073
|
-
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1074
|
-
notify_switches: Optional[pulumi.Input[
|
|
1075
|
-
number_of_ports: Optional[pulumi.Input[
|
|
1076
|
-
shaping_average_bandwidth: Optional[pulumi.Input[
|
|
1077
|
-
shaping_burst_size: Optional[pulumi.Input[
|
|
1078
|
-
shaping_enabled: Optional[pulumi.Input[
|
|
1079
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[
|
|
1080
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1081
|
-
teaming_policy: Optional[pulumi.Input[
|
|
1060
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1061
|
+
allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1062
|
+
allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1063
|
+
allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1064
|
+
beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1065
|
+
check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1066
|
+
failback: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1067
|
+
host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1068
|
+
link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1069
|
+
link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1070
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1071
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1072
|
+
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1073
|
+
notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1074
|
+
number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1075
|
+
shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1076
|
+
shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1077
|
+
shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1078
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1079
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1080
|
+
teaming_policy: Optional[pulumi.Input[_builtins.str]] = None) -> 'HostVirtualSwitch':
|
|
1082
1081
|
"""
|
|
1083
1082
|
Get an existing HostVirtualSwitch resource's state with the given name, id, and optional extra
|
|
1084
1083
|
properties used to qualify the lookup.
|
|
@@ -1086,36 +1085,36 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1086
1085
|
:param str resource_name: The unique name of the resulting resource.
|
|
1087
1086
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1088
1087
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1089
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1090
|
-
:param pulumi.Input[
|
|
1088
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
1089
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
1091
1090
|
that of its own.
|
|
1092
|
-
:param pulumi.Input[
|
|
1093
|
-
:param pulumi.Input[
|
|
1094
|
-
:param pulumi.Input[
|
|
1095
|
-
:param pulumi.Input[
|
|
1091
|
+
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1092
|
+
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1093
|
+
:param pulumi.Input[_builtins.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
1094
|
+
:param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
1096
1095
|
only.
|
|
1097
|
-
:param pulumi.Input[
|
|
1098
|
-
:param pulumi.Input[
|
|
1096
|
+
:param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1097
|
+
:param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
|
|
1099
1098
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
1100
|
-
:param pulumi.Input[
|
|
1101
|
-
:param pulumi.Input[
|
|
1102
|
-
:param pulumi.Input[
|
|
1099
|
+
:param pulumi.Input[_builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
1100
|
+
:param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
1101
|
+
:param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
1103
1102
|
switch. Default: `1500`.
|
|
1104
|
-
:param pulumi.Input[
|
|
1103
|
+
:param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
|
|
1105
1104
|
changed.
|
|
1106
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1107
|
-
:param pulumi.Input[
|
|
1108
|
-
:param pulumi.Input[
|
|
1105
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
1106
|
+
:param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1107
|
+
:param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
|
|
1109
1108
|
virtual switch. Default: `128`.
|
|
1110
1109
|
|
|
1111
1110
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
1112
1111
|
will not restart the host for you.
|
|
1113
|
-
:param pulumi.Input[
|
|
1114
|
-
:param pulumi.Input[
|
|
1115
|
-
:param pulumi.Input[
|
|
1116
|
-
:param pulumi.Input[
|
|
1117
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1118
|
-
:param pulumi.Input[
|
|
1112
|
+
:param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1113
|
+
:param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1114
|
+
:param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
1115
|
+
:param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1116
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
1117
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1119
1118
|
failover_explicit.
|
|
1120
1119
|
"""
|
|
1121
1120
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1145,126 +1144,126 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1145
1144
|
__props__.__dict__["teaming_policy"] = teaming_policy
|
|
1146
1145
|
return HostVirtualSwitch(resource_name, opts=opts, __props__=__props__)
|
|
1147
1146
|
|
|
1148
|
-
@property
|
|
1147
|
+
@_builtins.property
|
|
1149
1148
|
@pulumi.getter(name="activeNics")
|
|
1150
|
-
def active_nics(self) -> pulumi.Output[Sequence[
|
|
1149
|
+
def active_nics(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
1151
1150
|
"""
|
|
1152
1151
|
List of active network adapters used for load balancing.
|
|
1153
1152
|
"""
|
|
1154
1153
|
return pulumi.get(self, "active_nics")
|
|
1155
1154
|
|
|
1156
|
-
@property
|
|
1155
|
+
@_builtins.property
|
|
1157
1156
|
@pulumi.getter(name="allowForgedTransmits")
|
|
1158
|
-
def allow_forged_transmits(self) -> pulumi.Output[Optional[
|
|
1157
|
+
def allow_forged_transmits(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1159
1158
|
"""
|
|
1160
1159
|
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
1161
1160
|
that of its own.
|
|
1162
1161
|
"""
|
|
1163
1162
|
return pulumi.get(self, "allow_forged_transmits")
|
|
1164
1163
|
|
|
1165
|
-
@property
|
|
1164
|
+
@_builtins.property
|
|
1166
1165
|
@pulumi.getter(name="allowMacChanges")
|
|
1167
|
-
def allow_mac_changes(self) -> pulumi.Output[Optional[
|
|
1166
|
+
def allow_mac_changes(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1168
1167
|
"""
|
|
1169
1168
|
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1170
1169
|
"""
|
|
1171
1170
|
return pulumi.get(self, "allow_mac_changes")
|
|
1172
1171
|
|
|
1173
|
-
@property
|
|
1172
|
+
@_builtins.property
|
|
1174
1173
|
@pulumi.getter(name="allowPromiscuous")
|
|
1175
|
-
def allow_promiscuous(self) -> pulumi.Output[Optional[
|
|
1174
|
+
def allow_promiscuous(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1176
1175
|
"""
|
|
1177
1176
|
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1178
1177
|
"""
|
|
1179
1178
|
return pulumi.get(self, "allow_promiscuous")
|
|
1180
1179
|
|
|
1181
|
-
@property
|
|
1180
|
+
@_builtins.property
|
|
1182
1181
|
@pulumi.getter(name="beaconInterval")
|
|
1183
|
-
def beacon_interval(self) -> pulumi.Output[Optional[
|
|
1182
|
+
def beacon_interval(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1184
1183
|
"""
|
|
1185
1184
|
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
1186
1185
|
"""
|
|
1187
1186
|
return pulumi.get(self, "beacon_interval")
|
|
1188
1187
|
|
|
1189
|
-
@property
|
|
1188
|
+
@_builtins.property
|
|
1190
1189
|
@pulumi.getter(name="checkBeacon")
|
|
1191
|
-
def check_beacon(self) -> pulumi.Output[Optional[
|
|
1190
|
+
def check_beacon(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1192
1191
|
"""
|
|
1193
1192
|
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
1194
1193
|
only.
|
|
1195
1194
|
"""
|
|
1196
1195
|
return pulumi.get(self, "check_beacon")
|
|
1197
1196
|
|
|
1198
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1199
1198
|
@pulumi.getter
|
|
1200
|
-
def failback(self) -> pulumi.Output[Optional[
|
|
1199
|
+
def failback(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1201
1200
|
"""
|
|
1202
1201
|
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1203
1202
|
"""
|
|
1204
1203
|
return pulumi.get(self, "failback")
|
|
1205
1204
|
|
|
1206
|
-
@property
|
|
1205
|
+
@_builtins.property
|
|
1207
1206
|
@pulumi.getter(name="hostSystemId")
|
|
1208
|
-
def host_system_id(self) -> pulumi.Output[
|
|
1207
|
+
def host_system_id(self) -> pulumi.Output[_builtins.str]:
|
|
1209
1208
|
"""
|
|
1210
1209
|
The managed object ID of
|
|
1211
1210
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
1212
1211
|
"""
|
|
1213
1212
|
return pulumi.get(self, "host_system_id")
|
|
1214
1213
|
|
|
1215
|
-
@property
|
|
1214
|
+
@_builtins.property
|
|
1216
1215
|
@pulumi.getter(name="linkDiscoveryOperation")
|
|
1217
|
-
def link_discovery_operation(self) -> pulumi.Output[Optional[
|
|
1216
|
+
def link_discovery_operation(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1218
1217
|
"""
|
|
1219
1218
|
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
1220
1219
|
"""
|
|
1221
1220
|
return pulumi.get(self, "link_discovery_operation")
|
|
1222
1221
|
|
|
1223
|
-
@property
|
|
1222
|
+
@_builtins.property
|
|
1224
1223
|
@pulumi.getter(name="linkDiscoveryProtocol")
|
|
1225
|
-
def link_discovery_protocol(self) -> pulumi.Output[Optional[
|
|
1224
|
+
def link_discovery_protocol(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1226
1225
|
"""
|
|
1227
1226
|
The discovery protocol type. Valid values are cdp and lldp.
|
|
1228
1227
|
"""
|
|
1229
1228
|
return pulumi.get(self, "link_discovery_protocol")
|
|
1230
1229
|
|
|
1231
|
-
@property
|
|
1230
|
+
@_builtins.property
|
|
1232
1231
|
@pulumi.getter
|
|
1233
|
-
def mtu(self) -> pulumi.Output[Optional[
|
|
1232
|
+
def mtu(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1234
1233
|
"""
|
|
1235
1234
|
The maximum transmission unit (MTU) for the virtual
|
|
1236
1235
|
switch. Default: `1500`.
|
|
1237
1236
|
"""
|
|
1238
1237
|
return pulumi.get(self, "mtu")
|
|
1239
1238
|
|
|
1240
|
-
@property
|
|
1239
|
+
@_builtins.property
|
|
1241
1240
|
@pulumi.getter
|
|
1242
|
-
def name(self) -> pulumi.Output[
|
|
1241
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
1243
1242
|
"""
|
|
1244
1243
|
The name of the virtual switch. Forces a new resource if
|
|
1245
1244
|
changed.
|
|
1246
1245
|
"""
|
|
1247
1246
|
return pulumi.get(self, "name")
|
|
1248
1247
|
|
|
1249
|
-
@property
|
|
1248
|
+
@_builtins.property
|
|
1250
1249
|
@pulumi.getter(name="networkAdapters")
|
|
1251
|
-
def network_adapters(self) -> pulumi.Output[Sequence[
|
|
1250
|
+
def network_adapters(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
1252
1251
|
"""
|
|
1253
1252
|
The list of network adapters to bind to this virtual switch.
|
|
1254
1253
|
"""
|
|
1255
1254
|
return pulumi.get(self, "network_adapters")
|
|
1256
1255
|
|
|
1257
|
-
@property
|
|
1256
|
+
@_builtins.property
|
|
1258
1257
|
@pulumi.getter(name="notifySwitches")
|
|
1259
|
-
def notify_switches(self) -> pulumi.Output[Optional[
|
|
1258
|
+
def notify_switches(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1260
1259
|
"""
|
|
1261
1260
|
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1262
1261
|
"""
|
|
1263
1262
|
return pulumi.get(self, "notify_switches")
|
|
1264
1263
|
|
|
1265
|
-
@property
|
|
1264
|
+
@_builtins.property
|
|
1266
1265
|
@pulumi.getter(name="numberOfPorts")
|
|
1267
|
-
def number_of_ports(self) -> pulumi.Output[Optional[
|
|
1266
|
+
def number_of_ports(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1268
1267
|
"""
|
|
1269
1268
|
The number of ports to create with this
|
|
1270
1269
|
virtual switch. Default: `128`.
|
|
@@ -1274,49 +1273,49 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1274
1273
|
"""
|
|
1275
1274
|
return pulumi.get(self, "number_of_ports")
|
|
1276
1275
|
|
|
1277
|
-
@property
|
|
1276
|
+
@_builtins.property
|
|
1278
1277
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
1279
|
-
def shaping_average_bandwidth(self) -> pulumi.Output[Optional[
|
|
1278
|
+
def shaping_average_bandwidth(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1280
1279
|
"""
|
|
1281
1280
|
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1282
1281
|
"""
|
|
1283
1282
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
1284
1283
|
|
|
1285
|
-
@property
|
|
1284
|
+
@_builtins.property
|
|
1286
1285
|
@pulumi.getter(name="shapingBurstSize")
|
|
1287
|
-
def shaping_burst_size(self) -> pulumi.Output[Optional[
|
|
1286
|
+
def shaping_burst_size(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1288
1287
|
"""
|
|
1289
1288
|
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1290
1289
|
"""
|
|
1291
1290
|
return pulumi.get(self, "shaping_burst_size")
|
|
1292
1291
|
|
|
1293
|
-
@property
|
|
1292
|
+
@_builtins.property
|
|
1294
1293
|
@pulumi.getter(name="shapingEnabled")
|
|
1295
|
-
def shaping_enabled(self) -> pulumi.Output[Optional[
|
|
1294
|
+
def shaping_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1296
1295
|
"""
|
|
1297
1296
|
Enable traffic shaping on this virtual switch or port group.
|
|
1298
1297
|
"""
|
|
1299
1298
|
return pulumi.get(self, "shaping_enabled")
|
|
1300
1299
|
|
|
1301
|
-
@property
|
|
1300
|
+
@_builtins.property
|
|
1302
1301
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
1303
|
-
def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[
|
|
1302
|
+
def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1304
1303
|
"""
|
|
1305
1304
|
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1306
1305
|
"""
|
|
1307
1306
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
1308
1307
|
|
|
1309
|
-
@property
|
|
1308
|
+
@_builtins.property
|
|
1310
1309
|
@pulumi.getter(name="standbyNics")
|
|
1311
|
-
def standby_nics(self) -> pulumi.Output[Optional[Sequence[
|
|
1310
|
+
def standby_nics(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1312
1311
|
"""
|
|
1313
1312
|
List of standby network adapters used for failover.
|
|
1314
1313
|
"""
|
|
1315
1314
|
return pulumi.get(self, "standby_nics")
|
|
1316
1315
|
|
|
1317
|
-
@property
|
|
1316
|
+
@_builtins.property
|
|
1318
1317
|
@pulumi.getter(name="teamingPolicy")
|
|
1319
|
-
def teaming_policy(self) -> pulumi.Output[Optional[
|
|
1318
|
+
def teaming_policy(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1320
1319
|
"""
|
|
1321
1320
|
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1322
1321
|
failover_explicit.
|