update_component
async
¶
update_component(
resource_group_name: ResourceGroupName,
component_name: CustomComponentName,
*,
config_overrides: Optional[AsyncApplicationInsightsClientConfig] = 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/async_application_insights.py
2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 | |