pulumi-vsphere 4.11.0a1__py3-none-any.whl → 4.11.0a1711033215__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 +0 -28
- pulumi_vsphere/_inputs.py +230 -554
- pulumi_vsphere/compute_cluster.py +1477 -747
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +16 -28
- pulumi_vsphere/datacenter.py +12 -26
- pulumi_vsphere/datastore_cluster.py +350 -154
- pulumi_vsphere/distributed_port_group.py +175 -70
- pulumi_vsphere/distributed_virtual_switch.py +805 -308
- pulumi_vsphere/file.py +24 -16
- pulumi_vsphere/folder.py +7 -7
- pulumi_vsphere/get_compute_cluster.py +4 -0
- pulumi_vsphere/get_compute_cluster_host_group.py +10 -8
- pulumi_vsphere/get_content_library.py +4 -0
- pulumi_vsphere/get_custom_attribute.py +4 -0
- pulumi_vsphere/get_datacenter.py +4 -0
- pulumi_vsphere/get_datastore.py +4 -0
- pulumi_vsphere/get_datastore_cluster.py +4 -0
- pulumi_vsphere/get_datastore_stats.py +12 -4
- pulumi_vsphere/get_distributed_virtual_switch.py +4 -2
- pulumi_vsphere/get_dynamic.py +8 -4
- pulumi_vsphere/get_folder.py +6 -10
- pulumi_vsphere/get_guest_os_customization.py +4 -0
- pulumi_vsphere/get_host.py +4 -0
- pulumi_vsphere/get_host_pci_device.py +12 -4
- pulumi_vsphere/get_host_thumbprint.py +4 -0
- pulumi_vsphere/get_host_vgpu_profile.py +8 -0
- pulumi_vsphere/get_license.py +4 -0
- pulumi_vsphere/get_network.py +4 -0
- pulumi_vsphere/get_policy.py +4 -0
- pulumi_vsphere/get_resource_pool.py +10 -2
- pulumi_vsphere/get_role.py +4 -0
- pulumi_vsphere/get_tag.py +4 -0
- pulumi_vsphere/get_tag_category.py +4 -0
- pulumi_vsphere/get_vapp_container.py +4 -0
- pulumi_vsphere/get_virtual_machine.py +8 -0
- pulumi_vsphere/get_vmfs_disks.py +4 -0
- pulumi_vsphere/guest_os_customization.py +0 -50
- pulumi_vsphere/ha_vm_override.py +378 -189
- pulumi_vsphere/host.py +20 -0
- pulumi_vsphere/host_port_group.py +24 -12
- pulumi_vsphere/host_virtual_switch.py +287 -140
- pulumi_vsphere/license.py +32 -0
- pulumi_vsphere/outputs.py +230 -543
- pulumi_vsphere/pulumi-plugin.json +1 -2
- pulumi_vsphere/resource_pool.py +22 -48
- pulumi_vsphere/virtual_machine.py +807 -578
- pulumi_vsphere/virtual_machine_snapshot.py +10 -6
- pulumi_vsphere/vm_storage_policy.py +84 -72
- pulumi_vsphere/vnic.py +20 -8
- {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1711033215.dist-info/RECORD +82 -0
- pulumi_vsphere/get_host_base_images.py +0 -97
- pulumi_vsphere/offline_software_depot.py +0 -180
- pulumi_vsphere/supervisor.py +0 -858
- pulumi_vsphere/virtual_machine_class.py +0 -440
- pulumi_vsphere-4.11.0a1.dist-info/RECORD +0 -86
- {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/top_level.txt +0 -0
|
@@ -114,17 +114,29 @@ 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]
|
|
117
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: A list of active uplinks to be used in load
|
|
118
|
+
balancing. These uplinks need to match the definitions in the
|
|
119
|
+
`uplinks` VDS argument. See
|
|
120
|
+
here for more details.
|
|
121
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not a virtual
|
|
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.
|
|
122
128
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
123
129
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
124
130
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
125
131
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
126
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
127
|
-
|
|
132
|
+
:param pulumi.Input[bool] block_all_ports: Shuts down all ports in the port groups that
|
|
133
|
+
this policy applies to, effectively blocking all network access to connected
|
|
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.
|
|
128
140
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
129
141
|
who is responsible for the VDS.
|
|
130
142
|
:param pulumi.Input[str] contact_name: The name of the person who is responsible for the
|
|
@@ -135,12 +147,18 @@ class DistributedVirtualSwitchArgs:
|
|
|
135
147
|
> **NOTE:** Custom attributes are unsupported on direct ESXi host connections
|
|
136
148
|
and requires vCenter Server.
|
|
137
149
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
138
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
139
|
-
|
|
140
|
-
:param pulumi.Input[int]
|
|
141
|
-
|
|
142
|
-
:param pulumi.Input[int]
|
|
143
|
-
|
|
150
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 for the ports
|
|
151
|
+
for which this policy applies to.
|
|
152
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average bandwidth in bits
|
|
153
|
+
per second if egress traffic shaping is enabled on the port.
|
|
154
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum burst size allowed in
|
|
155
|
+
bytes if egress traffic shaping is enabled on the port.
|
|
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.
|
|
144
162
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
145
163
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
146
164
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -151,12 +169,18 @@ class DistributedVirtualSwitchArgs:
|
|
|
151
169
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
152
170
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
153
171
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
154
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts:
|
|
155
|
-
|
|
156
|
-
:param pulumi.Input[
|
|
157
|
-
|
|
158
|
-
:param pulumi.Input[
|
|
159
|
-
|
|
172
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: Use the `host` block to declare a host specification. The
|
|
173
|
+
options are:
|
|
174
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN
|
|
175
|
+
mappings not managed by this resource. Defaults to false.
|
|
176
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average bandwidth in
|
|
177
|
+
bits per second if ingress traffic shaping is enabled on the port.
|
|
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.
|
|
160
184
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
161
185
|
mostly useful when used with the Netflow arguments.
|
|
162
186
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -166,8 +190,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
166
190
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
167
191
|
version to use with the VDS. Possible values are `singleLag` and
|
|
168
192
|
`multipleLag`.
|
|
169
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
170
|
-
|
|
193
|
+
:param pulumi.Input[bool] lacp_enabled: Enables LACP for the ports that this policy
|
|
194
|
+
applies to.
|
|
195
|
+
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
171
196
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
172
197
|
for link discovery traffic.
|
|
173
198
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -180,35 +205,60 @@ class DistributedVirtualSwitchArgs:
|
|
|
180
205
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
181
206
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
182
207
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
183
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
:param pulumi.Input[
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
:param pulumi.Input[
|
|
190
|
-
|
|
191
|
-
:param pulumi.Input[
|
|
192
|
-
|
|
193
|
-
:param pulumi.Input[
|
|
194
|
-
|
|
208
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
209
|
+
active flows are forced to be exported to the collector. Allowed range is
|
|
210
|
+
`60` to `3600`. Default: `60`.
|
|
211
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the Netflow
|
|
212
|
+
collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
213
|
+
Must be set before Netflow can be enabled.
|
|
214
|
+
:param pulumi.Input[int] netflow_collector_port: Port for the Netflow collector. This
|
|
215
|
+
must be set before Netflow can be enabled.
|
|
216
|
+
:param pulumi.Input[bool] netflow_enabled: Enables Netflow on all ports that this policy
|
|
217
|
+
applies to.
|
|
218
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which
|
|
219
|
+
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
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`.
|
|
195
235
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
196
236
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
197
237
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
198
238
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
199
|
-
:param pulumi.Input[bool] notify_switches: If true
|
|
200
|
-
|
|
201
|
-
:param pulumi.Input[
|
|
202
|
-
|
|
239
|
+
:param pulumi.Input[bool] notify_switches: If `true`, the teaming policy will notify the
|
|
240
|
+
broadcast network of an uplink failover, triggering cache updates.
|
|
241
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: Used to define a secondary VLAN
|
|
242
|
+
ID when using private VLANs.
|
|
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.
|
|
203
249
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
204
250
|
|
|
205
251
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
206
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
252
|
+
:param pulumi.Input[str] teaming_policy: The uplink teaming policy. Can be one of
|
|
253
|
+
`loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`,
|
|
254
|
+
`failover_explicit`, or `loadbalance_loadbased`.
|
|
255
|
+
:param pulumi.Input[bool] tx_uplink: Forward all traffic transmitted by ports for which
|
|
256
|
+
this policy applies to its VDS uplinks.
|
|
257
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of strings that uniquely identifies the names
|
|
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.
|
|
212
262
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
213
263
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
214
264
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -221,7 +271,28 @@ class DistributedVirtualSwitchArgs:
|
|
|
221
271
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
222
272
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
223
273
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
224
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
274
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: Used to denote VLAN trunking. Use the `min_vlan`
|
|
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 -->
|
|
225
296
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
226
297
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
227
298
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -436,7 +507,10 @@ class DistributedVirtualSwitchArgs:
|
|
|
436
507
|
@pulumi.getter(name="activeUplinks")
|
|
437
508
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
438
509
|
"""
|
|
439
|
-
|
|
510
|
+
A list of active uplinks to be used in load
|
|
511
|
+
balancing. These uplinks need to match the definitions in the
|
|
512
|
+
`uplinks` VDS argument. See
|
|
513
|
+
here for more details.
|
|
440
514
|
"""
|
|
441
515
|
return pulumi.get(self, "active_uplinks")
|
|
442
516
|
|
|
@@ -448,8 +522,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
448
522
|
@pulumi.getter(name="allowForgedTransmits")
|
|
449
523
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
450
524
|
"""
|
|
451
|
-
Controls whether or not
|
|
452
|
-
|
|
525
|
+
Controls whether or not a virtual
|
|
526
|
+
network adapter is allowed to send network traffic with a different MAC
|
|
527
|
+
address than that of its own.
|
|
453
528
|
"""
|
|
454
529
|
return pulumi.get(self, "allow_forged_transmits")
|
|
455
530
|
|
|
@@ -461,7 +536,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
461
536
|
@pulumi.getter(name="allowMacChanges")
|
|
462
537
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
463
538
|
"""
|
|
464
|
-
Controls whether or not the Media Access
|
|
539
|
+
Controls whether or not the Media Access
|
|
540
|
+
Control (MAC) address can be changed.
|
|
465
541
|
"""
|
|
466
542
|
return pulumi.get(self, "allow_mac_changes")
|
|
467
543
|
|
|
@@ -473,7 +549,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
473
549
|
@pulumi.getter(name="allowPromiscuous")
|
|
474
550
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
475
551
|
"""
|
|
476
|
-
Enable promiscuous mode on the network. This
|
|
552
|
+
Enable promiscuous mode on the network. This
|
|
553
|
+
flag indicates whether or not all traffic is seen on a given port.
|
|
477
554
|
"""
|
|
478
555
|
return pulumi.get(self, "allow_promiscuous")
|
|
479
556
|
|
|
@@ -533,7 +610,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
533
610
|
@pulumi.getter(name="blockAllPorts")
|
|
534
611
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
535
612
|
"""
|
|
536
|
-
|
|
613
|
+
Shuts down all ports in the port groups that
|
|
614
|
+
this policy applies to, effectively blocking all network access to connected
|
|
615
|
+
virtual devices.
|
|
537
616
|
"""
|
|
538
617
|
return pulumi.get(self, "block_all_ports")
|
|
539
618
|
|
|
@@ -545,7 +624,11 @@ class DistributedVirtualSwitchArgs:
|
|
|
545
624
|
@pulumi.getter(name="checkBeacon")
|
|
546
625
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
547
626
|
"""
|
|
548
|
-
|
|
627
|
+
Enables beacon probing as an additional measure
|
|
628
|
+
to detect NIC failure.
|
|
629
|
+
|
|
630
|
+
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
631
|
+
probing.
|
|
549
632
|
"""
|
|
550
633
|
return pulumi.get(self, "check_beacon")
|
|
551
634
|
|
|
@@ -611,7 +694,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
611
694
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
612
695
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
613
696
|
"""
|
|
614
|
-
Allow VMDirectPath Gen2
|
|
697
|
+
Allow VMDirectPath Gen2 for the ports
|
|
698
|
+
for which this policy applies to.
|
|
615
699
|
"""
|
|
616
700
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
617
701
|
|
|
@@ -623,7 +707,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
623
707
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
624
708
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
625
709
|
"""
|
|
626
|
-
The average
|
|
710
|
+
The average bandwidth in bits
|
|
711
|
+
per second if egress traffic shaping is enabled on the port.
|
|
627
712
|
"""
|
|
628
713
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
629
714
|
|
|
@@ -635,7 +720,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
635
720
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
636
721
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
637
722
|
"""
|
|
638
|
-
The maximum
|
|
723
|
+
The maximum burst size allowed in
|
|
724
|
+
bytes if egress traffic shaping is enabled on the port.
|
|
639
725
|
"""
|
|
640
726
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
641
727
|
|
|
@@ -647,7 +733,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
647
733
|
@pulumi.getter(name="egressShapingEnabled")
|
|
648
734
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
649
735
|
"""
|
|
650
|
-
|
|
736
|
+
`true` if the traffic shaper is enabled
|
|
737
|
+
on the port for egress traffic.
|
|
651
738
|
"""
|
|
652
739
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
653
740
|
|
|
@@ -659,7 +746,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
659
746
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
660
747
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
661
748
|
"""
|
|
662
|
-
The peak
|
|
749
|
+
The peak bandwidth during bursts
|
|
750
|
+
in bits per second if egress traffic shaping is enabled on the port.
|
|
663
751
|
"""
|
|
664
752
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
665
753
|
|
|
@@ -671,7 +759,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
671
759
|
@pulumi.getter
|
|
672
760
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
673
761
|
"""
|
|
674
|
-
If true
|
|
762
|
+
If `true`, the teaming policy will re-activate failed
|
|
763
|
+
uplinks higher in precedence when they come back up.
|
|
675
764
|
"""
|
|
676
765
|
return pulumi.get(self, "failback")
|
|
677
766
|
|
|
@@ -792,7 +881,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
792
881
|
@pulumi.getter
|
|
793
882
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
794
883
|
"""
|
|
795
|
-
|
|
884
|
+
Use the `host` block to declare a host specification. The
|
|
885
|
+
options are:
|
|
796
886
|
"""
|
|
797
887
|
return pulumi.get(self, "hosts")
|
|
798
888
|
|
|
@@ -804,7 +894,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
804
894
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
805
895
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
806
896
|
"""
|
|
807
|
-
Whether to ignore existing PVLAN
|
|
897
|
+
Whether to ignore existing PVLAN
|
|
898
|
+
mappings not managed by this resource. Defaults to false.
|
|
808
899
|
"""
|
|
809
900
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
810
901
|
|
|
@@ -816,7 +907,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
816
907
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
817
908
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
818
909
|
"""
|
|
819
|
-
The average
|
|
910
|
+
The average bandwidth in
|
|
911
|
+
bits per second if ingress traffic shaping is enabled on the port.
|
|
820
912
|
"""
|
|
821
913
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
822
914
|
|
|
@@ -828,7 +920,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
828
920
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
829
921
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
830
922
|
"""
|
|
831
|
-
The maximum
|
|
923
|
+
The maximum burst size allowed in
|
|
924
|
+
bytes if ingress traffic shaping is enabled on the port.
|
|
832
925
|
"""
|
|
833
926
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
834
927
|
|
|
@@ -840,7 +933,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
840
933
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
841
934
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
842
935
|
"""
|
|
843
|
-
|
|
936
|
+
`true` if the traffic shaper is
|
|
937
|
+
enabled on the port for ingress traffic.
|
|
844
938
|
"""
|
|
845
939
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
846
940
|
|
|
@@ -852,7 +946,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
852
946
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
853
947
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
854
948
|
"""
|
|
855
|
-
The peak
|
|
949
|
+
The peak bandwidth during
|
|
950
|
+
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
856
951
|
"""
|
|
857
952
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
858
953
|
|
|
@@ -939,7 +1034,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
939
1034
|
@pulumi.getter(name="lacpEnabled")
|
|
940
1035
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
941
1036
|
"""
|
|
942
|
-
|
|
1037
|
+
Enables LACP for the ports that this policy
|
|
1038
|
+
applies to.
|
|
943
1039
|
"""
|
|
944
1040
|
return pulumi.get(self, "lacp_enabled")
|
|
945
1041
|
|
|
@@ -951,7 +1047,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
951
1047
|
@pulumi.getter(name="lacpMode")
|
|
952
1048
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
953
1049
|
"""
|
|
954
|
-
The
|
|
1050
|
+
The LACP mode. Can be one of `active` or `passive`.
|
|
955
1051
|
"""
|
|
956
1052
|
return pulumi.get(self, "lacp_mode")
|
|
957
1053
|
|
|
@@ -1074,7 +1170,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
1074
1170
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
1075
1171
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1076
1172
|
"""
|
|
1077
|
-
The number of seconds after which
|
|
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`.
|
|
1078
1176
|
"""
|
|
1079
1177
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
1080
1178
|
|
|
@@ -1086,8 +1184,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
1086
1184
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
1087
1185
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
1088
1186
|
"""
|
|
1089
|
-
IP address for the
|
|
1090
|
-
later.
|
|
1187
|
+
IP address for the Netflow
|
|
1188
|
+
collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
1189
|
+
Must be set before Netflow can be enabled.
|
|
1091
1190
|
"""
|
|
1092
1191
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
1093
1192
|
|
|
@@ -1099,7 +1198,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1099
1198
|
@pulumi.getter(name="netflowCollectorPort")
|
|
1100
1199
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
1101
1200
|
"""
|
|
1102
|
-
|
|
1201
|
+
Port for the Netflow collector. This
|
|
1202
|
+
must be set before Netflow can be enabled.
|
|
1103
1203
|
"""
|
|
1104
1204
|
return pulumi.get(self, "netflow_collector_port")
|
|
1105
1205
|
|
|
@@ -1111,7 +1211,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1111
1211
|
@pulumi.getter(name="netflowEnabled")
|
|
1112
1212
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1113
1213
|
"""
|
|
1114
|
-
|
|
1214
|
+
Enables Netflow on all ports that this policy
|
|
1215
|
+
applies to.
|
|
1115
1216
|
"""
|
|
1116
1217
|
return pulumi.get(self, "netflow_enabled")
|
|
1117
1218
|
|
|
@@ -1123,7 +1224,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
1123
1224
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
1124
1225
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1125
1226
|
"""
|
|
1126
|
-
The number of seconds after which
|
|
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`.
|
|
1127
1230
|
"""
|
|
1128
1231
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
1129
1232
|
|
|
@@ -1135,7 +1238,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
1135
1238
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
1136
1239
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
1137
1240
|
"""
|
|
1138
|
-
Whether to limit analysis to
|
|
1241
|
+
Whether to limit analysis to
|
|
1242
|
+
traffic that has both source and destination served by the same host.
|
|
1243
|
+
Default: `false`.
|
|
1139
1244
|
"""
|
|
1140
1245
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
1141
1246
|
|
|
@@ -1147,7 +1252,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1147
1252
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
1148
1253
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
1149
1254
|
"""
|
|
1150
|
-
The observation
|
|
1255
|
+
The observation domain ID for
|
|
1256
|
+
the Netflow collector.
|
|
1151
1257
|
"""
|
|
1152
1258
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
1153
1259
|
|
|
@@ -1159,8 +1265,11 @@ class DistributedVirtualSwitchArgs:
|
|
|
1159
1265
|
@pulumi.getter(name="netflowSamplingRate")
|
|
1160
1266
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
1161
1267
|
"""
|
|
1162
|
-
The ratio of total number of packets to
|
|
1163
|
-
packets
|
|
1268
|
+
The ratio of total number of packets to
|
|
1269
|
+
the number of packets analyzed. The default is `0`, which indicates that the
|
|
1270
|
+
VDS should analyze all packets. The maximum value is `1000`, which
|
|
1271
|
+
indicates an analysis rate of 0.001%!
|
|
1272
|
+
(MISSING)
|
|
1164
1273
|
"""
|
|
1165
1274
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
1166
1275
|
|
|
@@ -1172,7 +1281,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1172
1281
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
1173
1282
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1174
1283
|
"""
|
|
1175
|
-
|
|
1284
|
+
Set to `true` to enable
|
|
1285
|
+
network I/O control. Default: `false`.
|
|
1176
1286
|
"""
|
|
1177
1287
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
1178
1288
|
|
|
@@ -1184,7 +1294,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1184
1294
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
1185
1295
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
1186
1296
|
"""
|
|
1187
|
-
The network I/O
|
|
1297
|
+
The version of network I/O
|
|
1298
|
+
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
1188
1299
|
"""
|
|
1189
1300
|
return pulumi.get(self, "network_resource_control_version")
|
|
1190
1301
|
|
|
@@ -1244,7 +1355,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1244
1355
|
@pulumi.getter(name="notifySwitches")
|
|
1245
1356
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
1246
1357
|
"""
|
|
1247
|
-
If true
|
|
1358
|
+
If `true`, the teaming policy will notify the
|
|
1359
|
+
broadcast network of an uplink failover, triggering cache updates.
|
|
1248
1360
|
"""
|
|
1249
1361
|
return pulumi.get(self, "notify_switches")
|
|
1250
1362
|
|
|
@@ -1256,7 +1368,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1256
1368
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
1257
1369
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
1258
1370
|
"""
|
|
1259
|
-
|
|
1371
|
+
Used to define a secondary VLAN
|
|
1372
|
+
ID when using private VLANs.
|
|
1260
1373
|
"""
|
|
1261
1374
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
1262
1375
|
|
|
@@ -1268,7 +1381,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1268
1381
|
@pulumi.getter(name="pvlanMappings")
|
|
1269
1382
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
1270
1383
|
"""
|
|
1271
|
-
|
|
1384
|
+
Use the `pvlan_mapping` block to declare a
|
|
1385
|
+
private VLAN mapping. The options are:
|
|
1272
1386
|
"""
|
|
1273
1387
|
return pulumi.get(self, "pvlan_mappings")
|
|
1274
1388
|
|
|
@@ -1280,7 +1394,10 @@ class DistributedVirtualSwitchArgs:
|
|
|
1280
1394
|
@pulumi.getter(name="standbyUplinks")
|
|
1281
1395
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1282
1396
|
"""
|
|
1283
|
-
|
|
1397
|
+
A list of standby uplinks to be used in
|
|
1398
|
+
failover. These uplinks need to match the definitions in the
|
|
1399
|
+
`uplinks` VDS argument. See
|
|
1400
|
+
here for more details.
|
|
1284
1401
|
"""
|
|
1285
1402
|
return pulumi.get(self, "standby_uplinks")
|
|
1286
1403
|
|
|
@@ -1306,8 +1423,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
1306
1423
|
@pulumi.getter(name="teamingPolicy")
|
|
1307
1424
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1308
1425
|
"""
|
|
1309
|
-
The
|
|
1310
|
-
|
|
1426
|
+
The uplink teaming policy. Can be one of
|
|
1427
|
+
`loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`,
|
|
1428
|
+
`failover_explicit`, or `loadbalance_loadbased`.
|
|
1311
1429
|
"""
|
|
1312
1430
|
return pulumi.get(self, "teaming_policy")
|
|
1313
1431
|
|
|
@@ -1319,8 +1437,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1319
1437
|
@pulumi.getter(name="txUplink")
|
|
1320
1438
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
1321
1439
|
"""
|
|
1322
|
-
|
|
1323
|
-
|
|
1440
|
+
Forward all traffic transmitted by ports for which
|
|
1441
|
+
this policy applies to its VDS uplinks.
|
|
1324
1442
|
"""
|
|
1325
1443
|
return pulumi.get(self, "tx_uplink")
|
|
1326
1444
|
|
|
@@ -1332,8 +1450,11 @@ class DistributedVirtualSwitchArgs:
|
|
|
1332
1450
|
@pulumi.getter
|
|
1333
1451
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1334
1452
|
"""
|
|
1335
|
-
A list of
|
|
1336
|
-
across hosts.
|
|
1453
|
+
A list of strings that uniquely identifies the names
|
|
1454
|
+
of the uplinks on the VDS across hosts. The number of items in this list
|
|
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.
|
|
1337
1458
|
"""
|
|
1338
1459
|
return pulumi.get(self, "uplinks")
|
|
1339
1460
|
|
|
@@ -1467,7 +1588,28 @@ class DistributedVirtualSwitchArgs:
|
|
|
1467
1588
|
@pulumi.getter(name="vlanRanges")
|
|
1468
1589
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
1469
1590
|
"""
|
|
1470
|
-
|
|
1591
|
+
Used to denote VLAN trunking. Use the `min_vlan`
|
|
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 -->
|
|
1471
1613
|
"""
|
|
1472
1614
|
return pulumi.get(self, "vlan_ranges")
|
|
1473
1615
|
|
|
@@ -1672,17 +1814,29 @@ class _DistributedVirtualSwitchState:
|
|
|
1672
1814
|
vsan_share_level: Optional[pulumi.Input[str]] = None):
|
|
1673
1815
|
"""
|
|
1674
1816
|
Input properties used for looking up and filtering DistributedVirtualSwitch resources.
|
|
1675
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
:param pulumi.Input[bool]
|
|
1817
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: A list of active uplinks to be used in load
|
|
1818
|
+
balancing. These uplinks need to match the definitions in the
|
|
1819
|
+
`uplinks` VDS argument. See
|
|
1820
|
+
here for more details.
|
|
1821
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not a virtual
|
|
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.
|
|
1680
1828
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
1681
1829
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
1682
1830
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
1683
1831
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
1684
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
1685
|
-
|
|
1832
|
+
:param pulumi.Input[bool] block_all_ports: Shuts down all ports in the port groups that
|
|
1833
|
+
this policy applies to, effectively blocking all network access to connected
|
|
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.
|
|
1686
1840
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
1687
1841
|
by subsequent updates to the VDS.
|
|
1688
1842
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -1697,12 +1851,18 @@ class _DistributedVirtualSwitchState:
|
|
|
1697
1851
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
1698
1852
|
created. Forces a new resource if changed.
|
|
1699
1853
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
1700
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
1701
|
-
|
|
1702
|
-
:param pulumi.Input[int]
|
|
1703
|
-
|
|
1704
|
-
:param pulumi.Input[int]
|
|
1705
|
-
|
|
1854
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 for the ports
|
|
1855
|
+
for which this policy applies to.
|
|
1856
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average bandwidth in bits
|
|
1857
|
+
per second if egress traffic shaping is enabled on the port.
|
|
1858
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum burst size allowed in
|
|
1859
|
+
bytes if egress traffic shaping is enabled on the port.
|
|
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.
|
|
1706
1866
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
1707
1867
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
1708
1868
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -1713,12 +1873,18 @@ class _DistributedVirtualSwitchState:
|
|
|
1713
1873
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
1714
1874
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
1715
1875
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
1716
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts:
|
|
1717
|
-
|
|
1718
|
-
:param pulumi.Input[
|
|
1719
|
-
|
|
1720
|
-
:param pulumi.Input[
|
|
1721
|
-
|
|
1876
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: Use the `host` block to declare a host specification. The
|
|
1877
|
+
options are:
|
|
1878
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN
|
|
1879
|
+
mappings not managed by this resource. Defaults to false.
|
|
1880
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average bandwidth in
|
|
1881
|
+
bits per second if ingress traffic shaping is enabled on the port.
|
|
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.
|
|
1722
1888
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
1723
1889
|
mostly useful when used with the Netflow arguments.
|
|
1724
1890
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -1728,8 +1894,9 @@ class _DistributedVirtualSwitchState:
|
|
|
1728
1894
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
1729
1895
|
version to use with the VDS. Possible values are `singleLag` and
|
|
1730
1896
|
`multipleLag`.
|
|
1731
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
1732
|
-
|
|
1897
|
+
:param pulumi.Input[bool] lacp_enabled: Enables LACP for the ports that this policy
|
|
1898
|
+
applies to.
|
|
1899
|
+
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
1733
1900
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
1734
1901
|
for link discovery traffic.
|
|
1735
1902
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -1742,35 +1909,60 @@ class _DistributedVirtualSwitchState:
|
|
|
1742
1909
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
1743
1910
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
1744
1911
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
1745
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
:param pulumi.Input[
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
:param pulumi.Input[
|
|
1752
|
-
|
|
1753
|
-
:param pulumi.Input[
|
|
1754
|
-
|
|
1755
|
-
:param pulumi.Input[
|
|
1756
|
-
|
|
1912
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
1913
|
+
active flows are forced to be exported to the collector. Allowed range is
|
|
1914
|
+
`60` to `3600`. Default: `60`.
|
|
1915
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the Netflow
|
|
1916
|
+
collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
1917
|
+
Must be set before Netflow can be enabled.
|
|
1918
|
+
:param pulumi.Input[int] netflow_collector_port: Port for the Netflow collector. This
|
|
1919
|
+
must be set before Netflow can be enabled.
|
|
1920
|
+
:param pulumi.Input[bool] netflow_enabled: Enables Netflow on all ports that this policy
|
|
1921
|
+
applies to.
|
|
1922
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which
|
|
1923
|
+
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
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`.
|
|
1757
1939
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
1758
1940
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
1759
1941
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
1760
1942
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
1761
|
-
:param pulumi.Input[bool] notify_switches: If true
|
|
1762
|
-
|
|
1763
|
-
:param pulumi.Input[
|
|
1764
|
-
|
|
1943
|
+
:param pulumi.Input[bool] notify_switches: If `true`, the teaming policy will notify the
|
|
1944
|
+
broadcast network of an uplink failover, triggering cache updates.
|
|
1945
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: Used to define a secondary VLAN
|
|
1946
|
+
ID when using private VLANs.
|
|
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.
|
|
1765
1953
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
1766
1954
|
|
|
1767
1955
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
1768
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1956
|
+
:param pulumi.Input[str] teaming_policy: The uplink teaming policy. Can be one of
|
|
1957
|
+
`loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`,
|
|
1958
|
+
`failover_explicit`, or `loadbalance_loadbased`.
|
|
1959
|
+
:param pulumi.Input[bool] tx_uplink: Forward all traffic transmitted by ports for which
|
|
1960
|
+
this policy applies to its VDS uplinks.
|
|
1961
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of strings that uniquely identifies the names
|
|
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.
|
|
1774
1966
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
1775
1967
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
1776
1968
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -1783,7 +1975,28 @@ class _DistributedVirtualSwitchState:
|
|
|
1783
1975
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
1784
1976
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
1785
1977
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1786
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
1978
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: Used to denote VLAN trunking. Use the `min_vlan`
|
|
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 -->
|
|
1787
2000
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
1788
2001
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
1789
2002
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -1988,7 +2201,10 @@ class _DistributedVirtualSwitchState:
|
|
|
1988
2201
|
@pulumi.getter(name="activeUplinks")
|
|
1989
2202
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1990
2203
|
"""
|
|
1991
|
-
|
|
2204
|
+
A list of active uplinks to be used in load
|
|
2205
|
+
balancing. These uplinks need to match the definitions in the
|
|
2206
|
+
`uplinks` VDS argument. See
|
|
2207
|
+
here for more details.
|
|
1992
2208
|
"""
|
|
1993
2209
|
return pulumi.get(self, "active_uplinks")
|
|
1994
2210
|
|
|
@@ -2000,8 +2216,9 @@ class _DistributedVirtualSwitchState:
|
|
|
2000
2216
|
@pulumi.getter(name="allowForgedTransmits")
|
|
2001
2217
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
2002
2218
|
"""
|
|
2003
|
-
Controls whether or not
|
|
2004
|
-
|
|
2219
|
+
Controls whether or not a virtual
|
|
2220
|
+
network adapter is allowed to send network traffic with a different MAC
|
|
2221
|
+
address than that of its own.
|
|
2005
2222
|
"""
|
|
2006
2223
|
return pulumi.get(self, "allow_forged_transmits")
|
|
2007
2224
|
|
|
@@ -2013,7 +2230,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2013
2230
|
@pulumi.getter(name="allowMacChanges")
|
|
2014
2231
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
2015
2232
|
"""
|
|
2016
|
-
Controls whether or not the Media Access
|
|
2233
|
+
Controls whether or not the Media Access
|
|
2234
|
+
Control (MAC) address can be changed.
|
|
2017
2235
|
"""
|
|
2018
2236
|
return pulumi.get(self, "allow_mac_changes")
|
|
2019
2237
|
|
|
@@ -2025,7 +2243,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2025
2243
|
@pulumi.getter(name="allowPromiscuous")
|
|
2026
2244
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
2027
2245
|
"""
|
|
2028
|
-
Enable promiscuous mode on the network. This
|
|
2246
|
+
Enable promiscuous mode on the network. This
|
|
2247
|
+
flag indicates whether or not all traffic is seen on a given port.
|
|
2029
2248
|
"""
|
|
2030
2249
|
return pulumi.get(self, "allow_promiscuous")
|
|
2031
2250
|
|
|
@@ -2085,7 +2304,9 @@ class _DistributedVirtualSwitchState:
|
|
|
2085
2304
|
@pulumi.getter(name="blockAllPorts")
|
|
2086
2305
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
2087
2306
|
"""
|
|
2088
|
-
|
|
2307
|
+
Shuts down all ports in the port groups that
|
|
2308
|
+
this policy applies to, effectively blocking all network access to connected
|
|
2309
|
+
virtual devices.
|
|
2089
2310
|
"""
|
|
2090
2311
|
return pulumi.get(self, "block_all_ports")
|
|
2091
2312
|
|
|
@@ -2097,7 +2318,11 @@ class _DistributedVirtualSwitchState:
|
|
|
2097
2318
|
@pulumi.getter(name="checkBeacon")
|
|
2098
2319
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
2099
2320
|
"""
|
|
2100
|
-
|
|
2321
|
+
Enables beacon probing as an additional measure
|
|
2322
|
+
to detect NIC failure.
|
|
2323
|
+
|
|
2324
|
+
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
2325
|
+
probing.
|
|
2101
2326
|
"""
|
|
2102
2327
|
return pulumi.get(self, "check_beacon")
|
|
2103
2328
|
|
|
@@ -2189,7 +2414,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2189
2414
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
2190
2415
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
2191
2416
|
"""
|
|
2192
|
-
Allow VMDirectPath Gen2
|
|
2417
|
+
Allow VMDirectPath Gen2 for the ports
|
|
2418
|
+
for which this policy applies to.
|
|
2193
2419
|
"""
|
|
2194
2420
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
2195
2421
|
|
|
@@ -2201,7 +2427,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2201
2427
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
2202
2428
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2203
2429
|
"""
|
|
2204
|
-
The average
|
|
2430
|
+
The average bandwidth in bits
|
|
2431
|
+
per second if egress traffic shaping is enabled on the port.
|
|
2205
2432
|
"""
|
|
2206
2433
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
2207
2434
|
|
|
@@ -2213,7 +2440,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2213
2440
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
2214
2441
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2215
2442
|
"""
|
|
2216
|
-
The maximum
|
|
2443
|
+
The maximum burst size allowed in
|
|
2444
|
+
bytes if egress traffic shaping is enabled on the port.
|
|
2217
2445
|
"""
|
|
2218
2446
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
2219
2447
|
|
|
@@ -2225,7 +2453,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2225
2453
|
@pulumi.getter(name="egressShapingEnabled")
|
|
2226
2454
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2227
2455
|
"""
|
|
2228
|
-
|
|
2456
|
+
`true` if the traffic shaper is enabled
|
|
2457
|
+
on the port for egress traffic.
|
|
2229
2458
|
"""
|
|
2230
2459
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
2231
2460
|
|
|
@@ -2237,7 +2466,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2237
2466
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
2238
2467
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2239
2468
|
"""
|
|
2240
|
-
The peak
|
|
2469
|
+
The peak bandwidth during bursts
|
|
2470
|
+
in bits per second if egress traffic shaping is enabled on the port.
|
|
2241
2471
|
"""
|
|
2242
2472
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
2243
2473
|
|
|
@@ -2249,7 +2479,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2249
2479
|
@pulumi.getter
|
|
2250
2480
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
2251
2481
|
"""
|
|
2252
|
-
If true
|
|
2482
|
+
If `true`, the teaming policy will re-activate failed
|
|
2483
|
+
uplinks higher in precedence when they come back up.
|
|
2253
2484
|
"""
|
|
2254
2485
|
return pulumi.get(self, "failback")
|
|
2255
2486
|
|
|
@@ -2370,7 +2601,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2370
2601
|
@pulumi.getter
|
|
2371
2602
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
2372
2603
|
"""
|
|
2373
|
-
|
|
2604
|
+
Use the `host` block to declare a host specification. The
|
|
2605
|
+
options are:
|
|
2374
2606
|
"""
|
|
2375
2607
|
return pulumi.get(self, "hosts")
|
|
2376
2608
|
|
|
@@ -2382,7 +2614,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2382
2614
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
2383
2615
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
2384
2616
|
"""
|
|
2385
|
-
Whether to ignore existing PVLAN
|
|
2617
|
+
Whether to ignore existing PVLAN
|
|
2618
|
+
mappings not managed by this resource. Defaults to false.
|
|
2386
2619
|
"""
|
|
2387
2620
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
2388
2621
|
|
|
@@ -2394,7 +2627,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2394
2627
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
2395
2628
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2396
2629
|
"""
|
|
2397
|
-
The average
|
|
2630
|
+
The average bandwidth in
|
|
2631
|
+
bits per second if ingress traffic shaping is enabled on the port.
|
|
2398
2632
|
"""
|
|
2399
2633
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
2400
2634
|
|
|
@@ -2406,7 +2640,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2406
2640
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
2407
2641
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2408
2642
|
"""
|
|
2409
|
-
The maximum
|
|
2643
|
+
The maximum burst size allowed in
|
|
2644
|
+
bytes if ingress traffic shaping is enabled on the port.
|
|
2410
2645
|
"""
|
|
2411
2646
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
2412
2647
|
|
|
@@ -2418,7 +2653,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2418
2653
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
2419
2654
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2420
2655
|
"""
|
|
2421
|
-
|
|
2656
|
+
`true` if the traffic shaper is
|
|
2657
|
+
enabled on the port for ingress traffic.
|
|
2422
2658
|
"""
|
|
2423
2659
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
2424
2660
|
|
|
@@ -2430,7 +2666,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2430
2666
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
2431
2667
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2432
2668
|
"""
|
|
2433
|
-
The peak
|
|
2669
|
+
The peak bandwidth during
|
|
2670
|
+
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
2434
2671
|
"""
|
|
2435
2672
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
2436
2673
|
|
|
@@ -2517,7 +2754,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2517
2754
|
@pulumi.getter(name="lacpEnabled")
|
|
2518
2755
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2519
2756
|
"""
|
|
2520
|
-
|
|
2757
|
+
Enables LACP for the ports that this policy
|
|
2758
|
+
applies to.
|
|
2521
2759
|
"""
|
|
2522
2760
|
return pulumi.get(self, "lacp_enabled")
|
|
2523
2761
|
|
|
@@ -2529,7 +2767,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2529
2767
|
@pulumi.getter(name="lacpMode")
|
|
2530
2768
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2531
2769
|
"""
|
|
2532
|
-
The
|
|
2770
|
+
The LACP mode. Can be one of `active` or `passive`.
|
|
2533
2771
|
"""
|
|
2534
2772
|
return pulumi.get(self, "lacp_mode")
|
|
2535
2773
|
|
|
@@ -2652,7 +2890,9 @@ class _DistributedVirtualSwitchState:
|
|
|
2652
2890
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
2653
2891
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2654
2892
|
"""
|
|
2655
|
-
The number of seconds after which
|
|
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`.
|
|
2656
2896
|
"""
|
|
2657
2897
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
2658
2898
|
|
|
@@ -2664,8 +2904,9 @@ class _DistributedVirtualSwitchState:
|
|
|
2664
2904
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
2665
2905
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
2666
2906
|
"""
|
|
2667
|
-
IP address for the
|
|
2668
|
-
later.
|
|
2907
|
+
IP address for the Netflow
|
|
2908
|
+
collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
2909
|
+
Must be set before Netflow can be enabled.
|
|
2669
2910
|
"""
|
|
2670
2911
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
2671
2912
|
|
|
@@ -2677,7 +2918,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2677
2918
|
@pulumi.getter(name="netflowCollectorPort")
|
|
2678
2919
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
2679
2920
|
"""
|
|
2680
|
-
|
|
2921
|
+
Port for the Netflow collector. This
|
|
2922
|
+
must be set before Netflow can be enabled.
|
|
2681
2923
|
"""
|
|
2682
2924
|
return pulumi.get(self, "netflow_collector_port")
|
|
2683
2925
|
|
|
@@ -2689,7 +2931,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2689
2931
|
@pulumi.getter(name="netflowEnabled")
|
|
2690
2932
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2691
2933
|
"""
|
|
2692
|
-
|
|
2934
|
+
Enables Netflow on all ports that this policy
|
|
2935
|
+
applies to.
|
|
2693
2936
|
"""
|
|
2694
2937
|
return pulumi.get(self, "netflow_enabled")
|
|
2695
2938
|
|
|
@@ -2701,7 +2944,9 @@ class _DistributedVirtualSwitchState:
|
|
|
2701
2944
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
2702
2945
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2703
2946
|
"""
|
|
2704
|
-
The number of seconds after which
|
|
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`.
|
|
2705
2950
|
"""
|
|
2706
2951
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
2707
2952
|
|
|
@@ -2713,7 +2958,9 @@ class _DistributedVirtualSwitchState:
|
|
|
2713
2958
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
2714
2959
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
2715
2960
|
"""
|
|
2716
|
-
Whether to limit analysis to
|
|
2961
|
+
Whether to limit analysis to
|
|
2962
|
+
traffic that has both source and destination served by the same host.
|
|
2963
|
+
Default: `false`.
|
|
2717
2964
|
"""
|
|
2718
2965
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
2719
2966
|
|
|
@@ -2725,7 +2972,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2725
2972
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
2726
2973
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
2727
2974
|
"""
|
|
2728
|
-
The observation
|
|
2975
|
+
The observation domain ID for
|
|
2976
|
+
the Netflow collector.
|
|
2729
2977
|
"""
|
|
2730
2978
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
2731
2979
|
|
|
@@ -2737,8 +2985,11 @@ class _DistributedVirtualSwitchState:
|
|
|
2737
2985
|
@pulumi.getter(name="netflowSamplingRate")
|
|
2738
2986
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
2739
2987
|
"""
|
|
2740
|
-
The ratio of total number of packets to
|
|
2741
|
-
packets
|
|
2988
|
+
The ratio of total number of packets to
|
|
2989
|
+
the number of packets analyzed. The default is `0`, which indicates that the
|
|
2990
|
+
VDS should analyze all packets. The maximum value is `1000`, which
|
|
2991
|
+
indicates an analysis rate of 0.001%!
|
|
2992
|
+
(MISSING)
|
|
2742
2993
|
"""
|
|
2743
2994
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
2744
2995
|
|
|
@@ -2750,7 +3001,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2750
3001
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
2751
3002
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2752
3003
|
"""
|
|
2753
|
-
|
|
3004
|
+
Set to `true` to enable
|
|
3005
|
+
network I/O control. Default: `false`.
|
|
2754
3006
|
"""
|
|
2755
3007
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
2756
3008
|
|
|
@@ -2762,7 +3014,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2762
3014
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
2763
3015
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
2764
3016
|
"""
|
|
2765
|
-
The network I/O
|
|
3017
|
+
The version of network I/O
|
|
3018
|
+
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
2766
3019
|
"""
|
|
2767
3020
|
return pulumi.get(self, "network_resource_control_version")
|
|
2768
3021
|
|
|
@@ -2822,7 +3075,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2822
3075
|
@pulumi.getter(name="notifySwitches")
|
|
2823
3076
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
2824
3077
|
"""
|
|
2825
|
-
If true
|
|
3078
|
+
If `true`, the teaming policy will notify the
|
|
3079
|
+
broadcast network of an uplink failover, triggering cache updates.
|
|
2826
3080
|
"""
|
|
2827
3081
|
return pulumi.get(self, "notify_switches")
|
|
2828
3082
|
|
|
@@ -2834,7 +3088,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2834
3088
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
2835
3089
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
2836
3090
|
"""
|
|
2837
|
-
|
|
3091
|
+
Used to define a secondary VLAN
|
|
3092
|
+
ID when using private VLANs.
|
|
2838
3093
|
"""
|
|
2839
3094
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
2840
3095
|
|
|
@@ -2846,7 +3101,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2846
3101
|
@pulumi.getter(name="pvlanMappings")
|
|
2847
3102
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
2848
3103
|
"""
|
|
2849
|
-
|
|
3104
|
+
Use the `pvlan_mapping` block to declare a
|
|
3105
|
+
private VLAN mapping. The options are:
|
|
2850
3106
|
"""
|
|
2851
3107
|
return pulumi.get(self, "pvlan_mappings")
|
|
2852
3108
|
|
|
@@ -2858,7 +3114,10 @@ class _DistributedVirtualSwitchState:
|
|
|
2858
3114
|
@pulumi.getter(name="standbyUplinks")
|
|
2859
3115
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2860
3116
|
"""
|
|
2861
|
-
|
|
3117
|
+
A list of standby uplinks to be used in
|
|
3118
|
+
failover. These uplinks need to match the definitions in the
|
|
3119
|
+
`uplinks` VDS argument. See
|
|
3120
|
+
here for more details.
|
|
2862
3121
|
"""
|
|
2863
3122
|
return pulumi.get(self, "standby_uplinks")
|
|
2864
3123
|
|
|
@@ -2884,8 +3143,9 @@ class _DistributedVirtualSwitchState:
|
|
|
2884
3143
|
@pulumi.getter(name="teamingPolicy")
|
|
2885
3144
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
2886
3145
|
"""
|
|
2887
|
-
The
|
|
2888
|
-
|
|
3146
|
+
The uplink teaming policy. Can be one of
|
|
3147
|
+
`loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`,
|
|
3148
|
+
`failover_explicit`, or `loadbalance_loadbased`.
|
|
2889
3149
|
"""
|
|
2890
3150
|
return pulumi.get(self, "teaming_policy")
|
|
2891
3151
|
|
|
@@ -2897,8 +3157,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2897
3157
|
@pulumi.getter(name="txUplink")
|
|
2898
3158
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
2899
3159
|
"""
|
|
2900
|
-
|
|
2901
|
-
|
|
3160
|
+
Forward all traffic transmitted by ports for which
|
|
3161
|
+
this policy applies to its VDS uplinks.
|
|
2902
3162
|
"""
|
|
2903
3163
|
return pulumi.get(self, "tx_uplink")
|
|
2904
3164
|
|
|
@@ -2910,8 +3170,11 @@ class _DistributedVirtualSwitchState:
|
|
|
2910
3170
|
@pulumi.getter
|
|
2911
3171
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2912
3172
|
"""
|
|
2913
|
-
A list of
|
|
2914
|
-
across hosts.
|
|
3173
|
+
A list of strings that uniquely identifies the names
|
|
3174
|
+
of the uplinks on the VDS across hosts. The number of items in this list
|
|
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.
|
|
2915
3178
|
"""
|
|
2916
3179
|
return pulumi.get(self, "uplinks")
|
|
2917
3180
|
|
|
@@ -3045,7 +3308,28 @@ class _DistributedVirtualSwitchState:
|
|
|
3045
3308
|
@pulumi.getter(name="vlanRanges")
|
|
3046
3309
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
3047
3310
|
"""
|
|
3048
|
-
|
|
3311
|
+
Used to denote VLAN trunking. Use the `min_vlan`
|
|
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 -->
|
|
3049
3333
|
"""
|
|
3050
3334
|
return pulumi.get(self, "vlan_ranges")
|
|
3051
3335
|
|
|
@@ -3254,17 +3538,29 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3254
3538
|
Create a DistributedVirtualSwitch resource with the given unique name, props, and options.
|
|
3255
3539
|
:param str resource_name: The name of the resource.
|
|
3256
3540
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3257
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
:param pulumi.Input[bool]
|
|
3541
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: A list of active uplinks to be used in load
|
|
3542
|
+
balancing. These uplinks need to match the definitions in the
|
|
3543
|
+
`uplinks` VDS argument. See
|
|
3544
|
+
here for more details.
|
|
3545
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not a virtual
|
|
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.
|
|
3262
3552
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
3263
3553
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
3264
3554
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
3265
3555
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
3266
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
3267
|
-
|
|
3556
|
+
:param pulumi.Input[bool] block_all_ports: Shuts down all ports in the port groups that
|
|
3557
|
+
this policy applies to, effectively blocking all network access to connected
|
|
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.
|
|
3268
3564
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
3269
3565
|
who is responsible for the VDS.
|
|
3270
3566
|
:param pulumi.Input[str] contact_name: The name of the person who is responsible for the
|
|
@@ -3277,12 +3573,18 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3277
3573
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
3278
3574
|
created. Forces a new resource if changed.
|
|
3279
3575
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
3280
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
3281
|
-
|
|
3282
|
-
:param pulumi.Input[int]
|
|
3283
|
-
|
|
3284
|
-
:param pulumi.Input[int]
|
|
3285
|
-
|
|
3576
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 for the ports
|
|
3577
|
+
for which this policy applies to.
|
|
3578
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average bandwidth in bits
|
|
3579
|
+
per second if egress traffic shaping is enabled on the port.
|
|
3580
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum burst size allowed in
|
|
3581
|
+
bytes if egress traffic shaping is enabled on the port.
|
|
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.
|
|
3286
3588
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
3287
3589
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
3288
3590
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -3293,12 +3595,18 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3293
3595
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
3294
3596
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
3295
3597
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
3296
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
3297
|
-
|
|
3298
|
-
:param pulumi.Input[
|
|
3299
|
-
|
|
3300
|
-
:param pulumi.Input[
|
|
3301
|
-
|
|
3598
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts: Use the `host` block to declare a host specification. The
|
|
3599
|
+
options are:
|
|
3600
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN
|
|
3601
|
+
mappings not managed by this resource. Defaults to false.
|
|
3602
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average bandwidth in
|
|
3603
|
+
bits per second if ingress traffic shaping is enabled on the port.
|
|
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.
|
|
3302
3610
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
3303
3611
|
mostly useful when used with the Netflow arguments.
|
|
3304
3612
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -3308,8 +3616,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3308
3616
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
3309
3617
|
version to use with the VDS. Possible values are `singleLag` and
|
|
3310
3618
|
`multipleLag`.
|
|
3311
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
3312
|
-
|
|
3619
|
+
:param pulumi.Input[bool] lacp_enabled: Enables LACP for the ports that this policy
|
|
3620
|
+
applies to.
|
|
3621
|
+
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
3313
3622
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
3314
3623
|
for link discovery traffic.
|
|
3315
3624
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -3322,35 +3631,60 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3322
3631
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
3323
3632
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
3324
3633
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
3325
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
:param pulumi.Input[
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
:param pulumi.Input[
|
|
3332
|
-
|
|
3333
|
-
:param pulumi.Input[
|
|
3334
|
-
|
|
3335
|
-
:param pulumi.Input[
|
|
3336
|
-
|
|
3634
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
3635
|
+
active flows are forced to be exported to the collector. Allowed range is
|
|
3636
|
+
`60` to `3600`. Default: `60`.
|
|
3637
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the Netflow
|
|
3638
|
+
collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
3639
|
+
Must be set before Netflow can be enabled.
|
|
3640
|
+
:param pulumi.Input[int] netflow_collector_port: Port for the Netflow collector. This
|
|
3641
|
+
must be set before Netflow can be enabled.
|
|
3642
|
+
:param pulumi.Input[bool] netflow_enabled: Enables Netflow on all ports that this policy
|
|
3643
|
+
applies to.
|
|
3644
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which
|
|
3645
|
+
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
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`.
|
|
3337
3661
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
3338
3662
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
3339
3663
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
3340
3664
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
3341
|
-
:param pulumi.Input[bool] notify_switches: If true
|
|
3342
|
-
|
|
3343
|
-
:param pulumi.Input[
|
|
3344
|
-
|
|
3665
|
+
:param pulumi.Input[bool] notify_switches: If `true`, the teaming policy will notify the
|
|
3666
|
+
broadcast network of an uplink failover, triggering cache updates.
|
|
3667
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: Used to define a secondary VLAN
|
|
3668
|
+
ID when using private VLANs.
|
|
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.
|
|
3345
3675
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
3346
3676
|
|
|
3347
3677
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
3348
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3678
|
+
:param pulumi.Input[str] teaming_policy: The uplink teaming policy. Can be one of
|
|
3679
|
+
`loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`,
|
|
3680
|
+
`failover_explicit`, or `loadbalance_loadbased`.
|
|
3681
|
+
:param pulumi.Input[bool] tx_uplink: Forward all traffic transmitted by ports for which
|
|
3682
|
+
this policy applies to its VDS uplinks.
|
|
3683
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of strings that uniquely identifies the names
|
|
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.
|
|
3354
3688
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
3355
3689
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
3356
3690
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -3363,7 +3697,28 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3363
3697
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
3364
3698
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
3365
3699
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3366
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
3700
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges: Used to denote VLAN trunking. Use the `min_vlan`
|
|
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 -->
|
|
3367
3722
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
3368
3723
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
3369
3724
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -3708,17 +4063,29 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3708
4063
|
:param str resource_name: The unique name of the resulting resource.
|
|
3709
4064
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
3710
4065
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3711
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
:param pulumi.Input[bool]
|
|
4066
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: A list of active uplinks to be used in load
|
|
4067
|
+
balancing. These uplinks need to match the definitions in the
|
|
4068
|
+
`uplinks` VDS argument. See
|
|
4069
|
+
here for more details.
|
|
4070
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not a virtual
|
|
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.
|
|
3716
4077
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
3717
4078
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
3718
4079
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
3719
4080
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
3720
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
3721
|
-
|
|
4081
|
+
:param pulumi.Input[bool] block_all_ports: Shuts down all ports in the port groups that
|
|
4082
|
+
this policy applies to, effectively blocking all network access to connected
|
|
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.
|
|
3722
4089
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
3723
4090
|
by subsequent updates to the VDS.
|
|
3724
4091
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -3733,12 +4100,18 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3733
4100
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
3734
4101
|
created. Forces a new resource if changed.
|
|
3735
4102
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
3736
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
3737
|
-
|
|
3738
|
-
:param pulumi.Input[int]
|
|
3739
|
-
|
|
3740
|
-
:param pulumi.Input[int]
|
|
3741
|
-
|
|
4103
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 for the ports
|
|
4104
|
+
for which this policy applies to.
|
|
4105
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average bandwidth in bits
|
|
4106
|
+
per second if egress traffic shaping is enabled on the port.
|
|
4107
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum burst size allowed in
|
|
4108
|
+
bytes if egress traffic shaping is enabled on the port.
|
|
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.
|
|
3742
4115
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
3743
4116
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
3744
4117
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -3749,12 +4122,18 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3749
4122
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
3750
4123
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
3751
4124
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
3752
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
3753
|
-
|
|
3754
|
-
:param pulumi.Input[
|
|
3755
|
-
|
|
3756
|
-
:param pulumi.Input[
|
|
3757
|
-
|
|
4125
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts: Use the `host` block to declare a host specification. The
|
|
4126
|
+
options are:
|
|
4127
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN
|
|
4128
|
+
mappings not managed by this resource. Defaults to false.
|
|
4129
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average bandwidth in
|
|
4130
|
+
bits per second if ingress traffic shaping is enabled on the port.
|
|
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.
|
|
3758
4137
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
3759
4138
|
mostly useful when used with the Netflow arguments.
|
|
3760
4139
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -3764,8 +4143,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3764
4143
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
3765
4144
|
version to use with the VDS. Possible values are `singleLag` and
|
|
3766
4145
|
`multipleLag`.
|
|
3767
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
3768
|
-
|
|
4146
|
+
:param pulumi.Input[bool] lacp_enabled: Enables LACP for the ports that this policy
|
|
4147
|
+
applies to.
|
|
4148
|
+
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
3769
4149
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
3770
4150
|
for link discovery traffic.
|
|
3771
4151
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -3778,35 +4158,60 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3778
4158
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
3779
4159
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
3780
4160
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
3781
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
:param pulumi.Input[
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
:param pulumi.Input[
|
|
3788
|
-
|
|
3789
|
-
:param pulumi.Input[
|
|
3790
|
-
|
|
3791
|
-
:param pulumi.Input[
|
|
3792
|
-
|
|
4161
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
4162
|
+
active flows are forced to be exported to the collector. Allowed range is
|
|
4163
|
+
`60` to `3600`. Default: `60`.
|
|
4164
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the Netflow
|
|
4165
|
+
collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
4166
|
+
Must be set before Netflow can be enabled.
|
|
4167
|
+
:param pulumi.Input[int] netflow_collector_port: Port for the Netflow collector. This
|
|
4168
|
+
must be set before Netflow can be enabled.
|
|
4169
|
+
:param pulumi.Input[bool] netflow_enabled: Enables Netflow on all ports that this policy
|
|
4170
|
+
applies to.
|
|
4171
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which
|
|
4172
|
+
idle flows are forced to be exported to the collector. Allowed range is `10`
|
|
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`.
|
|
3793
4188
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
3794
4189
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
3795
4190
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
3796
4191
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
3797
|
-
:param pulumi.Input[bool] notify_switches: If true
|
|
3798
|
-
|
|
3799
|
-
:param pulumi.Input[
|
|
3800
|
-
|
|
4192
|
+
:param pulumi.Input[bool] notify_switches: If `true`, the teaming policy will notify the
|
|
4193
|
+
broadcast network of an uplink failover, triggering cache updates.
|
|
4194
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: Used to define a secondary VLAN
|
|
4195
|
+
ID when using private VLANs.
|
|
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.
|
|
3801
4202
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
3802
4203
|
|
|
3803
4204
|
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
3804
|
-
:param pulumi.Input[str] teaming_policy: The
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
4205
|
+
:param pulumi.Input[str] teaming_policy: The uplink teaming policy. Can be one of
|
|
4206
|
+
`loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`,
|
|
4207
|
+
`failover_explicit`, or `loadbalance_loadbased`.
|
|
4208
|
+
:param pulumi.Input[bool] tx_uplink: Forward all traffic transmitted by ports for which
|
|
4209
|
+
this policy applies to its VDS uplinks.
|
|
4210
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of strings that uniquely identifies the names
|
|
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.
|
|
3810
4215
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
3811
4216
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
3812
4217
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -3819,7 +4224,28 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3819
4224
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
3820
4225
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
3821
4226
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3822
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
4227
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges: Used to denote VLAN trunking. Use the `min_vlan`
|
|
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 -->
|
|
3823
4249
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
3824
4250
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
3825
4251
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -3934,7 +4360,10 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3934
4360
|
@pulumi.getter(name="activeUplinks")
|
|
3935
4361
|
def active_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
3936
4362
|
"""
|
|
3937
|
-
|
|
4363
|
+
A list of active uplinks to be used in load
|
|
4364
|
+
balancing. These uplinks need to match the definitions in the
|
|
4365
|
+
`uplinks` VDS argument. See
|
|
4366
|
+
here for more details.
|
|
3938
4367
|
"""
|
|
3939
4368
|
return pulumi.get(self, "active_uplinks")
|
|
3940
4369
|
|
|
@@ -3942,8 +4371,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3942
4371
|
@pulumi.getter(name="allowForgedTransmits")
|
|
3943
4372
|
def allow_forged_transmits(self) -> pulumi.Output[bool]:
|
|
3944
4373
|
"""
|
|
3945
|
-
Controls whether or not
|
|
3946
|
-
|
|
4374
|
+
Controls whether or not a virtual
|
|
4375
|
+
network adapter is allowed to send network traffic with a different MAC
|
|
4376
|
+
address than that of its own.
|
|
3947
4377
|
"""
|
|
3948
4378
|
return pulumi.get(self, "allow_forged_transmits")
|
|
3949
4379
|
|
|
@@ -3951,7 +4381,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3951
4381
|
@pulumi.getter(name="allowMacChanges")
|
|
3952
4382
|
def allow_mac_changes(self) -> pulumi.Output[bool]:
|
|
3953
4383
|
"""
|
|
3954
|
-
Controls whether or not the Media Access
|
|
4384
|
+
Controls whether or not the Media Access
|
|
4385
|
+
Control (MAC) address can be changed.
|
|
3955
4386
|
"""
|
|
3956
4387
|
return pulumi.get(self, "allow_mac_changes")
|
|
3957
4388
|
|
|
@@ -3959,7 +4390,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3959
4390
|
@pulumi.getter(name="allowPromiscuous")
|
|
3960
4391
|
def allow_promiscuous(self) -> pulumi.Output[bool]:
|
|
3961
4392
|
"""
|
|
3962
|
-
Enable promiscuous mode on the network. This
|
|
4393
|
+
Enable promiscuous mode on the network. This
|
|
4394
|
+
flag indicates whether or not all traffic is seen on a given port.
|
|
3963
4395
|
"""
|
|
3964
4396
|
return pulumi.get(self, "allow_promiscuous")
|
|
3965
4397
|
|
|
@@ -3999,7 +4431,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3999
4431
|
@pulumi.getter(name="blockAllPorts")
|
|
4000
4432
|
def block_all_ports(self) -> pulumi.Output[bool]:
|
|
4001
4433
|
"""
|
|
4002
|
-
|
|
4434
|
+
Shuts down all ports in the port groups that
|
|
4435
|
+
this policy applies to, effectively blocking all network access to connected
|
|
4436
|
+
virtual devices.
|
|
4003
4437
|
"""
|
|
4004
4438
|
return pulumi.get(self, "block_all_ports")
|
|
4005
4439
|
|
|
@@ -4007,7 +4441,11 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4007
4441
|
@pulumi.getter(name="checkBeacon")
|
|
4008
4442
|
def check_beacon(self) -> pulumi.Output[bool]:
|
|
4009
4443
|
"""
|
|
4010
|
-
|
|
4444
|
+
Enables beacon probing as an additional measure
|
|
4445
|
+
to detect NIC failure.
|
|
4446
|
+
|
|
4447
|
+
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
4448
|
+
probing.
|
|
4011
4449
|
"""
|
|
4012
4450
|
return pulumi.get(self, "check_beacon")
|
|
4013
4451
|
|
|
@@ -4071,7 +4509,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4071
4509
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
4072
4510
|
def directpath_gen2_allowed(self) -> pulumi.Output[bool]:
|
|
4073
4511
|
"""
|
|
4074
|
-
Allow VMDirectPath Gen2
|
|
4512
|
+
Allow VMDirectPath Gen2 for the ports
|
|
4513
|
+
for which this policy applies to.
|
|
4075
4514
|
"""
|
|
4076
4515
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
4077
4516
|
|
|
@@ -4079,7 +4518,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4079
4518
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
4080
4519
|
def egress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4081
4520
|
"""
|
|
4082
|
-
The average
|
|
4521
|
+
The average bandwidth in bits
|
|
4522
|
+
per second if egress traffic shaping is enabled on the port.
|
|
4083
4523
|
"""
|
|
4084
4524
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
4085
4525
|
|
|
@@ -4087,7 +4527,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4087
4527
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
4088
4528
|
def egress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4089
4529
|
"""
|
|
4090
|
-
The maximum
|
|
4530
|
+
The maximum burst size allowed in
|
|
4531
|
+
bytes if egress traffic shaping is enabled on the port.
|
|
4091
4532
|
"""
|
|
4092
4533
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
4093
4534
|
|
|
@@ -4095,7 +4536,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4095
4536
|
@pulumi.getter(name="egressShapingEnabled")
|
|
4096
4537
|
def egress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4097
4538
|
"""
|
|
4098
|
-
|
|
4539
|
+
`true` if the traffic shaper is enabled
|
|
4540
|
+
on the port for egress traffic.
|
|
4099
4541
|
"""
|
|
4100
4542
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
4101
4543
|
|
|
@@ -4103,7 +4545,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4103
4545
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
4104
4546
|
def egress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4105
4547
|
"""
|
|
4106
|
-
The peak
|
|
4548
|
+
The peak bandwidth during bursts
|
|
4549
|
+
in bits per second if egress traffic shaping is enabled on the port.
|
|
4107
4550
|
"""
|
|
4108
4551
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
4109
4552
|
|
|
@@ -4111,7 +4554,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4111
4554
|
@pulumi.getter
|
|
4112
4555
|
def failback(self) -> pulumi.Output[bool]:
|
|
4113
4556
|
"""
|
|
4114
|
-
If true
|
|
4557
|
+
If `true`, the teaming policy will re-activate failed
|
|
4558
|
+
uplinks higher in precedence when they come back up.
|
|
4115
4559
|
"""
|
|
4116
4560
|
return pulumi.get(self, "failback")
|
|
4117
4561
|
|
|
@@ -4192,7 +4636,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4192
4636
|
@pulumi.getter
|
|
4193
4637
|
def hosts(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchHost']]]:
|
|
4194
4638
|
"""
|
|
4195
|
-
|
|
4639
|
+
Use the `host` block to declare a host specification. The
|
|
4640
|
+
options are:
|
|
4196
4641
|
"""
|
|
4197
4642
|
return pulumi.get(self, "hosts")
|
|
4198
4643
|
|
|
@@ -4200,7 +4645,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4200
4645
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
4201
4646
|
def ignore_other_pvlan_mappings(self) -> pulumi.Output[Optional[bool]]:
|
|
4202
4647
|
"""
|
|
4203
|
-
Whether to ignore existing PVLAN
|
|
4648
|
+
Whether to ignore existing PVLAN
|
|
4649
|
+
mappings not managed by this resource. Defaults to false.
|
|
4204
4650
|
"""
|
|
4205
4651
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
4206
4652
|
|
|
@@ -4208,7 +4654,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4208
4654
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
4209
4655
|
def ingress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4210
4656
|
"""
|
|
4211
|
-
The average
|
|
4657
|
+
The average bandwidth in
|
|
4658
|
+
bits per second if ingress traffic shaping is enabled on the port.
|
|
4212
4659
|
"""
|
|
4213
4660
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
4214
4661
|
|
|
@@ -4216,7 +4663,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4216
4663
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
4217
4664
|
def ingress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4218
4665
|
"""
|
|
4219
|
-
The maximum
|
|
4666
|
+
The maximum burst size allowed in
|
|
4667
|
+
bytes if ingress traffic shaping is enabled on the port.
|
|
4220
4668
|
"""
|
|
4221
4669
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
4222
4670
|
|
|
@@ -4224,7 +4672,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4224
4672
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
4225
4673
|
def ingress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4226
4674
|
"""
|
|
4227
|
-
|
|
4675
|
+
`true` if the traffic shaper is
|
|
4676
|
+
enabled on the port for ingress traffic.
|
|
4228
4677
|
"""
|
|
4229
4678
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
4230
4679
|
|
|
@@ -4232,7 +4681,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4232
4681
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
4233
4682
|
def ingress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4234
4683
|
"""
|
|
4235
|
-
The peak
|
|
4684
|
+
The peak bandwidth during
|
|
4685
|
+
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
4236
4686
|
"""
|
|
4237
4687
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
4238
4688
|
|
|
@@ -4291,7 +4741,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4291
4741
|
@pulumi.getter(name="lacpEnabled")
|
|
4292
4742
|
def lacp_enabled(self) -> pulumi.Output[bool]:
|
|
4293
4743
|
"""
|
|
4294
|
-
|
|
4744
|
+
Enables LACP for the ports that this policy
|
|
4745
|
+
applies to.
|
|
4295
4746
|
"""
|
|
4296
4747
|
return pulumi.get(self, "lacp_enabled")
|
|
4297
4748
|
|
|
@@ -4299,7 +4750,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4299
4750
|
@pulumi.getter(name="lacpMode")
|
|
4300
4751
|
def lacp_mode(self) -> pulumi.Output[str]:
|
|
4301
4752
|
"""
|
|
4302
|
-
The
|
|
4753
|
+
The LACP mode. Can be one of `active` or `passive`.
|
|
4303
4754
|
"""
|
|
4304
4755
|
return pulumi.get(self, "lacp_mode")
|
|
4305
4756
|
|
|
@@ -4382,7 +4833,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4382
4833
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
4383
4834
|
def netflow_active_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4384
4835
|
"""
|
|
4385
|
-
The number of seconds after which
|
|
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`.
|
|
4386
4839
|
"""
|
|
4387
4840
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
4388
4841
|
|
|
@@ -4390,8 +4843,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4390
4843
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
4391
4844
|
def netflow_collector_ip_address(self) -> pulumi.Output[Optional[str]]:
|
|
4392
4845
|
"""
|
|
4393
|
-
IP address for the
|
|
4394
|
-
later.
|
|
4846
|
+
IP address for the Netflow
|
|
4847
|
+
collector, using IPv4 or IPv6. IPv6 is supported in VDS version 6.0 or later.
|
|
4848
|
+
Must be set before Netflow can be enabled.
|
|
4395
4849
|
"""
|
|
4396
4850
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
4397
4851
|
|
|
@@ -4399,7 +4853,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4399
4853
|
@pulumi.getter(name="netflowCollectorPort")
|
|
4400
4854
|
def netflow_collector_port(self) -> pulumi.Output[Optional[int]]:
|
|
4401
4855
|
"""
|
|
4402
|
-
|
|
4856
|
+
Port for the Netflow collector. This
|
|
4857
|
+
must be set before Netflow can be enabled.
|
|
4403
4858
|
"""
|
|
4404
4859
|
return pulumi.get(self, "netflow_collector_port")
|
|
4405
4860
|
|
|
@@ -4407,7 +4862,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4407
4862
|
@pulumi.getter(name="netflowEnabled")
|
|
4408
4863
|
def netflow_enabled(self) -> pulumi.Output[bool]:
|
|
4409
4864
|
"""
|
|
4410
|
-
|
|
4865
|
+
Enables Netflow on all ports that this policy
|
|
4866
|
+
applies to.
|
|
4411
4867
|
"""
|
|
4412
4868
|
return pulumi.get(self, "netflow_enabled")
|
|
4413
4869
|
|
|
@@ -4415,7 +4871,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4415
4871
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
4416
4872
|
def netflow_idle_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4417
4873
|
"""
|
|
4418
|
-
The number of seconds after which
|
|
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`.
|
|
4419
4877
|
"""
|
|
4420
4878
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
4421
4879
|
|
|
@@ -4423,7 +4881,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4423
4881
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
4424
4882
|
def netflow_internal_flows_only(self) -> pulumi.Output[Optional[bool]]:
|
|
4425
4883
|
"""
|
|
4426
|
-
Whether to limit analysis to
|
|
4884
|
+
Whether to limit analysis to
|
|
4885
|
+
traffic that has both source and destination served by the same host.
|
|
4886
|
+
Default: `false`.
|
|
4427
4887
|
"""
|
|
4428
4888
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
4429
4889
|
|
|
@@ -4431,7 +4891,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4431
4891
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
4432
4892
|
def netflow_observation_domain_id(self) -> pulumi.Output[Optional[int]]:
|
|
4433
4893
|
"""
|
|
4434
|
-
The observation
|
|
4894
|
+
The observation domain ID for
|
|
4895
|
+
the Netflow collector.
|
|
4435
4896
|
"""
|
|
4436
4897
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
4437
4898
|
|
|
@@ -4439,8 +4900,11 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4439
4900
|
@pulumi.getter(name="netflowSamplingRate")
|
|
4440
4901
|
def netflow_sampling_rate(self) -> pulumi.Output[Optional[int]]:
|
|
4441
4902
|
"""
|
|
4442
|
-
The ratio of total number of packets to
|
|
4443
|
-
packets
|
|
4903
|
+
The ratio of total number of packets to
|
|
4904
|
+
the number of packets analyzed. The default is `0`, which indicates that the
|
|
4905
|
+
VDS should analyze all packets. The maximum value is `1000`, which
|
|
4906
|
+
indicates an analysis rate of 0.001%!
|
|
4907
|
+
(MISSING)
|
|
4444
4908
|
"""
|
|
4445
4909
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
4446
4910
|
|
|
@@ -4448,7 +4912,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4448
4912
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
4449
4913
|
def network_resource_control_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
4450
4914
|
"""
|
|
4451
|
-
|
|
4915
|
+
Set to `true` to enable
|
|
4916
|
+
network I/O control. Default: `false`.
|
|
4452
4917
|
"""
|
|
4453
4918
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
4454
4919
|
|
|
@@ -4456,7 +4921,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4456
4921
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
4457
4922
|
def network_resource_control_version(self) -> pulumi.Output[str]:
|
|
4458
4923
|
"""
|
|
4459
|
-
The network I/O
|
|
4924
|
+
The version of network I/O
|
|
4925
|
+
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
4460
4926
|
"""
|
|
4461
4927
|
return pulumi.get(self, "network_resource_control_version")
|
|
4462
4928
|
|
|
@@ -4496,7 +4962,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4496
4962
|
@pulumi.getter(name="notifySwitches")
|
|
4497
4963
|
def notify_switches(self) -> pulumi.Output[bool]:
|
|
4498
4964
|
"""
|
|
4499
|
-
If true
|
|
4965
|
+
If `true`, the teaming policy will notify the
|
|
4966
|
+
broadcast network of an uplink failover, triggering cache updates.
|
|
4500
4967
|
"""
|
|
4501
4968
|
return pulumi.get(self, "notify_switches")
|
|
4502
4969
|
|
|
@@ -4504,7 +4971,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4504
4971
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
4505
4972
|
def port_private_secondary_vlan_id(self) -> pulumi.Output[int]:
|
|
4506
4973
|
"""
|
|
4507
|
-
|
|
4974
|
+
Used to define a secondary VLAN
|
|
4975
|
+
ID when using private VLANs.
|
|
4508
4976
|
"""
|
|
4509
4977
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
4510
4978
|
|
|
@@ -4512,7 +4980,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4512
4980
|
@pulumi.getter(name="pvlanMappings")
|
|
4513
4981
|
def pvlan_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchPvlanMapping']]]:
|
|
4514
4982
|
"""
|
|
4515
|
-
|
|
4983
|
+
Use the `pvlan_mapping` block to declare a
|
|
4984
|
+
private VLAN mapping. The options are:
|
|
4516
4985
|
"""
|
|
4517
4986
|
return pulumi.get(self, "pvlan_mappings")
|
|
4518
4987
|
|
|
@@ -4520,7 +4989,10 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4520
4989
|
@pulumi.getter(name="standbyUplinks")
|
|
4521
4990
|
def standby_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4522
4991
|
"""
|
|
4523
|
-
|
|
4992
|
+
A list of standby uplinks to be used in
|
|
4993
|
+
failover. These uplinks need to match the definitions in the
|
|
4994
|
+
`uplinks` VDS argument. See
|
|
4995
|
+
here for more details.
|
|
4524
4996
|
"""
|
|
4525
4997
|
return pulumi.get(self, "standby_uplinks")
|
|
4526
4998
|
|
|
@@ -4538,8 +5010,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4538
5010
|
@pulumi.getter(name="teamingPolicy")
|
|
4539
5011
|
def teaming_policy(self) -> pulumi.Output[str]:
|
|
4540
5012
|
"""
|
|
4541
|
-
The
|
|
4542
|
-
|
|
5013
|
+
The uplink teaming policy. Can be one of
|
|
5014
|
+
`loadbalance_ip`, `loadbalance_srcmac`, `loadbalance_srcid`,
|
|
5015
|
+
`failover_explicit`, or `loadbalance_loadbased`.
|
|
4543
5016
|
"""
|
|
4544
5017
|
return pulumi.get(self, "teaming_policy")
|
|
4545
5018
|
|
|
@@ -4547,8 +5020,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4547
5020
|
@pulumi.getter(name="txUplink")
|
|
4548
5021
|
def tx_uplink(self) -> pulumi.Output[bool]:
|
|
4549
5022
|
"""
|
|
4550
|
-
|
|
4551
|
-
|
|
5023
|
+
Forward all traffic transmitted by ports for which
|
|
5024
|
+
this policy applies to its VDS uplinks.
|
|
4552
5025
|
"""
|
|
4553
5026
|
return pulumi.get(self, "tx_uplink")
|
|
4554
5027
|
|
|
@@ -4556,8 +5029,11 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4556
5029
|
@pulumi.getter
|
|
4557
5030
|
def uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4558
5031
|
"""
|
|
4559
|
-
A list of
|
|
4560
|
-
across hosts.
|
|
5032
|
+
A list of strings that uniquely identifies the names
|
|
5033
|
+
of the uplinks on the VDS across hosts. The number of items in this list
|
|
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.
|
|
4561
5037
|
"""
|
|
4562
5038
|
return pulumi.get(self, "uplinks")
|
|
4563
5039
|
|
|
@@ -4647,7 +5123,28 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4647
5123
|
@pulumi.getter(name="vlanRanges")
|
|
4648
5124
|
def vlan_ranges(self) -> pulumi.Output[Sequence['outputs.DistributedVirtualSwitchVlanRange']]:
|
|
4649
5125
|
"""
|
|
4650
|
-
|
|
5126
|
+
Used to denote VLAN trunking. Use the `min_vlan`
|
|
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 -->
|
|
4651
5148
|
"""
|
|
4652
5149
|
return pulumi.get(self, "vlan_ranges")
|
|
4653
5150
|
|