[ aws . application-insights ]

update-component-configuration

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

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  update-component-configuration
--resource-group-name <value>
--component-name <value>
[--monitor | --no-monitor]
[--tier <value>]
[--component-configuration <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--resource-group-name (string)

The name of the resource group.

--component-name (string)

The name of the component.

--monitor | --no-monitor (boolean)

Indicates whether the application component is monitored.

--tier (string)

The tier of the application component. Supported tiers include DOT_NET_WORKER , DOT_NET_WEB , DOT_NET_CORE , SQL_SERVER , and DEFAULT .

Possible values:

  • 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

--component-configuration (string)

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 .

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Output

None