pulumi-vsphere 4.13.1__py3-none-any.whl → 4.13.2__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/_utilities.py +8 -4
- pulumi_vsphere/compute_cluster.py +918 -917
- pulumi_vsphere/compute_cluster_host_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +85 -84
- pulumi_vsphere/compute_cluster_vm_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +99 -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 +43 -42
- pulumi_vsphere/content_library_item.py +85 -84
- pulumi_vsphere/custom_attribute.py +29 -28
- pulumi_vsphere/datacenter.py +64 -63
- pulumi_vsphere/datastore_cluster.py +351 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/distributed_port_group.py +645 -644
- pulumi_vsphere/distributed_virtual_switch.py +1282 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +57 -56
- pulumi_vsphere/dpm_host_override.py +57 -56
- pulumi_vsphere/drs_vm_override.py +57 -56
- pulumi_vsphere/entity_permissions.py +29 -28
- pulumi_vsphere/file.py +95 -94
- pulumi_vsphere/folder.py +71 -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 +57 -56
- pulumi_vsphere/ha_vm_override.py +211 -210
- pulumi_vsphere/host.py +197 -196
- pulumi_vsphere/host_port_group.py +253 -252
- pulumi_vsphere/host_virtual_switch.py +295 -294
- pulumi_vsphere/license.py +57 -56
- pulumi_vsphere/nas_datastore.py +211 -210
- pulumi_vsphere/offline_software_depot.py +15 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +98 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +211 -210
- pulumi_vsphere/role.py +36 -35
- pulumi_vsphere/storage_drs_vm_override.py +71 -70
- pulumi_vsphere/supervisor.py +155 -154
- pulumi_vsphere/tag.py +43 -42
- pulumi_vsphere/tag_category.py +57 -56
- pulumi_vsphere/vapp_container.py +211 -210
- pulumi_vsphere/vapp_entity.py +141 -140
- pulumi_vsphere/virtual_disk.py +99 -98
- pulumi_vsphere/virtual_machine.py +1040 -1039
- pulumi_vsphere/virtual_machine_class.py +85 -84
- pulumi_vsphere/virtual_machine_snapshot.py +99 -98
- pulumi_vsphere/vm_storage_policy.py +29 -28
- pulumi_vsphere/vmfs_datastore.py +148 -147
- pulumi_vsphere/vnic.py +113 -112
- {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.13.2.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.13.1.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.13.1.dist-info → pulumi_vsphere-4.13.2.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,7 +738,7 @@ 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
|
|
|
@@ -746,27 +747,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
746
747
|
def __init__(__self__,
|
|
747
748
|
resource_name: str,
|
|
748
749
|
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,
|
|
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,
|
|
770
771
|
__props__=None):
|
|
771
772
|
"""
|
|
772
773
|
The `HostVirtualSwitch` resource can be used to manage vSphere
|
|
@@ -851,36 +852,36 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
851
852
|
|
|
852
853
|
:param str resource_name: The name of the resource.
|
|
853
854
|
: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
|
|
855
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
856
|
+
: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
857
|
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
|
|
858
|
+
:param pulumi.Input[builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
859
|
+
: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.
|
|
860
|
+
: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.
|
|
861
|
+
: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
862
|
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
|
|
863
|
+
:param pulumi.Input[builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
864
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
864
865
|
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
|
|
866
|
+
:param pulumi.Input[builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
867
|
+
:param pulumi.Input[builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
868
|
+
:param pulumi.Input[builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
868
869
|
switch. Default: `1500`.
|
|
869
|
-
:param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
|
|
870
|
+
:param pulumi.Input[builtins.str] name: The name of the virtual switch. Forces a new resource if
|
|
870
871
|
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
|
|
872
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
873
|
+
:param pulumi.Input[builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
874
|
+
:param pulumi.Input[builtins.int] number_of_ports: The number of ports to create with this
|
|
874
875
|
virtual switch. Default: `128`.
|
|
875
876
|
|
|
876
877
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
877
878
|
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
|
|
879
|
+
:param pulumi.Input[builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
880
|
+
:param pulumi.Input[builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
881
|
+
:param pulumi.Input[builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
882
|
+
:param pulumi.Input[builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
883
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
884
|
+
:param pulumi.Input[builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
884
885
|
failover_explicit.
|
|
885
886
|
"""
|
|
886
887
|
...
|
|
@@ -985,27 +986,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
985
986
|
def _internal_init(__self__,
|
|
986
987
|
resource_name: str,
|
|
987
988
|
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,
|
|
989
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
990
|
+
allow_forged_transmits: Optional[pulumi.Input[builtins.bool]] = None,
|
|
991
|
+
allow_mac_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
992
|
+
allow_promiscuous: Optional[pulumi.Input[builtins.bool]] = None,
|
|
993
|
+
beacon_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
994
|
+
check_beacon: Optional[pulumi.Input[builtins.bool]] = None,
|
|
995
|
+
failback: Optional[pulumi.Input[builtins.bool]] = None,
|
|
996
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
997
|
+
link_discovery_operation: Optional[pulumi.Input[builtins.str]] = None,
|
|
998
|
+
link_discovery_protocol: Optional[pulumi.Input[builtins.str]] = None,
|
|
999
|
+
mtu: Optional[pulumi.Input[builtins.int]] = None,
|
|
1000
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1001
|
+
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1002
|
+
notify_switches: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1003
|
+
number_of_ports: Optional[pulumi.Input[builtins.int]] = None,
|
|
1004
|
+
shaping_average_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
1005
|
+
shaping_burst_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1006
|
+
shaping_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1007
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
1008
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1009
|
+
teaming_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1009
1010
|
__props__=None):
|
|
1010
1011
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1011
1012
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1052,27 +1053,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1052
1053
|
def get(resource_name: str,
|
|
1053
1054
|
id: pulumi.Input[str],
|
|
1054
1055
|
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':
|
|
1056
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1057
|
+
allow_forged_transmits: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1058
|
+
allow_mac_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1059
|
+
allow_promiscuous: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1060
|
+
beacon_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
1061
|
+
check_beacon: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1062
|
+
failback: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1063
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1064
|
+
link_discovery_operation: Optional[pulumi.Input[builtins.str]] = None,
|
|
1065
|
+
link_discovery_protocol: Optional[pulumi.Input[builtins.str]] = None,
|
|
1066
|
+
mtu: Optional[pulumi.Input[builtins.int]] = None,
|
|
1067
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1068
|
+
network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1069
|
+
notify_switches: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1070
|
+
number_of_ports: Optional[pulumi.Input[builtins.int]] = None,
|
|
1071
|
+
shaping_average_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
1072
|
+
shaping_burst_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1073
|
+
shaping_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1074
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
1075
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1076
|
+
teaming_policy: Optional[pulumi.Input[builtins.str]] = None) -> 'HostVirtualSwitch':
|
|
1076
1077
|
"""
|
|
1077
1078
|
Get an existing HostVirtualSwitch resource's state with the given name, id, and optional extra
|
|
1078
1079
|
properties used to qualify the lookup.
|
|
@@ -1080,36 +1081,36 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1080
1081
|
:param str resource_name: The unique name of the resulting resource.
|
|
1081
1082
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1082
1083
|
: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
|
|
1084
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
1085
|
+
: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
1086
|
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
|
|
1087
|
+
:param pulumi.Input[builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1088
|
+
: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.
|
|
1089
|
+
: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.
|
|
1090
|
+
: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
1091
|
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
|
|
1092
|
+
:param pulumi.Input[builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1093
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
1093
1094
|
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
|
|
1095
|
+
:param pulumi.Input[builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
1096
|
+
:param pulumi.Input[builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
|
|
1097
|
+
:param pulumi.Input[builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
|
|
1097
1098
|
switch. Default: `1500`.
|
|
1098
|
-
:param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
|
|
1099
|
+
:param pulumi.Input[builtins.str] name: The name of the virtual switch. Forces a new resource if
|
|
1099
1100
|
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
|
|
1101
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
|
|
1102
|
+
:param pulumi.Input[builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1103
|
+
:param pulumi.Input[builtins.int] number_of_ports: The number of ports to create with this
|
|
1103
1104
|
virtual switch. Default: `128`.
|
|
1104
1105
|
|
|
1105
1106
|
> **NOTE:** Changing the port count requires a reboot of the host. This provider
|
|
1106
1107
|
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
|
|
1108
|
+
:param pulumi.Input[builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1109
|
+
:param pulumi.Input[builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1110
|
+
:param pulumi.Input[builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
1111
|
+
:param pulumi.Input[builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1112
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
1113
|
+
:param pulumi.Input[builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1113
1114
|
failover_explicit.
|
|
1114
1115
|
"""
|
|
1115
1116
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1141,7 +1142,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1141
1142
|
|
|
1142
1143
|
@property
|
|
1143
1144
|
@pulumi.getter(name="activeNics")
|
|
1144
|
-
def active_nics(self) -> pulumi.Output[Sequence[str]]:
|
|
1145
|
+
def active_nics(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
1145
1146
|
"""
|
|
1146
1147
|
List of active network adapters used for load balancing.
|
|
1147
1148
|
"""
|
|
@@ -1149,7 +1150,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1149
1150
|
|
|
1150
1151
|
@property
|
|
1151
1152
|
@pulumi.getter(name="allowForgedTransmits")
|
|
1152
|
-
def allow_forged_transmits(self) -> pulumi.Output[Optional[bool]]:
|
|
1153
|
+
def allow_forged_transmits(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1153
1154
|
"""
|
|
1154
1155
|
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
1155
1156
|
that of its own.
|
|
@@ -1158,7 +1159,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1158
1159
|
|
|
1159
1160
|
@property
|
|
1160
1161
|
@pulumi.getter(name="allowMacChanges")
|
|
1161
|
-
def allow_mac_changes(self) -> pulumi.Output[Optional[bool]]:
|
|
1162
|
+
def allow_mac_changes(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1162
1163
|
"""
|
|
1163
1164
|
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1164
1165
|
"""
|
|
@@ -1166,7 +1167,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1166
1167
|
|
|
1167
1168
|
@property
|
|
1168
1169
|
@pulumi.getter(name="allowPromiscuous")
|
|
1169
|
-
def allow_promiscuous(self) -> pulumi.Output[Optional[bool]]:
|
|
1170
|
+
def allow_promiscuous(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1170
1171
|
"""
|
|
1171
1172
|
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1172
1173
|
"""
|
|
@@ -1174,7 +1175,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1174
1175
|
|
|
1175
1176
|
@property
|
|
1176
1177
|
@pulumi.getter(name="beaconInterval")
|
|
1177
|
-
def beacon_interval(self) -> pulumi.Output[Optional[int]]:
|
|
1178
|
+
def beacon_interval(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1178
1179
|
"""
|
|
1179
1180
|
Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
|
|
1180
1181
|
"""
|
|
@@ -1182,7 +1183,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1182
1183
|
|
|
1183
1184
|
@property
|
|
1184
1185
|
@pulumi.getter(name="checkBeacon")
|
|
1185
|
-
def check_beacon(self) -> pulumi.Output[Optional[bool]]:
|
|
1186
|
+
def check_beacon(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1186
1187
|
"""
|
|
1187
1188
|
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
1188
1189
|
only.
|
|
@@ -1191,7 +1192,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1191
1192
|
|
|
1192
1193
|
@property
|
|
1193
1194
|
@pulumi.getter
|
|
1194
|
-
def failback(self) -> pulumi.Output[Optional[bool]]:
|
|
1195
|
+
def failback(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1195
1196
|
"""
|
|
1196
1197
|
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1197
1198
|
"""
|
|
@@ -1199,7 +1200,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1199
1200
|
|
|
1200
1201
|
@property
|
|
1201
1202
|
@pulumi.getter(name="hostSystemId")
|
|
1202
|
-
def host_system_id(self) -> pulumi.Output[str]:
|
|
1203
|
+
def host_system_id(self) -> pulumi.Output[builtins.str]:
|
|
1203
1204
|
"""
|
|
1204
1205
|
The managed object ID of
|
|
1205
1206
|
the host to set the virtual switch up on. Forces a new resource if changed.
|
|
@@ -1208,7 +1209,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1208
1209
|
|
|
1209
1210
|
@property
|
|
1210
1211
|
@pulumi.getter(name="linkDiscoveryOperation")
|
|
1211
|
-
def link_discovery_operation(self) -> pulumi.Output[Optional[str]]:
|
|
1212
|
+
def link_discovery_operation(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1212
1213
|
"""
|
|
1213
1214
|
Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
|
|
1214
1215
|
"""
|
|
@@ -1216,7 +1217,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1216
1217
|
|
|
1217
1218
|
@property
|
|
1218
1219
|
@pulumi.getter(name="linkDiscoveryProtocol")
|
|
1219
|
-
def link_discovery_protocol(self) -> pulumi.Output[Optional[str]]:
|
|
1220
|
+
def link_discovery_protocol(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1220
1221
|
"""
|
|
1221
1222
|
The discovery protocol type. Valid values are cdp and lldp.
|
|
1222
1223
|
"""
|
|
@@ -1224,7 +1225,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1224
1225
|
|
|
1225
1226
|
@property
|
|
1226
1227
|
@pulumi.getter
|
|
1227
|
-
def mtu(self) -> pulumi.Output[Optional[int]]:
|
|
1228
|
+
def mtu(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1228
1229
|
"""
|
|
1229
1230
|
The maximum transmission unit (MTU) for the virtual
|
|
1230
1231
|
switch. Default: `1500`.
|
|
@@ -1233,7 +1234,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1233
1234
|
|
|
1234
1235
|
@property
|
|
1235
1236
|
@pulumi.getter
|
|
1236
|
-
def name(self) -> pulumi.Output[str]:
|
|
1237
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1237
1238
|
"""
|
|
1238
1239
|
The name of the virtual switch. Forces a new resource if
|
|
1239
1240
|
changed.
|
|
@@ -1242,7 +1243,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1242
1243
|
|
|
1243
1244
|
@property
|
|
1244
1245
|
@pulumi.getter(name="networkAdapters")
|
|
1245
|
-
def network_adapters(self) -> pulumi.Output[Sequence[str]]:
|
|
1246
|
+
def network_adapters(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
1246
1247
|
"""
|
|
1247
1248
|
The list of network adapters to bind to this virtual switch.
|
|
1248
1249
|
"""
|
|
@@ -1250,7 +1251,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1250
1251
|
|
|
1251
1252
|
@property
|
|
1252
1253
|
@pulumi.getter(name="notifySwitches")
|
|
1253
|
-
def notify_switches(self) -> pulumi.Output[Optional[bool]]:
|
|
1254
|
+
def notify_switches(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1254
1255
|
"""
|
|
1255
1256
|
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1256
1257
|
"""
|
|
@@ -1258,7 +1259,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1258
1259
|
|
|
1259
1260
|
@property
|
|
1260
1261
|
@pulumi.getter(name="numberOfPorts")
|
|
1261
|
-
def number_of_ports(self) -> pulumi.Output[Optional[int]]:
|
|
1262
|
+
def number_of_ports(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1262
1263
|
"""
|
|
1263
1264
|
The number of ports to create with this
|
|
1264
1265
|
virtual switch. Default: `128`.
|
|
@@ -1270,7 +1271,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1270
1271
|
|
|
1271
1272
|
@property
|
|
1272
1273
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
1273
|
-
def shaping_average_bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
1274
|
+
def shaping_average_bandwidth(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1274
1275
|
"""
|
|
1275
1276
|
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1276
1277
|
"""
|
|
@@ -1278,7 +1279,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1278
1279
|
|
|
1279
1280
|
@property
|
|
1280
1281
|
@pulumi.getter(name="shapingBurstSize")
|
|
1281
|
-
def shaping_burst_size(self) -> pulumi.Output[Optional[int]]:
|
|
1282
|
+
def shaping_burst_size(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1282
1283
|
"""
|
|
1283
1284
|
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1284
1285
|
"""
|
|
@@ -1286,7 +1287,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1286
1287
|
|
|
1287
1288
|
@property
|
|
1288
1289
|
@pulumi.getter(name="shapingEnabled")
|
|
1289
|
-
def shaping_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
1290
|
+
def shaping_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1290
1291
|
"""
|
|
1291
1292
|
Enable traffic shaping on this virtual switch or port group.
|
|
1292
1293
|
"""
|
|
@@ -1294,7 +1295,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1294
1295
|
|
|
1295
1296
|
@property
|
|
1296
1297
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
1297
|
-
def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
1298
|
+
def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1298
1299
|
"""
|
|
1299
1300
|
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1300
1301
|
"""
|
|
@@ -1302,7 +1303,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1302
1303
|
|
|
1303
1304
|
@property
|
|
1304
1305
|
@pulumi.getter(name="standbyNics")
|
|
1305
|
-
def standby_nics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1306
|
+
def standby_nics(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1306
1307
|
"""
|
|
1307
1308
|
List of standby network adapters used for failover.
|
|
1308
1309
|
"""
|
|
@@ -1310,7 +1311,7 @@ class HostVirtualSwitch(pulumi.CustomResource):
|
|
|
1310
1311
|
|
|
1311
1312
|
@property
|
|
1312
1313
|
@pulumi.getter(name="teamingPolicy")
|
|
1313
|
-
def teaming_policy(self) -> pulumi.Output[Optional[str]]:
|
|
1314
|
+
def teaming_policy(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1314
1315
|
"""
|
|
1315
1316
|
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1316
1317
|
failover_explicit.
|