update_performance_monitor
async
¶
update_performance_monitor(
monitor_name: ResourceName,
*,
config_overrides: Optional[AsyncNetworkFlowMonitorClientConfig] = None,
targets_to_add: Optional[PerformanceMonitorTargets] = None,
targets_to_remove: Optional[PerformanceMonitorTargets] = None,
client_token: Optional[UuidString] = None,
) -> UpdatePerformanceMonitorOutput
Update a performance monitor, to add or remove the resources that the monitor tracks network performance for.
Parameters:
-
monitor_name(ResourceName) –The name of the performance monitor.
-
targets_to_add(Optional[PerformanceMonitorTargets], default:None) –The resources to add to the performance monitor.
-
targets_to_remove(Optional[PerformanceMonitorTargets], default:None) –The resources to remove from the performance monitor.
-
client_token(Optional[UuidString], default:None) –A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. If the token matches a previous request, the service ignores the request without returning an error. Don't reuse the same client token for other API requests.
Raises:
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
ConflictException–The requested resource is in use.
-
InternalServerException–An internal error occurred.
-
ResourceNotFoundException–The request specifies a resource that doesn't exist.
-
ServiceQuotaExceededException–The request exceeded a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–Invalid request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkflowmonitor/_services/async_network_flow_monitor.py
1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 | |