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
.
applicationinsights_update_component_configuration(ResourceGroupName,
ComponentName, Monitor, Tier, ComponentConfiguration)
[required] The name of the resource group.
[required] The name of the component.
Indicates whether the application component is monitored.
The tier of the application component. Supported tiers include
DOT_NET_WORKER
, DOT_NET_WEB
, DOT_NET_CORE
, SQL_SERVER
, and
DEFAULT
.
The configuration settings of the component. The value is the escaped
JSON of the configuration. For more information about the JSON format,
see Working with JSON.
You can send a request to DescribeComponentConfigurationRecommendation
to see the recommended configuration for a component. For the complete
format of the component configuration file, see Component Configuration.
svc$update_component_configuration( ResourceGroupName = "string", ComponentName = "string", Monitor = TRUE|FALSE, Tier = "DEFAULT"|"DOT_NET_CORE"|"DOT_NET_WORKER"|"DOT_NET_WEB"|"SQL_SERVER", ComponentConfiguration = "string" )