pulumi-vsphere 4.10.0a1710245029__py3-none-any.whl → 4.10.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +28 -0
- pulumi_vsphere/_inputs.py +566 -236
- pulumi_vsphere/_utilities.py +35 -0
- pulumi_vsphere/compute_cluster.py +747 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +28 -20
- pulumi_vsphere/datacenter.py +33 -40
- pulumi_vsphere/datastore_cluster.py +154 -364
- pulumi_vsphere/distributed_port_group.py +126 -182
- pulumi_vsphere/distributed_virtual_switch.py +301 -819
- pulumi_vsphere/entity_permissions.py +56 -35
- pulumi_vsphere/file.py +16 -24
- pulumi_vsphere/folder.py +7 -28
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +20 -20
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +12 -8
- pulumi_vsphere/get_custom_attribute.py +0 -4
- pulumi_vsphere/get_datacenter.py +0 -4
- pulumi_vsphere/get_datastore.py +9 -13
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +38 -44
- pulumi_vsphere/get_distributed_virtual_switch.py +2 -4
- pulumi_vsphere/get_dynamic.py +18 -20
- pulumi_vsphere/get_folder.py +10 -6
- pulumi_vsphere/get_guest_os_customization.py +8 -47
- pulumi_vsphere/get_host.py +0 -4
- pulumi_vsphere/get_host_base_images.py +97 -0
- pulumi_vsphere/get_host_pci_device.py +8 -14
- pulumi_vsphere/get_host_thumbprint.py +12 -16
- pulumi_vsphere/get_host_vgpu_profile.py +4 -10
- pulumi_vsphere/get_license.py +2 -5
- pulumi_vsphere/get_network.py +14 -18
- pulumi_vsphere/get_policy.py +0 -4
- pulumi_vsphere/get_resource_pool.py +14 -18
- pulumi_vsphere/get_role.py +4 -8
- pulumi_vsphere/get_tag.py +0 -4
- pulumi_vsphere/get_tag_category.py +0 -4
- pulumi_vsphere/get_vapp_container.py +0 -4
- pulumi_vsphere/get_virtual_machine.py +58 -41
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +50 -0
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -20
- pulumi_vsphere/host_port_group.py +12 -24
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/license.py +0 -32
- pulumi_vsphere/nas_datastore.py +7 -7
- pulumi_vsphere/offline_software_depot.py +180 -0
- pulumi_vsphere/outputs.py +591 -270
- pulumi_vsphere/provider.py +2 -6
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +50 -24
- pulumi_vsphere/supervisor.py +962 -0
- pulumi_vsphere/virtual_disk.py +14 -20
- pulumi_vsphere/virtual_machine.py +580 -809
- pulumi_vsphere/virtual_machine_class.py +442 -0
- pulumi_vsphere/virtual_machine_snapshot.py +8 -12
- pulumi_vsphere/vm_storage_policy.py +74 -86
- pulumi_vsphere/vnic.py +61 -77
- {pulumi_vsphere-4.10.0a1710245029.dist-info → pulumi_vsphere-4.10.2.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.10.2.dist-info/RECORD +86 -0
- {pulumi_vsphere-4.10.0a1710245029.dist-info → pulumi_vsphere-4.10.2.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1710245029.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.10.0a1710245029.dist-info → pulumi_vsphere-4.10.2.dist-info}/top_level.txt +0 -0
|
@@ -114,29 +114,17 @@ class DistributedVirtualSwitchArgs:
|
|
|
114
114
|
The set of arguments for constructing a DistributedVirtualSwitch resource.
|
|
115
115
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
116
116
|
created. Forces a new resource if changed.
|
|
117
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
:param pulumi.Input[bool]
|
|
122
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
123
|
-
address than that of its own.
|
|
124
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
125
|
-
Control (MAC) address can be changed.
|
|
126
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
127
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
117
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
118
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
119
|
+
that of its own.
|
|
120
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
121
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
128
122
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
129
123
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
130
124
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
131
125
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
132
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
133
|
-
|
|
134
|
-
virtual devices.
|
|
135
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
136
|
-
to detect NIC failure.
|
|
137
|
-
|
|
138
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
139
|
-
probing.
|
|
126
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
127
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
140
128
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
141
129
|
who is responsible for the VDS.
|
|
142
130
|
:param pulumi.Input[str] contact_name: The name of the person who is responsible for the
|
|
@@ -147,18 +135,12 @@ class DistributedVirtualSwitchArgs:
|
|
|
147
135
|
> **NOTE:** Custom attributes are unsupported on direct ESXi host connections
|
|
148
136
|
and requires vCenter Server.
|
|
149
137
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
150
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
151
|
-
|
|
152
|
-
:param pulumi.Input[int]
|
|
153
|
-
|
|
154
|
-
:param pulumi.Input[int]
|
|
155
|
-
|
|
156
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
157
|
-
on the port for egress traffic.
|
|
158
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
159
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
160
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
161
|
-
uplinks higher in precedence when they come back up.
|
|
138
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
139
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
140
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
141
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
142
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
143
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
162
144
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
163
145
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
164
146
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -169,18 +151,12 @@ class DistributedVirtualSwitchArgs:
|
|
|
169
151
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
170
152
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
171
153
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
172
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts:
|
|
173
|
-
|
|
174
|
-
:param pulumi.Input[
|
|
175
|
-
|
|
176
|
-
:param pulumi.Input[
|
|
177
|
-
|
|
178
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
179
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
180
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
181
|
-
enabled on the port for ingress traffic.
|
|
182
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
183
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
154
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: A host member specification.
|
|
155
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
156
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
157
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
158
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
159
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
184
160
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
185
161
|
mostly useful when used with the Netflow arguments.
|
|
186
162
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -190,9 +166,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
190
166
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
191
167
|
version to use with the VDS. Possible values are `singleLag` and
|
|
192
168
|
`multipleLag`.
|
|
193
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
194
|
-
|
|
195
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
169
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
170
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
196
171
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
197
172
|
for link discovery traffic.
|
|
198
173
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -205,60 +180,32 @@ class DistributedVirtualSwitchArgs:
|
|
|
205
180
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
206
181
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
207
182
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
208
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
:param pulumi.Input[
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
:param pulumi.Input[int]
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
:param pulumi.Input[
|
|
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`.
|
|
183
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
184
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6.
|
|
185
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
186
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
187
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
188
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
189
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
190
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
191
|
+
packets are analyzed.
|
|
192
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
193
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
235
194
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
236
195
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
237
196
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
238
197
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
239
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
240
|
-
|
|
241
|
-
:param pulumi.Input[
|
|
242
|
-
|
|
243
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
244
|
-
private VLAN mapping. The options are:
|
|
245
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
246
|
-
failover. These uplinks need to match the definitions in the
|
|
247
|
-
`uplinks` VDS argument. See
|
|
248
|
-
here for more details.
|
|
198
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
199
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
200
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
201
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
249
202
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
:param pulumi.Input[
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
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.
|
|
203
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
204
|
+
failover_explicit, or loadbalance_loadbased.
|
|
205
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
206
|
+
forwarded done by the switch.
|
|
207
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
208
|
+
across hosts.
|
|
262
209
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
263
210
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
264
211
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -271,28 +218,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
271
218
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
272
219
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
273
220
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
274
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
275
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
276
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
277
|
-
below:
|
|
278
|
-
|
|
279
|
-
<!--Start PulumiCodeChooser -->
|
|
280
|
-
```python
|
|
281
|
-
import pulumi
|
|
282
|
-
import pulumi_vsphere as vsphere
|
|
283
|
-
|
|
284
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
285
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
286
|
-
max_vlan=199,
|
|
287
|
-
min_vlan=100,
|
|
288
|
-
),
|
|
289
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
290
|
-
max_vlan=399,
|
|
291
|
-
min_vlan=300,
|
|
292
|
-
),
|
|
293
|
-
])
|
|
294
|
-
```
|
|
295
|
-
<!--End PulumiCodeChooser -->
|
|
221
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
296
222
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
297
223
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
298
224
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -507,10 +433,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
507
433
|
@pulumi.getter(name="activeUplinks")
|
|
508
434
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
509
435
|
"""
|
|
510
|
-
|
|
511
|
-
balancing. These uplinks need to match the definitions in the
|
|
512
|
-
`uplinks` VDS argument. See
|
|
513
|
-
here for more details.
|
|
436
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
514
437
|
"""
|
|
515
438
|
return pulumi.get(self, "active_uplinks")
|
|
516
439
|
|
|
@@ -522,9 +445,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
522
445
|
@pulumi.getter(name="allowForgedTransmits")
|
|
523
446
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
524
447
|
"""
|
|
525
|
-
Controls whether or not a
|
|
526
|
-
|
|
527
|
-
address than that of its own.
|
|
448
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
449
|
+
that of its own.
|
|
528
450
|
"""
|
|
529
451
|
return pulumi.get(self, "allow_forged_transmits")
|
|
530
452
|
|
|
@@ -536,8 +458,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
536
458
|
@pulumi.getter(name="allowMacChanges")
|
|
537
459
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
538
460
|
"""
|
|
539
|
-
Controls whether or not the Media Access
|
|
540
|
-
Control (MAC) address can be changed.
|
|
461
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
541
462
|
"""
|
|
542
463
|
return pulumi.get(self, "allow_mac_changes")
|
|
543
464
|
|
|
@@ -549,8 +470,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
549
470
|
@pulumi.getter(name="allowPromiscuous")
|
|
550
471
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
551
472
|
"""
|
|
552
|
-
Enable promiscuous mode on the network. This
|
|
553
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
473
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
554
474
|
"""
|
|
555
475
|
return pulumi.get(self, "allow_promiscuous")
|
|
556
476
|
|
|
@@ -610,9 +530,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
610
530
|
@pulumi.getter(name="blockAllPorts")
|
|
611
531
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
612
532
|
"""
|
|
613
|
-
|
|
614
|
-
this policy applies to, effectively blocking all network access to connected
|
|
615
|
-
virtual devices.
|
|
533
|
+
Indicates whether to block all ports by default.
|
|
616
534
|
"""
|
|
617
535
|
return pulumi.get(self, "block_all_ports")
|
|
618
536
|
|
|
@@ -624,11 +542,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
624
542
|
@pulumi.getter(name="checkBeacon")
|
|
625
543
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
626
544
|
"""
|
|
627
|
-
|
|
628
|
-
to detect NIC failure.
|
|
629
|
-
|
|
630
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
631
|
-
probing.
|
|
545
|
+
Enable beacon probing on the ports this policy applies to.
|
|
632
546
|
"""
|
|
633
547
|
return pulumi.get(self, "check_beacon")
|
|
634
548
|
|
|
@@ -694,8 +608,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
694
608
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
695
609
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
696
610
|
"""
|
|
697
|
-
Allow VMDirectPath Gen2
|
|
698
|
-
for which this policy applies to.
|
|
611
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
699
612
|
"""
|
|
700
613
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
701
614
|
|
|
@@ -707,8 +620,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
707
620
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
708
621
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
709
622
|
"""
|
|
710
|
-
The average bandwidth in bits
|
|
711
|
-
per second if egress traffic shaping is enabled on the port.
|
|
623
|
+
The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
712
624
|
"""
|
|
713
625
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
714
626
|
|
|
@@ -720,8 +632,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
720
632
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
721
633
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
722
634
|
"""
|
|
723
|
-
The maximum burst size allowed in
|
|
724
|
-
bytes if egress traffic shaping is enabled on the port.
|
|
635
|
+
The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
725
636
|
"""
|
|
726
637
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
727
638
|
|
|
@@ -733,8 +644,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
733
644
|
@pulumi.getter(name="egressShapingEnabled")
|
|
734
645
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
735
646
|
"""
|
|
736
|
-
|
|
737
|
-
on the port for egress traffic.
|
|
647
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
738
648
|
"""
|
|
739
649
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
740
650
|
|
|
@@ -746,8 +656,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
746
656
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
747
657
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
748
658
|
"""
|
|
749
|
-
The peak bandwidth during bursts
|
|
750
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
659
|
+
The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
751
660
|
"""
|
|
752
661
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
753
662
|
|
|
@@ -759,8 +668,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
759
668
|
@pulumi.getter
|
|
760
669
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
761
670
|
"""
|
|
762
|
-
If
|
|
763
|
-
uplinks higher in precedence when they come back up.
|
|
671
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
764
672
|
"""
|
|
765
673
|
return pulumi.get(self, "failback")
|
|
766
674
|
|
|
@@ -881,8 +789,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
881
789
|
@pulumi.getter
|
|
882
790
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
883
791
|
"""
|
|
884
|
-
|
|
885
|
-
options are:
|
|
792
|
+
A host member specification.
|
|
886
793
|
"""
|
|
887
794
|
return pulumi.get(self, "hosts")
|
|
888
795
|
|
|
@@ -894,8 +801,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
894
801
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
895
802
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
896
803
|
"""
|
|
897
|
-
Whether to ignore existing PVLAN
|
|
898
|
-
mappings not managed by this resource. Defaults to false.
|
|
804
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
899
805
|
"""
|
|
900
806
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
901
807
|
|
|
@@ -907,8 +813,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
907
813
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
908
814
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
909
815
|
"""
|
|
910
|
-
The average bandwidth in
|
|
911
|
-
bits per second if ingress traffic shaping is enabled on the port.
|
|
816
|
+
The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
912
817
|
"""
|
|
913
818
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
914
819
|
|
|
@@ -920,8 +825,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
920
825
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
921
826
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
922
827
|
"""
|
|
923
|
-
The maximum burst size allowed in
|
|
924
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
828
|
+
The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
925
829
|
"""
|
|
926
830
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
927
831
|
|
|
@@ -933,8 +837,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
933
837
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
934
838
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
935
839
|
"""
|
|
936
|
-
|
|
937
|
-
enabled on the port for ingress traffic.
|
|
840
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
938
841
|
"""
|
|
939
842
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
940
843
|
|
|
@@ -946,8 +849,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
946
849
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
947
850
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
948
851
|
"""
|
|
949
|
-
The peak bandwidth during
|
|
950
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
852
|
+
The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
951
853
|
"""
|
|
952
854
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
953
855
|
|
|
@@ -1034,8 +936,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1034
936
|
@pulumi.getter(name="lacpEnabled")
|
|
1035
937
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1036
938
|
"""
|
|
1037
|
-
|
|
1038
|
-
applies to.
|
|
939
|
+
Whether or not to enable LACP on all uplink ports.
|
|
1039
940
|
"""
|
|
1040
941
|
return pulumi.get(self, "lacp_enabled")
|
|
1041
942
|
|
|
@@ -1047,7 +948,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1047
948
|
@pulumi.getter(name="lacpMode")
|
|
1048
949
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1049
950
|
"""
|
|
1050
|
-
The LACP mode. Can be one of
|
|
951
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
1051
952
|
"""
|
|
1052
953
|
return pulumi.get(self, "lacp_mode")
|
|
1053
954
|
|
|
@@ -1170,9 +1071,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1170
1071
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
1171
1072
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1172
1073
|
"""
|
|
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`.
|
|
1074
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
1176
1075
|
"""
|
|
1177
1076
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
1178
1077
|
|
|
@@ -1184,9 +1083,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1184
1083
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
1185
1084
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
1186
1085
|
"""
|
|
1187
|
-
IP address for the
|
|
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.
|
|
1086
|
+
IP address for the netflow collector, using IPv4 or IPv6.
|
|
1190
1087
|
"""
|
|
1191
1088
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
1192
1089
|
|
|
@@ -1198,8 +1095,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1198
1095
|
@pulumi.getter(name="netflowCollectorPort")
|
|
1199
1096
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
1200
1097
|
"""
|
|
1201
|
-
|
|
1202
|
-
must be set before Netflow can be enabled.
|
|
1098
|
+
The port for the netflow collector.
|
|
1203
1099
|
"""
|
|
1204
1100
|
return pulumi.get(self, "netflow_collector_port")
|
|
1205
1101
|
|
|
@@ -1211,8 +1107,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1211
1107
|
@pulumi.getter(name="netflowEnabled")
|
|
1212
1108
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1213
1109
|
"""
|
|
1214
|
-
|
|
1215
|
-
applies to.
|
|
1110
|
+
Indicates whether to enable netflow on all ports.
|
|
1216
1111
|
"""
|
|
1217
1112
|
return pulumi.get(self, "netflow_enabled")
|
|
1218
1113
|
|
|
@@ -1224,9 +1119,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1224
1119
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
1225
1120
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1226
1121
|
"""
|
|
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`.
|
|
1122
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
1230
1123
|
"""
|
|
1231
1124
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
1232
1125
|
|
|
@@ -1238,9 +1131,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1238
1131
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
1239
1132
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
1240
1133
|
"""
|
|
1241
|
-
Whether to limit analysis to
|
|
1242
|
-
traffic that has both source and destination served by the same host.
|
|
1243
|
-
Default: `false`.
|
|
1134
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
1244
1135
|
"""
|
|
1245
1136
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
1246
1137
|
|
|
@@ -1252,8 +1143,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1252
1143
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
1253
1144
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
1254
1145
|
"""
|
|
1255
|
-
The observation
|
|
1256
|
-
the Netflow collector.
|
|
1146
|
+
The observation Domain ID for the netflow collector.
|
|
1257
1147
|
"""
|
|
1258
1148
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
1259
1149
|
|
|
@@ -1265,11 +1155,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1265
1155
|
@pulumi.getter(name="netflowSamplingRate")
|
|
1266
1156
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
1267
1157
|
"""
|
|
1268
|
-
The ratio of total number of packets to
|
|
1269
|
-
|
|
1270
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
1271
|
-
indicates an analysis rate of 0.001%!
|
|
1272
|
-
(MISSING)
|
|
1158
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
1159
|
+
packets are analyzed.
|
|
1273
1160
|
"""
|
|
1274
1161
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
1275
1162
|
|
|
@@ -1281,8 +1168,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1281
1168
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
1282
1169
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1283
1170
|
"""
|
|
1284
|
-
|
|
1285
|
-
network I/O control. Default: `false`.
|
|
1171
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
1286
1172
|
"""
|
|
1287
1173
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
1288
1174
|
|
|
@@ -1294,8 +1180,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1294
1180
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
1295
1181
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
1296
1182
|
"""
|
|
1297
|
-
The version of
|
|
1298
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
1183
|
+
The network I/O control version to use. Can be one of version2 or version3.
|
|
1299
1184
|
"""
|
|
1300
1185
|
return pulumi.get(self, "network_resource_control_version")
|
|
1301
1186
|
|
|
@@ -1355,8 +1240,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1355
1240
|
@pulumi.getter(name="notifySwitches")
|
|
1356
1241
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
1357
1242
|
"""
|
|
1358
|
-
If
|
|
1359
|
-
broadcast network of an uplink failover, triggering cache updates.
|
|
1243
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1360
1244
|
"""
|
|
1361
1245
|
return pulumi.get(self, "notify_switches")
|
|
1362
1246
|
|
|
@@ -1368,8 +1252,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1368
1252
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
1369
1253
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
1370
1254
|
"""
|
|
1371
|
-
|
|
1372
|
-
ID when using private VLANs.
|
|
1255
|
+
The secondary VLAN ID for this port.
|
|
1373
1256
|
"""
|
|
1374
1257
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
1375
1258
|
|
|
@@ -1381,8 +1264,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1381
1264
|
@pulumi.getter(name="pvlanMappings")
|
|
1382
1265
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
1383
1266
|
"""
|
|
1384
|
-
|
|
1385
|
-
private VLAN mapping. The options are:
|
|
1267
|
+
A private VLAN (PVLAN) mapping.
|
|
1386
1268
|
"""
|
|
1387
1269
|
return pulumi.get(self, "pvlan_mappings")
|
|
1388
1270
|
|
|
@@ -1394,10 +1276,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1394
1276
|
@pulumi.getter(name="standbyUplinks")
|
|
1395
1277
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1396
1278
|
"""
|
|
1397
|
-
|
|
1398
|
-
failover. These uplinks need to match the definitions in the
|
|
1399
|
-
`uplinks` VDS argument. See
|
|
1400
|
-
here for more details.
|
|
1279
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1401
1280
|
"""
|
|
1402
1281
|
return pulumi.get(self, "standby_uplinks")
|
|
1403
1282
|
|
|
@@ -1410,8 +1289,6 @@ class DistributedVirtualSwitchArgs:
|
|
|
1410
1289
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1411
1290
|
"""
|
|
1412
1291
|
The IDs of any tags to attach to this resource.
|
|
1413
|
-
|
|
1414
|
-
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
1415
1292
|
"""
|
|
1416
1293
|
return pulumi.get(self, "tags")
|
|
1417
1294
|
|
|
@@ -1423,9 +1300,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1423
1300
|
@pulumi.getter(name="teamingPolicy")
|
|
1424
1301
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1425
1302
|
"""
|
|
1426
|
-
The
|
|
1427
|
-
|
|
1428
|
-
`failover_explicit`, or `loadbalance_loadbased`.
|
|
1303
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1304
|
+
failover_explicit, or loadbalance_loadbased.
|
|
1429
1305
|
"""
|
|
1430
1306
|
return pulumi.get(self, "teaming_policy")
|
|
1431
1307
|
|
|
@@ -1437,8 +1313,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1437
1313
|
@pulumi.getter(name="txUplink")
|
|
1438
1314
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
1439
1315
|
"""
|
|
1440
|
-
|
|
1441
|
-
|
|
1316
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
1317
|
+
forwarded done by the switch.
|
|
1442
1318
|
"""
|
|
1443
1319
|
return pulumi.get(self, "tx_uplink")
|
|
1444
1320
|
|
|
@@ -1450,11 +1326,8 @@ class DistributedVirtualSwitchArgs:
|
|
|
1450
1326
|
@pulumi.getter
|
|
1451
1327
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1452
1328
|
"""
|
|
1453
|
-
A list of
|
|
1454
|
-
|
|
1455
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
1456
|
-
names. See here for an example on how to
|
|
1457
|
-
use this option.
|
|
1329
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
1330
|
+
across hosts.
|
|
1458
1331
|
"""
|
|
1459
1332
|
return pulumi.get(self, "uplinks")
|
|
1460
1333
|
|
|
@@ -1588,28 +1461,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1588
1461
|
@pulumi.getter(name="vlanRanges")
|
|
1589
1462
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
1590
1463
|
"""
|
|
1591
|
-
|
|
1592
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
1593
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
1594
|
-
below:
|
|
1595
|
-
|
|
1596
|
-
<!--Start PulumiCodeChooser -->
|
|
1597
|
-
```python
|
|
1598
|
-
import pulumi
|
|
1599
|
-
import pulumi_vsphere as vsphere
|
|
1600
|
-
|
|
1601
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
1602
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1603
|
-
max_vlan=199,
|
|
1604
|
-
min_vlan=100,
|
|
1605
|
-
),
|
|
1606
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1607
|
-
max_vlan=399,
|
|
1608
|
-
min_vlan=300,
|
|
1609
|
-
),
|
|
1610
|
-
])
|
|
1611
|
-
```
|
|
1612
|
-
<!--End PulumiCodeChooser -->
|
|
1464
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1613
1465
|
"""
|
|
1614
1466
|
return pulumi.get(self, "vlan_ranges")
|
|
1615
1467
|
|
|
@@ -1814,29 +1666,17 @@ class _DistributedVirtualSwitchState:
|
|
|
1814
1666
|
vsan_share_level: Optional[pulumi.Input[str]] = None):
|
|
1815
1667
|
"""
|
|
1816
1668
|
Input properties used for looking up and filtering DistributedVirtualSwitch resources.
|
|
1817
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
:param pulumi.Input[bool]
|
|
1822
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
1823
|
-
address than that of its own.
|
|
1824
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
1825
|
-
Control (MAC) address can be changed.
|
|
1826
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
1827
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
1669
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1670
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
1671
|
+
that of its own.
|
|
1672
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1673
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1828
1674
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
1829
1675
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
1830
1676
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
1831
1677
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
1832
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
1833
|
-
|
|
1834
|
-
virtual devices.
|
|
1835
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
1836
|
-
to detect NIC failure.
|
|
1837
|
-
|
|
1838
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
1839
|
-
probing.
|
|
1678
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
1679
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
1840
1680
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
1841
1681
|
by subsequent updates to the VDS.
|
|
1842
1682
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -1851,18 +1691,12 @@ class _DistributedVirtualSwitchState:
|
|
|
1851
1691
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
1852
1692
|
created. Forces a new resource if changed.
|
|
1853
1693
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
1854
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
1855
|
-
|
|
1856
|
-
:param pulumi.Input[int]
|
|
1857
|
-
|
|
1858
|
-
:param pulumi.Input[int]
|
|
1859
|
-
|
|
1860
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
1861
|
-
on the port for egress traffic.
|
|
1862
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
1863
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
1864
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
1865
|
-
uplinks higher in precedence when they come back up.
|
|
1694
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
1695
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
1696
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
1697
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
1698
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
1699
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1866
1700
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
1867
1701
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
1868
1702
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -1873,18 +1707,12 @@ class _DistributedVirtualSwitchState:
|
|
|
1873
1707
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
1874
1708
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
1875
1709
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
1876
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts:
|
|
1877
|
-
|
|
1878
|
-
:param pulumi.Input[
|
|
1879
|
-
|
|
1880
|
-
:param pulumi.Input[
|
|
1881
|
-
|
|
1882
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
1883
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
1884
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
1885
|
-
enabled on the port for ingress traffic.
|
|
1886
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
1887
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
1710
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: A host member specification.
|
|
1711
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
1712
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
1713
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
1714
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
1715
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
1888
1716
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
1889
1717
|
mostly useful when used with the Netflow arguments.
|
|
1890
1718
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -1894,9 +1722,8 @@ class _DistributedVirtualSwitchState:
|
|
|
1894
1722
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
1895
1723
|
version to use with the VDS. Possible values are `singleLag` and
|
|
1896
1724
|
`multipleLag`.
|
|
1897
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
1898
|
-
|
|
1899
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
1725
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
1726
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
1900
1727
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
1901
1728
|
for link discovery traffic.
|
|
1902
1729
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -1909,60 +1736,32 @@ class _DistributedVirtualSwitchState:
|
|
|
1909
1736
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
1910
1737
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
1911
1738
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
1912
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
:param pulumi.Input[
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
:param pulumi.Input[int]
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
:param pulumi.Input[
|
|
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`.
|
|
1739
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
1740
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6.
|
|
1741
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
1742
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
1743
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
1744
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
1745
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
1746
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
1747
|
+
packets are analyzed.
|
|
1748
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
1749
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
1939
1750
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
1940
1751
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
1941
1752
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
1942
1753
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
1943
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
1944
|
-
|
|
1945
|
-
:param pulumi.Input[
|
|
1946
|
-
|
|
1947
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
1948
|
-
private VLAN mapping. The options are:
|
|
1949
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
1950
|
-
failover. These uplinks need to match the definitions in the
|
|
1951
|
-
`uplinks` VDS argument. See
|
|
1952
|
-
here for more details.
|
|
1754
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1755
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
1756
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
1757
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1953
1758
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
:param pulumi.Input[
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
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.
|
|
1759
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1760
|
+
failover_explicit, or loadbalance_loadbased.
|
|
1761
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
1762
|
+
forwarded done by the switch.
|
|
1763
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
1764
|
+
across hosts.
|
|
1966
1765
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
1967
1766
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
1968
1767
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -1975,28 +1774,7 @@ class _DistributedVirtualSwitchState:
|
|
|
1975
1774
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
1976
1775
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
1977
1776
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1978
|
-
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges:
|
|
1979
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
1980
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
1981
|
-
below:
|
|
1982
|
-
|
|
1983
|
-
<!--Start PulumiCodeChooser -->
|
|
1984
|
-
```python
|
|
1985
|
-
import pulumi
|
|
1986
|
-
import pulumi_vsphere as vsphere
|
|
1987
|
-
|
|
1988
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
1989
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1990
|
-
max_vlan=199,
|
|
1991
|
-
min_vlan=100,
|
|
1992
|
-
),
|
|
1993
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
1994
|
-
max_vlan=399,
|
|
1995
|
-
min_vlan=300,
|
|
1996
|
-
),
|
|
1997
|
-
])
|
|
1998
|
-
```
|
|
1999
|
-
<!--End PulumiCodeChooser -->
|
|
1777
|
+
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
2000
1778
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
2001
1779
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
2002
1780
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -2201,10 +1979,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2201
1979
|
@pulumi.getter(name="activeUplinks")
|
|
2202
1980
|
def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2203
1981
|
"""
|
|
2204
|
-
|
|
2205
|
-
balancing. These uplinks need to match the definitions in the
|
|
2206
|
-
`uplinks` VDS argument. See
|
|
2207
|
-
here for more details.
|
|
1982
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
2208
1983
|
"""
|
|
2209
1984
|
return pulumi.get(self, "active_uplinks")
|
|
2210
1985
|
|
|
@@ -2216,9 +1991,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2216
1991
|
@pulumi.getter(name="allowForgedTransmits")
|
|
2217
1992
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
2218
1993
|
"""
|
|
2219
|
-
Controls whether or not a
|
|
2220
|
-
|
|
2221
|
-
address than that of its own.
|
|
1994
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
1995
|
+
that of its own.
|
|
2222
1996
|
"""
|
|
2223
1997
|
return pulumi.get(self, "allow_forged_transmits")
|
|
2224
1998
|
|
|
@@ -2230,8 +2004,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2230
2004
|
@pulumi.getter(name="allowMacChanges")
|
|
2231
2005
|
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
2232
2006
|
"""
|
|
2233
|
-
Controls whether or not the Media Access
|
|
2234
|
-
Control (MAC) address can be changed.
|
|
2007
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
2235
2008
|
"""
|
|
2236
2009
|
return pulumi.get(self, "allow_mac_changes")
|
|
2237
2010
|
|
|
@@ -2243,8 +2016,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2243
2016
|
@pulumi.getter(name="allowPromiscuous")
|
|
2244
2017
|
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
2245
2018
|
"""
|
|
2246
|
-
Enable promiscuous mode on the network. This
|
|
2247
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
2019
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
2248
2020
|
"""
|
|
2249
2021
|
return pulumi.get(self, "allow_promiscuous")
|
|
2250
2022
|
|
|
@@ -2304,9 +2076,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2304
2076
|
@pulumi.getter(name="blockAllPorts")
|
|
2305
2077
|
def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
|
|
2306
2078
|
"""
|
|
2307
|
-
|
|
2308
|
-
this policy applies to, effectively blocking all network access to connected
|
|
2309
|
-
virtual devices.
|
|
2079
|
+
Indicates whether to block all ports by default.
|
|
2310
2080
|
"""
|
|
2311
2081
|
return pulumi.get(self, "block_all_ports")
|
|
2312
2082
|
|
|
@@ -2318,11 +2088,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2318
2088
|
@pulumi.getter(name="checkBeacon")
|
|
2319
2089
|
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
2320
2090
|
"""
|
|
2321
|
-
|
|
2322
|
-
to detect NIC failure.
|
|
2323
|
-
|
|
2324
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
2325
|
-
probing.
|
|
2091
|
+
Enable beacon probing on the ports this policy applies to.
|
|
2326
2092
|
"""
|
|
2327
2093
|
return pulumi.get(self, "check_beacon")
|
|
2328
2094
|
|
|
@@ -2414,8 +2180,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2414
2180
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
2415
2181
|
def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
2416
2182
|
"""
|
|
2417
|
-
Allow VMDirectPath Gen2
|
|
2418
|
-
for which this policy applies to.
|
|
2183
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
2419
2184
|
"""
|
|
2420
2185
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
2421
2186
|
|
|
@@ -2427,8 +2192,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2427
2192
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
2428
2193
|
def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2429
2194
|
"""
|
|
2430
|
-
The average bandwidth in bits
|
|
2431
|
-
per second if egress traffic shaping is enabled on the port.
|
|
2195
|
+
The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
2432
2196
|
"""
|
|
2433
2197
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
2434
2198
|
|
|
@@ -2440,8 +2204,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2440
2204
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
2441
2205
|
def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2442
2206
|
"""
|
|
2443
|
-
The maximum burst size allowed in
|
|
2444
|
-
bytes if egress traffic shaping is enabled on the port.
|
|
2207
|
+
The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
2445
2208
|
"""
|
|
2446
2209
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
2447
2210
|
|
|
@@ -2453,8 +2216,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2453
2216
|
@pulumi.getter(name="egressShapingEnabled")
|
|
2454
2217
|
def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2455
2218
|
"""
|
|
2456
|
-
|
|
2457
|
-
on the port for egress traffic.
|
|
2219
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
2458
2220
|
"""
|
|
2459
2221
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
2460
2222
|
|
|
@@ -2466,8 +2228,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2466
2228
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
2467
2229
|
def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2468
2230
|
"""
|
|
2469
|
-
The peak bandwidth during bursts
|
|
2470
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
2231
|
+
The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
2471
2232
|
"""
|
|
2472
2233
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
2473
2234
|
|
|
@@ -2479,8 +2240,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2479
2240
|
@pulumi.getter
|
|
2480
2241
|
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
2481
2242
|
"""
|
|
2482
|
-
If
|
|
2483
|
-
uplinks higher in precedence when they come back up.
|
|
2243
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
2484
2244
|
"""
|
|
2485
2245
|
return pulumi.get(self, "failback")
|
|
2486
2246
|
|
|
@@ -2601,8 +2361,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2601
2361
|
@pulumi.getter
|
|
2602
2362
|
def hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]]]:
|
|
2603
2363
|
"""
|
|
2604
|
-
|
|
2605
|
-
options are:
|
|
2364
|
+
A host member specification.
|
|
2606
2365
|
"""
|
|
2607
2366
|
return pulumi.get(self, "hosts")
|
|
2608
2367
|
|
|
@@ -2614,8 +2373,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2614
2373
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
2615
2374
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
2616
2375
|
"""
|
|
2617
|
-
Whether to ignore existing PVLAN
|
|
2618
|
-
mappings not managed by this resource. Defaults to false.
|
|
2376
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
2619
2377
|
"""
|
|
2620
2378
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
2621
2379
|
|
|
@@ -2627,8 +2385,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2627
2385
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
2628
2386
|
def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2629
2387
|
"""
|
|
2630
|
-
The average bandwidth in
|
|
2631
|
-
bits per second if ingress traffic shaping is enabled on the port.
|
|
2388
|
+
The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
2632
2389
|
"""
|
|
2633
2390
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
2634
2391
|
|
|
@@ -2640,8 +2397,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2640
2397
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
2641
2398
|
def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
2642
2399
|
"""
|
|
2643
|
-
The maximum burst size allowed in
|
|
2644
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
2400
|
+
The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
2645
2401
|
"""
|
|
2646
2402
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
2647
2403
|
|
|
@@ -2653,8 +2409,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2653
2409
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
2654
2410
|
def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2655
2411
|
"""
|
|
2656
|
-
|
|
2657
|
-
enabled on the port for ingress traffic.
|
|
2412
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
2658
2413
|
"""
|
|
2659
2414
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
2660
2415
|
|
|
@@ -2666,8 +2421,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2666
2421
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
2667
2422
|
def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
2668
2423
|
"""
|
|
2669
|
-
The peak bandwidth during
|
|
2670
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
2424
|
+
The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
2671
2425
|
"""
|
|
2672
2426
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
2673
2427
|
|
|
@@ -2754,8 +2508,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2754
2508
|
@pulumi.getter(name="lacpEnabled")
|
|
2755
2509
|
def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2756
2510
|
"""
|
|
2757
|
-
|
|
2758
|
-
applies to.
|
|
2511
|
+
Whether or not to enable LACP on all uplink ports.
|
|
2759
2512
|
"""
|
|
2760
2513
|
return pulumi.get(self, "lacp_enabled")
|
|
2761
2514
|
|
|
@@ -2767,7 +2520,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2767
2520
|
@pulumi.getter(name="lacpMode")
|
|
2768
2521
|
def lacp_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2769
2522
|
"""
|
|
2770
|
-
The LACP mode. Can be one of
|
|
2523
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
2771
2524
|
"""
|
|
2772
2525
|
return pulumi.get(self, "lacp_mode")
|
|
2773
2526
|
|
|
@@ -2890,9 +2643,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2890
2643
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
2891
2644
|
def netflow_active_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2892
2645
|
"""
|
|
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`.
|
|
2646
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
2896
2647
|
"""
|
|
2897
2648
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
2898
2649
|
|
|
@@ -2904,9 +2655,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2904
2655
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
2905
2656
|
def netflow_collector_ip_address(self) -> Optional[pulumi.Input[str]]:
|
|
2906
2657
|
"""
|
|
2907
|
-
IP address for the
|
|
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.
|
|
2658
|
+
IP address for the netflow collector, using IPv4 or IPv6.
|
|
2910
2659
|
"""
|
|
2911
2660
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
2912
2661
|
|
|
@@ -2918,8 +2667,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2918
2667
|
@pulumi.getter(name="netflowCollectorPort")
|
|
2919
2668
|
def netflow_collector_port(self) -> Optional[pulumi.Input[int]]:
|
|
2920
2669
|
"""
|
|
2921
|
-
|
|
2922
|
-
must be set before Netflow can be enabled.
|
|
2670
|
+
The port for the netflow collector.
|
|
2923
2671
|
"""
|
|
2924
2672
|
return pulumi.get(self, "netflow_collector_port")
|
|
2925
2673
|
|
|
@@ -2931,8 +2679,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2931
2679
|
@pulumi.getter(name="netflowEnabled")
|
|
2932
2680
|
def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2933
2681
|
"""
|
|
2934
|
-
|
|
2935
|
-
applies to.
|
|
2682
|
+
Indicates whether to enable netflow on all ports.
|
|
2936
2683
|
"""
|
|
2937
2684
|
return pulumi.get(self, "netflow_enabled")
|
|
2938
2685
|
|
|
@@ -2944,9 +2691,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2944
2691
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
2945
2692
|
def netflow_idle_flow_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2946
2693
|
"""
|
|
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`.
|
|
2694
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
2950
2695
|
"""
|
|
2951
2696
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
2952
2697
|
|
|
@@ -2958,9 +2703,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2958
2703
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
2959
2704
|
def netflow_internal_flows_only(self) -> Optional[pulumi.Input[bool]]:
|
|
2960
2705
|
"""
|
|
2961
|
-
Whether to limit analysis to
|
|
2962
|
-
traffic that has both source and destination served by the same host.
|
|
2963
|
-
Default: `false`.
|
|
2706
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
2964
2707
|
"""
|
|
2965
2708
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
2966
2709
|
|
|
@@ -2972,8 +2715,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2972
2715
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
2973
2716
|
def netflow_observation_domain_id(self) -> Optional[pulumi.Input[int]]:
|
|
2974
2717
|
"""
|
|
2975
|
-
The observation
|
|
2976
|
-
the Netflow collector.
|
|
2718
|
+
The observation Domain ID for the netflow collector.
|
|
2977
2719
|
"""
|
|
2978
2720
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
2979
2721
|
|
|
@@ -2985,11 +2727,8 @@ class _DistributedVirtualSwitchState:
|
|
|
2985
2727
|
@pulumi.getter(name="netflowSamplingRate")
|
|
2986
2728
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[int]]:
|
|
2987
2729
|
"""
|
|
2988
|
-
The ratio of total number of packets to
|
|
2989
|
-
|
|
2990
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
2991
|
-
indicates an analysis rate of 0.001%!
|
|
2992
|
-
(MISSING)
|
|
2730
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
2731
|
+
packets are analyzed.
|
|
2993
2732
|
"""
|
|
2994
2733
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
2995
2734
|
|
|
@@ -3001,8 +2740,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3001
2740
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
3002
2741
|
def network_resource_control_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
3003
2742
|
"""
|
|
3004
|
-
|
|
3005
|
-
network I/O control. Default: `false`.
|
|
2743
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3006
2744
|
"""
|
|
3007
2745
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
3008
2746
|
|
|
@@ -3014,8 +2752,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3014
2752
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
3015
2753
|
def network_resource_control_version(self) -> Optional[pulumi.Input[str]]:
|
|
3016
2754
|
"""
|
|
3017
|
-
The version of
|
|
3018
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
2755
|
+
The network I/O control version to use. Can be one of version2 or version3.
|
|
3019
2756
|
"""
|
|
3020
2757
|
return pulumi.get(self, "network_resource_control_version")
|
|
3021
2758
|
|
|
@@ -3075,8 +2812,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3075
2812
|
@pulumi.getter(name="notifySwitches")
|
|
3076
2813
|
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
3077
2814
|
"""
|
|
3078
|
-
If
|
|
3079
|
-
broadcast network of an uplink failover, triggering cache updates.
|
|
2815
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
3080
2816
|
"""
|
|
3081
2817
|
return pulumi.get(self, "notify_switches")
|
|
3082
2818
|
|
|
@@ -3088,8 +2824,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3088
2824
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
3089
2825
|
def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
3090
2826
|
"""
|
|
3091
|
-
|
|
3092
|
-
ID when using private VLANs.
|
|
2827
|
+
The secondary VLAN ID for this port.
|
|
3093
2828
|
"""
|
|
3094
2829
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
3095
2830
|
|
|
@@ -3101,8 +2836,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3101
2836
|
@pulumi.getter(name="pvlanMappings")
|
|
3102
2837
|
def pvlan_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]]]:
|
|
3103
2838
|
"""
|
|
3104
|
-
|
|
3105
|
-
private VLAN mapping. The options are:
|
|
2839
|
+
A private VLAN (PVLAN) mapping.
|
|
3106
2840
|
"""
|
|
3107
2841
|
return pulumi.get(self, "pvlan_mappings")
|
|
3108
2842
|
|
|
@@ -3114,10 +2848,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3114
2848
|
@pulumi.getter(name="standbyUplinks")
|
|
3115
2849
|
def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3116
2850
|
"""
|
|
3117
|
-
|
|
3118
|
-
failover. These uplinks need to match the definitions in the
|
|
3119
|
-
`uplinks` VDS argument. See
|
|
3120
|
-
here for more details.
|
|
2851
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3121
2852
|
"""
|
|
3122
2853
|
return pulumi.get(self, "standby_uplinks")
|
|
3123
2854
|
|
|
@@ -3130,8 +2861,6 @@ class _DistributedVirtualSwitchState:
|
|
|
3130
2861
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3131
2862
|
"""
|
|
3132
2863
|
The IDs of any tags to attach to this resource.
|
|
3133
|
-
|
|
3134
|
-
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
3135
2864
|
"""
|
|
3136
2865
|
return pulumi.get(self, "tags")
|
|
3137
2866
|
|
|
@@ -3143,9 +2872,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3143
2872
|
@pulumi.getter(name="teamingPolicy")
|
|
3144
2873
|
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3145
2874
|
"""
|
|
3146
|
-
The
|
|
3147
|
-
|
|
3148
|
-
`failover_explicit`, or `loadbalance_loadbased`.
|
|
2875
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
2876
|
+
failover_explicit, or loadbalance_loadbased.
|
|
3149
2877
|
"""
|
|
3150
2878
|
return pulumi.get(self, "teaming_policy")
|
|
3151
2879
|
|
|
@@ -3157,8 +2885,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3157
2885
|
@pulumi.getter(name="txUplink")
|
|
3158
2886
|
def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
|
|
3159
2887
|
"""
|
|
3160
|
-
|
|
3161
|
-
|
|
2888
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
2889
|
+
forwarded done by the switch.
|
|
3162
2890
|
"""
|
|
3163
2891
|
return pulumi.get(self, "tx_uplink")
|
|
3164
2892
|
|
|
@@ -3170,11 +2898,8 @@ class _DistributedVirtualSwitchState:
|
|
|
3170
2898
|
@pulumi.getter
|
|
3171
2899
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3172
2900
|
"""
|
|
3173
|
-
A list of
|
|
3174
|
-
|
|
3175
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
3176
|
-
names. See here for an example on how to
|
|
3177
|
-
use this option.
|
|
2901
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
2902
|
+
across hosts.
|
|
3178
2903
|
"""
|
|
3179
2904
|
return pulumi.get(self, "uplinks")
|
|
3180
2905
|
|
|
@@ -3308,28 +3033,7 @@ class _DistributedVirtualSwitchState:
|
|
|
3308
3033
|
@pulumi.getter(name="vlanRanges")
|
|
3309
3034
|
def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchVlanRangeArgs']]]]:
|
|
3310
3035
|
"""
|
|
3311
|
-
|
|
3312
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
3313
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
3314
|
-
below:
|
|
3315
|
-
|
|
3316
|
-
<!--Start PulumiCodeChooser -->
|
|
3317
|
-
```python
|
|
3318
|
-
import pulumi
|
|
3319
|
-
import pulumi_vsphere as vsphere
|
|
3320
|
-
|
|
3321
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
3322
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3323
|
-
max_vlan=199,
|
|
3324
|
-
min_vlan=100,
|
|
3325
|
-
),
|
|
3326
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3327
|
-
max_vlan=399,
|
|
3328
|
-
min_vlan=300,
|
|
3329
|
-
),
|
|
3330
|
-
])
|
|
3331
|
-
```
|
|
3332
|
-
<!--End PulumiCodeChooser -->
|
|
3036
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3333
3037
|
"""
|
|
3334
3038
|
return pulumi.get(self, "vlan_ranges")
|
|
3335
3039
|
|
|
@@ -3538,29 +3242,17 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3538
3242
|
Create a DistributedVirtualSwitch resource with the given unique name, props, and options.
|
|
3539
3243
|
:param str resource_name: The name of the resource.
|
|
3540
3244
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3541
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
:param pulumi.Input[bool]
|
|
3546
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
3547
|
-
address than that of its own.
|
|
3548
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
3549
|
-
Control (MAC) address can be changed.
|
|
3550
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
3551
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
3245
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3246
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
3247
|
+
that of its own.
|
|
3248
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
3249
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
3552
3250
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
3553
3251
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
3554
3252
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
3555
3253
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
3556
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
3557
|
-
|
|
3558
|
-
virtual devices.
|
|
3559
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
3560
|
-
to detect NIC failure.
|
|
3561
|
-
|
|
3562
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
3563
|
-
probing.
|
|
3254
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
3255
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
3564
3256
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
3565
3257
|
who is responsible for the VDS.
|
|
3566
3258
|
:param pulumi.Input[str] contact_name: The name of the person who is responsible for the
|
|
@@ -3573,18 +3265,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3573
3265
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
3574
3266
|
created. Forces a new resource if changed.
|
|
3575
3267
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
3576
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
3577
|
-
|
|
3578
|
-
:param pulumi.Input[int]
|
|
3579
|
-
|
|
3580
|
-
:param pulumi.Input[int]
|
|
3581
|
-
|
|
3582
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
3583
|
-
on the port for egress traffic.
|
|
3584
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
3585
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
3586
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
3587
|
-
uplinks higher in precedence when they come back up.
|
|
3268
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
3269
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
3270
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
3271
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
3272
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
3273
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
3588
3274
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
3589
3275
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
3590
3276
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -3595,18 +3281,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3595
3281
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
3596
3282
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
3597
3283
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
3598
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
3599
|
-
|
|
3600
|
-
:param pulumi.Input[
|
|
3601
|
-
|
|
3602
|
-
:param pulumi.Input[
|
|
3603
|
-
|
|
3604
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
3605
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
3606
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
3607
|
-
enabled on the port for ingress traffic.
|
|
3608
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
3609
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
3284
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts: A host member specification.
|
|
3285
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
3286
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
3287
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
3288
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
3289
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
3610
3290
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
3611
3291
|
mostly useful when used with the Netflow arguments.
|
|
3612
3292
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -3616,9 +3296,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3616
3296
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
3617
3297
|
version to use with the VDS. Possible values are `singleLag` and
|
|
3618
3298
|
`multipleLag`.
|
|
3619
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
3620
|
-
|
|
3621
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
3299
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
3300
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
3622
3301
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
3623
3302
|
for link discovery traffic.
|
|
3624
3303
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -3631,60 +3310,32 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3631
3310
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
3632
3311
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
3633
3312
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
3634
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
:param pulumi.Input[
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
:param pulumi.Input[int]
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
:param pulumi.Input[
|
|
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`.
|
|
3313
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
3314
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6.
|
|
3315
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
3316
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
3317
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
3318
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
3319
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
3320
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
3321
|
+
packets are analyzed.
|
|
3322
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3323
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
3661
3324
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
3662
3325
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
3663
3326
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
3664
3327
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
3665
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
3666
|
-
|
|
3667
|
-
:param pulumi.Input[
|
|
3668
|
-
|
|
3669
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
3670
|
-
private VLAN mapping. The options are:
|
|
3671
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
3672
|
-
failover. These uplinks need to match the definitions in the
|
|
3673
|
-
`uplinks` VDS argument. See
|
|
3674
|
-
here for more details.
|
|
3328
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
3329
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
3330
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
3331
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3675
3332
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
:param pulumi.Input[
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
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.
|
|
3333
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
3334
|
+
failover_explicit, or loadbalance_loadbased.
|
|
3335
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
3336
|
+
forwarded done by the switch.
|
|
3337
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
3338
|
+
across hosts.
|
|
3688
3339
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
3689
3340
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
3690
3341
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -3697,28 +3348,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3697
3348
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
3698
3349
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
3699
3350
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3700
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
3701
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
3702
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
3703
|
-
below:
|
|
3704
|
-
|
|
3705
|
-
<!--Start PulumiCodeChooser -->
|
|
3706
|
-
```python
|
|
3707
|
-
import pulumi
|
|
3708
|
-
import pulumi_vsphere as vsphere
|
|
3709
|
-
|
|
3710
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
3711
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3712
|
-
max_vlan=199,
|
|
3713
|
-
min_vlan=100,
|
|
3714
|
-
),
|
|
3715
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
3716
|
-
max_vlan=399,
|
|
3717
|
-
min_vlan=300,
|
|
3718
|
-
),
|
|
3719
|
-
])
|
|
3720
|
-
```
|
|
3721
|
-
<!--End PulumiCodeChooser -->
|
|
3351
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
3722
3352
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
3723
3353
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
3724
3354
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -4063,29 +3693,17 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4063
3693
|
:param str resource_name: The unique name of the resulting resource.
|
|
4064
3694
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
4065
3695
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
4066
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks:
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
:param pulumi.Input[bool]
|
|
4071
|
-
network adapter is allowed to send network traffic with a different MAC
|
|
4072
|
-
address than that of its own.
|
|
4073
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access
|
|
4074
|
-
Control (MAC) address can be changed.
|
|
4075
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This
|
|
4076
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
3696
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3697
|
+
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
3698
|
+
that of its own.
|
|
3699
|
+
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
3700
|
+
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
4077
3701
|
:param pulumi.Input[int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
4078
3702
|
:param pulumi.Input[int] backupnfc_reservation_mbit: The amount of guaranteed bandwidth for the backupNfc traffic class, in Mbits/sec.
|
|
4079
3703
|
:param pulumi.Input[int] backupnfc_share_count: The amount of shares to allocate to the backupNfc traffic class for a custom share level.
|
|
4080
3704
|
:param pulumi.Input[str] backupnfc_share_level: The allocation level for the backupNfc traffic class. Can be one of high, low, normal, or custom.
|
|
4081
|
-
:param pulumi.Input[bool] block_all_ports:
|
|
4082
|
-
|
|
4083
|
-
virtual devices.
|
|
4084
|
-
:param pulumi.Input[bool] check_beacon: Enables beacon probing as an additional measure
|
|
4085
|
-
to detect NIC failure.
|
|
4086
|
-
|
|
4087
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
4088
|
-
probing.
|
|
3705
|
+
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
3706
|
+
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
4089
3707
|
:param pulumi.Input[str] config_version: The current version of the VDS configuration, incremented
|
|
4090
3708
|
by subsequent updates to the VDS.
|
|
4091
3709
|
:param pulumi.Input[str] contact_detail: The detailed contact information for the person
|
|
@@ -4100,18 +3718,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4100
3718
|
:param pulumi.Input[str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
4101
3719
|
created. Forces a new resource if changed.
|
|
4102
3720
|
:param pulumi.Input[str] description: A detailed description for the VDS.
|
|
4103
|
-
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2
|
|
4104
|
-
|
|
4105
|
-
:param pulumi.Input[int]
|
|
4106
|
-
|
|
4107
|
-
:param pulumi.Input[int]
|
|
4108
|
-
|
|
4109
|
-
:param pulumi.Input[bool] egress_shaping_enabled: `true` if the traffic shaper is enabled
|
|
4110
|
-
on the port for egress traffic.
|
|
4111
|
-
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak bandwidth during bursts
|
|
4112
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
4113
|
-
:param pulumi.Input[bool] failback: If `true`, the teaming policy will re-activate failed
|
|
4114
|
-
uplinks higher in precedence when they come back up.
|
|
3721
|
+
:param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
3722
|
+
:param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
3723
|
+
:param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
3724
|
+
:param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
|
|
3725
|
+
:param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
3726
|
+
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
4115
3727
|
:param pulumi.Input[int] faulttolerance_maximum_mbit: The maximum allowed usage for the faultTolerance traffic class, in Mbits/sec.
|
|
4116
3728
|
:param pulumi.Input[int] faulttolerance_reservation_mbit: The amount of guaranteed bandwidth for the faultTolerance traffic class, in Mbits/sec.
|
|
4117
3729
|
:param pulumi.Input[int] faulttolerance_share_count: The amount of shares to allocate to the faultTolerance traffic class for a custom share level.
|
|
@@ -4122,18 +3734,12 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4122
3734
|
:param pulumi.Input[int] hbr_reservation_mbit: The amount of guaranteed bandwidth for the hbr traffic class, in Mbits/sec.
|
|
4123
3735
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
4124
3736
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
4125
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts:
|
|
4126
|
-
|
|
4127
|
-
:param pulumi.Input[
|
|
4128
|
-
|
|
4129
|
-
:param pulumi.Input[
|
|
4130
|
-
|
|
4131
|
-
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum burst size allowed in
|
|
4132
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
4133
|
-
:param pulumi.Input[bool] ingress_shaping_enabled: `true` if the traffic shaper is
|
|
4134
|
-
enabled on the port for ingress traffic.
|
|
4135
|
-
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak bandwidth during
|
|
4136
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
3737
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchHostArgs']]]] hosts: A host member specification.
|
|
3738
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
3739
|
+
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
3740
|
+
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
3741
|
+
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
3742
|
+
:param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
4137
3743
|
:param pulumi.Input[str] ipv4_address: An IPv4 address to identify the switch. This is
|
|
4138
3744
|
mostly useful when used with the Netflow arguments.
|
|
4139
3745
|
:param pulumi.Input[int] iscsi_maximum_mbit: The maximum allowed usage for the iSCSI traffic class, in Mbits/sec.
|
|
@@ -4143,9 +3749,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4143
3749
|
:param pulumi.Input[str] lacp_api_version: The Link Aggregation Control Protocol group
|
|
4144
3750
|
version to use with the VDS. Possible values are `singleLag` and
|
|
4145
3751
|
`multipleLag`.
|
|
4146
|
-
:param pulumi.Input[bool] lacp_enabled:
|
|
4147
|
-
|
|
4148
|
-
:param pulumi.Input[str] lacp_mode: The LACP mode. Can be one of `active` or `passive`.
|
|
3752
|
+
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
3753
|
+
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
4149
3754
|
:param pulumi.Input[str] link_discovery_operation: Whether to `advertise` or `listen`
|
|
4150
3755
|
for link discovery traffic.
|
|
4151
3756
|
:param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid
|
|
@@ -4158,60 +3763,32 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4158
3763
|
:param pulumi.Input[str] multicast_filtering_mode: The multicast filtering mode to use
|
|
4159
3764
|
with the VDS. Can be one of `legacyFiltering` or `snooping`.
|
|
4160
3765
|
:param pulumi.Input[str] name: The name of the VDS.
|
|
4161
|
-
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
:param pulumi.Input[
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
:param pulumi.Input[int]
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
:param pulumi.Input[
|
|
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`.
|
|
3766
|
+
:param pulumi.Input[int] netflow_active_flow_timeout: The number of seconds after which active flows are forced to be exported to the collector.
|
|
3767
|
+
:param pulumi.Input[str] netflow_collector_ip_address: IP address for the netflow collector, using IPv4 or IPv6.
|
|
3768
|
+
:param pulumi.Input[int] netflow_collector_port: The port for the netflow collector.
|
|
3769
|
+
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
3770
|
+
:param pulumi.Input[int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
3771
|
+
:param pulumi.Input[bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
3772
|
+
:param pulumi.Input[int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
3773
|
+
:param pulumi.Input[int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
3774
|
+
packets are analyzed.
|
|
3775
|
+
:param pulumi.Input[bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3776
|
+
:param pulumi.Input[str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
4188
3777
|
:param pulumi.Input[int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
4189
3778
|
:param pulumi.Input[int] nfs_reservation_mbit: The amount of guaranteed bandwidth for the nfs traffic class, in Mbits/sec.
|
|
4190
3779
|
:param pulumi.Input[int] nfs_share_count: The amount of shares to allocate to the nfs traffic class for a custom share level.
|
|
4191
3780
|
:param pulumi.Input[str] nfs_share_level: The allocation level for the nfs traffic class. Can be one of high, low, normal, or custom.
|
|
4192
|
-
:param pulumi.Input[bool] notify_switches: If
|
|
4193
|
-
|
|
4194
|
-
:param pulumi.Input[
|
|
4195
|
-
|
|
4196
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: Use the `pvlan_mapping` block to declare a
|
|
4197
|
-
private VLAN mapping. The options are:
|
|
4198
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: A list of standby uplinks to be used in
|
|
4199
|
-
failover. These uplinks need to match the definitions in the
|
|
4200
|
-
`uplinks` VDS argument. See
|
|
4201
|
-
here for more details.
|
|
3781
|
+
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
3782
|
+
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
3783
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchPvlanMappingArgs']]]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
3784
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4202
3785
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
:param pulumi.Input[
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
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.
|
|
3786
|
+
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
3787
|
+
failover_explicit, or loadbalance_loadbased.
|
|
3788
|
+
:param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
3789
|
+
forwarded done by the switch.
|
|
3790
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
3791
|
+
across hosts.
|
|
4215
3792
|
:param pulumi.Input[int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
4216
3793
|
:param pulumi.Input[int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
4217
3794
|
:param pulumi.Input[int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -4224,28 +3801,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4224
3801
|
:param pulumi.Input[int] virtualmachine_share_count: The amount of shares to allocate to the virtualMachine traffic class for a custom share level.
|
|
4225
3802
|
:param pulumi.Input[str] virtualmachine_share_level: The allocation level for the virtualMachine traffic class. Can be one of high, low, normal, or custom.
|
|
4226
3803
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
4227
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges:
|
|
4228
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
4229
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
4230
|
-
below:
|
|
4231
|
-
|
|
4232
|
-
<!--Start PulumiCodeChooser -->
|
|
4233
|
-
```python
|
|
4234
|
-
import pulumi
|
|
4235
|
-
import pulumi_vsphere as vsphere
|
|
4236
|
-
|
|
4237
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
4238
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
4239
|
-
max_vlan=199,
|
|
4240
|
-
min_vlan=100,
|
|
4241
|
-
),
|
|
4242
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
4243
|
-
max_vlan=399,
|
|
4244
|
-
min_vlan=300,
|
|
4245
|
-
),
|
|
4246
|
-
])
|
|
4247
|
-
```
|
|
4248
|
-
<!--End PulumiCodeChooser -->
|
|
3804
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedVirtualSwitchVlanRangeArgs']]]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
4249
3805
|
:param pulumi.Input[int] vmotion_maximum_mbit: The maximum allowed usage for the vmotion traffic class, in Mbits/sec.
|
|
4250
3806
|
:param pulumi.Input[int] vmotion_reservation_mbit: The amount of guaranteed bandwidth for the vmotion traffic class, in Mbits/sec.
|
|
4251
3807
|
:param pulumi.Input[int] vmotion_share_count: The amount of shares to allocate to the vmotion traffic class for a custom share level.
|
|
@@ -4360,10 +3916,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4360
3916
|
@pulumi.getter(name="activeUplinks")
|
|
4361
3917
|
def active_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4362
3918
|
"""
|
|
4363
|
-
|
|
4364
|
-
balancing. These uplinks need to match the definitions in the
|
|
4365
|
-
`uplinks` VDS argument. See
|
|
4366
|
-
here for more details.
|
|
3919
|
+
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4367
3920
|
"""
|
|
4368
3921
|
return pulumi.get(self, "active_uplinks")
|
|
4369
3922
|
|
|
@@ -4371,9 +3924,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4371
3924
|
@pulumi.getter(name="allowForgedTransmits")
|
|
4372
3925
|
def allow_forged_transmits(self) -> pulumi.Output[bool]:
|
|
4373
3926
|
"""
|
|
4374
|
-
Controls whether or not a
|
|
4375
|
-
|
|
4376
|
-
address than that of its own.
|
|
3927
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
3928
|
+
that of its own.
|
|
4377
3929
|
"""
|
|
4378
3930
|
return pulumi.get(self, "allow_forged_transmits")
|
|
4379
3931
|
|
|
@@ -4381,8 +3933,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4381
3933
|
@pulumi.getter(name="allowMacChanges")
|
|
4382
3934
|
def allow_mac_changes(self) -> pulumi.Output[bool]:
|
|
4383
3935
|
"""
|
|
4384
|
-
Controls whether or not the Media Access
|
|
4385
|
-
Control (MAC) address can be changed.
|
|
3936
|
+
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
4386
3937
|
"""
|
|
4387
3938
|
return pulumi.get(self, "allow_mac_changes")
|
|
4388
3939
|
|
|
@@ -4390,8 +3941,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4390
3941
|
@pulumi.getter(name="allowPromiscuous")
|
|
4391
3942
|
def allow_promiscuous(self) -> pulumi.Output[bool]:
|
|
4392
3943
|
"""
|
|
4393
|
-
Enable promiscuous mode on the network. This
|
|
4394
|
-
flag indicates whether or not all traffic is seen on a given port.
|
|
3944
|
+
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
4395
3945
|
"""
|
|
4396
3946
|
return pulumi.get(self, "allow_promiscuous")
|
|
4397
3947
|
|
|
@@ -4431,9 +3981,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4431
3981
|
@pulumi.getter(name="blockAllPorts")
|
|
4432
3982
|
def block_all_ports(self) -> pulumi.Output[bool]:
|
|
4433
3983
|
"""
|
|
4434
|
-
|
|
4435
|
-
this policy applies to, effectively blocking all network access to connected
|
|
4436
|
-
virtual devices.
|
|
3984
|
+
Indicates whether to block all ports by default.
|
|
4437
3985
|
"""
|
|
4438
3986
|
return pulumi.get(self, "block_all_ports")
|
|
4439
3987
|
|
|
@@ -4441,11 +3989,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4441
3989
|
@pulumi.getter(name="checkBeacon")
|
|
4442
3990
|
def check_beacon(self) -> pulumi.Output[bool]:
|
|
4443
3991
|
"""
|
|
4444
|
-
|
|
4445
|
-
to detect NIC failure.
|
|
4446
|
-
|
|
4447
|
-
> **NOTE:** VMware recommends using a minimum of 3 NICs when using beacon
|
|
4448
|
-
probing.
|
|
3992
|
+
Enable beacon probing on the ports this policy applies to.
|
|
4449
3993
|
"""
|
|
4450
3994
|
return pulumi.get(self, "check_beacon")
|
|
4451
3995
|
|
|
@@ -4509,8 +4053,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4509
4053
|
@pulumi.getter(name="directpathGen2Allowed")
|
|
4510
4054
|
def directpath_gen2_allowed(self) -> pulumi.Output[bool]:
|
|
4511
4055
|
"""
|
|
4512
|
-
Allow VMDirectPath Gen2
|
|
4513
|
-
for which this policy applies to.
|
|
4056
|
+
Allow VMDirectPath Gen2 on the ports this policy applies to.
|
|
4514
4057
|
"""
|
|
4515
4058
|
return pulumi.get(self, "directpath_gen2_allowed")
|
|
4516
4059
|
|
|
@@ -4518,8 +4061,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4518
4061
|
@pulumi.getter(name="egressShapingAverageBandwidth")
|
|
4519
4062
|
def egress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4520
4063
|
"""
|
|
4521
|
-
The average bandwidth in bits
|
|
4522
|
-
per second if egress traffic shaping is enabled on the port.
|
|
4064
|
+
The average egress bandwidth in bits per second if egress shaping is enabled on the port.
|
|
4523
4065
|
"""
|
|
4524
4066
|
return pulumi.get(self, "egress_shaping_average_bandwidth")
|
|
4525
4067
|
|
|
@@ -4527,8 +4069,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4527
4069
|
@pulumi.getter(name="egressShapingBurstSize")
|
|
4528
4070
|
def egress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4529
4071
|
"""
|
|
4530
|
-
The maximum burst size allowed in
|
|
4531
|
-
bytes if egress traffic shaping is enabled on the port.
|
|
4072
|
+
The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
|
|
4532
4073
|
"""
|
|
4533
4074
|
return pulumi.get(self, "egress_shaping_burst_size")
|
|
4534
4075
|
|
|
@@ -4536,8 +4077,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4536
4077
|
@pulumi.getter(name="egressShapingEnabled")
|
|
4537
4078
|
def egress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4538
4079
|
"""
|
|
4539
|
-
|
|
4540
|
-
on the port for egress traffic.
|
|
4080
|
+
True if the traffic shaper is enabled for egress traffic on the port.
|
|
4541
4081
|
"""
|
|
4542
4082
|
return pulumi.get(self, "egress_shaping_enabled")
|
|
4543
4083
|
|
|
@@ -4545,8 +4085,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4545
4085
|
@pulumi.getter(name="egressShapingPeakBandwidth")
|
|
4546
4086
|
def egress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4547
4087
|
"""
|
|
4548
|
-
The peak bandwidth during bursts
|
|
4549
|
-
in bits per second if egress traffic shaping is enabled on the port.
|
|
4088
|
+
The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
|
|
4550
4089
|
"""
|
|
4551
4090
|
return pulumi.get(self, "egress_shaping_peak_bandwidth")
|
|
4552
4091
|
|
|
@@ -4554,8 +4093,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4554
4093
|
@pulumi.getter
|
|
4555
4094
|
def failback(self) -> pulumi.Output[bool]:
|
|
4556
4095
|
"""
|
|
4557
|
-
If
|
|
4558
|
-
uplinks higher in precedence when they come back up.
|
|
4096
|
+
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
4559
4097
|
"""
|
|
4560
4098
|
return pulumi.get(self, "failback")
|
|
4561
4099
|
|
|
@@ -4636,8 +4174,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4636
4174
|
@pulumi.getter
|
|
4637
4175
|
def hosts(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchHost']]]:
|
|
4638
4176
|
"""
|
|
4639
|
-
|
|
4640
|
-
options are:
|
|
4177
|
+
A host member specification.
|
|
4641
4178
|
"""
|
|
4642
4179
|
return pulumi.get(self, "hosts")
|
|
4643
4180
|
|
|
@@ -4645,8 +4182,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4645
4182
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
4646
4183
|
def ignore_other_pvlan_mappings(self) -> pulumi.Output[Optional[bool]]:
|
|
4647
4184
|
"""
|
|
4648
|
-
Whether to ignore existing PVLAN
|
|
4649
|
-
mappings not managed by this resource. Defaults to false.
|
|
4185
|
+
Whether to ignore existing PVLAN mappings not managed by this resource. Defaults to false.
|
|
4650
4186
|
"""
|
|
4651
4187
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
4652
4188
|
|
|
@@ -4654,8 +4190,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4654
4190
|
@pulumi.getter(name="ingressShapingAverageBandwidth")
|
|
4655
4191
|
def ingress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
|
|
4656
4192
|
"""
|
|
4657
|
-
The average bandwidth in
|
|
4658
|
-
bits per second if ingress traffic shaping is enabled on the port.
|
|
4193
|
+
The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
4659
4194
|
"""
|
|
4660
4195
|
return pulumi.get(self, "ingress_shaping_average_bandwidth")
|
|
4661
4196
|
|
|
@@ -4663,8 +4198,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4663
4198
|
@pulumi.getter(name="ingressShapingBurstSize")
|
|
4664
4199
|
def ingress_shaping_burst_size(self) -> pulumi.Output[int]:
|
|
4665
4200
|
"""
|
|
4666
|
-
The maximum burst size allowed in
|
|
4667
|
-
bytes if ingress traffic shaping is enabled on the port.
|
|
4201
|
+
The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
4668
4202
|
"""
|
|
4669
4203
|
return pulumi.get(self, "ingress_shaping_burst_size")
|
|
4670
4204
|
|
|
@@ -4672,8 +4206,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4672
4206
|
@pulumi.getter(name="ingressShapingEnabled")
|
|
4673
4207
|
def ingress_shaping_enabled(self) -> pulumi.Output[bool]:
|
|
4674
4208
|
"""
|
|
4675
|
-
|
|
4676
|
-
enabled on the port for ingress traffic.
|
|
4209
|
+
True if the traffic shaper is enabled for ingress traffic on the port.
|
|
4677
4210
|
"""
|
|
4678
4211
|
return pulumi.get(self, "ingress_shaping_enabled")
|
|
4679
4212
|
|
|
@@ -4681,8 +4214,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4681
4214
|
@pulumi.getter(name="ingressShapingPeakBandwidth")
|
|
4682
4215
|
def ingress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
|
|
4683
4216
|
"""
|
|
4684
|
-
The peak bandwidth during
|
|
4685
|
-
bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
4217
|
+
The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
|
|
4686
4218
|
"""
|
|
4687
4219
|
return pulumi.get(self, "ingress_shaping_peak_bandwidth")
|
|
4688
4220
|
|
|
@@ -4741,8 +4273,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4741
4273
|
@pulumi.getter(name="lacpEnabled")
|
|
4742
4274
|
def lacp_enabled(self) -> pulumi.Output[bool]:
|
|
4743
4275
|
"""
|
|
4744
|
-
|
|
4745
|
-
applies to.
|
|
4276
|
+
Whether or not to enable LACP on all uplink ports.
|
|
4746
4277
|
"""
|
|
4747
4278
|
return pulumi.get(self, "lacp_enabled")
|
|
4748
4279
|
|
|
@@ -4750,7 +4281,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4750
4281
|
@pulumi.getter(name="lacpMode")
|
|
4751
4282
|
def lacp_mode(self) -> pulumi.Output[str]:
|
|
4752
4283
|
"""
|
|
4753
|
-
The LACP mode. Can be one of
|
|
4284
|
+
The uplink LACP mode to use. Can be one of active or passive.
|
|
4754
4285
|
"""
|
|
4755
4286
|
return pulumi.get(self, "lacp_mode")
|
|
4756
4287
|
|
|
@@ -4833,9 +4364,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4833
4364
|
@pulumi.getter(name="netflowActiveFlowTimeout")
|
|
4834
4365
|
def netflow_active_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4835
4366
|
"""
|
|
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`.
|
|
4367
|
+
The number of seconds after which active flows are forced to be exported to the collector.
|
|
4839
4368
|
"""
|
|
4840
4369
|
return pulumi.get(self, "netflow_active_flow_timeout")
|
|
4841
4370
|
|
|
@@ -4843,9 +4372,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4843
4372
|
@pulumi.getter(name="netflowCollectorIpAddress")
|
|
4844
4373
|
def netflow_collector_ip_address(self) -> pulumi.Output[Optional[str]]:
|
|
4845
4374
|
"""
|
|
4846
|
-
IP address for the
|
|
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.
|
|
4375
|
+
IP address for the netflow collector, using IPv4 or IPv6.
|
|
4849
4376
|
"""
|
|
4850
4377
|
return pulumi.get(self, "netflow_collector_ip_address")
|
|
4851
4378
|
|
|
@@ -4853,8 +4380,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4853
4380
|
@pulumi.getter(name="netflowCollectorPort")
|
|
4854
4381
|
def netflow_collector_port(self) -> pulumi.Output[Optional[int]]:
|
|
4855
4382
|
"""
|
|
4856
|
-
|
|
4857
|
-
must be set before Netflow can be enabled.
|
|
4383
|
+
The port for the netflow collector.
|
|
4858
4384
|
"""
|
|
4859
4385
|
return pulumi.get(self, "netflow_collector_port")
|
|
4860
4386
|
|
|
@@ -4862,8 +4388,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4862
4388
|
@pulumi.getter(name="netflowEnabled")
|
|
4863
4389
|
def netflow_enabled(self) -> pulumi.Output[bool]:
|
|
4864
4390
|
"""
|
|
4865
|
-
|
|
4866
|
-
applies to.
|
|
4391
|
+
Indicates whether to enable netflow on all ports.
|
|
4867
4392
|
"""
|
|
4868
4393
|
return pulumi.get(self, "netflow_enabled")
|
|
4869
4394
|
|
|
@@ -4871,9 +4396,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4871
4396
|
@pulumi.getter(name="netflowIdleFlowTimeout")
|
|
4872
4397
|
def netflow_idle_flow_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
4873
4398
|
"""
|
|
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`.
|
|
4399
|
+
The number of seconds after which idle flows are forced to be exported to the collector.
|
|
4877
4400
|
"""
|
|
4878
4401
|
return pulumi.get(self, "netflow_idle_flow_timeout")
|
|
4879
4402
|
|
|
@@ -4881,9 +4404,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4881
4404
|
@pulumi.getter(name="netflowInternalFlowsOnly")
|
|
4882
4405
|
def netflow_internal_flows_only(self) -> pulumi.Output[Optional[bool]]:
|
|
4883
4406
|
"""
|
|
4884
|
-
Whether to limit analysis to
|
|
4885
|
-
traffic that has both source and destination served by the same host.
|
|
4886
|
-
Default: `false`.
|
|
4407
|
+
Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
4887
4408
|
"""
|
|
4888
4409
|
return pulumi.get(self, "netflow_internal_flows_only")
|
|
4889
4410
|
|
|
@@ -4891,8 +4412,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4891
4412
|
@pulumi.getter(name="netflowObservationDomainId")
|
|
4892
4413
|
def netflow_observation_domain_id(self) -> pulumi.Output[Optional[int]]:
|
|
4893
4414
|
"""
|
|
4894
|
-
The observation
|
|
4895
|
-
the Netflow collector.
|
|
4415
|
+
The observation Domain ID for the netflow collector.
|
|
4896
4416
|
"""
|
|
4897
4417
|
return pulumi.get(self, "netflow_observation_domain_id")
|
|
4898
4418
|
|
|
@@ -4900,11 +4420,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4900
4420
|
@pulumi.getter(name="netflowSamplingRate")
|
|
4901
4421
|
def netflow_sampling_rate(self) -> pulumi.Output[Optional[int]]:
|
|
4902
4422
|
"""
|
|
4903
|
-
The ratio of total number of packets to
|
|
4904
|
-
|
|
4905
|
-
VDS should analyze all packets. The maximum value is `1000`, which
|
|
4906
|
-
indicates an analysis rate of 0.001%!
|
|
4907
|
-
(MISSING)
|
|
4423
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
4424
|
+
packets are analyzed.
|
|
4908
4425
|
"""
|
|
4909
4426
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
4910
4427
|
|
|
@@ -4912,8 +4429,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4912
4429
|
@pulumi.getter(name="networkResourceControlEnabled")
|
|
4913
4430
|
def network_resource_control_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
4914
4431
|
"""
|
|
4915
|
-
|
|
4916
|
-
network I/O control. Default: `false`.
|
|
4432
|
+
Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
4917
4433
|
"""
|
|
4918
4434
|
return pulumi.get(self, "network_resource_control_enabled")
|
|
4919
4435
|
|
|
@@ -4921,8 +4437,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4921
4437
|
@pulumi.getter(name="networkResourceControlVersion")
|
|
4922
4438
|
def network_resource_control_version(self) -> pulumi.Output[str]:
|
|
4923
4439
|
"""
|
|
4924
|
-
The version of
|
|
4925
|
-
control to use. Can be one of `version2` or `version3`. Default: `version2`.
|
|
4440
|
+
The network I/O control version to use. Can be one of version2 or version3.
|
|
4926
4441
|
"""
|
|
4927
4442
|
return pulumi.get(self, "network_resource_control_version")
|
|
4928
4443
|
|
|
@@ -4962,8 +4477,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4962
4477
|
@pulumi.getter(name="notifySwitches")
|
|
4963
4478
|
def notify_switches(self) -> pulumi.Output[bool]:
|
|
4964
4479
|
"""
|
|
4965
|
-
If
|
|
4966
|
-
broadcast network of an uplink failover, triggering cache updates.
|
|
4480
|
+
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
4967
4481
|
"""
|
|
4968
4482
|
return pulumi.get(self, "notify_switches")
|
|
4969
4483
|
|
|
@@ -4971,8 +4485,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4971
4485
|
@pulumi.getter(name="portPrivateSecondaryVlanId")
|
|
4972
4486
|
def port_private_secondary_vlan_id(self) -> pulumi.Output[int]:
|
|
4973
4487
|
"""
|
|
4974
|
-
|
|
4975
|
-
ID when using private VLANs.
|
|
4488
|
+
The secondary VLAN ID for this port.
|
|
4976
4489
|
"""
|
|
4977
4490
|
return pulumi.get(self, "port_private_secondary_vlan_id")
|
|
4978
4491
|
|
|
@@ -4980,8 +4493,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4980
4493
|
@pulumi.getter(name="pvlanMappings")
|
|
4981
4494
|
def pvlan_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.DistributedVirtualSwitchPvlanMapping']]]:
|
|
4982
4495
|
"""
|
|
4983
|
-
|
|
4984
|
-
private VLAN mapping. The options are:
|
|
4496
|
+
A private VLAN (PVLAN) mapping.
|
|
4985
4497
|
"""
|
|
4986
4498
|
return pulumi.get(self, "pvlan_mappings")
|
|
4987
4499
|
|
|
@@ -4989,10 +4501,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4989
4501
|
@pulumi.getter(name="standbyUplinks")
|
|
4990
4502
|
def standby_uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
4991
4503
|
"""
|
|
4992
|
-
|
|
4993
|
-
failover. These uplinks need to match the definitions in the
|
|
4994
|
-
`uplinks` VDS argument. See
|
|
4995
|
-
here for more details.
|
|
4504
|
+
List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4996
4505
|
"""
|
|
4997
4506
|
return pulumi.get(self, "standby_uplinks")
|
|
4998
4507
|
|
|
@@ -5001,8 +4510,6 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5001
4510
|
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
5002
4511
|
"""
|
|
5003
4512
|
The IDs of any tags to attach to this resource.
|
|
5004
|
-
|
|
5005
|
-
> **NOTE:** Tagging support requires vCenter Server 6.0 or higher.
|
|
5006
4513
|
"""
|
|
5007
4514
|
return pulumi.get(self, "tags")
|
|
5008
4515
|
|
|
@@ -5010,9 +4517,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5010
4517
|
@pulumi.getter(name="teamingPolicy")
|
|
5011
4518
|
def teaming_policy(self) -> pulumi.Output[str]:
|
|
5012
4519
|
"""
|
|
5013
|
-
The
|
|
5014
|
-
|
|
5015
|
-
`failover_explicit`, or `loadbalance_loadbased`.
|
|
4520
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
4521
|
+
failover_explicit, or loadbalance_loadbased.
|
|
5016
4522
|
"""
|
|
5017
4523
|
return pulumi.get(self, "teaming_policy")
|
|
5018
4524
|
|
|
@@ -5020,8 +4526,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5020
4526
|
@pulumi.getter(name="txUplink")
|
|
5021
4527
|
def tx_uplink(self) -> pulumi.Output[bool]:
|
|
5022
4528
|
"""
|
|
5023
|
-
|
|
5024
|
-
|
|
4529
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
4530
|
+
forwarded done by the switch.
|
|
5025
4531
|
"""
|
|
5026
4532
|
return pulumi.get(self, "tx_uplink")
|
|
5027
4533
|
|
|
@@ -5029,11 +4535,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5029
4535
|
@pulumi.getter
|
|
5030
4536
|
def uplinks(self) -> pulumi.Output[Sequence[str]]:
|
|
5031
4537
|
"""
|
|
5032
|
-
A list of
|
|
5033
|
-
|
|
5034
|
-
controls the number of uplinks that exist on the VDS, in addition to the
|
|
5035
|
-
names. See here for an example on how to
|
|
5036
|
-
use this option.
|
|
4538
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
4539
|
+
across hosts.
|
|
5037
4540
|
"""
|
|
5038
4541
|
return pulumi.get(self, "uplinks")
|
|
5039
4542
|
|
|
@@ -5123,28 +4626,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
5123
4626
|
@pulumi.getter(name="vlanRanges")
|
|
5124
4627
|
def vlan_ranges(self) -> pulumi.Output[Sequence['outputs.DistributedVirtualSwitchVlanRange']]:
|
|
5125
4628
|
"""
|
|
5126
|
-
|
|
5127
|
-
and `max_vlan` sub-arguments to define the tagged VLAN range. Multiple
|
|
5128
|
-
`vlan_range` definitions are allowed, but they must not overlap. Example
|
|
5129
|
-
below:
|
|
5130
|
-
|
|
5131
|
-
<!--Start PulumiCodeChooser -->
|
|
5132
|
-
```python
|
|
5133
|
-
import pulumi
|
|
5134
|
-
import pulumi_vsphere as vsphere
|
|
5135
|
-
|
|
5136
|
-
vds = vsphere.DistributedVirtualSwitch("vds", vlan_ranges=[
|
|
5137
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
5138
|
-
max_vlan=199,
|
|
5139
|
-
min_vlan=100,
|
|
5140
|
-
),
|
|
5141
|
-
vsphere.DistributedVirtualSwitchVlanRangeArgs(
|
|
5142
|
-
max_vlan=399,
|
|
5143
|
-
min_vlan=300,
|
|
5144
|
-
),
|
|
5145
|
-
])
|
|
5146
|
-
```
|
|
5147
|
-
<!--End PulumiCodeChooser -->
|
|
4629
|
+
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
5148
4630
|
"""
|
|
5149
4631
|
return pulumi.get(self, "vlan_ranges")
|
|
5150
4632
|
|