Skip to content

Updates the monitoring configurations for the component

Description

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 describe_component_configuration_recommendation.

Usage

applicationinsights_update_component_configuration(ResourceGroupName,
  ComponentName, Monitor, Tier, ComponentConfiguration, AutoConfigEnabled)

Arguments

  • ResourceGroupName

    [required] The name of the resource group.

  • ComponentName

    [required] The name of the component.

  • Monitor

    Indicates whether the application component is monitored.

  • Tier

    The tier of the application component.

  • ComponentConfiguration

    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 describe_component_configuration_recommendation to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.

  • AutoConfigEnabled

    Automatically configures the component by applying the recommended configurations.

Value

An empty list.

Request syntax

svc$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"|"SAP_ASE_SINGLE_NODE"|"SAP_ASE_HIGH_AVAILABILITY"|"SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"|"SHAREPOINT"|"ACTIVE_DIRECTORY"|"SAP_NETWEAVER_STANDARD"|"SAP_NETWEAVER_DISTRIBUTED"|"SAP_NETWEAVER_HIGH_AVAILABILITY",
  ComponentConfiguration = "string",
  AutoConfigEnabled = TRUE|FALSE
)