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
5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 | |