Skip to content

Update Application

applicationinsights_update_application R Documentation

Updates the application

Description

Updates the application.

Usage

applicationinsights_update_application(ResourceGroupName,
  OpsCenterEnabled, CWEMonitorEnabled, OpsItemSNSTopicArn, RemoveSNSTopic,
  AutoConfigEnabled, AttachMissingPermission)

Arguments

ResourceGroupName

[required] The name of the resource group.

OpsCenterEnabled

When set to true, creates opsItems for any problems detected on an application.

CWEMonitorEnabled

Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as ⁠instance terminated⁠, ⁠failed deployment⁠, and others.

OpsItemSNSTopicArn

The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.

RemoveSNSTopic

Disassociates the SNS topic from the opsItem created for detected problems.

AutoConfigEnabled

Turns auto-configuration on or off.

AttachMissingPermission

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

Value

A list with the following syntax:

list(
  ApplicationInfo = list(
    AccountId = "string",
    ResourceGroupName = "string",
    LifeCycle = "string",
    OpsItemSNSTopicArn = "string",
    OpsCenterEnabled = TRUE|FALSE,
    CWEMonitorEnabled = TRUE|FALSE,
    Remarks = "string",
    AutoConfigEnabled = TRUE|FALSE,
    DiscoveryType = "RESOURCE_GROUP_BASED"|"ACCOUNT_BASED",
    AttachMissingPermission = TRUE|FALSE
  )
)

Request syntax

svc$update_application(
  ResourceGroupName = "string",
  OpsCenterEnabled = TRUE|FALSE,
  CWEMonitorEnabled = TRUE|FALSE,
  OpsItemSNSTopicArn = "string",
  RemoveSNSTopic = TRUE|FALSE,
  AutoConfigEnabled = TRUE|FALSE,
  AttachMissingPermission = TRUE|FALSE
)