Skip to content

Create Application

applicationinsights_create_application R Documentation

Adds an application that is created from a resource group

Description

Adds an application that is created from a resource group.

Usage

applicationinsights_create_application(ResourceGroupName,
  OpsCenterEnabled, CWEMonitorEnabled, OpsItemSNSTopicArn, Tags,
  AutoConfigEnabled, AutoCreate, GroupingType, AttachMissingPermission)

Arguments

ResourceGroupName

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.

Tags

List of tags to add to the application. tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

AutoConfigEnabled

Indicates whether Application Insights automatically configures unmonitored resources in the resource group.

AutoCreate

Configures all of the resources in the resource group by applying the recommended configurations.

GroupingType

Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.

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$create_application(
  ResourceGroupName = "string",
  OpsCenterEnabled = TRUE|FALSE,
  CWEMonitorEnabled = TRUE|FALSE,
  OpsItemSNSTopicArn = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  AutoConfigEnabled = TRUE|FALSE,
  AutoCreate = TRUE|FALSE,
  GroupingType = "ACCOUNT_BASED",
  AttachMissingPermission = TRUE|FALSE
)