update_virtual_interface_attributes
¶
update_virtual_interface_attributes(
virtual_interface_id: VirtualInterfaceId,
*,
config_overrides: Optional[DirectConnectClientConfig] = None,
mtu: Optional[MTU] = None,
enable_site_link: Optional[EnableSiteLink] = None,
virtual_interface_name: Optional[VirtualInterfaceName] = None,
prefix_pool_allocated_count_ipv4: Optional[PrefixPoolAllocatedCount] = None,
prefix_pool_allocated_count_ipv6: Optional[PrefixPoolAllocatedCount] = None,
rate_limit: Optional[RateLimit] = None,
) -> VirtualInterface
Updates the specified attributes of the specified virtual private interface.
Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.
Parameters:
-
virtual_interface_id(VirtualInterfaceId) –The ID of the virtual private interface.
-
mtu(Optional[MTU], default:None) –The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
-
enable_site_link(Optional[EnableSiteLink], default:None) –Indicates whether to enable or disable SiteLink.
-
virtual_interface_name(Optional[VirtualInterfaceName], default:None) –The name of the virtual private interface.
-
prefix_pool_allocated_count_ipv4(Optional[PrefixPoolAllocatedCount], default:None) –The number of inbound IPv4 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.
-
prefix_pool_allocated_count_ipv6(Optional[PrefixPoolAllocatedCount], default:None) –The number of inbound IPv6 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.
-
rate_limit(Optional[RateLimit], default:None) –The rate limit (bandwidth allocation) to apply to the virtual interface. Use this to update the bandwidth allocation on an existing virtual interface.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/direct_connect.py
4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 | |