pulumi-vsphere 4.11.0a1713561492__py3-none-any.whl → 4.11.0a1714114315__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/_inputs.py +96 -232
- pulumi_vsphere/compute_cluster.py +700 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -8
- pulumi_vsphere/datacenter.py +0 -8
- pulumi_vsphere/datastore_cluster.py +154 -350
- pulumi_vsphere/distributed_port_group.py +70 -175
- pulumi_vsphere/distributed_virtual_switch.py +308 -798
- pulumi_vsphere/file.py +0 -8
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
- pulumi_vsphere/get_content_library.py +0 -4
- pulumi_vsphere/get_custom_attribute.py +0 -4
- pulumi_vsphere/get_datacenter.py +0 -4
- pulumi_vsphere/get_datastore.py +0 -4
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +0 -8
- pulumi_vsphere/get_distributed_virtual_switch.py +0 -4
- pulumi_vsphere/get_dynamic.py +0 -4
- pulumi_vsphere/get_folder.py +0 -4
- pulumi_vsphere/get_guest_os_customization.py +0 -4
- pulumi_vsphere/get_host.py +0 -4
- pulumi_vsphere/get_host_pci_device.py +4 -12
- pulumi_vsphere/get_host_thumbprint.py +0 -4
- pulumi_vsphere/get_host_vgpu_profile.py +0 -8
- pulumi_vsphere/get_license.py +0 -4
- pulumi_vsphere/get_network.py +0 -4
- pulumi_vsphere/get_policy.py +0 -4
- pulumi_vsphere/get_resource_pool.py +0 -8
- pulumi_vsphere/get_role.py +0 -4
- pulumi_vsphere/get_tag.py +0 -4
- pulumi_vsphere/get_tag_category.py +0 -4
- pulumi_vsphere/get_vapp_container.py +0 -4
- pulumi_vsphere/get_virtual_machine.py +0 -8
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +0 -4
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -8
- pulumi_vsphere/host_port_group.py +0 -8
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/outputs.py +96 -232
- pulumi_vsphere/resource_pool.py +0 -12
- pulumi_vsphere/virtual_machine.py +599 -739
- pulumi_vsphere/virtual_machine_snapshot.py +0 -4
- pulumi_vsphere/vm_storage_policy.py +0 -12
- pulumi_vsphere/vnic.py +0 -8
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1714114315.dist-info/RECORD +82 -0
- pulumi_vsphere-4.11.0a1713561492.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/top_level.txt +0 -0
|
@@ -114,29 +114,17 @@ class DistributedVirtualSwitchArgs:
|
|
|
114
114
|
The set of arguments for constructing a DistributedVirtualSwitch resource.
|
|
115
115
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
116
116
|
created. Forces a new resource if changed.
|
|
117
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
:param pulumi.Input[bool]
|
|
122
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
123
|
-
address than that of its own.
|
|
124
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
125
|
-
Control (MAC) address can be changed.
|
|
126
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
127
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
117
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
118
|
+
: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
|
|
119
|
+
that of its own.
|
|
120
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
121
|
+
: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.
|
|
128
122
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
129
123
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
130
124
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
131
125
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
132
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
133
|
-
|
|
134
|
-
virtual devices.
|
|
135
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
136
|
-
to detect NIC failure.
|
|
137
|
-
|
|
138
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
139
|
-
probing.
|
|
126
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
127
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
140
128
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
141
129
|
who is responsible for the VDS.
|
|
142
130
|
:param pulumi.Input[str] contact_name: The name of the person who is responsible for the
|
|
@@ -147,18 +135,12 @@ class DistributedVirtualSwitchArgs:
|
|
|
147
135
|
> **NOTE:** Custom attributes are unsupported on direct ESXi host connections
|
|
148
136
|
and requires vCenter Server.
|
|
149
137
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
150
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
151
|
-
|
|
152
|
-
:param pulumi.Input[int]
|
|
153
|
-
|
|
154
|
-
:param pulumi.Input[int]
|
|
155
|
-
|
|
156
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
157
|
-
on the port for egress traffic.
|
|
158
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
159
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
160
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
161
|
-
uplinks higher in precedence when they come back up.
|
|
138
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
139
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
140
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
141
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
142
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
143
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
162
144
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
163
145
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
164
146
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -169,18 +151,12 @@ class DistributedVirtualSwitchArgs:
|
|
|
169
151
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
170
152
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
171
153
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
172
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts:
|
|
173
|
-
|
|
174
|
-
:param pulumi.Input[
|
|
175
|
-
|
|
176
|
-
:param pulumi.Input[
|
|
177
|
-
|
|
178
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
179
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
180
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
181
|
-
enabled on the port for ingress traffic.
|
|
182
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
183
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
154
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: A host member specification.
|
|
155
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
156
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
157
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
158
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
159
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
184
160
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
185
161
|
mostly useful when used with the Netflow arguments.
|
|
186
162
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -190,9 +166,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
190
166
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
191
167
|
version to use with the VDS. Possible values are `singleLag` and
|
|
192
168
|
`multipleLag`.
|
|
193
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
194
|
-
|
|
195
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
169
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
170
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
196
171
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
197
172
|
for link discovery traffic.
|
|
198
173
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -205,59 +180,35 @@ class DistributedVirtualSwitchArgs:
|
|
|
205
180
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
206
181
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
207
182
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
208
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
:param pulumi.Input[
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
:param pulumi.Input[
|
|
215
|
-
|
|
216
|
-
:param pulumi.Input[
|
|
217
|
-
|
|
218
|
-
:param pulumi.Input[
|
|
219
|
-
|
|
220
|
-
to `600`. Default: `15`.
|
|
221
|
-
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to
|
|
222
|
-
traffic that has both source and destination served by the same host.
|
|
223
|
-
Default: `false`.
|
|
224
|
-
:param pulumi.Input[int] netflow_observation_domain_id: The observation domain ID for
|
|
225
|
-
the Netflow collector.
|
|
226
|
-
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to
|
|
227
|
-
the number of packets analyzed. The default is `0`, which indicates that the
|
|
228
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
229
|
-
indicates an analysis rate of 0.001%.
|
|
230
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
231
|
-
network I/O control. Default: `false`.
|
|
232
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
233
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
183
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
184
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6. IPv6 is supported in vSphere Distributed Switch Version 6.0 or
|
|
185
|
+
later.
|
|
186
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
187
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
188
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
189
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
190
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
191
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
192
|
+
packets are analyzed.
|
|
193
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
194
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
234
195
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
235
196
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
236
197
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
237
198
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
238
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
239
|
-
|
|
240
|
-
:param pulumi.Input[
|
|
241
|
-
|
|
242
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
243
|
-
private VLAN mapping. The options are:
|
|
244
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
245
|
-
failover. These uplinks need to match the definitions in the
|
|
246
|
-
`uplinks` VDS argument. See
|
|
247
|
-
here for more details.
|
|
199
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
200
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
201
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
202
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
248
203
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
249
204
|
|
|
250
205
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
251
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
258
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
259
|
-
names. See here for an example on how to
|
|
260
|
-
use this option.
|
|
206
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
207
|
+
failover_explicit, or loadbalance_loadbased.
|
|
208
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
209
|
+
forwarded done by the switch.
|
|
210
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
211
|
+
across hosts.
|
|
261
212
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
262
213
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
263
214
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -270,28 +221,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
270
221
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
271
222
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
272
223
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
273
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
274
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
275
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
276
|
-
below:
|
|
277
|
-
|
|
278
|
-
<!--Start PulumiCodeChooser -->
|
|
279
|
-
```python
|
|
280
|
-
import pulumi
|
|
281
|
-
import pulumi_vsphere as vsphere
|
|
282
|
-
|
|
283
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
284
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
285
|
-
min_vlan=100,
|
|
286
|
-
max_vlan=199,
|
|
287
|
-
),
|
|
288
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
289
|
-
min_vlan=300,
|
|
290
|
-
max_vlan=399,
|
|
291
|
-
),
|
|
292
|
-
])
|
|
293
|
-
```
|
|
294
|
-
<!--End PulumiCodeChooser -->
|
|
224
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
295
225
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
296
226
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
297
227
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -506,10 +436,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
506
436
|
@pulumi.getter(name="activeUplinks")
|
|
507
437
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
508
438
|
"""
|
|
509
|
-
|
|
510
|
-
balancing. These uplinks need to match the definitions in the
|
|
511
|
-
`uplinks` VDS argument. See
|
|
512
|
-
here for more details.
|
|
439
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
513
440
|
"""
|
|
514
441
|
return pulumi.get(self, "active_uplinks")
|
|
515
442
|
|
|
@@ -521,9 +448,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
521
448
|
@pulumi.getter(name="allowForgedTransmits")
|
|
522
449
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
523
450
|
"""
|
|
524
|
-
Controls whether or not a
|
|
525
|
-
|
|
526
|
-
address than that of its own.
|
|
451
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
452
|
+
that of its own.
|
|
527
453
|
"""
|
|
528
454
|
return pulumi.get(self, "allow_forged_transmits")
|
|
529
455
|
|
|
@@ -535,8 +461,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
535
461
|
@pulumi.getter(name="allowMacChanges")
|
|
536
462
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
537
463
|
"""
|
|
538
|
-
Controls whether or not the Media Access
|
|
539
|
-
Control (MAC) address can be changed.
|
|
464
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
540
465
|
"""
|
|
541
466
|
return pulumi.get(self, "allow_mac_changes")
|
|
542
467
|
|
|
@@ -548,8 +473,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
548
473
|
@pulumi.getter(name="allowPromiscuous")
|
|
549
474
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
550
475
|
"""
|
|
551
|
-
Enable promiscuous mode on the network. This
|
|
552
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
476
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
553
477
|
"""
|
|
554
478
|
return pulumi.get(self, "allow_promiscuous")
|
|
555
479
|
|
|
@@ -609,9 +533,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
609
533
|
@pulumi.getter(name="blockAllPorts")
|
|
610
534
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
611
535
|
"""
|
|
612
|
-
|
|
613
|
-
this policy applies to, effectively blocking all network access to connected
|
|
614
|
-
virtual devices.
|
|
536
|
+
Indicates whether to block all ports by default.
|
|
615
537
|
"""
|
|
616
538
|
return pulumi.get(self, "block_all_ports")
|
|
617
539
|
|
|
@@ -623,11 +545,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
623
545
|
@pulumi.getter(name="checkBeacon")
|
|
624
546
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
625
547
|
"""
|
|
626
|
-
|
|
627
|
-
to detect NIC failure.
|
|
628
|
-
|
|
629
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
630
|
-
probing.
|
|
548
|
+
Enable beacon probing on the ports this policy applies to.
|
|
631
549
|
"""
|
|
632
550
|
return pulumi.get(self, "check_beacon")
|
|
633
551
|
|
|
@@ -693,8 +611,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
693
611
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
694
612
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
695
613
|
"""
|
|
696
|
-
Allow VMDirectPath Gen2
|
|
697
|
-
for which this policy applies to.
|
|
614
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
698
615
|
"""
|
|
699
616
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
700
617
|
|
|
@@ -706,8 +623,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
706
623
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
707
624
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
708
625
|
"""
|
|
709
|
-
The average bandwidth in bits
|
|
710
|
-
per second if egress traffic shaping is enabled on the port.
|
|
626
|
+
The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
711
627
|
"""
|
|
712
628
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
713
629
|
|
|
@@ -719,8 +635,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
719
635
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
720
636
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
721
637
|
"""
|
|
722
|
-
The maximum burst size allowed in
|
|
723
|
-
bytes if egress traffic shaping is enabled on the port.
|
|
638
|
+
The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
724
639
|
"""
|
|
725
640
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
726
641
|
|
|
@@ -732,8 +647,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
732
647
|
@pulumi.getter(name="egressShapingEnabled")
|
|
733
648
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
734
649
|
"""
|
|
735
|
-
|
|
736
|
-
on the port for egress traffic.
|
|
650
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
737
651
|
"""
|
|
738
652
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
739
653
|
|
|
@@ -745,8 +659,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
745
659
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
746
660
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
747
661
|
"""
|
|
748
|
-
The peak bandwidth during bursts
|
|
749
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
662
|
+
The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
750
663
|
"""
|
|
751
664
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
752
665
|
|
|
@@ -758,8 +671,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
758
671
|
@pulumi.getter
|
|
759
672
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
760
673
|
"""
|
|
761
|
-
If
|
|
762
|
-
uplinks higher in precedence when they come back up.
|
|
674
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
763
675
|
"""
|
|
764
676
|
return pulumi.get(self, "failback")
|
|
765
677
|
|
|
@@ -880,8 +792,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
880
792
|
@pulumi.getter
|
|
881
793
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
882
794
|
"""
|
|
883
|
-
|
|
884
|
-
options are:
|
|
795
|
+
A host member specification.
|
|
885
796
|
"""
|
|
886
797
|
return pulumi.get(self, "hosts")
|
|
887
798
|
|
|
@@ -893,8 +804,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
893
804
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
894
805
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
895
806
|
"""
|
|
896
|
-
Whether to ignore existing PVLAN
|
|
897
|
-
mappings not managed by this resource. Defaults to false.
|
|
807
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
898
808
|
"""
|
|
899
809
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
900
810
|
|
|
@@ -906,8 +816,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
906
816
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
907
817
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
908
818
|
"""
|
|
909
|
-
The average bandwidth in
|
|
910
|
-
bits per second if ingress traffic shaping is enabled on the port.
|
|
819
|
+
The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
911
820
|
"""
|
|
912
821
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
913
822
|
|
|
@@ -919,8 +828,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
919
828
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
920
829
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
921
830
|
"""
|
|
922
|
-
The maximum burst size allowed in
|
|
923
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
831
|
+
The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
924
832
|
"""
|
|
925
833
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
926
834
|
|
|
@@ -932,8 +840,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
932
840
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
933
841
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
934
842
|
"""
|
|
935
|
-
|
|
936
|
-
enabled on the port for ingress traffic.
|
|
843
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
937
844
|
"""
|
|
938
845
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
939
846
|
|
|
@@ -945,8 +852,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
945
852
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
946
853
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
947
854
|
"""
|
|
948
|
-
The peak bandwidth during
|
|
949
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
855
|
+
The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
950
856
|
"""
|
|
951
857
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
952
858
|
|
|
@@ -1033,8 +939,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1033
939
|
@pulumi.getter(name="lacpEnabled")
|
|
1034
940
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1035
941
|
"""
|
|
1036
|
-
|
|
1037
|
-
applies to.
|
|
942
|
+
Whether or not to enable LACP on all uplink ports.
|
|
1038
943
|
"""
|
|
1039
944
|
return pulumi.get(self, "lacp_enabled")
|
|
1040
945
|
|
|
@@ -1046,7 +951,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1046
951
|
@pulumi.getter(name="lacpMode")
|
|
1047
952
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1048
953
|
"""
|
|
1049
|
-
The LACP mode. Can be one of
|
|
954
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
1050
955
|
"""
|
|
1051
956
|
return pulumi.get(self, "lacp_mode")
|
|
1052
957
|
|
|
@@ -1169,9 +1074,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1169
1074
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
1170
1075
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1171
1076
|
"""
|
|
1172
|
-
The number of seconds after which
|
|
1173
|
-
active flows are forced to be exported to the collector. Allowed range is
|
|
1174
|
-
`60` to `3600`. Default: `60`.
|
|
1077
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
1175
1078
|
"""
|
|
1176
1079
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
1177
1080
|
|
|
@@ -1183,9 +1086,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1183
1086
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
1184
1087
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
1185
1088
|
"""
|
|
1186
|
-
IP address for the
|
|
1187
|
-
|
|
1188
|
-
Must be set before Netflow can be enabled.
|
|
1089
|
+
IP address for the netflow collector, using IPv4 or IPv6. IPv6 is supported in vSphere Distributed Switch Version 6.0 or
|
|
1090
|
+
later.
|
|
1189
1091
|
"""
|
|
1190
1092
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
1191
1093
|
|
|
@@ -1197,8 +1099,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1197
1099
|
@pulumi.getter(name="netflowCollectorPort")
|
|
1198
1100
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
1199
1101
|
"""
|
|
1200
|
-
|
|
1201
|
-
must be set before Netflow can be enabled.
|
|
1102
|
+
The port for the netflow collector.
|
|
1202
1103
|
"""
|
|
1203
1104
|
return pulumi.get(self, "netflow_collector_port")
|
|
1204
1105
|
|
|
@@ -1210,8 +1111,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1210
1111
|
@pulumi.getter(name="netflowEnabled")
|
|
1211
1112
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1212
1113
|
"""
|
|
1213
|
-
|
|
1214
|
-
applies to.
|
|
1114
|
+
Indicates whether to enable netflow on all ports.
|
|
1215
1115
|
"""
|
|
1216
1116
|
return pulumi.get(self, "netflow_enabled")
|
|
1217
1117
|
|
|
@@ -1223,9 +1123,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1223
1123
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
1224
1124
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1225
1125
|
"""
|
|
1226
|
-
The number of seconds after which
|
|
1227
|
-
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
1228
|
-
to `600`. Default: `15`.
|
|
1126
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
1229
1127
|
"""
|
|
1230
1128
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
1231
1129
|
|
|
@@ -1237,9 +1135,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1237
1135
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
1238
1136
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
1239
1137
|
"""
|
|
1240
|
-
Whether to limit analysis to
|
|
1241
|
-
traffic that has both source and destination served by the same host.
|
|
1242
|
-
Default: `false`.
|
|
1138
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
1243
1139
|
"""
|
|
1244
1140
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
1245
1141
|
|
|
@@ -1251,8 +1147,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1251
1147
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
1252
1148
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
1253
1149
|
"""
|
|
1254
|
-
The observation
|
|
1255
|
-
the Netflow collector.
|
|
1150
|
+
The observation Domain ID for the netflow collector.
|
|
1256
1151
|
"""
|
|
1257
1152
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
1258
1153
|
|
|
@@ -1264,10 +1159,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1264
1159
|
@pulumi.getter(name="netflowSamplingRate")
|
|
1265
1160
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
1266
1161
|
"""
|
|
1267
|
-
The ratio of total number of packets to
|
|
1268
|
-
|
|
1269
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
1270
|
-
indicates an analysis rate of 0.001%.
|
|
1162
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
1163
|
+
packets are analyzed.
|
|
1271
1164
|
"""
|
|
1272
1165
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
1273
1166
|
|
|
@@ -1279,8 +1172,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1279
1172
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
1280
1173
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1281
1174
|
"""
|
|
1282
|
-
|
|
1283
|
-
network I/O control. Default: `false`.
|
|
1175
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
1284
1176
|
"""
|
|
1285
1177
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
1286
1178
|
|
|
@@ -1292,8 +1184,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1292
1184
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
1293
1185
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
1294
1186
|
"""
|
|
1295
|
-
The version of
|
|
1296
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
1187
|
+
The network I/O control version to use. Can be one of version2 or version3.
|
|
1297
1188
|
"""
|
|
1298
1189
|
return pulumi.get(self, "network_resource_control_version")
|
|
1299
1190
|
|
|
@@ -1353,8 +1244,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1353
1244
|
@pulumi.getter(name="notifySwitches")
|
|
1354
1245
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
1355
1246
|
"""
|
|
1356
|
-
If
|
|
1357
|
-
broadcast network of an uplink failover, triggering cache updates.
|
|
1247
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1358
1248
|
"""
|
|
1359
1249
|
return pulumi.get(self, "notify_switches")
|
|
1360
1250
|
|
|
@@ -1366,8 +1256,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1366
1256
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
1367
1257
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
1368
1258
|
"""
|
|
1369
|
-
|
|
1370
|
-
ID when using private VLANs.
|
|
1259
|
+
The secondary VLAN ID for this port.
|
|
1371
1260
|
"""
|
|
1372
1261
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
1373
1262
|
|
|
@@ -1379,8 +1268,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1379
1268
|
@pulumi.getter(name="pvlanMappings")
|
|
1380
1269
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
1381
1270
|
"""
|
|
1382
|
-
|
|
1383
|
-
private VLAN mapping. The options are:
|
|
1271
|
+
A private VLAN (PVLAN) mapping.
|
|
1384
1272
|
"""
|
|
1385
1273
|
return pulumi.get(self, "pvlan_mappings")
|
|
1386
1274
|
|
|
@@ -1392,10 +1280,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1392
1280
|
@pulumi.getter(name="standbyUplinks")
|
|
1393
1281
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1394
1282
|
"""
|
|
1395
|
-
|
|
1396
|
-
failover. These uplinks need to match the definitions in the
|
|
1397
|
-
`uplinks` VDS argument. See
|
|
1398
|
-
here for more details.
|
|
1283
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1399
1284
|
"""
|
|
1400
1285
|
return pulumi.get(self, "standby_uplinks")
|
|
1401
1286
|
|
|
@@ -1421,9 +1306,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1421
1306
|
@pulumi.getter(name="teamingPolicy")
|
|
1422
1307
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1423
1308
|
"""
|
|
1424
|
-
The
|
|
1425
|
-
|
|
1426
|
-
`failover_explicit`, or `loadbalance_loadbased`.
|
|
1309
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1310
|
+
failover_explicit, or loadbalance_loadbased.
|
|
1427
1311
|
"""
|
|
1428
1312
|
return pulumi.get(self, "teaming_policy")
|
|
1429
1313
|
|
|
@@ -1435,8 +1319,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1435
1319
|
@pulumi.getter(name="txUplink")
|
|
1436
1320
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
1437
1321
|
"""
|
|
1438
|
-
|
|
1439
|
-
|
|
1322
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
1323
|
+
forwarded done by the switch.
|
|
1440
1324
|
"""
|
|
1441
1325
|
return pulumi.get(self, "tx_uplink")
|
|
1442
1326
|
|
|
@@ -1448,11 +1332,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1448
1332
|
@pulumi.getter
|
|
1449
1333
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1450
1334
|
"""
|
|
1451
|
-
A list of
|
|
1452
|
-
|
|
1453
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
1454
|
-
names. See here for an example on how to
|
|
1455
|
-
use this option.
|
|
1335
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
1336
|
+
across hosts.
|
|
1456
1337
|
"""
|
|
1457
1338
|
return pulumi.get(self, "uplinks")
|
|
1458
1339
|
|
|
@@ -1586,28 +1467,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1586
1467
|
@pulumi.getter(name="vlanRanges")
|
|
1587
1468
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
1588
1469
|
"""
|
|
1589
|
-
|
|
1590
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
1591
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
1592
|
-
below:
|
|
1593
|
-
|
|
1594
|
-
<!--Start PulumiCodeChooser -->
|
|
1595
|
-
```python
|
|
1596
|
-
import pulumi
|
|
1597
|
-
import pulumi_vsphere as vsphere
|
|
1598
|
-
|
|
1599
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
1600
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1601
|
-
min_vlan=100,
|
|
1602
|
-
max_vlan=199,
|
|
1603
|
-
),
|
|
1604
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1605
|
-
min_vlan=300,
|
|
1606
|
-
max_vlan=399,
|
|
1607
|
-
),
|
|
1608
|
-
])
|
|
1609
|
-
```
|
|
1610
|
-
<!--End PulumiCodeChooser -->
|
|
1470
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1611
1471
|
"""
|
|
1612
1472
|
return pulumi.get(self, "vlan_ranges")
|
|
1613
1473
|
|
|
@@ -1812,29 +1672,17 @@ class _DistributedVirtualSwitchState:
|
|
|
1812
1672
|
vsan_share_level: Optional[pulumi.Input[str]] = None):
|
|
1813
1673
|
"""
|
|
1814
1674
|
Input properties used for looking up and filtering DistributedVirtualSwitch resources.
|
|
1815
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
:param pulumi.Input[bool]
|
|
1820
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
1821
|
-
address than that of its own.
|
|
1822
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
1823
|
-
Control (MAC) address can be changed.
|
|
1824
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
1825
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
1675
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1676
|
+
: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
|
|
1677
|
+
that of its own.
|
|
1678
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1679
|
+
: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.
|
|
1826
1680
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
1827
1681
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
1828
1682
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
1829
1683
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
1830
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
1831
|
-
|
|
1832
|
-
virtual devices.
|
|
1833
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
1834
|
-
to detect NIC failure.
|
|
1835
|
-
|
|
1836
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
1837
|
-
probing.
|
|
1684
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
1685
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
1838
1686
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
1839
1687
|
by subsequent updates to the VDS.
|
|
1840
1688
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -1849,18 +1697,12 @@ class _DistributedVirtualSwitchState:
|
|
|
1849
1697
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
1850
1698
|
created. Forces a new resource if changed.
|
|
1851
1699
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
1852
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
1853
|
-
|
|
1854
|
-
:param pulumi.Input[int]
|
|
1855
|
-
|
|
1856
|
-
:param pulumi.Input[int]
|
|
1857
|
-
|
|
1858
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
1859
|
-
on the port for egress traffic.
|
|
1860
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
1861
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
1862
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
1863
|
-
uplinks higher in precedence when they come back up.
|
|
1700
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
1701
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
1702
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
1703
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
1704
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
1705
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1864
1706
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
1865
1707
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
1866
1708
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -1871,18 +1713,12 @@ class _DistributedVirtualSwitchState:
|
|
|
1871
1713
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
1872
1714
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
1873
1715
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
1874
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts:
|
|
1875
|
-
|
|
1876
|
-
:param pulumi.Input[
|
|
1877
|
-
|
|
1878
|
-
:param pulumi.Input[
|
|
1879
|
-
|
|
1880
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
1881
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
1882
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
1883
|
-
enabled on the port for ingress traffic.
|
|
1884
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
1885
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
1716
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: A host member specification.
|
|
1717
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
1718
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
1719
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
1720
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
1721
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
1886
1722
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
1887
1723
|
mostly useful when used with the Netflow arguments.
|
|
1888
1724
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -1892,9 +1728,8 @@ class _DistributedVirtualSwitchState:
|
|
|
1892
1728
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
1893
1729
|
version to use with the VDS. Possible values are `singleLag` and
|
|
1894
1730
|
`multipleLag`.
|
|
1895
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
1896
|
-
|
|
1897
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
1731
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
1732
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
1898
1733
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
1899
1734
|
for link discovery traffic.
|
|
1900
1735
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -1907,59 +1742,35 @@ class _DistributedVirtualSwitchState:
|
|
|
1907
1742
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
1908
1743
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
1909
1744
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
1910
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
:param pulumi.Input[
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
:param pulumi.Input[
|
|
1917
|
-
|
|
1918
|
-
:param pulumi.Input[
|
|
1919
|
-
|
|
1920
|
-
:param pulumi.Input[
|
|
1921
|
-
|
|
1922
|
-
to `600`. Default: `15`.
|
|
1923
|
-
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to
|
|
1924
|
-
traffic that has both source and destination served by the same host.
|
|
1925
|
-
Default: `false`.
|
|
1926
|
-
:param pulumi.Input[int] netflow_observation_domain_id: The observation domain ID for
|
|
1927
|
-
the Netflow collector.
|
|
1928
|
-
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to
|
|
1929
|
-
the number of packets analyzed. The default is `0`, which indicates that the
|
|
1930
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
1931
|
-
indicates an analysis rate of 0.001%.
|
|
1932
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
1933
|
-
network I/O control. Default: `false`.
|
|
1934
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
1935
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
1745
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
1746
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6. IPv6 is supported in vSphere Distributed Switch Version 6.0 or
|
|
1747
|
+
later.
|
|
1748
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
1749
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
1750
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
1751
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
1752
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
1753
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
1754
|
+
packets are analyzed.
|
|
1755
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
1756
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
1936
1757
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
1937
1758
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
1938
1759
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
1939
1760
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
1940
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
1941
|
-
|
|
1942
|
-
:param pulumi.Input[
|
|
1943
|
-
|
|
1944
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
1945
|
-
private VLAN mapping. The options are:
|
|
1946
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
1947
|
-
failover. These uplinks need to match the definitions in the
|
|
1948
|
-
`uplinks` VDS argument. See
|
|
1949
|
-
here for more details.
|
|
1761
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1762
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
1763
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
1764
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1950
1765
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
1951
1766
|
|
|
1952
1767
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
1953
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
1960
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
1961
|
-
names. See here for an example on how to
|
|
1962
|
-
use this option.
|
|
1768
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1769
|
+
failover_explicit, or loadbalance_loadbased.
|
|
1770
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
1771
|
+
forwarded done by the switch.
|
|
1772
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
1773
|
+
across hosts.
|
|
1963
1774
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
1964
1775
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
1965
1776
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -1972,28 +1783,7 @@ class _DistributedVirtualSwitchState:
|
|
|
1972
1783
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
1973
1784
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
1974
1785
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1975
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
1976
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
1977
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
1978
|
-
below:
|
|
1979
|
-
|
|
1980
|
-
<!--Start PulumiCodeChooser -->
|
|
1981
|
-
```python
|
|
1982
|
-
import pulumi
|
|
1983
|
-
import pulumi_vsphere as vsphere
|
|
1984
|
-
|
|
1985
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
1986
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1987
|
-
min_vlan=100,
|
|
1988
|
-
max_vlan=199,
|
|
1989
|
-
),
|
|
1990
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1991
|
-
min_vlan=300,
|
|
1992
|
-
max_vlan=399,
|
|
1993
|
-
),
|
|
1994
|
-
])
|
|
1995
|
-
```
|
|
1996
|
-
<!--End PulumiCodeChooser -->
|
|
1786
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1997
1787
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
1998
1788
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
1999
1789
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -2198,10 +1988,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2198
1988
|
@pulumi.getter(name="activeUplinks")
|
|
2199
1989
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2200
1990
|
"""
|
|
2201
|
-
|
|
2202
|
-
balancing. These uplinks need to match the definitions in the
|
|
2203
|
-
`uplinks` VDS argument. See
|
|
2204
|
-
here for more details.
|
|
1991
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
2205
1992
|
"""
|
|
2206
1993
|
return pulumi.get(self, "active_uplinks")
|
|
2207
1994
|
|
|
@@ -2213,9 +2000,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2213
2000
|
@pulumi.getter(name="allowForgedTransmits")
|
|
2214
2001
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
2215
2002
|
"""
|
|
2216
|
-
Controls whether or not a
|
|
2217
|
-
|
|
2218
|
-
address than that of its own.
|
|
2003
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
2004
|
+
that of its own.
|
|
2219
2005
|
"""
|
|
2220
2006
|
return pulumi.get(self, "allow_forged_transmits")
|
|
2221
2007
|
|
|
@@ -2227,8 +2013,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2227
2013
|
@pulumi.getter(name="allowMacChanges")
|
|
2228
2014
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
2229
2015
|
"""
|
|
2230
|
-
Controls whether or not the Media Access
|
|
2231
|
-
Control (MAC) address can be changed.
|
|
2016
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
2232
2017
|
"""
|
|
2233
2018
|
return pulumi.get(self, "allow_mac_changes")
|
|
2234
2019
|
|
|
@@ -2240,8 +2025,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2240
2025
|
@pulumi.getter(name="allowPromiscuous")
|
|
2241
2026
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
2242
2027
|
"""
|
|
2243
|
-
Enable promiscuous mode on the network. This
|
|
2244
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
2028
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
2245
2029
|
"""
|
|
2246
2030
|
return pulumi.get(self, "allow_promiscuous")
|
|
2247
2031
|
|
|
@@ -2301,9 +2085,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2301
2085
|
@pulumi.getter(name="blockAllPorts")
|
|
2302
2086
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
2303
2087
|
"""
|
|
2304
|
-
|
|
2305
|
-
this policy applies to, effectively blocking all network access to connected
|
|
2306
|
-
virtual devices.
|
|
2088
|
+
Indicates whether to block all ports by default.
|
|
2307
2089
|
"""
|
|
2308
2090
|
return pulumi.get(self, "block_all_ports")
|
|
2309
2091
|
|
|
@@ -2315,11 +2097,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2315
2097
|
@pulumi.getter(name="checkBeacon")
|
|
2316
2098
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
2317
2099
|
"""
|
|
2318
|
-
|
|
2319
|
-
to detect NIC failure.
|
|
2320
|
-
|
|
2321
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
2322
|
-
probing.
|
|
2100
|
+
Enable beacon probing on the ports this policy applies to.
|
|
2323
2101
|
"""
|
|
2324
2102
|
return pulumi.get(self, "check_beacon")
|
|
2325
2103
|
|
|
@@ -2411,8 +2189,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2411
2189
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
2412
2190
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
2413
2191
|
"""
|
|
2414
|
-
Allow VMDirectPath Gen2
|
|
2415
|
-
for which this policy applies to.
|
|
2192
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
2416
2193
|
"""
|
|
2417
2194
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
2418
2195
|
|
|
@@ -2424,8 +2201,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2424
2201
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
2425
2202
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2426
2203
|
"""
|
|
2427
|
-
The average bandwidth in bits
|
|
2428
|
-
per second if egress traffic shaping is enabled on the port.
|
|
2204
|
+
The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
2429
2205
|
"""
|
|
2430
2206
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
2431
2207
|
|
|
@@ -2437,8 +2213,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2437
2213
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
2438
2214
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2439
2215
|
"""
|
|
2440
|
-
The maximum burst size allowed in
|
|
2441
|
-
bytes if egress traffic shaping is enabled on the port.
|
|
2216
|
+
The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
2442
2217
|
"""
|
|
2443
2218
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
2444
2219
|
|
|
@@ -2450,8 +2225,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2450
2225
|
@pulumi.getter(name="egressShapingEnabled")
|
|
2451
2226
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2452
2227
|
"""
|
|
2453
|
-
|
|
2454
|
-
on the port for egress traffic.
|
|
2228
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
2455
2229
|
"""
|
|
2456
2230
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
2457
2231
|
|
|
@@ -2463,8 +2237,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2463
2237
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
2464
2238
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2465
2239
|
"""
|
|
2466
|
-
The peak bandwidth during bursts
|
|
2467
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
2240
|
+
The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
2468
2241
|
"""
|
|
2469
2242
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
2470
2243
|
|
|
@@ -2476,8 +2249,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2476
2249
|
@pulumi.getter
|
|
2477
2250
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
2478
2251
|
"""
|
|
2479
|
-
If
|
|
2480
|
-
uplinks higher in precedence when they come back up.
|
|
2252
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
2481
2253
|
"""
|
|
2482
2254
|
return pulumi.get(self, "failback")
|
|
2483
2255
|
|
|
@@ -2598,8 +2370,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2598
2370
|
@pulumi.getter
|
|
2599
2371
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
2600
2372
|
"""
|
|
2601
|
-
|
|
2602
|
-
options are:
|
|
2373
|
+
A host member specification.
|
|
2603
2374
|
"""
|
|
2604
2375
|
return pulumi.get(self, "hosts")
|
|
2605
2376
|
|
|
@@ -2611,8 +2382,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2611
2382
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
2612
2383
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
2613
2384
|
"""
|
|
2614
|
-
Whether to ignore existing PVLAN
|
|
2615
|
-
mappings not managed by this resource. Defaults to false.
|
|
2385
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
2616
2386
|
"""
|
|
2617
2387
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
2618
2388
|
|
|
@@ -2624,8 +2394,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2624
2394
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
2625
2395
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2626
2396
|
"""
|
|
2627
|
-
The average bandwidth in
|
|
2628
|
-
bits per second if ingress traffic shaping is enabled on the port.
|
|
2397
|
+
The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
2629
2398
|
"""
|
|
2630
2399
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
2631
2400
|
|
|
@@ -2637,8 +2406,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2637
2406
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
2638
2407
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2639
2408
|
"""
|
|
2640
|
-
The maximum burst size allowed in
|
|
2641
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
2409
|
+
The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
2642
2410
|
"""
|
|
2643
2411
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
2644
2412
|
|
|
@@ -2650,8 +2418,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2650
2418
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
2651
2419
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2652
2420
|
"""
|
|
2653
|
-
|
|
2654
|
-
enabled on the port for ingress traffic.
|
|
2421
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
2655
2422
|
"""
|
|
2656
2423
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
2657
2424
|
|
|
@@ -2663,8 +2430,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2663
2430
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
2664
2431
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2665
2432
|
"""
|
|
2666
|
-
The peak bandwidth during
|
|
2667
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
2433
|
+
The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
2668
2434
|
"""
|
|
2669
2435
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
2670
2436
|
|
|
@@ -2751,8 +2517,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2751
2517
|
@pulumi.getter(name="lacpEnabled")
|
|
2752
2518
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2753
2519
|
"""
|
|
2754
|
-
|
|
2755
|
-
applies to.
|
|
2520
|
+
Whether or not to enable LACP on all uplink ports.
|
|
2756
2521
|
"""
|
|
2757
2522
|
return pulumi.get(self, "lacp_enabled")
|
|
2758
2523
|
|
|
@@ -2764,7 +2529,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2764
2529
|
@pulumi.getter(name="lacpMode")
|
|
2765
2530
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2766
2531
|
"""
|
|
2767
|
-
The LACP mode. Can be one of
|
|
2532
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
2768
2533
|
"""
|
|
2769
2534
|
return pulumi.get(self, "lacp_mode")
|
|
2770
2535
|
|
|
@@ -2887,9 +2652,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2887
2652
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
2888
2653
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2889
2654
|
"""
|
|
2890
|
-
The number of seconds after which
|
|
2891
|
-
active flows are forced to be exported to the collector. Allowed range is
|
|
2892
|
-
`60` to `3600`. Default: `60`.
|
|
2655
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
2893
2656
|
"""
|
|
2894
2657
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
2895
2658
|
|
|
@@ -2901,9 +2664,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2901
2664
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
2902
2665
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
2903
2666
|
"""
|
|
2904
|
-
IP address for the
|
|
2905
|
-
|
|
2906
|
-
Must be set before Netflow can be enabled.
|
|
2667
|
+
IP address for the netflow collector, using IPv4 or IPv6. IPv6 is supported in vSphere Distributed Switch Version 6.0 or
|
|
2668
|
+
later.
|
|
2907
2669
|
"""
|
|
2908
2670
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
2909
2671
|
|
|
@@ -2915,8 +2677,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2915
2677
|
@pulumi.getter(name="netflowCollectorPort")
|
|
2916
2678
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
2917
2679
|
"""
|
|
2918
|
-
|
|
2919
|
-
must be set before Netflow can be enabled.
|
|
2680
|
+
The port for the netflow collector.
|
|
2920
2681
|
"""
|
|
2921
2682
|
return pulumi.get(self, "netflow_collector_port")
|
|
2922
2683
|
|
|
@@ -2928,8 +2689,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2928
2689
|
@pulumi.getter(name="netflowEnabled")
|
|
2929
2690
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2930
2691
|
"""
|
|
2931
|
-
|
|
2932
|
-
applies to.
|
|
2692
|
+
Indicates whether to enable netflow on all ports.
|
|
2933
2693
|
"""
|
|
2934
2694
|
return pulumi.get(self, "netflow_enabled")
|
|
2935
2695
|
|
|
@@ -2941,9 +2701,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2941
2701
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
2942
2702
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2943
2703
|
"""
|
|
2944
|
-
The number of seconds after which
|
|
2945
|
-
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
2946
|
-
to `600`. Default: `15`.
|
|
2704
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
2947
2705
|
"""
|
|
2948
2706
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
2949
2707
|
|
|
@@ -2955,9 +2713,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2955
2713
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
2956
2714
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
2957
2715
|
"""
|
|
2958
|
-
Whether to limit analysis to
|
|
2959
|
-
traffic that has both source and destination served by the same host.
|
|
2960
|
-
Default: `false`.
|
|
2716
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
2961
2717
|
"""
|
|
2962
2718
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
2963
2719
|
|
|
@@ -2969,8 +2725,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2969
2725
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
2970
2726
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
2971
2727
|
"""
|
|
2972
|
-
The observation
|
|
2973
|
-
the Netflow collector.
|
|
2728
|
+
The observation Domain ID for the netflow collector.
|
|
2974
2729
|
"""
|
|
2975
2730
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
2976
2731
|
|
|
@@ -2982,10 +2737,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2982
2737
|
@pulumi.getter(name="netflowSamplingRate")
|
|
2983
2738
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
2984
2739
|
"""
|
|
2985
|
-
The ratio of total number of packets to
|
|
2986
|
-
|
|
2987
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
2988
|
-
indicates an analysis rate of 0.001%.
|
|
2740
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
2741
|
+
packets are analyzed.
|
|
2989
2742
|
"""
|
|
2990
2743
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
2991
2744
|
|
|
@@ -2997,8 +2750,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2997
2750
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
2998
2751
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2999
2752
|
"""
|
|
3000
|
-
|
|
3001
|
-
network I/O control. Default: `false`.
|
|
2753
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3002
2754
|
"""
|
|
3003
2755
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
3004
2756
|
|
|
@@ -3010,8 +2762,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3010
2762
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
3011
2763
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
3012
2764
|
"""
|
|
3013
|
-
The version of
|
|
3014
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
2765
|
+
The network I/O control version to use. Can be one of version2 or version3.
|
|
3015
2766
|
"""
|
|
3016
2767
|
return pulumi.get(self, "network_resource_control_version")
|
|
3017
2768
|
|
|
@@ -3071,8 +2822,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3071
2822
|
@pulumi.getter(name="notifySwitches")
|
|
3072
2823
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
3073
2824
|
"""
|
|
3074
|
-
If
|
|
3075
|
-
broadcast network of an uplink failover, triggering cache updates.
|
|
2825
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
3076
2826
|
"""
|
|
3077
2827
|
return pulumi.get(self, "notify_switches")
|
|
3078
2828
|
|
|
@@ -3084,8 +2834,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3084
2834
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
3085
2835
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
3086
2836
|
"""
|
|
3087
|
-
|
|
3088
|
-
ID when using private VLANs.
|
|
2837
|
+
The secondary VLAN ID for this port.
|
|
3089
2838
|
"""
|
|
3090
2839
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
3091
2840
|
|
|
@@ -3097,8 +2846,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3097
2846
|
@pulumi.getter(name="pvlanMappings")
|
|
3098
2847
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
3099
2848
|
"""
|
|
3100
|
-
|
|
3101
|
-
private VLAN mapping. The options are:
|
|
2849
|
+
A private VLAN (PVLAN) mapping.
|
|
3102
2850
|
"""
|
|
3103
2851
|
return pulumi.get(self, "pvlan_mappings")
|
|
3104
2852
|
|
|
@@ -3110,10 +2858,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3110
2858
|
@pulumi.getter(name="standbyUplinks")
|
|
3111
2859
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3112
2860
|
"""
|
|
3113
|
-
|
|
3114
|
-
failover. These uplinks need to match the definitions in the
|
|
3115
|
-
`uplinks` VDS argument. See
|
|
3116
|
-
here for more details.
|
|
2861
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3117
2862
|
"""
|
|
3118
2863
|
return pulumi.get(self, "standby_uplinks")
|
|
3119
2864
|
|
|
@@ -3139,9 +2884,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3139
2884
|
@pulumi.getter(name="teamingPolicy")
|
|
3140
2885
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3141
2886
|
"""
|
|
3142
|
-
The
|
|
3143
|
-
|
|
3144
|
-
`failover_explicit`, or `loadbalance_loadbased`.
|
|
2887
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
2888
|
+
failover_explicit, or loadbalance_loadbased.
|
|
3145
2889
|
"""
|
|
3146
2890
|
return pulumi.get(self, "teaming_policy")
|
|
3147
2891
|
|
|
@@ -3153,8 +2897,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3153
2897
|
@pulumi.getter(name="txUplink")
|
|
3154
2898
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
3155
2899
|
"""
|
|
3156
|
-
|
|
3157
|
-
|
|
2900
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
2901
|
+
forwarded done by the switch.
|
|
3158
2902
|
"""
|
|
3159
2903
|
return pulumi.get(self, "tx_uplink")
|
|
3160
2904
|
|
|
@@ -3166,11 +2910,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3166
2910
|
@pulumi.getter
|
|
3167
2911
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3168
2912
|
"""
|
|
3169
|
-
A list of
|
|
3170
|
-
|
|
3171
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
3172
|
-
names. See here for an example on how to
|
|
3173
|
-
use this option.
|
|
2913
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
2914
|
+
across hosts.
|
|
3174
2915
|
"""
|
|
3175
2916
|
return pulumi.get(self, "uplinks")
|
|
3176
2917
|
|
|
@@ -3304,28 +3045,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3304
3045
|
@pulumi.getter(name="vlanRanges")
|
|
3305
3046
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
3306
3047
|
"""
|
|
3307
|
-
|
|
3308
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
3309
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
3310
|
-
below:
|
|
3311
|
-
|
|
3312
|
-
<!--Start PulumiCodeChooser -->
|
|
3313
|
-
```python
|
|
3314
|
-
import pulumi
|
|
3315
|
-
import pulumi_vsphere as vsphere
|
|
3316
|
-
|
|
3317
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
3318
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3319
|
-
min_vlan=100,
|
|
3320
|
-
max_vlan=199,
|
|
3321
|
-
),
|
|
3322
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3323
|
-
min_vlan=300,
|
|
3324
|
-
max_vlan=399,
|
|
3325
|
-
),
|
|
3326
|
-
])
|
|
3327
|
-
```
|
|
3328
|
-
<!--End PulumiCodeChooser -->
|
|
3048
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3329
3049
|
"""
|
|
3330
3050
|
return pulumi.get(self, "vlan_ranges")
|
|
3331
3051
|
|
|
@@ -3534,29 +3254,17 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3534
3254
|
Create a DistributedVirtualSwitch resource with the given unique name, props, and options.
|
|
3535
3255
|
:param str resource_name: The name of the resource.
|
|
3536
3256
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3537
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
:param pulumi.Input[bool]
|
|
3542
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
3543
|
-
address than that of its own.
|
|
3544
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
3545
|
-
Control (MAC) address can be changed.
|
|
3546
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
3547
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
3257
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3258
|
+
: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
|
|
3259
|
+
that of its own.
|
|
3260
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
3261
|
+
: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.
|
|
3548
3262
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
3549
3263
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
3550
3264
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
3551
3265
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
3552
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
3553
|
-
|
|
3554
|
-
virtual devices.
|
|
3555
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
3556
|
-
to detect NIC failure.
|
|
3557
|
-
|
|
3558
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
3559
|
-
probing.
|
|
3266
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
3267
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
3560
3268
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
3561
3269
|
who is responsible for the VDS.
|
|
3562
3270
|
:param pulumi.Input[str] contact_name: The name of the person who is responsible for the
|
|
@@ -3569,18 +3277,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3569
3277
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
3570
3278
|
created. Forces a new resource if changed.
|
|
3571
3279
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
3572
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
3573
|
-
|
|
3574
|
-
:param pulumi.Input[int]
|
|
3575
|
-
|
|
3576
|
-
:param pulumi.Input[int]
|
|
3577
|
-
|
|
3578
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
3579
|
-
on the port for egress traffic.
|
|
3580
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
3581
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
3582
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
3583
|
-
uplinks higher in precedence when they come back up.
|
|
3280
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
3281
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
3282
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
3283
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
3284
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
3285
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
3584
3286
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
3585
3287
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
3586
3288
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -3591,18 +3293,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3591
3293
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
3592
3294
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
3593
3295
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
3594
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
3595
|
-
|
|
3596
|
-
:param pulumi.Input[
|
|
3597
|
-
|
|
3598
|
-
:param pulumi.Input[
|
|
3599
|
-
|
|
3600
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
3601
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
3602
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
3603
|
-
enabled on the port for ingress traffic.
|
|
3604
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
3605
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
3296
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts: A host member specification.
|
|
3297
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
3298
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
3299
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
3300
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
3301
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
3606
3302
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
3607
3303
|
mostly useful when used with the Netflow arguments.
|
|
3608
3304
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -3612,9 +3308,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3612
3308
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
3613
3309
|
version to use with the VDS. Possible values are `singleLag` and
|
|
3614
3310
|
`multipleLag`.
|
|
3615
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
3616
|
-
|
|
3617
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
3311
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
3312
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
3618
3313
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
3619
3314
|
for link discovery traffic.
|
|
3620
3315
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -3627,59 +3322,35 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3627
3322
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
3628
3323
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
3629
3324
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
3630
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
:param pulumi.Input[
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
:param pulumi.Input[
|
|
3637
|
-
|
|
3638
|
-
:param pulumi.Input[
|
|
3639
|
-
|
|
3640
|
-
:param pulumi.Input[
|
|
3641
|
-
|
|
3642
|
-
to `600`. Default: `15`.
|
|
3643
|
-
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to
|
|
3644
|
-
traffic that has both source and destination served by the same host.
|
|
3645
|
-
Default: `false`.
|
|
3646
|
-
:param pulumi.Input[int] netflow_observation_domain_id: The observation domain ID for
|
|
3647
|
-
the Netflow collector.
|
|
3648
|
-
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to
|
|
3649
|
-
the number of packets analyzed. The default is `0`, which indicates that the
|
|
3650
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
3651
|
-
indicates an analysis rate of 0.001%.
|
|
3652
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
3653
|
-
network I/O control. Default: `false`.
|
|
3654
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
3655
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
3325
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
3326
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6. IPv6 is supported in vSphere Distributed Switch Version 6.0 or
|
|
3327
|
+
later.
|
|
3328
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
3329
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
3330
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
3331
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
3332
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
3333
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
3334
|
+
packets are analyzed.
|
|
3335
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3336
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
3656
3337
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
3657
3338
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
3658
3339
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
3659
3340
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
3660
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
3661
|
-
|
|
3662
|
-
:param pulumi.Input[
|
|
3663
|
-
|
|
3664
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
3665
|
-
private VLAN mapping. The options are:
|
|
3666
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
3667
|
-
failover. These uplinks need to match the definitions in the
|
|
3668
|
-
`uplinks` VDS argument. See
|
|
3669
|
-
here for more details.
|
|
3341
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
3342
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
3343
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
3344
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3670
3345
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
3671
3346
|
|
|
3672
3347
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
3673
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
3680
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
3681
|
-
names. See here for an example on how to
|
|
3682
|
-
use this option.
|
|
3348
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
3349
|
+
failover_explicit, or loadbalance_loadbased.
|
|
3350
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
3351
|
+
forwarded done by the switch.
|
|
3352
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
3353
|
+
across hosts.
|
|
3683
3354
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
3684
3355
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
3685
3356
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -3692,28 +3363,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3692
3363
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
3693
3364
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
3694
3365
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3695
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
3696
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
3697
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
3698
|
-
below:
|
|
3699
|
-
|
|
3700
|
-
<!--Start PulumiCodeChooser -->
|
|
3701
|
-
```python
|
|
3702
|
-
import pulumi
|
|
3703
|
-
import pulumi_vsphere as vsphere
|
|
3704
|
-
|
|
3705
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
3706
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3707
|
-
min_vlan=100,
|
|
3708
|
-
max_vlan=199,
|
|
3709
|
-
),
|
|
3710
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3711
|
-
min_vlan=300,
|
|
3712
|
-
max_vlan=399,
|
|
3713
|
-
),
|
|
3714
|
-
])
|
|
3715
|
-
```
|
|
3716
|
-
<!--End PulumiCodeChooser -->
|
|
3366
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3717
3367
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
3718
3368
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
3719
3369
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -4058,29 +3708,17 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4058
3708
|
:param str resource_name: The unique name of the resulting resource.
|
|
4059
3709
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
4060
3710
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
4061
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
:param pulumi.Input[bool]
|
|
4066
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
4067
|
-
address than that of its own.
|
|
4068
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
4069
|
-
Control (MAC) address can be changed.
|
|
4070
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
4071
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
3711
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3712
|
+
: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
|
|
3713
|
+
that of its own.
|
|
3714
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
3715
|
+
: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.
|
|
4072
3716
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
4073
3717
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
4074
3718
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
4075
3719
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
4076
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
4077
|
-
|
|
4078
|
-
virtual devices.
|
|
4079
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
4080
|
-
to detect NIC failure.
|
|
4081
|
-
|
|
4082
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
4083
|
-
probing.
|
|
3720
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
3721
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
4084
3722
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
4085
3723
|
by subsequent updates to the VDS.
|
|
4086
3724
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -4095,18 +3733,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4095
3733
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
4096
3734
|
created. Forces a new resource if changed.
|
|
4097
3735
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
4098
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
4099
|
-
|
|
4100
|
-
:param pulumi.Input[int]
|
|
4101
|
-
|
|
4102
|
-
:param pulumi.Input[int]
|
|
4103
|
-
|
|
4104
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
4105
|
-
on the port for egress traffic.
|
|
4106
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
4107
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
4108
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
4109
|
-
uplinks higher in precedence when they come back up.
|
|
3736
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
3737
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
3738
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
3739
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
3740
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
3741
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
4110
3742
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
4111
3743
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
4112
3744
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -4117,18 +3749,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4117
3749
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
4118
3750
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
4119
3751
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
4120
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
4121
|
-
|
|
4122
|
-
:param pulumi.Input[
|
|
4123
|
-
|
|
4124
|
-
:param pulumi.Input[
|
|
4125
|
-
|
|
4126
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
4127
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
4128
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
4129
|
-
enabled on the port for ingress traffic.
|
|
4130
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
4131
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
3752
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts: A host member specification.
|
|
3753
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
3754
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
3755
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
3756
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
3757
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
4132
3758
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
4133
3759
|
mostly useful when used with the Netflow arguments.
|
|
4134
3760
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -4138,9 +3764,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4138
3764
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
4139
3765
|
version to use with the VDS. Possible values are `singleLag` and
|
|
4140
3766
|
`multipleLag`.
|
|
4141
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
4142
|
-
|
|
4143
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
3767
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
3768
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
4144
3769
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
4145
3770
|
for link discovery traffic.
|
|
4146
3771
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -4153,59 +3778,35 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4153
3778
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
4154
3779
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
4155
3780
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
4156
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
:param pulumi.Input[
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
:param pulumi.Input[
|
|
4163
|
-
|
|
4164
|
-
:param pulumi.Input[
|
|
4165
|
-
|
|
4166
|
-
:param pulumi.Input[
|
|
4167
|
-
|
|
4168
|
-
to `600`. Default: `15`.
|
|
4169
|
-
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to
|
|
4170
|
-
traffic that has both source and destination served by the same host.
|
|
4171
|
-
Default: `false`.
|
|
4172
|
-
:param pulumi.Input[int] netflow_observation_domain_id: The observation domain ID for
|
|
4173
|
-
the Netflow collector.
|
|
4174
|
-
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to
|
|
4175
|
-
the number of packets analyzed. The default is `0`, which indicates that the
|
|
4176
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
4177
|
-
indicates an analysis rate of 0.001%.
|
|
4178
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
4179
|
-
network I/O control. Default: `false`.
|
|
4180
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
4181
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
3781
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
3782
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6. IPv6 is supported in vSphere Distributed Switch Version 6.0 or
|
|
3783
|
+
later.
|
|
3784
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
3785
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
3786
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
3787
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
3788
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
3789
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
3790
|
+
packets are analyzed.
|
|
3791
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3792
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
4182
3793
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
4183
3794
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
4184
3795
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
4185
3796
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
4186
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
4187
|
-
|
|
4188
|
-
:param pulumi.Input[
|
|
4189
|
-
|
|
4190
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
4191
|
-
private VLAN mapping. The options are:
|
|
4192
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
4193
|
-
failover. These uplinks need to match the definitions in the
|
|
4194
|
-
`uplinks` VDS argument. See
|
|
4195
|
-
here for more details.
|
|
3797
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
3798
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
3799
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
3800
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4196
3801
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
4197
3802
|
|
|
4198
3803
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
4199
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
4206
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
4207
|
-
names. See here for an example on how to
|
|
4208
|
-
use this option.
|
|
3804
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
3805
|
+
failover_explicit, or loadbalance_loadbased.
|
|
3806
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
3807
|
+
forwarded done by the switch.
|
|
3808
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
3809
|
+
across hosts.
|
|
4209
3810
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
4210
3811
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
4211
3812
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -4218,28 +3819,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4218
3819
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
4219
3820
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
4220
3821
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
4221
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
4222
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
4223
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
4224
|
-
below:
|
|
4225
|
-
|
|
4226
|
-
<!--Start PulumiCodeChooser -->
|
|
4227
|
-
```python
|
|
4228
|
-
import pulumi
|
|
4229
|
-
import pulumi_vsphere as vsphere
|
|
4230
|
-
|
|
4231
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
4232
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
4233
|
-
min_vlan=100,
|
|
4234
|
-
max_vlan=199,
|
|
4235
|
-
),
|
|
4236
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
4237
|
-
min_vlan=300,
|
|
4238
|
-
max_vlan=399,
|
|
4239
|
-
),
|
|
4240
|
-
])
|
|
4241
|
-
```
|
|
4242
|
-
<!--End PulumiCodeChooser -->
|
|
3822
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
4243
3823
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
4244
3824
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
4245
3825
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -4354,10 +3934,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4354
3934
|
@pulumi.getter(name="activeUplinks")
|
|
4355
3935
|
def active_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4356
3936
|
"""
|
|
4357
|
-
|
|
4358
|
-
balancing. These uplinks need to match the definitions in the
|
|
4359
|
-
`uplinks` VDS argument. See
|
|
4360
|
-
here for more details.
|
|
3937
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4361
3938
|
"""
|
|
4362
3939
|
return pulumi.get(self, "active_uplinks")
|
|
4363
3940
|
|
|
@@ -4365,9 +3942,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4365
3942
|
@pulumi.getter(name="allowForgedTransmits")
|
|
4366
3943
|
def allow_forged_transmits(self) -> pulumi.Output[bool]:
|
|
4367
3944
|
"""
|
|
4368
|
-
Controls whether or not a
|
|
4369
|
-
|
|
4370
|
-
address than that of its own.
|
|
3945
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
3946
|
+
that of its own.
|
|
4371
3947
|
"""
|
|
4372
3948
|
return pulumi.get(self, "allow_forged_transmits")
|
|
4373
3949
|
|
|
@@ -4375,8 +3951,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4375
3951
|
@pulumi.getter(name="allowMacChanges")
|
|
4376
3952
|
def allow_mac_changes(self) -> pulumi.Output[bool]:
|
|
4377
3953
|
"""
|
|
4378
|
-
Controls whether or not the Media Access
|
|
4379
|
-
Control (MAC) address can be changed.
|
|
3954
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
4380
3955
|
"""
|
|
4381
3956
|
return pulumi.get(self, "allow_mac_changes")
|
|
4382
3957
|
|
|
@@ -4384,8 +3959,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4384
3959
|
@pulumi.getter(name="allowPromiscuous")
|
|
4385
3960
|
def allow_promiscuous(self) -> pulumi.Output[bool]:
|
|
4386
3961
|
"""
|
|
4387
|
-
Enable promiscuous mode on the network. This
|
|
4388
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
3962
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
4389
3963
|
"""
|
|
4390
3964
|
return pulumi.get(self, "allow_promiscuous")
|
|
4391
3965
|
|
|
@@ -4425,9 +3999,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4425
3999
|
@pulumi.getter(name="blockAllPorts")
|
|
4426
4000
|
def block_all_ports(self) -> pulumi.Output[bool]:
|
|
4427
4001
|
"""
|
|
4428
|
-
|
|
4429
|
-
this policy applies to, effectively blocking all network access to connected
|
|
4430
|
-
virtual devices.
|
|
4002
|
+
Indicates whether to block all ports by default.
|
|
4431
4003
|
"""
|
|
4432
4004
|
return pulumi.get(self, "block_all_ports")
|
|
4433
4005
|
|
|
@@ -4435,11 +4007,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4435
4007
|
@pulumi.getter(name="checkBeacon")
|
|
4436
4008
|
def check_beacon(self) -> pulumi.Output[bool]:
|
|
4437
4009
|
"""
|
|
4438
|
-
|
|
4439
|
-
to detect NIC failure.
|
|
4440
|
-
|
|
4441
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
4442
|
-
probing.
|
|
4010
|
+
Enable beacon probing on the ports this policy applies to.
|
|
4443
4011
|
"""
|
|
4444
4012
|
return pulumi.get(self, "check_beacon")
|
|
4445
4013
|
|
|
@@ -4503,8 +4071,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4503
4071
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
4504
4072
|
def directpath_gen2_allowed(self) -> pulumi.Output[bool]:
|
|
4505
4073
|
"""
|
|
4506
|
-
Allow VMDirectPath Gen2
|
|
4507
|
-
for which this policy applies to.
|
|
4074
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
4508
4075
|
"""
|
|
4509
4076
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
4510
4077
|
|
|
@@ -4512,8 +4079,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4512
4079
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
4513
4080
|
def egress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4514
4081
|
"""
|
|
4515
|
-
The average bandwidth in bits
|
|
4516
|
-
per second if egress traffic shaping is enabled on the port.
|
|
4082
|
+
The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
4517
4083
|
"""
|
|
4518
4084
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
4519
4085
|
|
|
@@ -4521,8 +4087,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4521
4087
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
4522
4088
|
def egress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4523
4089
|
"""
|
|
4524
|
-
The maximum burst size allowed in
|
|
4525
|
-
bytes if egress traffic shaping is enabled on the port.
|
|
4090
|
+
The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
4526
4091
|
"""
|
|
4527
4092
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
4528
4093
|
|
|
@@ -4530,8 +4095,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4530
4095
|
@pulumi.getter(name="egressShapingEnabled")
|
|
4531
4096
|
def egress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4532
4097
|
"""
|
|
4533
|
-
|
|
4534
|
-
on the port for egress traffic.
|
|
4098
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
4535
4099
|
"""
|
|
4536
4100
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
4537
4101
|
|
|
@@ -4539,8 +4103,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4539
4103
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
4540
4104
|
def egress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4541
4105
|
"""
|
|
4542
|
-
The peak bandwidth during bursts
|
|
4543
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
4106
|
+
The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
4544
4107
|
"""
|
|
4545
4108
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
4546
4109
|
|
|
@@ -4548,8 +4111,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4548
4111
|
@pulumi.getter
|
|
4549
4112
|
def failback(self) -> pulumi.Output[bool]:
|
|
4550
4113
|
"""
|
|
4551
|
-
If
|
|
4552
|
-
uplinks higher in precedence when they come back up.
|
|
4114
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
4553
4115
|
"""
|
|
4554
4116
|
return pulumi.get(self, "failback")
|
|
4555
4117
|
|
|
@@ -4630,8 +4192,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4630
4192
|
@pulumi.getter
|
|
4631
4193
|
def hosts(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchHost']]]:
|
|
4632
4194
|
"""
|
|
4633
|
-
|
|
4634
|
-
options are:
|
|
4195
|
+
A host member specification.
|
|
4635
4196
|
"""
|
|
4636
4197
|
return pulumi.get(self, "hosts")
|
|
4637
4198
|
|
|
@@ -4639,8 +4200,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4639
4200
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
4640
4201
|
def ignore_other_pvlan_mappings(self) -> pulumi.Output[Optional[bool]]:
|
|
4641
4202
|
"""
|
|
4642
|
-
Whether to ignore existing PVLAN
|
|
4643
|
-
mappings not managed by this resource. Defaults to false.
|
|
4203
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
4644
4204
|
"""
|
|
4645
4205
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
4646
4206
|
|
|
@@ -4648,8 +4208,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4648
4208
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
4649
4209
|
def ingress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4650
4210
|
"""
|
|
4651
|
-
The average bandwidth in
|
|
4652
|
-
bits per second if ingress traffic shaping is enabled on the port.
|
|
4211
|
+
The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
4653
4212
|
"""
|
|
4654
4213
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
4655
4214
|
|
|
@@ -4657,8 +4216,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4657
4216
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
4658
4217
|
def ingress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4659
4218
|
"""
|
|
4660
|
-
The maximum burst size allowed in
|
|
4661
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
4219
|
+
The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
4662
4220
|
"""
|
|
4663
4221
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
4664
4222
|
|
|
@@ -4666,8 +4224,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4666
4224
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
4667
4225
|
def ingress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4668
4226
|
"""
|
|
4669
|
-
|
|
4670
|
-
enabled on the port for ingress traffic.
|
|
4227
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
4671
4228
|
"""
|
|
4672
4229
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
4673
4230
|
|
|
@@ -4675,8 +4232,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4675
4232
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
4676
4233
|
def ingress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4677
4234
|
"""
|
|
4678
|
-
The peak bandwidth during
|
|
4679
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
4235
|
+
The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
4680
4236
|
"""
|
|
4681
4237
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
4682
4238
|
|
|
@@ -4735,8 +4291,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4735
4291
|
@pulumi.getter(name="lacpEnabled")
|
|
4736
4292
|
def lacp_enabled(self) -> pulumi.Output[bool]:
|
|
4737
4293
|
"""
|
|
4738
|
-
|
|
4739
|
-
applies to.
|
|
4294
|
+
Whether or not to enable LACP on all uplink ports.
|
|
4740
4295
|
"""
|
|
4741
4296
|
return pulumi.get(self, "lacp_enabled")
|
|
4742
4297
|
|
|
@@ -4744,7 +4299,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4744
4299
|
@pulumi.getter(name="lacpMode")
|
|
4745
4300
|
def lacp_mode(self) -> pulumi.Output[str]:
|
|
4746
4301
|
"""
|
|
4747
|
-
The LACP mode. Can be one of
|
|
4302
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
4748
4303
|
"""
|
|
4749
4304
|
return pulumi.get(self, "lacp_mode")
|
|
4750
4305
|
|
|
@@ -4827,9 +4382,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4827
4382
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
4828
4383
|
def netflow_active_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4829
4384
|
"""
|
|
4830
|
-
The number of seconds after which
|
|
4831
|
-
active flows are forced to be exported to the collector. Allowed range is
|
|
4832
|
-
`60` to `3600`. Default: `60`.
|
|
4385
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
4833
4386
|
"""
|
|
4834
4387
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
4835
4388
|
|
|
@@ -4837,9 +4390,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4837
4390
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
4838
4391
|
def netflow_collector_ip_address(self) -> pulumi.Output[Optional[str]]:
|
|
4839
4392
|
"""
|
|
4840
|
-
IP address for the
|
|
4841
|
-
|
|
4842
|
-
Must be set before Netflow can be enabled.
|
|
4393
|
+
IP address for the netflow collector, using IPv4 or IPv6. IPv6 is supported in vSphere Distributed Switch Version 6.0 or
|
|
4394
|
+
later.
|
|
4843
4395
|
"""
|
|
4844
4396
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
4845
4397
|
|
|
@@ -4847,8 +4399,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4847
4399
|
@pulumi.getter(name="netflowCollectorPort")
|
|
4848
4400
|
def netflow_collector_port(self) -> pulumi.Output[Optional[int]]:
|
|
4849
4401
|
"""
|
|
4850
|
-
|
|
4851
|
-
must be set before Netflow can be enabled.
|
|
4402
|
+
The port for the netflow collector.
|
|
4852
4403
|
"""
|
|
4853
4404
|
return pulumi.get(self, "netflow_collector_port")
|
|
4854
4405
|
|
|
@@ -4856,8 +4407,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4856
4407
|
@pulumi.getter(name="netflowEnabled")
|
|
4857
4408
|
def netflow_enabled(self) -> pulumi.Output[bool]:
|
|
4858
4409
|
"""
|
|
4859
|
-
|
|
4860
|
-
applies to.
|
|
4410
|
+
Indicates whether to enable netflow on all ports.
|
|
4861
4411
|
"""
|
|
4862
4412
|
return pulumi.get(self, "netflow_enabled")
|
|
4863
4413
|
|
|
@@ -4865,9 +4415,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4865
4415
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
4866
4416
|
def netflow_idle_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4867
4417
|
"""
|
|
4868
|
-
The number of seconds after which
|
|
4869
|
-
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
4870
|
-
to `600`. Default: `15`.
|
|
4418
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
4871
4419
|
"""
|
|
4872
4420
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
4873
4421
|
|
|
@@ -4875,9 +4423,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4875
4423
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
4876
4424
|
def netflow_internal_flows_only(self) -> pulumi.Output[Optional[bool]]:
|
|
4877
4425
|
"""
|
|
4878
|
-
Whether to limit analysis to
|
|
4879
|
-
traffic that has both source and destination served by the same host.
|
|
4880
|
-
Default: `false`.
|
|
4426
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
4881
4427
|
"""
|
|
4882
4428
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
4883
4429
|
|
|
@@ -4885,8 +4431,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4885
4431
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
4886
4432
|
def netflow_observation_domain_id(self) -> pulumi.Output[Optional[int]]:
|
|
4887
4433
|
"""
|
|
4888
|
-
The observation
|
|
4889
|
-
the Netflow collector.
|
|
4434
|
+
The observation Domain ID for the netflow collector.
|
|
4890
4435
|
"""
|
|
4891
4436
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
4892
4437
|
|
|
@@ -4894,10 +4439,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4894
4439
|
@pulumi.getter(name="netflowSamplingRate")
|
|
4895
4440
|
def netflow_sampling_rate(self) -> pulumi.Output[Optional[int]]:
|
|
4896
4441
|
"""
|
|
4897
|
-
The ratio of total number of packets to
|
|
4898
|
-
|
|
4899
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
4900
|
-
indicates an analysis rate of 0.001%.
|
|
4442
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
4443
|
+
packets are analyzed.
|
|
4901
4444
|
"""
|
|
4902
4445
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
4903
4446
|
|
|
@@ -4905,8 +4448,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4905
4448
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
4906
4449
|
def network_resource_control_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
4907
4450
|
"""
|
|
4908
|
-
|
|
4909
|
-
network I/O control. Default: `false`.
|
|
4451
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
4910
4452
|
"""
|
|
4911
4453
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
4912
4454
|
|
|
@@ -4914,8 +4456,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4914
4456
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
4915
4457
|
def network_resource_control_version(self) -> pulumi.Output[str]:
|
|
4916
4458
|
"""
|
|
4917
|
-
The version of
|
|
4918
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
4459
|
+
The network I/O control version to use. Can be one of version2 or version3.
|
|
4919
4460
|
"""
|
|
4920
4461
|
return pulumi.get(self, "network_resource_control_version")
|
|
4921
4462
|
|
|
@@ -4955,8 +4496,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4955
4496
|
@pulumi.getter(name="notifySwitches")
|
|
4956
4497
|
def notify_switches(self) -> pulumi.Output[bool]:
|
|
4957
4498
|
"""
|
|
4958
|
-
If
|
|
4959
|
-
broadcast network of an uplink failover, triggering cache updates.
|
|
4499
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
4960
4500
|
"""
|
|
4961
4501
|
return pulumi.get(self, "notify_switches")
|
|
4962
4502
|
|
|
@@ -4964,8 +4504,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4964
4504
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
4965
4505
|
def port_private_secondary_vlan_id(self) -> pulumi.Output[int]:
|
|
4966
4506
|
"""
|
|
4967
|
-
|
|
4968
|
-
ID when using private VLANs.
|
|
4507
|
+
The secondary VLAN ID for this port.
|
|
4969
4508
|
"""
|
|
4970
4509
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
4971
4510
|
|
|
@@ -4973,8 +4512,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4973
4512
|
@pulumi.getter(name="pvlanMappings")
|
|
4974
4513
|
def pvlan_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchPvlanMapping']]]:
|
|
4975
4514
|
"""
|
|
4976
|
-
|
|
4977
|
-
private VLAN mapping. The options are:
|
|
4515
|
+
A private VLAN (PVLAN) mapping.
|
|
4978
4516
|
"""
|
|
4979
4517
|
return pulumi.get(self, "pvlan_mappings")
|
|
4980
4518
|
|
|
@@ -4982,10 +4520,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4982
4520
|
@pulumi.getter(name="standbyUplinks")
|
|
4983
4521
|
def standby_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4984
4522
|
"""
|
|
4985
|
-
|
|
4986
|
-
failover. These uplinks need to match the definitions in the
|
|
4987
|
-
`uplinks` VDS argument. See
|
|
4988
|
-
here for more details.
|
|
4523
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4989
4524
|
"""
|
|
4990
4525
|
return pulumi.get(self, "standby_uplinks")
|
|
4991
4526
|
|
|
@@ -5003,9 +4538,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5003
4538
|
@pulumi.getter(name="teamingPolicy")
|
|
5004
4539
|
def teaming_policy(self) -> pulumi.Output[str]:
|
|
5005
4540
|
"""
|
|
5006
|
-
The
|
|
5007
|
-
|
|
5008
|
-
`failover_explicit`, or `loadbalance_loadbased`.
|
|
4541
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
4542
|
+
failover_explicit, or loadbalance_loadbased.
|
|
5009
4543
|
"""
|
|
5010
4544
|
return pulumi.get(self, "teaming_policy")
|
|
5011
4545
|
|
|
@@ -5013,8 +4547,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5013
4547
|
@pulumi.getter(name="txUplink")
|
|
5014
4548
|
def tx_uplink(self) -> pulumi.Output[bool]:
|
|
5015
4549
|
"""
|
|
5016
|
-
|
|
5017
|
-
|
|
4550
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
4551
|
+
forwarded done by the switch.
|
|
5018
4552
|
"""
|
|
5019
4553
|
return pulumi.get(self, "tx_uplink")
|
|
5020
4554
|
|
|
@@ -5022,11 +4556,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5022
4556
|
@pulumi.getter
|
|
5023
4557
|
def uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
5024
4558
|
"""
|
|
5025
|
-
A list of
|
|
5026
|
-
|
|
5027
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
5028
|
-
names. See here for an example on how to
|
|
5029
|
-
use this option.
|
|
4559
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
4560
|
+
across hosts.
|
|
5030
4561
|
"""
|
|
5031
4562
|
return pulumi.get(self, "uplinks")
|
|
5032
4563
|
|
|
@@ -5116,28 +4647,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5116
4647
|
@pulumi.getter(name="vlanRanges")
|
|
5117
4648
|
def vlan_ranges(self) -> pulumi.Output[Sequence['outputs.DistributedVirtualSwitchVlanRange']]:
|
|
5118
4649
|
"""
|
|
5119
|
-
|
|
5120
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
5121
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
5122
|
-
below:
|
|
5123
|
-
|
|
5124
|
-
<!--Start PulumiCodeChooser -->
|
|
5125
|
-
```python
|
|
5126
|
-
import pulumi
|
|
5127
|
-
import pulumi_vsphere as vsphere
|
|
5128
|
-
|
|
5129
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
5130
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
5131
|
-
min_vlan=100,
|
|
5132
|
-
max_vlan=199,
|
|
5133
|
-
),
|
|
5134
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
5135
|
-
min_vlan=300,
|
|
5136
|
-
max_vlan=399,
|
|
5137
|
-
),
|
|
5138
|
-
])
|
|
5139
|
-
```
|
|
5140
|
-
<!--End PulumiCodeChooser -->
|
|
4650
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
5141
4651
|
"""
|
|
5142
4652
|
return pulumi.get(self, "vlan_ranges")
|
|
5143
4653
|
|