update_application
¶
update_application(
resource_group_name: ResourceGroupName,
*,
config_overrides: Optional[ApplicationInsightsClientConfig] = None,
ops_center_enabled: Optional[OpsCenterEnabled] = None,
cwe_monitor_enabled: Optional[CWEMonitorEnabled] = None,
ops_item_sns_topic_arn: Optional[OpsItemSNSTopicArn] = None,
sns_notification_arn: Optional[SNSNotificationArn] = None,
remove_sns_topic: Optional[RemoveSNSTopic] = None,
auto_config_enabled: Optional[AutoConfigEnabled] = None,
attach_missing_permission: Optional[AttachMissingPermission] = None,
) -> UpdateApplicationResponse
Updates the application.
Parameters:
-
resource_group_name(ResourceGroupName) –The name of the resource group.
-
ops_center_enabled(Optional[OpsCenterEnabled], default:None) –When set to
true, creates opsItems for any problems detected on an application. -
cwe_monitor_enabled(Optional[CWEMonitorEnabled], default:None) –Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated,failed deployment, and others. -
ops_item_sns_topic_arn(Optional[OpsItemSNSTopicArn], default:None) –The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
-
sns_notification_arn(Optional[SNSNotificationArn], default:None) –The SNS topic ARN. Allows you to receive SNS notifications for updates and issues with an application.
-
remove_sns_topic(Optional[RemoveSNSTopic], default:None) –Disassociates the SNS topic from the opsItem created for detected problems.
-
auto_config_enabled(Optional[AutoConfigEnabled], default:None) –Turns auto-configuration on or off.
-
attach_missing_permission(Optional[AttachMissingPermission], default:None) –If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
Raises:
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource does not exist in the customer account.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_insights/_services/application_insights.py
2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 | |