Updates the application¶
Description¶
Updates the application.
Usage¶
applicationinsights_update_application(ResourceGroupName,
OpsCenterEnabled, CWEMonitorEnabled, OpsItemSNSTopicArn,
SNSNotificationArn, RemoveSNSTopic, AutoConfigEnabled,
AttachMissingPermission)
Arguments¶
-
ResourceGroupName[required] The name of the resource group.
-
OpsCenterEnabledWhen set to
true, creates opsItems for any problems detected on an application. -
CWEMonitorEnabledIndicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated,failed deployment, and others. -
OpsItemSNSTopicArnThe SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
-
SNSNotificationArnThe SNS topic ARN. Allows you to receive SNS notifications for updates and issues with an application.
-
RemoveSNSTopicDisassociates the SNS topic from the opsItem created for detected problems.
-
AutoConfigEnabledTurns auto-configuration on or off.
-
AttachMissingPermissionIf 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",
SNSNotificationArn = "string",
OpsCenterEnabled = TRUE|FALSE,
CWEMonitorEnabled = TRUE|FALSE,
Remarks = "string",
AutoConfigEnabled = TRUE|FALSE,
DiscoveryType = "RESOURCE_GROUP_BASED"|"ACCOUNT_BASED",
AttachMissingPermission = TRUE|FALSE
)
)