pulumi-vsphere 4.10.0a1710160860__py3-none-any.whl → 4.10.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +2 -0
- pulumi_vsphere/_inputs.py +96 -230
- pulumi_vsphere/compute_cluster.py +700 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +28 -16
- pulumi_vsphere/datacenter.py +26 -12
- pulumi_vsphere/datastore_cluster.py +154 -350
- pulumi_vsphere/distributed_port_group.py +70 -175
- pulumi_vsphere/distributed_virtual_switch.py +308 -805
- pulumi_vsphere/file.py +16 -24
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +8 -10
- 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 +27 -7
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +194 -0
- pulumi_vsphere/get_distributed_virtual_switch.py +2 -4
- pulumi_vsphere/get_dynamic.py +4 -8
- 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 +182 -0
- 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 +2 -10
- 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 +29 -9
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +50 -0
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -20
- pulumi_vsphere/host_port_group.py +12 -24
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/license.py +0 -32
- pulumi_vsphere/outputs.py +167 -230
- pulumi_vsphere/resource_pool.py +48 -22
- pulumi_vsphere/virtual_disk.py +10 -10
- pulumi_vsphere/virtual_machine.py +639 -807
- pulumi_vsphere/virtual_machine_snapshot.py +6 -10
- pulumi_vsphere/vm_storage_policy.py +72 -84
- pulumi_vsphere/vnic.py +8 -20
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.10.1.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.10.1.dist-info/RECORD +82 -0
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.10.1.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1710160860.dist-info/RECORD +0 -80
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.10.1.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,60 +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
|
-
(MISSING)
|
|
231
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
232
|
-
network I/O control. Default: `false`.
|
|
233
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
234
|
-
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.
|
|
235
195
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
236
196
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
237
197
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
238
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.
|
|
239
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
240
|
-
|
|
241
|
-
:param pulumi.Input[
|
|
242
|
-
|
|
243
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
244
|
-
private VLAN mapping. The options are:
|
|
245
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
246
|
-
failover. These uplinks need to match the definitions in the
|
|
247
|
-
`uplinks` VDS argument. See
|
|
248
|
-
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.
|
|
249
203
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
250
204
|
|
|
251
205
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
252
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
259
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
260
|
-
names. See here for an example on how to
|
|
261
|
-
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.
|
|
262
212
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
263
213
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
264
214
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -271,28 +221,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
271
221
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
272
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.
|
|
273
223
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
274
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
275
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
276
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
277
|
-
below:
|
|
278
|
-
|
|
279
|
-
<!--Start PulumiCodeChooser -->
|
|
280
|
-
```python
|
|
281
|
-
import pulumi
|
|
282
|
-
import pulumi_vsphere as vsphere
|
|
283
|
-
|
|
284
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
285
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
286
|
-
max_vlan=199,
|
|
287
|
-
min_vlan=100,
|
|
288
|
-
),
|
|
289
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
290
|
-
max_vlan=399,
|
|
291
|
-
min_vlan=300,
|
|
292
|
-
),
|
|
293
|
-
])
|
|
294
|
-
```
|
|
295
|
-
<!--End PulumiCodeChooser -->
|
|
224
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
296
225
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
297
226
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
298
227
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -507,10 +436,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
507
436
|
@pulumi.getter(name="activeUplinks")
|
|
508
437
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
509
438
|
"""
|
|
510
|
-
|
|
511
|
-
balancing. These uplinks need to match the definitions in the
|
|
512
|
-
`uplinks` VDS argument. See
|
|
513
|
-
here for more details.
|
|
439
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
514
440
|
"""
|
|
515
441
|
return pulumi.get(self, "active_uplinks")
|
|
516
442
|
|
|
@@ -522,9 +448,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
522
448
|
@pulumi.getter(name="allowForgedTransmits")
|
|
523
449
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
524
450
|
"""
|
|
525
|
-
Controls whether or not a
|
|
526
|
-
|
|
527
|
-
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.
|
|
528
453
|
"""
|
|
529
454
|
return pulumi.get(self, "allow_forged_transmits")
|
|
530
455
|
|
|
@@ -536,8 +461,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
536
461
|
@pulumi.getter(name="allowMacChanges")
|
|
537
462
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
538
463
|
"""
|
|
539
|
-
Controls whether or not the Media Access
|
|
540
|
-
Control (MAC) address can be changed.
|
|
464
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
541
465
|
"""
|
|
542
466
|
return pulumi.get(self, "allow_mac_changes")
|
|
543
467
|
|
|
@@ -549,8 +473,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
549
473
|
@pulumi.getter(name="allowPromiscuous")
|
|
550
474
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
551
475
|
"""
|
|
552
|
-
Enable promiscuous mode on the network. This
|
|
553
|
-
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.
|
|
554
477
|
"""
|
|
555
478
|
return pulumi.get(self, "allow_promiscuous")
|
|
556
479
|
|
|
@@ -610,9 +533,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
610
533
|
@pulumi.getter(name="blockAllPorts")
|
|
611
534
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
612
535
|
"""
|
|
613
|
-
|
|
614
|
-
this policy applies to, effectively blocking all network access to connected
|
|
615
|
-
virtual devices.
|
|
536
|
+
Indicates whether to block all ports by default.
|
|
616
537
|
"""
|
|
617
538
|
return pulumi.get(self, "block_all_ports")
|
|
618
539
|
|
|
@@ -624,11 +545,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
624
545
|
@pulumi.getter(name="checkBeacon")
|
|
625
546
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
626
547
|
"""
|
|
627
|
-
|
|
628
|
-
to detect NIC failure.
|
|
629
|
-
|
|
630
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
631
|
-
probing.
|
|
548
|
+
Enable beacon probing on the ports this policy applies to.
|
|
632
549
|
"""
|
|
633
550
|
return pulumi.get(self, "check_beacon")
|
|
634
551
|
|
|
@@ -694,8 +611,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
694
611
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
695
612
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
696
613
|
"""
|
|
697
|
-
Allow VMDirectPath Gen2
|
|
698
|
-
for which this policy applies to.
|
|
614
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
699
615
|
"""
|
|
700
616
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
701
617
|
|
|
@@ -707,8 +623,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
707
623
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
708
624
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
709
625
|
"""
|
|
710
|
-
The average bandwidth in bits
|
|
711
|
-
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.
|
|
712
627
|
"""
|
|
713
628
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
714
629
|
|
|
@@ -720,8 +635,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
720
635
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
721
636
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
722
637
|
"""
|
|
723
|
-
The maximum burst size allowed in
|
|
724
|
-
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.
|
|
725
639
|
"""
|
|
726
640
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
727
641
|
|
|
@@ -733,8 +647,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
733
647
|
@pulumi.getter(name="egressShapingEnabled")
|
|
734
648
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
735
649
|
"""
|
|
736
|
-
|
|
737
|
-
on the port for egress traffic.
|
|
650
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
738
651
|
"""
|
|
739
652
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
740
653
|
|
|
@@ -746,8 +659,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
746
659
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
747
660
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
748
661
|
"""
|
|
749
|
-
The peak bandwidth during bursts
|
|
750
|
-
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.
|
|
751
663
|
"""
|
|
752
664
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
753
665
|
|
|
@@ -759,8 +671,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
759
671
|
@pulumi.getter
|
|
760
672
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
761
673
|
"""
|
|
762
|
-
If
|
|
763
|
-
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.
|
|
764
675
|
"""
|
|
765
676
|
return pulumi.get(self, "failback")
|
|
766
677
|
|
|
@@ -881,8 +792,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
881
792
|
@pulumi.getter
|
|
882
793
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
883
794
|
"""
|
|
884
|
-
|
|
885
|
-
options are:
|
|
795
|
+
A host member specification.
|
|
886
796
|
"""
|
|
887
797
|
return pulumi.get(self, "hosts")
|
|
888
798
|
|
|
@@ -894,8 +804,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
894
804
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
895
805
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
896
806
|
"""
|
|
897
|
-
Whether to ignore existing PVLAN
|
|
898
|
-
mappings not managed by this resource. Defaults to false.
|
|
807
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
899
808
|
"""
|
|
900
809
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
901
810
|
|
|
@@ -907,8 +816,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
907
816
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
908
817
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
909
818
|
"""
|
|
910
|
-
The average bandwidth in
|
|
911
|
-
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.
|
|
912
820
|
"""
|
|
913
821
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
914
822
|
|
|
@@ -920,8 +828,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
920
828
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
921
829
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
922
830
|
"""
|
|
923
|
-
The maximum burst size allowed in
|
|
924
|
-
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.
|
|
925
832
|
"""
|
|
926
833
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
927
834
|
|
|
@@ -933,8 +840,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
933
840
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
934
841
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
935
842
|
"""
|
|
936
|
-
|
|
937
|
-
enabled on the port for ingress traffic.
|
|
843
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
938
844
|
"""
|
|
939
845
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
940
846
|
|
|
@@ -946,8 +852,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
946
852
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
947
853
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
948
854
|
"""
|
|
949
|
-
The peak bandwidth during
|
|
950
|
-
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.
|
|
951
856
|
"""
|
|
952
857
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
953
858
|
|
|
@@ -1034,8 +939,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1034
939
|
@pulumi.getter(name="lacpEnabled")
|
|
1035
940
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1036
941
|
"""
|
|
1037
|
-
|
|
1038
|
-
applies to.
|
|
942
|
+
Whether or not to enable LACP on all uplink ports.
|
|
1039
943
|
"""
|
|
1040
944
|
return pulumi.get(self, "lacp_enabled")
|
|
1041
945
|
|
|
@@ -1047,7 +951,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1047
951
|
@pulumi.getter(name="lacpMode")
|
|
1048
952
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1049
953
|
"""
|
|
1050
|
-
The LACP mode. Can be one of
|
|
954
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
1051
955
|
"""
|
|
1052
956
|
return pulumi.get(self, "lacp_mode")
|
|
1053
957
|
|
|
@@ -1170,9 +1074,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1170
1074
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
1171
1075
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1172
1076
|
"""
|
|
1173
|
-
The number of seconds after which
|
|
1174
|
-
active flows are forced to be exported to the collector. Allowed range is
|
|
1175
|
-
`60` to `3600`. Default: `60`.
|
|
1077
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
1176
1078
|
"""
|
|
1177
1079
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
1178
1080
|
|
|
@@ -1184,9 +1086,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1184
1086
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
1185
1087
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
1186
1088
|
"""
|
|
1187
|
-
IP address for the
|
|
1188
|
-
|
|
1189
|
-
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.
|
|
1190
1091
|
"""
|
|
1191
1092
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
1192
1093
|
|
|
@@ -1198,8 +1099,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1198
1099
|
@pulumi.getter(name="netflowCollectorPort")
|
|
1199
1100
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
1200
1101
|
"""
|
|
1201
|
-
|
|
1202
|
-
must be set before Netflow can be enabled.
|
|
1102
|
+
The port for the netflow collector.
|
|
1203
1103
|
"""
|
|
1204
1104
|
return pulumi.get(self, "netflow_collector_port")
|
|
1205
1105
|
|
|
@@ -1211,8 +1111,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1211
1111
|
@pulumi.getter(name="netflowEnabled")
|
|
1212
1112
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1213
1113
|
"""
|
|
1214
|
-
|
|
1215
|
-
applies to.
|
|
1114
|
+
Indicates whether to enable netflow on all ports.
|
|
1216
1115
|
"""
|
|
1217
1116
|
return pulumi.get(self, "netflow_enabled")
|
|
1218
1117
|
|
|
@@ -1224,9 +1123,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1224
1123
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
1225
1124
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1226
1125
|
"""
|
|
1227
|
-
The number of seconds after which
|
|
1228
|
-
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
1229
|
-
to `600`. Default: `15`.
|
|
1126
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
1230
1127
|
"""
|
|
1231
1128
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
1232
1129
|
|
|
@@ -1238,9 +1135,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1238
1135
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
1239
1136
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
1240
1137
|
"""
|
|
1241
|
-
Whether to limit analysis to
|
|
1242
|
-
traffic that has both source and destination served by the same host.
|
|
1243
|
-
Default: `false`.
|
|
1138
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
1244
1139
|
"""
|
|
1245
1140
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
1246
1141
|
|
|
@@ -1252,8 +1147,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1252
1147
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
1253
1148
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
1254
1149
|
"""
|
|
1255
|
-
The observation
|
|
1256
|
-
the Netflow collector.
|
|
1150
|
+
The observation Domain ID for the netflow collector.
|
|
1257
1151
|
"""
|
|
1258
1152
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
1259
1153
|
|
|
@@ -1265,11 +1159,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1265
1159
|
@pulumi.getter(name="netflowSamplingRate")
|
|
1266
1160
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
1267
1161
|
"""
|
|
1268
|
-
The ratio of total number of packets to
|
|
1269
|
-
|
|
1270
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
1271
|
-
indicates an analysis rate of 0.001%!
|
|
1272
|
-
(MISSING)
|
|
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.
|
|
1273
1164
|
"""
|
|
1274
1165
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
1275
1166
|
|
|
@@ -1281,8 +1172,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1281
1172
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
1282
1173
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1283
1174
|
"""
|
|
1284
|
-
|
|
1285
|
-
network I/O control. Default: `false`.
|
|
1175
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
1286
1176
|
"""
|
|
1287
1177
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
1288
1178
|
|
|
@@ -1294,8 +1184,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1294
1184
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
1295
1185
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
1296
1186
|
"""
|
|
1297
|
-
The version of
|
|
1298
|
-
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.
|
|
1299
1188
|
"""
|
|
1300
1189
|
return pulumi.get(self, "network_resource_control_version")
|
|
1301
1190
|
|
|
@@ -1355,8 +1244,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1355
1244
|
@pulumi.getter(name="notifySwitches")
|
|
1356
1245
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
1357
1246
|
"""
|
|
1358
|
-
If
|
|
1359
|
-
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.
|
|
1360
1248
|
"""
|
|
1361
1249
|
return pulumi.get(self, "notify_switches")
|
|
1362
1250
|
|
|
@@ -1368,8 +1256,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1368
1256
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
1369
1257
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
1370
1258
|
"""
|
|
1371
|
-
|
|
1372
|
-
ID when using private VLANs.
|
|
1259
|
+
The secondary VLAN ID for this port.
|
|
1373
1260
|
"""
|
|
1374
1261
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
1375
1262
|
|
|
@@ -1381,8 +1268,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1381
1268
|
@pulumi.getter(name="pvlanMappings")
|
|
1382
1269
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
1383
1270
|
"""
|
|
1384
|
-
|
|
1385
|
-
private VLAN mapping. The options are:
|
|
1271
|
+
A private VLAN (PVLAN) mapping.
|
|
1386
1272
|
"""
|
|
1387
1273
|
return pulumi.get(self, "pvlan_mappings")
|
|
1388
1274
|
|
|
@@ -1394,10 +1280,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1394
1280
|
@pulumi.getter(name="standbyUplinks")
|
|
1395
1281
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1396
1282
|
"""
|
|
1397
|
-
|
|
1398
|
-
failover. These uplinks need to match the definitions in the
|
|
1399
|
-
`uplinks` VDS argument. See
|
|
1400
|
-
here for more details.
|
|
1283
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1401
1284
|
"""
|
|
1402
1285
|
return pulumi.get(self, "standby_uplinks")
|
|
1403
1286
|
|
|
@@ -1423,9 +1306,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1423
1306
|
@pulumi.getter(name="teamingPolicy")
|
|
1424
1307
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1425
1308
|
"""
|
|
1426
|
-
The
|
|
1427
|
-
|
|
1428
|
-
`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.
|
|
1429
1311
|
"""
|
|
1430
1312
|
return pulumi.get(self, "teaming_policy")
|
|
1431
1313
|
|
|
@@ -1437,8 +1319,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1437
1319
|
@pulumi.getter(name="txUplink")
|
|
1438
1320
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
1439
1321
|
"""
|
|
1440
|
-
|
|
1441
|
-
|
|
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.
|
|
1442
1324
|
"""
|
|
1443
1325
|
return pulumi.get(self, "tx_uplink")
|
|
1444
1326
|
|
|
@@ -1450,11 +1332,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1450
1332
|
@pulumi.getter
|
|
1451
1333
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1452
1334
|
"""
|
|
1453
|
-
A list of
|
|
1454
|
-
|
|
1455
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
1456
|
-
names. See here for an example on how to
|
|
1457
|
-
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.
|
|
1458
1337
|
"""
|
|
1459
1338
|
return pulumi.get(self, "uplinks")
|
|
1460
1339
|
|
|
@@ -1588,28 +1467,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1588
1467
|
@pulumi.getter(name="vlanRanges")
|
|
1589
1468
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
1590
1469
|
"""
|
|
1591
|
-
|
|
1592
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
1593
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
1594
|
-
below:
|
|
1595
|
-
|
|
1596
|
-
<!--Start PulumiCodeChooser -->
|
|
1597
|
-
```python
|
|
1598
|
-
import pulumi
|
|
1599
|
-
import pulumi_vsphere as vsphere
|
|
1600
|
-
|
|
1601
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
1602
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1603
|
-
max_vlan=199,
|
|
1604
|
-
min_vlan=100,
|
|
1605
|
-
),
|
|
1606
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1607
|
-
max_vlan=399,
|
|
1608
|
-
min_vlan=300,
|
|
1609
|
-
),
|
|
1610
|
-
])
|
|
1611
|
-
```
|
|
1612
|
-
<!--End PulumiCodeChooser -->
|
|
1470
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1613
1471
|
"""
|
|
1614
1472
|
return pulumi.get(self, "vlan_ranges")
|
|
1615
1473
|
|
|
@@ -1814,29 +1672,17 @@ class _DistributedVirtualSwitchState:
|
|
|
1814
1672
|
vsan_share_level: Optional[pulumi.Input[str]] = None):
|
|
1815
1673
|
"""
|
|
1816
1674
|
Input properties used for looking up and filtering DistributedVirtualSwitch resources.
|
|
1817
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
:param pulumi.Input[bool]
|
|
1822
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
1823
|
-
address than that of its own.
|
|
1824
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
1825
|
-
Control (MAC) address can be changed.
|
|
1826
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
1827
|
-
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.
|
|
1828
1680
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
1829
1681
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
1830
1682
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
1831
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.
|
|
1832
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
1833
|
-
|
|
1834
|
-
virtual devices.
|
|
1835
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
1836
|
-
to detect NIC failure.
|
|
1837
|
-
|
|
1838
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
1839
|
-
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.
|
|
1840
1686
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
1841
1687
|
by subsequent updates to the VDS.
|
|
1842
1688
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -1851,18 +1697,12 @@ class _DistributedVirtualSwitchState:
|
|
|
1851
1697
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
1852
1698
|
created. Forces a new resource if changed.
|
|
1853
1699
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
1854
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
1855
|
-
|
|
1856
|
-
:param pulumi.Input[int]
|
|
1857
|
-
|
|
1858
|
-
:param pulumi.Input[int]
|
|
1859
|
-
|
|
1860
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
1861
|
-
on the port for egress traffic.
|
|
1862
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
1863
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
1864
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
1865
|
-
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.
|
|
1866
1706
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
1867
1707
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
1868
1708
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -1873,18 +1713,12 @@ class _DistributedVirtualSwitchState:
|
|
|
1873
1713
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
1874
1714
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
1875
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.
|
|
1876
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts:
|
|
1877
|
-
|
|
1878
|
-
:param pulumi.Input[
|
|
1879
|
-
|
|
1880
|
-
:param pulumi.Input[
|
|
1881
|
-
|
|
1882
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
1883
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
1884
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
1885
|
-
enabled on the port for ingress traffic.
|
|
1886
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
1887
|
-
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.
|
|
1888
1722
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
1889
1723
|
mostly useful when used with the Netflow arguments.
|
|
1890
1724
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -1894,9 +1728,8 @@ class _DistributedVirtualSwitchState:
|
|
|
1894
1728
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
1895
1729
|
version to use with the VDS. Possible values are `singleLag` and
|
|
1896
1730
|
`multipleLag`.
|
|
1897
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
1898
|
-
|
|
1899
|
-
: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.
|
|
1900
1733
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
1901
1734
|
for link discovery traffic.
|
|
1902
1735
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -1909,60 +1742,35 @@ class _DistributedVirtualSwitchState:
|
|
|
1909
1742
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
1910
1743
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
1911
1744
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
1912
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
:param pulumi.Input[
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
:param pulumi.Input[
|
|
1919
|
-
|
|
1920
|
-
:param pulumi.Input[
|
|
1921
|
-
|
|
1922
|
-
:param pulumi.Input[
|
|
1923
|
-
|
|
1924
|
-
to `600`. Default: `15`.
|
|
1925
|
-
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to
|
|
1926
|
-
traffic that has both source and destination served by the same host.
|
|
1927
|
-
Default: `false`.
|
|
1928
|
-
:param pulumi.Input[int] netflow_observation_domain_id: The observation domain ID for
|
|
1929
|
-
the Netflow collector.
|
|
1930
|
-
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to
|
|
1931
|
-
the number of packets analyzed. The default is `0`, which indicates that the
|
|
1932
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
1933
|
-
indicates an analysis rate of 0.001%!
|
|
1934
|
-
(MISSING)
|
|
1935
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
1936
|
-
network I/O control. Default: `false`.
|
|
1937
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
1938
|
-
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.
|
|
1939
1757
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
1940
1758
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
1941
1759
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
1942
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.
|
|
1943
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
1944
|
-
|
|
1945
|
-
:param pulumi.Input[
|
|
1946
|
-
|
|
1947
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
1948
|
-
private VLAN mapping. The options are:
|
|
1949
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
1950
|
-
failover. These uplinks need to match the definitions in the
|
|
1951
|
-
`uplinks` VDS argument. See
|
|
1952
|
-
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.
|
|
1953
1765
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
1954
1766
|
|
|
1955
1767
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
1956
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
1963
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
1964
|
-
names. See here for an example on how to
|
|
1965
|
-
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.
|
|
1966
1774
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
1967
1775
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
1968
1776
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -1975,28 +1783,7 @@ class _DistributedVirtualSwitchState:
|
|
|
1975
1783
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
1976
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.
|
|
1977
1785
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1978
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
1979
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
1980
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
1981
|
-
below:
|
|
1982
|
-
|
|
1983
|
-
<!--Start PulumiCodeChooser -->
|
|
1984
|
-
```python
|
|
1985
|
-
import pulumi
|
|
1986
|
-
import pulumi_vsphere as vsphere
|
|
1987
|
-
|
|
1988
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
1989
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1990
|
-
max_vlan=199,
|
|
1991
|
-
min_vlan=100,
|
|
1992
|
-
),
|
|
1993
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1994
|
-
max_vlan=399,
|
|
1995
|
-
min_vlan=300,
|
|
1996
|
-
),
|
|
1997
|
-
])
|
|
1998
|
-
```
|
|
1999
|
-
<!--End PulumiCodeChooser -->
|
|
1786
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
2000
1787
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
2001
1788
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
2002
1789
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -2201,10 +1988,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2201
1988
|
@pulumi.getter(name="activeUplinks")
|
|
2202
1989
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2203
1990
|
"""
|
|
2204
|
-
|
|
2205
|
-
balancing. These uplinks need to match the definitions in the
|
|
2206
|
-
`uplinks` VDS argument. See
|
|
2207
|
-
here for more details.
|
|
1991
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
2208
1992
|
"""
|
|
2209
1993
|
return pulumi.get(self, "active_uplinks")
|
|
2210
1994
|
|
|
@@ -2216,9 +2000,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2216
2000
|
@pulumi.getter(name="allowForgedTransmits")
|
|
2217
2001
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
2218
2002
|
"""
|
|
2219
|
-
Controls whether or not a
|
|
2220
|
-
|
|
2221
|
-
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.
|
|
2222
2005
|
"""
|
|
2223
2006
|
return pulumi.get(self, "allow_forged_transmits")
|
|
2224
2007
|
|
|
@@ -2230,8 +2013,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2230
2013
|
@pulumi.getter(name="allowMacChanges")
|
|
2231
2014
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
2232
2015
|
"""
|
|
2233
|
-
Controls whether or not the Media Access
|
|
2234
|
-
Control (MAC) address can be changed.
|
|
2016
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
2235
2017
|
"""
|
|
2236
2018
|
return pulumi.get(self, "allow_mac_changes")
|
|
2237
2019
|
|
|
@@ -2243,8 +2025,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2243
2025
|
@pulumi.getter(name="allowPromiscuous")
|
|
2244
2026
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
2245
2027
|
"""
|
|
2246
|
-
Enable promiscuous mode on the network. This
|
|
2247
|
-
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.
|
|
2248
2029
|
"""
|
|
2249
2030
|
return pulumi.get(self, "allow_promiscuous")
|
|
2250
2031
|
|
|
@@ -2304,9 +2085,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2304
2085
|
@pulumi.getter(name="blockAllPorts")
|
|
2305
2086
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
2306
2087
|
"""
|
|
2307
|
-
|
|
2308
|
-
this policy applies to, effectively blocking all network access to connected
|
|
2309
|
-
virtual devices.
|
|
2088
|
+
Indicates whether to block all ports by default.
|
|
2310
2089
|
"""
|
|
2311
2090
|
return pulumi.get(self, "block_all_ports")
|
|
2312
2091
|
|
|
@@ -2318,11 +2097,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2318
2097
|
@pulumi.getter(name="checkBeacon")
|
|
2319
2098
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
2320
2099
|
"""
|
|
2321
|
-
|
|
2322
|
-
to detect NIC failure.
|
|
2323
|
-
|
|
2324
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
2325
|
-
probing.
|
|
2100
|
+
Enable beacon probing on the ports this policy applies to.
|
|
2326
2101
|
"""
|
|
2327
2102
|
return pulumi.get(self, "check_beacon")
|
|
2328
2103
|
|
|
@@ -2414,8 +2189,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2414
2189
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
2415
2190
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
2416
2191
|
"""
|
|
2417
|
-
Allow VMDirectPath Gen2
|
|
2418
|
-
for which this policy applies to.
|
|
2192
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
2419
2193
|
"""
|
|
2420
2194
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
2421
2195
|
|
|
@@ -2427,8 +2201,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2427
2201
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
2428
2202
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2429
2203
|
"""
|
|
2430
|
-
The average bandwidth in bits
|
|
2431
|
-
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.
|
|
2432
2205
|
"""
|
|
2433
2206
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
2434
2207
|
|
|
@@ -2440,8 +2213,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2440
2213
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
2441
2214
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2442
2215
|
"""
|
|
2443
|
-
The maximum burst size allowed in
|
|
2444
|
-
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.
|
|
2445
2217
|
"""
|
|
2446
2218
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
2447
2219
|
|
|
@@ -2453,8 +2225,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2453
2225
|
@pulumi.getter(name="egressShapingEnabled")
|
|
2454
2226
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2455
2227
|
"""
|
|
2456
|
-
|
|
2457
|
-
on the port for egress traffic.
|
|
2228
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
2458
2229
|
"""
|
|
2459
2230
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
2460
2231
|
|
|
@@ -2466,8 +2237,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2466
2237
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
2467
2238
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2468
2239
|
"""
|
|
2469
|
-
The peak bandwidth during bursts
|
|
2470
|
-
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.
|
|
2471
2241
|
"""
|
|
2472
2242
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
2473
2243
|
|
|
@@ -2479,8 +2249,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2479
2249
|
@pulumi.getter
|
|
2480
2250
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
2481
2251
|
"""
|
|
2482
|
-
If
|
|
2483
|
-
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.
|
|
2484
2253
|
"""
|
|
2485
2254
|
return pulumi.get(self, "failback")
|
|
2486
2255
|
|
|
@@ -2601,8 +2370,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2601
2370
|
@pulumi.getter
|
|
2602
2371
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
2603
2372
|
"""
|
|
2604
|
-
|
|
2605
|
-
options are:
|
|
2373
|
+
A host member specification.
|
|
2606
2374
|
"""
|
|
2607
2375
|
return pulumi.get(self, "hosts")
|
|
2608
2376
|
|
|
@@ -2614,8 +2382,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2614
2382
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
2615
2383
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
2616
2384
|
"""
|
|
2617
|
-
Whether to ignore existing PVLAN
|
|
2618
|
-
mappings not managed by this resource. Defaults to false.
|
|
2385
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
2619
2386
|
"""
|
|
2620
2387
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
2621
2388
|
|
|
@@ -2627,8 +2394,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2627
2394
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
2628
2395
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2629
2396
|
"""
|
|
2630
|
-
The average bandwidth in
|
|
2631
|
-
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.
|
|
2632
2398
|
"""
|
|
2633
2399
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
2634
2400
|
|
|
@@ -2640,8 +2406,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2640
2406
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
2641
2407
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2642
2408
|
"""
|
|
2643
|
-
The maximum burst size allowed in
|
|
2644
|
-
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.
|
|
2645
2410
|
"""
|
|
2646
2411
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
2647
2412
|
|
|
@@ -2653,8 +2418,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2653
2418
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
2654
2419
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2655
2420
|
"""
|
|
2656
|
-
|
|
2657
|
-
enabled on the port for ingress traffic.
|
|
2421
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
2658
2422
|
"""
|
|
2659
2423
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
2660
2424
|
|
|
@@ -2666,8 +2430,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2666
2430
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
2667
2431
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2668
2432
|
"""
|
|
2669
|
-
The peak bandwidth during
|
|
2670
|
-
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.
|
|
2671
2434
|
"""
|
|
2672
2435
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
2673
2436
|
|
|
@@ -2754,8 +2517,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2754
2517
|
@pulumi.getter(name="lacpEnabled")
|
|
2755
2518
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2756
2519
|
"""
|
|
2757
|
-
|
|
2758
|
-
applies to.
|
|
2520
|
+
Whether or not to enable LACP on all uplink ports.
|
|
2759
2521
|
"""
|
|
2760
2522
|
return pulumi.get(self, "lacp_enabled")
|
|
2761
2523
|
|
|
@@ -2767,7 +2529,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2767
2529
|
@pulumi.getter(name="lacpMode")
|
|
2768
2530
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2769
2531
|
"""
|
|
2770
|
-
The LACP mode. Can be one of
|
|
2532
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
2771
2533
|
"""
|
|
2772
2534
|
return pulumi.get(self, "lacp_mode")
|
|
2773
2535
|
|
|
@@ -2890,9 +2652,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2890
2652
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
2891
2653
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2892
2654
|
"""
|
|
2893
|
-
The number of seconds after which
|
|
2894
|
-
active flows are forced to be exported to the collector. Allowed range is
|
|
2895
|
-
`60` to `3600`. Default: `60`.
|
|
2655
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
2896
2656
|
"""
|
|
2897
2657
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
2898
2658
|
|
|
@@ -2904,9 +2664,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2904
2664
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
2905
2665
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
2906
2666
|
"""
|
|
2907
|
-
IP address for the
|
|
2908
|
-
|
|
2909
|
-
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.
|
|
2910
2669
|
"""
|
|
2911
2670
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
2912
2671
|
|
|
@@ -2918,8 +2677,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2918
2677
|
@pulumi.getter(name="netflowCollectorPort")
|
|
2919
2678
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
2920
2679
|
"""
|
|
2921
|
-
|
|
2922
|
-
must be set before Netflow can be enabled.
|
|
2680
|
+
The port for the netflow collector.
|
|
2923
2681
|
"""
|
|
2924
2682
|
return pulumi.get(self, "netflow_collector_port")
|
|
2925
2683
|
|
|
@@ -2931,8 +2689,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2931
2689
|
@pulumi.getter(name="netflowEnabled")
|
|
2932
2690
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2933
2691
|
"""
|
|
2934
|
-
|
|
2935
|
-
applies to.
|
|
2692
|
+
Indicates whether to enable netflow on all ports.
|
|
2936
2693
|
"""
|
|
2937
2694
|
return pulumi.get(self, "netflow_enabled")
|
|
2938
2695
|
|
|
@@ -2944,9 +2701,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2944
2701
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
2945
2702
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2946
2703
|
"""
|
|
2947
|
-
The number of seconds after which
|
|
2948
|
-
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
2949
|
-
to `600`. Default: `15`.
|
|
2704
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
2950
2705
|
"""
|
|
2951
2706
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
2952
2707
|
|
|
@@ -2958,9 +2713,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2958
2713
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
2959
2714
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
2960
2715
|
"""
|
|
2961
|
-
Whether to limit analysis to
|
|
2962
|
-
traffic that has both source and destination served by the same host.
|
|
2963
|
-
Default: `false`.
|
|
2716
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
2964
2717
|
"""
|
|
2965
2718
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
2966
2719
|
|
|
@@ -2972,8 +2725,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2972
2725
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
2973
2726
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
2974
2727
|
"""
|
|
2975
|
-
The observation
|
|
2976
|
-
the Netflow collector.
|
|
2728
|
+
The observation Domain ID for the netflow collector.
|
|
2977
2729
|
"""
|
|
2978
2730
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
2979
2731
|
|
|
@@ -2985,11 +2737,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2985
2737
|
@pulumi.getter(name="netflowSamplingRate")
|
|
2986
2738
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
2987
2739
|
"""
|
|
2988
|
-
The ratio of total number of packets to
|
|
2989
|
-
|
|
2990
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
2991
|
-
indicates an analysis rate of 0.001%!
|
|
2992
|
-
(MISSING)
|
|
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.
|
|
2993
2742
|
"""
|
|
2994
2743
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
2995
2744
|
|
|
@@ -3001,8 +2750,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3001
2750
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
3002
2751
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
3003
2752
|
"""
|
|
3004
|
-
|
|
3005
|
-
network I/O control. Default: `false`.
|
|
2753
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3006
2754
|
"""
|
|
3007
2755
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
3008
2756
|
|
|
@@ -3014,8 +2762,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3014
2762
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
3015
2763
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
3016
2764
|
"""
|
|
3017
|
-
The version of
|
|
3018
|
-
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.
|
|
3019
2766
|
"""
|
|
3020
2767
|
return pulumi.get(self, "network_resource_control_version")
|
|
3021
2768
|
|
|
@@ -3075,8 +2822,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3075
2822
|
@pulumi.getter(name="notifySwitches")
|
|
3076
2823
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
3077
2824
|
"""
|
|
3078
|
-
If
|
|
3079
|
-
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.
|
|
3080
2826
|
"""
|
|
3081
2827
|
return pulumi.get(self, "notify_switches")
|
|
3082
2828
|
|
|
@@ -3088,8 +2834,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3088
2834
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
3089
2835
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
3090
2836
|
"""
|
|
3091
|
-
|
|
3092
|
-
ID when using private VLANs.
|
|
2837
|
+
The secondary VLAN ID for this port.
|
|
3093
2838
|
"""
|
|
3094
2839
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
3095
2840
|
|
|
@@ -3101,8 +2846,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3101
2846
|
@pulumi.getter(name="pvlanMappings")
|
|
3102
2847
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
3103
2848
|
"""
|
|
3104
|
-
|
|
3105
|
-
private VLAN mapping. The options are:
|
|
2849
|
+
A private VLAN (PVLAN) mapping.
|
|
3106
2850
|
"""
|
|
3107
2851
|
return pulumi.get(self, "pvlan_mappings")
|
|
3108
2852
|
|
|
@@ -3114,10 +2858,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3114
2858
|
@pulumi.getter(name="standbyUplinks")
|
|
3115
2859
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3116
2860
|
"""
|
|
3117
|
-
|
|
3118
|
-
failover. These uplinks need to match the definitions in the
|
|
3119
|
-
`uplinks` VDS argument. See
|
|
3120
|
-
here for more details.
|
|
2861
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3121
2862
|
"""
|
|
3122
2863
|
return pulumi.get(self, "standby_uplinks")
|
|
3123
2864
|
|
|
@@ -3143,9 +2884,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3143
2884
|
@pulumi.getter(name="teamingPolicy")
|
|
3144
2885
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3145
2886
|
"""
|
|
3146
|
-
The
|
|
3147
|
-
|
|
3148
|
-
`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.
|
|
3149
2889
|
"""
|
|
3150
2890
|
return pulumi.get(self, "teaming_policy")
|
|
3151
2891
|
|
|
@@ -3157,8 +2897,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3157
2897
|
@pulumi.getter(name="txUplink")
|
|
3158
2898
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
3159
2899
|
"""
|
|
3160
|
-
|
|
3161
|
-
|
|
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.
|
|
3162
2902
|
"""
|
|
3163
2903
|
return pulumi.get(self, "tx_uplink")
|
|
3164
2904
|
|
|
@@ -3170,11 +2910,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3170
2910
|
@pulumi.getter
|
|
3171
2911
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3172
2912
|
"""
|
|
3173
|
-
A list of
|
|
3174
|
-
|
|
3175
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
3176
|
-
names. See here for an example on how to
|
|
3177
|
-
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.
|
|
3178
2915
|
"""
|
|
3179
2916
|
return pulumi.get(self, "uplinks")
|
|
3180
2917
|
|
|
@@ -3308,28 +3045,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3308
3045
|
@pulumi.getter(name="vlanRanges")
|
|
3309
3046
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
3310
3047
|
"""
|
|
3311
|
-
|
|
3312
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
3313
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
3314
|
-
below:
|
|
3315
|
-
|
|
3316
|
-
<!--Start PulumiCodeChooser -->
|
|
3317
|
-
```python
|
|
3318
|
-
import pulumi
|
|
3319
|
-
import pulumi_vsphere as vsphere
|
|
3320
|
-
|
|
3321
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
3322
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3323
|
-
max_vlan=199,
|
|
3324
|
-
min_vlan=100,
|
|
3325
|
-
),
|
|
3326
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3327
|
-
max_vlan=399,
|
|
3328
|
-
min_vlan=300,
|
|
3329
|
-
),
|
|
3330
|
-
])
|
|
3331
|
-
```
|
|
3332
|
-
<!--End PulumiCodeChooser -->
|
|
3048
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3333
3049
|
"""
|
|
3334
3050
|
return pulumi.get(self, "vlan_ranges")
|
|
3335
3051
|
|
|
@@ -3538,29 +3254,17 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3538
3254
|
Create a DistributedVirtualSwitch resource with the given unique name, props, and options.
|
|
3539
3255
|
:param str resource_name: The name of the resource.
|
|
3540
3256
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3541
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
:param pulumi.Input[bool]
|
|
3546
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
3547
|
-
address than that of its own.
|
|
3548
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
3549
|
-
Control (MAC) address can be changed.
|
|
3550
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
3551
|
-
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.
|
|
3552
3262
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
3553
3263
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
3554
3264
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
3555
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.
|
|
3556
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
3557
|
-
|
|
3558
|
-
virtual devices.
|
|
3559
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
3560
|
-
to detect NIC failure.
|
|
3561
|
-
|
|
3562
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
3563
|
-
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.
|
|
3564
3268
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
3565
3269
|
who is responsible for the VDS.
|
|
3566
3270
|
:param pulumi.Input[str] contact_name: The name of the person who is responsible for the
|
|
@@ -3573,18 +3277,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3573
3277
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
3574
3278
|
created. Forces a new resource if changed.
|
|
3575
3279
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
3576
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
3577
|
-
|
|
3578
|
-
:param pulumi.Input[int]
|
|
3579
|
-
|
|
3580
|
-
:param pulumi.Input[int]
|
|
3581
|
-
|
|
3582
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
3583
|
-
on the port for egress traffic.
|
|
3584
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
3585
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
3586
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
3587
|
-
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.
|
|
3588
3286
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
3589
3287
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
3590
3288
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -3595,18 +3293,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3595
3293
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
3596
3294
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
3597
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.
|
|
3598
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
3599
|
-
|
|
3600
|
-
:param pulumi.Input[
|
|
3601
|
-
|
|
3602
|
-
:param pulumi.Input[
|
|
3603
|
-
|
|
3604
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
3605
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
3606
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
3607
|
-
enabled on the port for ingress traffic.
|
|
3608
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
3609
|
-
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.
|
|
3610
3302
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
3611
3303
|
mostly useful when used with the Netflow arguments.
|
|
3612
3304
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -3616,9 +3308,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3616
3308
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
3617
3309
|
version to use with the VDS. Possible values are `singleLag` and
|
|
3618
3310
|
`multipleLag`.
|
|
3619
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
3620
|
-
|
|
3621
|
-
: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.
|
|
3622
3313
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
3623
3314
|
for link discovery traffic.
|
|
3624
3315
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -3631,60 +3322,35 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3631
3322
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
3632
3323
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
3633
3324
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
3634
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
:param pulumi.Input[
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
:param pulumi.Input[
|
|
3641
|
-
|
|
3642
|
-
:param pulumi.Input[
|
|
3643
|
-
|
|
3644
|
-
:param pulumi.Input[
|
|
3645
|
-
|
|
3646
|
-
to `600`. Default: `15`.
|
|
3647
|
-
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to
|
|
3648
|
-
traffic that has both source and destination served by the same host.
|
|
3649
|
-
Default: `false`.
|
|
3650
|
-
:param pulumi.Input[int] netflow_observation_domain_id: The observation domain ID for
|
|
3651
|
-
the Netflow collector.
|
|
3652
|
-
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to
|
|
3653
|
-
the number of packets analyzed. The default is `0`, which indicates that the
|
|
3654
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
3655
|
-
indicates an analysis rate of 0.001%!
|
|
3656
|
-
(MISSING)
|
|
3657
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
3658
|
-
network I/O control. Default: `false`.
|
|
3659
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
3660
|
-
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.
|
|
3661
3337
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
3662
3338
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
3663
3339
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
3664
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.
|
|
3665
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
3666
|
-
|
|
3667
|
-
:param pulumi.Input[
|
|
3668
|
-
|
|
3669
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
3670
|
-
private VLAN mapping. The options are:
|
|
3671
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
3672
|
-
failover. These uplinks need to match the definitions in the
|
|
3673
|
-
`uplinks` VDS argument. See
|
|
3674
|
-
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.
|
|
3675
3345
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
3676
3346
|
|
|
3677
3347
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
3678
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
3685
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
3686
|
-
names. See here for an example on how to
|
|
3687
|
-
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.
|
|
3688
3354
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
3689
3355
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
3690
3356
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -3697,28 +3363,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3697
3363
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
3698
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.
|
|
3699
3365
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3700
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
3701
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
3702
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
3703
|
-
below:
|
|
3704
|
-
|
|
3705
|
-
<!--Start PulumiCodeChooser -->
|
|
3706
|
-
```python
|
|
3707
|
-
import pulumi
|
|
3708
|
-
import pulumi_vsphere as vsphere
|
|
3709
|
-
|
|
3710
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
3711
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3712
|
-
max_vlan=199,
|
|
3713
|
-
min_vlan=100,
|
|
3714
|
-
),
|
|
3715
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3716
|
-
max_vlan=399,
|
|
3717
|
-
min_vlan=300,
|
|
3718
|
-
),
|
|
3719
|
-
])
|
|
3720
|
-
```
|
|
3721
|
-
<!--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.
|
|
3722
3367
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
3723
3368
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
3724
3369
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -4063,29 +3708,17 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4063
3708
|
:param str resource_name: The unique name of the resulting resource.
|
|
4064
3709
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
4065
3710
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
4066
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
:param pulumi.Input[bool]
|
|
4071
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
4072
|
-
address than that of its own.
|
|
4073
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
4074
|
-
Control (MAC) address can be changed.
|
|
4075
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
4076
|
-
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.
|
|
4077
3716
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
4078
3717
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
4079
3718
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
4080
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.
|
|
4081
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
4082
|
-
|
|
4083
|
-
virtual devices.
|
|
4084
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
4085
|
-
to detect NIC failure.
|
|
4086
|
-
|
|
4087
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
4088
|
-
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.
|
|
4089
3722
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
4090
3723
|
by subsequent updates to the VDS.
|
|
4091
3724
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -4100,18 +3733,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4100
3733
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
4101
3734
|
created. Forces a new resource if changed.
|
|
4102
3735
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
4103
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
4104
|
-
|
|
4105
|
-
:param pulumi.Input[int]
|
|
4106
|
-
|
|
4107
|
-
:param pulumi.Input[int]
|
|
4108
|
-
|
|
4109
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
4110
|
-
on the port for egress traffic.
|
|
4111
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
4112
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
4113
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
4114
|
-
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.
|
|
4115
3742
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
4116
3743
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
4117
3744
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -4122,18 +3749,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4122
3749
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
4123
3750
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
4124
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.
|
|
4125
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
4126
|
-
|
|
4127
|
-
:param pulumi.Input[
|
|
4128
|
-
|
|
4129
|
-
:param pulumi.Input[
|
|
4130
|
-
|
|
4131
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
4132
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
4133
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
4134
|
-
enabled on the port for ingress traffic.
|
|
4135
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
4136
|
-
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.
|
|
4137
3758
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
4138
3759
|
mostly useful when used with the Netflow arguments.
|
|
4139
3760
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -4143,9 +3764,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4143
3764
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
4144
3765
|
version to use with the VDS. Possible values are `singleLag` and
|
|
4145
3766
|
`multipleLag`.
|
|
4146
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
4147
|
-
|
|
4148
|
-
: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.
|
|
4149
3769
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
4150
3770
|
for link discovery traffic.
|
|
4151
3771
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -4158,60 +3778,35 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4158
3778
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
4159
3779
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
4160
3780
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
4161
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
:param pulumi.Input[
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
:param pulumi.Input[
|
|
4168
|
-
|
|
4169
|
-
:param pulumi.Input[
|
|
4170
|
-
|
|
4171
|
-
:param pulumi.Input[
|
|
4172
|
-
|
|
4173
|
-
to `600`. Default: `15`.
|
|
4174
|
-
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to
|
|
4175
|
-
traffic that has both source and destination served by the same host.
|
|
4176
|
-
Default: `false`.
|
|
4177
|
-
:param pulumi.Input[int] netflow_observation_domain_id: The observation domain ID for
|
|
4178
|
-
the Netflow collector.
|
|
4179
|
-
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to
|
|
4180
|
-
the number of packets analyzed. The default is `0`, which indicates that the
|
|
4181
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
4182
|
-
indicates an analysis rate of 0.001%!
|
|
4183
|
-
(MISSING)
|
|
4184
|
-
:param pulumi.Input[bool] network_resource_control_enabled: Set to `true` to enable
|
|
4185
|
-
network I/O control. Default: `false`.
|
|
4186
|
-
:param pulumi.Input[str] network_resource_control_version: The version of network I/O
|
|
4187
|
-
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.
|
|
4188
3793
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
4189
3794
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
4190
3795
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
4191
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.
|
|
4192
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
4193
|
-
|
|
4194
|
-
:param pulumi.Input[
|
|
4195
|
-
|
|
4196
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
4197
|
-
private VLAN mapping. The options are:
|
|
4198
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
4199
|
-
failover. These uplinks need to match the definitions in the
|
|
4200
|
-
`uplinks` VDS argument. See
|
|
4201
|
-
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.
|
|
4202
3801
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
4203
3802
|
|
|
4204
3803
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
4205
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
of the uplinks on the VDS across hosts. The number of items in this list
|
|
4212
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
4213
|
-
names. See here for an example on how to
|
|
4214
|
-
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.
|
|
4215
3810
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
4216
3811
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
4217
3812
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -4224,28 +3819,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4224
3819
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
4225
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.
|
|
4226
3821
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
4227
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
4228
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
4229
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
4230
|
-
below:
|
|
4231
|
-
|
|
4232
|
-
<!--Start PulumiCodeChooser -->
|
|
4233
|
-
```python
|
|
4234
|
-
import pulumi
|
|
4235
|
-
import pulumi_vsphere as vsphere
|
|
4236
|
-
|
|
4237
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
4238
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
4239
|
-
max_vlan=199,
|
|
4240
|
-
min_vlan=100,
|
|
4241
|
-
),
|
|
4242
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
4243
|
-
max_vlan=399,
|
|
4244
|
-
min_vlan=300,
|
|
4245
|
-
),
|
|
4246
|
-
])
|
|
4247
|
-
```
|
|
4248
|
-
<!--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.
|
|
4249
3823
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
4250
3824
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
4251
3825
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -4360,10 +3934,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4360
3934
|
@pulumi.getter(name="activeUplinks")
|
|
4361
3935
|
def active_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4362
3936
|
"""
|
|
4363
|
-
|
|
4364
|
-
balancing. These uplinks need to match the definitions in the
|
|
4365
|
-
`uplinks` VDS argument. See
|
|
4366
|
-
here for more details.
|
|
3937
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4367
3938
|
"""
|
|
4368
3939
|
return pulumi.get(self, "active_uplinks")
|
|
4369
3940
|
|
|
@@ -4371,9 +3942,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4371
3942
|
@pulumi.getter(name="allowForgedTransmits")
|
|
4372
3943
|
def allow_forged_transmits(self) -> pulumi.Output[bool]:
|
|
4373
3944
|
"""
|
|
4374
|
-
Controls whether or not a
|
|
4375
|
-
|
|
4376
|
-
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.
|
|
4377
3947
|
"""
|
|
4378
3948
|
return pulumi.get(self, "allow_forged_transmits")
|
|
4379
3949
|
|
|
@@ -4381,8 +3951,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4381
3951
|
@pulumi.getter(name="allowMacChanges")
|
|
4382
3952
|
def allow_mac_changes(self) -> pulumi.Output[bool]:
|
|
4383
3953
|
"""
|
|
4384
|
-
Controls whether or not the Media Access
|
|
4385
|
-
Control (MAC) address can be changed.
|
|
3954
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
4386
3955
|
"""
|
|
4387
3956
|
return pulumi.get(self, "allow_mac_changes")
|
|
4388
3957
|
|
|
@@ -4390,8 +3959,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4390
3959
|
@pulumi.getter(name="allowPromiscuous")
|
|
4391
3960
|
def allow_promiscuous(self) -> pulumi.Output[bool]:
|
|
4392
3961
|
"""
|
|
4393
|
-
Enable promiscuous mode on the network. This
|
|
4394
|
-
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.
|
|
4395
3963
|
"""
|
|
4396
3964
|
return pulumi.get(self, "allow_promiscuous")
|
|
4397
3965
|
|
|
@@ -4431,9 +3999,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4431
3999
|
@pulumi.getter(name="blockAllPorts")
|
|
4432
4000
|
def block_all_ports(self) -> pulumi.Output[bool]:
|
|
4433
4001
|
"""
|
|
4434
|
-
|
|
4435
|
-
this policy applies to, effectively blocking all network access to connected
|
|
4436
|
-
virtual devices.
|
|
4002
|
+
Indicates whether to block all ports by default.
|
|
4437
4003
|
"""
|
|
4438
4004
|
return pulumi.get(self, "block_all_ports")
|
|
4439
4005
|
|
|
@@ -4441,11 +4007,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4441
4007
|
@pulumi.getter(name="checkBeacon")
|
|
4442
4008
|
def check_beacon(self) -> pulumi.Output[bool]:
|
|
4443
4009
|
"""
|
|
4444
|
-
|
|
4445
|
-
to detect NIC failure.
|
|
4446
|
-
|
|
4447
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
4448
|
-
probing.
|
|
4010
|
+
Enable beacon probing on the ports this policy applies to.
|
|
4449
4011
|
"""
|
|
4450
4012
|
return pulumi.get(self, "check_beacon")
|
|
4451
4013
|
|
|
@@ -4509,8 +4071,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4509
4071
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
4510
4072
|
def directpath_gen2_allowed(self) -> pulumi.Output[bool]:
|
|
4511
4073
|
"""
|
|
4512
|
-
Allow VMDirectPath Gen2
|
|
4513
|
-
for which this policy applies to.
|
|
4074
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
4514
4075
|
"""
|
|
4515
4076
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
4516
4077
|
|
|
@@ -4518,8 +4079,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4518
4079
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
4519
4080
|
def egress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4520
4081
|
"""
|
|
4521
|
-
The average bandwidth in bits
|
|
4522
|
-
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.
|
|
4523
4083
|
"""
|
|
4524
4084
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
4525
4085
|
|
|
@@ -4527,8 +4087,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4527
4087
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
4528
4088
|
def egress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4529
4089
|
"""
|
|
4530
|
-
The maximum burst size allowed in
|
|
4531
|
-
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.
|
|
4532
4091
|
"""
|
|
4533
4092
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
4534
4093
|
|
|
@@ -4536,8 +4095,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4536
4095
|
@pulumi.getter(name="egressShapingEnabled")
|
|
4537
4096
|
def egress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4538
4097
|
"""
|
|
4539
|
-
|
|
4540
|
-
on the port for egress traffic.
|
|
4098
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
4541
4099
|
"""
|
|
4542
4100
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
4543
4101
|
|
|
@@ -4545,8 +4103,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4545
4103
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
4546
4104
|
def egress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4547
4105
|
"""
|
|
4548
|
-
The peak bandwidth during bursts
|
|
4549
|
-
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.
|
|
4550
4107
|
"""
|
|
4551
4108
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
4552
4109
|
|
|
@@ -4554,8 +4111,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4554
4111
|
@pulumi.getter
|
|
4555
4112
|
def failback(self) -> pulumi.Output[bool]:
|
|
4556
4113
|
"""
|
|
4557
|
-
If
|
|
4558
|
-
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.
|
|
4559
4115
|
"""
|
|
4560
4116
|
return pulumi.get(self, "failback")
|
|
4561
4117
|
|
|
@@ -4636,8 +4192,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4636
4192
|
@pulumi.getter
|
|
4637
4193
|
def hosts(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchHost']]]:
|
|
4638
4194
|
"""
|
|
4639
|
-
|
|
4640
|
-
options are:
|
|
4195
|
+
A host member specification.
|
|
4641
4196
|
"""
|
|
4642
4197
|
return pulumi.get(self, "hosts")
|
|
4643
4198
|
|
|
@@ -4645,8 +4200,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4645
4200
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
4646
4201
|
def ignore_other_pvlan_mappings(self) -> pulumi.Output[Optional[bool]]:
|
|
4647
4202
|
"""
|
|
4648
|
-
Whether to ignore existing PVLAN
|
|
4649
|
-
mappings not managed by this resource. Defaults to false.
|
|
4203
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
4650
4204
|
"""
|
|
4651
4205
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
4652
4206
|
|
|
@@ -4654,8 +4208,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4654
4208
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
4655
4209
|
def ingress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4656
4210
|
"""
|
|
4657
|
-
The average bandwidth in
|
|
4658
|
-
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.
|
|
4659
4212
|
"""
|
|
4660
4213
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
4661
4214
|
|
|
@@ -4663,8 +4216,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4663
4216
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
4664
4217
|
def ingress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4665
4218
|
"""
|
|
4666
|
-
The maximum burst size allowed in
|
|
4667
|
-
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.
|
|
4668
4220
|
"""
|
|
4669
4221
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
4670
4222
|
|
|
@@ -4672,8 +4224,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4672
4224
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
4673
4225
|
def ingress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4674
4226
|
"""
|
|
4675
|
-
|
|
4676
|
-
enabled on the port for ingress traffic.
|
|
4227
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
4677
4228
|
"""
|
|
4678
4229
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
4679
4230
|
|
|
@@ -4681,8 +4232,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4681
4232
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
4682
4233
|
def ingress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4683
4234
|
"""
|
|
4684
|
-
The peak bandwidth during
|
|
4685
|
-
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.
|
|
4686
4236
|
"""
|
|
4687
4237
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
4688
4238
|
|
|
@@ -4741,8 +4291,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4741
4291
|
@pulumi.getter(name="lacpEnabled")
|
|
4742
4292
|
def lacp_enabled(self) -> pulumi.Output[bool]:
|
|
4743
4293
|
"""
|
|
4744
|
-
|
|
4745
|
-
applies to.
|
|
4294
|
+
Whether or not to enable LACP on all uplink ports.
|
|
4746
4295
|
"""
|
|
4747
4296
|
return pulumi.get(self, "lacp_enabled")
|
|
4748
4297
|
|
|
@@ -4750,7 +4299,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4750
4299
|
@pulumi.getter(name="lacpMode")
|
|
4751
4300
|
def lacp_mode(self) -> pulumi.Output[str]:
|
|
4752
4301
|
"""
|
|
4753
|
-
The LACP mode. Can be one of
|
|
4302
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
4754
4303
|
"""
|
|
4755
4304
|
return pulumi.get(self, "lacp_mode")
|
|
4756
4305
|
|
|
@@ -4833,9 +4382,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4833
4382
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
4834
4383
|
def netflow_active_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4835
4384
|
"""
|
|
4836
|
-
The number of seconds after which
|
|
4837
|
-
active flows are forced to be exported to the collector. Allowed range is
|
|
4838
|
-
`60` to `3600`. Default: `60`.
|
|
4385
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
4839
4386
|
"""
|
|
4840
4387
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
4841
4388
|
|
|
@@ -4843,9 +4390,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4843
4390
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
4844
4391
|
def netflow_collector_ip_address(self) -> pulumi.Output[Optional[str]]:
|
|
4845
4392
|
"""
|
|
4846
|
-
IP address for the
|
|
4847
|
-
|
|
4848
|
-
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.
|
|
4849
4395
|
"""
|
|
4850
4396
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
4851
4397
|
|
|
@@ -4853,8 +4399,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4853
4399
|
@pulumi.getter(name="netflowCollectorPort")
|
|
4854
4400
|
def netflow_collector_port(self) -> pulumi.Output[Optional[int]]:
|
|
4855
4401
|
"""
|
|
4856
|
-
|
|
4857
|
-
must be set before Netflow can be enabled.
|
|
4402
|
+
The port for the netflow collector.
|
|
4858
4403
|
"""
|
|
4859
4404
|
return pulumi.get(self, "netflow_collector_port")
|
|
4860
4405
|
|
|
@@ -4862,8 +4407,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4862
4407
|
@pulumi.getter(name="netflowEnabled")
|
|
4863
4408
|
def netflow_enabled(self) -> pulumi.Output[bool]:
|
|
4864
4409
|
"""
|
|
4865
|
-
|
|
4866
|
-
applies to.
|
|
4410
|
+
Indicates whether to enable netflow on all ports.
|
|
4867
4411
|
"""
|
|
4868
4412
|
return pulumi.get(self, "netflow_enabled")
|
|
4869
4413
|
|
|
@@ -4871,9 +4415,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4871
4415
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
4872
4416
|
def netflow_idle_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4873
4417
|
"""
|
|
4874
|
-
The number of seconds after which
|
|
4875
|
-
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
4876
|
-
to `600`. Default: `15`.
|
|
4418
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
4877
4419
|
"""
|
|
4878
4420
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
4879
4421
|
|
|
@@ -4881,9 +4423,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4881
4423
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
4882
4424
|
def netflow_internal_flows_only(self) -> pulumi.Output[Optional[bool]]:
|
|
4883
4425
|
"""
|
|
4884
|
-
Whether to limit analysis to
|
|
4885
|
-
traffic that has both source and destination served by the same host.
|
|
4886
|
-
Default: `false`.
|
|
4426
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
4887
4427
|
"""
|
|
4888
4428
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
4889
4429
|
|
|
@@ -4891,8 +4431,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4891
4431
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
4892
4432
|
def netflow_observation_domain_id(self) -> pulumi.Output[Optional[int]]:
|
|
4893
4433
|
"""
|
|
4894
|
-
The observation
|
|
4895
|
-
the Netflow collector.
|
|
4434
|
+
The observation Domain ID for the netflow collector.
|
|
4896
4435
|
"""
|
|
4897
4436
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
4898
4437
|
|
|
@@ -4900,11 +4439,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4900
4439
|
@pulumi.getter(name="netflowSamplingRate")
|
|
4901
4440
|
def netflow_sampling_rate(self) -> pulumi.Output[Optional[int]]:
|
|
4902
4441
|
"""
|
|
4903
|
-
The ratio of total number of packets to
|
|
4904
|
-
|
|
4905
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
4906
|
-
indicates an analysis rate of 0.001%!
|
|
4907
|
-
(MISSING)
|
|
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.
|
|
4908
4444
|
"""
|
|
4909
4445
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
4910
4446
|
|
|
@@ -4912,8 +4448,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4912
4448
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
4913
4449
|
def network_resource_control_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
4914
4450
|
"""
|
|
4915
|
-
|
|
4916
|
-
network I/O control. Default: `false`.
|
|
4451
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
4917
4452
|
"""
|
|
4918
4453
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
4919
4454
|
|
|
@@ -4921,8 +4456,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4921
4456
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
4922
4457
|
def network_resource_control_version(self) -> pulumi.Output[str]:
|
|
4923
4458
|
"""
|
|
4924
|
-
The version of
|
|
4925
|
-
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.
|
|
4926
4460
|
"""
|
|
4927
4461
|
return pulumi.get(self, "network_resource_control_version")
|
|
4928
4462
|
|
|
@@ -4962,8 +4496,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4962
4496
|
@pulumi.getter(name="notifySwitches")
|
|
4963
4497
|
def notify_switches(self) -> pulumi.Output[bool]:
|
|
4964
4498
|
"""
|
|
4965
|
-
If
|
|
4966
|
-
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.
|
|
4967
4500
|
"""
|
|
4968
4501
|
return pulumi.get(self, "notify_switches")
|
|
4969
4502
|
|
|
@@ -4971,8 +4504,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4971
4504
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
4972
4505
|
def port_private_secondary_vlan_id(self) -> pulumi.Output[int]:
|
|
4973
4506
|
"""
|
|
4974
|
-
|
|
4975
|
-
ID when using private VLANs.
|
|
4507
|
+
The secondary VLAN ID for this port.
|
|
4976
4508
|
"""
|
|
4977
4509
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
4978
4510
|
|
|
@@ -4980,8 +4512,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4980
4512
|
@pulumi.getter(name="pvlanMappings")
|
|
4981
4513
|
def pvlan_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchPvlanMapping']]]:
|
|
4982
4514
|
"""
|
|
4983
|
-
|
|
4984
|
-
private VLAN mapping. The options are:
|
|
4515
|
+
A private VLAN (PVLAN) mapping.
|
|
4985
4516
|
"""
|
|
4986
4517
|
return pulumi.get(self, "pvlan_mappings")
|
|
4987
4518
|
|
|
@@ -4989,10 +4520,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4989
4520
|
@pulumi.getter(name="standbyUplinks")
|
|
4990
4521
|
def standby_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4991
4522
|
"""
|
|
4992
|
-
|
|
4993
|
-
failover. These uplinks need to match the definitions in the
|
|
4994
|
-
`uplinks` VDS argument. See
|
|
4995
|
-
here for more details.
|
|
4523
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4996
4524
|
"""
|
|
4997
4525
|
return pulumi.get(self, "standby_uplinks")
|
|
4998
4526
|
|
|
@@ -5010,9 +4538,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5010
4538
|
@pulumi.getter(name="teamingPolicy")
|
|
5011
4539
|
def teaming_policy(self) -> pulumi.Output[str]:
|
|
5012
4540
|
"""
|
|
5013
|
-
The
|
|
5014
|
-
|
|
5015
|
-
`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.
|
|
5016
4543
|
"""
|
|
5017
4544
|
return pulumi.get(self, "teaming_policy")
|
|
5018
4545
|
|
|
@@ -5020,8 +4547,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5020
4547
|
@pulumi.getter(name="txUplink")
|
|
5021
4548
|
def tx_uplink(self) -> pulumi.Output[bool]:
|
|
5022
4549
|
"""
|
|
5023
|
-
|
|
5024
|
-
|
|
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.
|
|
5025
4552
|
"""
|
|
5026
4553
|
return pulumi.get(self, "tx_uplink")
|
|
5027
4554
|
|
|
@@ -5029,11 +4556,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5029
4556
|
@pulumi.getter
|
|
5030
4557
|
def uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
5031
4558
|
"""
|
|
5032
|
-
A list of
|
|
5033
|
-
|
|
5034
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
5035
|
-
names. See here for an example on how to
|
|
5036
|
-
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.
|
|
5037
4561
|
"""
|
|
5038
4562
|
return pulumi.get(self, "uplinks")
|
|
5039
4563
|
|
|
@@ -5123,28 +4647,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5123
4647
|
@pulumi.getter(name="vlanRanges")
|
|
5124
4648
|
def vlan_ranges(self) -> pulumi.Output[Sequence['outputs.DistributedVirtualSwitchVlanRange']]:
|
|
5125
4649
|
"""
|
|
5126
|
-
|
|
5127
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
5128
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
5129
|
-
below:
|
|
5130
|
-
|
|
5131
|
-
<!--Start PulumiCodeChooser -->
|
|
5132
|
-
```python
|
|
5133
|
-
import pulumi
|
|
5134
|
-
import pulumi_vsphere as vsphere
|
|
5135
|
-
|
|
5136
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
5137
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
5138
|
-
max_vlan=199,
|
|
5139
|
-
min_vlan=100,
|
|
5140
|
-
),
|
|
5141
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
5142
|
-
max_vlan=399,
|
|
5143
|
-
min_vlan=300,
|
|
5144
|
-
),
|
|
5145
|
-
])
|
|
5146
|
-
```
|
|
5147
|
-
<!--End PulumiCodeChooser -->
|
|
4650
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
5148
4651
|
"""
|
|
5149
4652
|
return pulumi.get(self, "vlan_ranges")
|
|
5150
4653
|
|