update_component
¶
update_component(
resource_group_name: ResourceGroupName,
component_name: CustomComponentName,
*,
config_overrides: Optional[ApplicationInsightsClientConfig] = None,
new_component_name: Optional[CustomComponentName] = None,
resource_list: Optional[ResourceList] = None,
) -> UpdateComponentResponse
Updates the custom component name and/or the list of resources that make up the component.
Parameters:
-
resource_group_name(ResourceGroupName) –The name of the resource group.
-
component_name(CustomComponentName) –The name of the component.
-
new_component_name(Optional[CustomComponentName], default:None) –The new name of the component.
-
resource_list(Optional[ResourceList], default:None) –The list of resource ARNs that belong to the component.
Raises:
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceInUseException–The resource is already created or in use.
-
ResourceNotFoundException–The resource does not exist in the customer account.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_insights/_services/application_insights.py
2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 | |