update_component_configuration
(**kwargs)¶Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation
.
See also: AWS API Documentation
Request Syntax
response = client.update_component_configuration(
ResourceGroupName='string',
ComponentName='string',
Monitor=True|False,
Tier='CUSTOM'|'DEFAULT'|'DOT_NET_CORE'|'DOT_NET_WORKER'|'DOT_NET_WEB_TIER'|'DOT_NET_WEB'|'SQL_SERVER'|'SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP'|'MYSQL'|'POSTGRESQL'|'JAVA_JMX'|'ORACLE'|'SAP_HANA_MULTI_NODE'|'SAP_HANA_SINGLE_NODE'|'SAP_HANA_HIGH_AVAILABILITY'|'SQL_SERVER_FAILOVER_CLUSTER_INSTANCE'|'SHAREPOINT'|'ACTIVE_DIRECTORY',
ComponentConfiguration='string',
AutoConfigEnabled=True|False
)
[REQUIRED]
The name of the resource group.
[REQUIRED]
The name of the component.
DescribeComponentConfigurationRecommendation
to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.dict
Response Syntax
{}
Response Structure
Exceptions
ApplicationInsights.Client.exceptions.ResourceNotFoundException
ApplicationInsights.Client.exceptions.ValidationException
ApplicationInsights.Client.exceptions.InternalServerException