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