/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the application-insights-2018-11-25.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ApplicationInsights.Model; namespace Amazon.ApplicationInsights { /// /// Interface for accessing ApplicationInsights /// /// Amazon CloudWatch Application Insights /// /// Amazon CloudWatch Application Insights is a service that helps you detect common /// problems with your applications. It enables you to pinpoint the source of issues in /// your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft /// SQL Server), by providing key insights into detected problems. /// /// /// /// After you onboard your application, CloudWatch Application Insights identifies, recommends, /// and sets up metrics and logs. It continuously analyzes and correlates your metrics /// and logs for unusual behavior to surface actionable problems with your application. /// For example, if your application is slow and unresponsive and leading to HTTP 500 /// errors in your Application Load Balancer (ALB), Application Insights informs you that /// a memory pressure problem with your SQL Server database is occurring. It bases this /// analysis on impactful metrics and log errors. /// /// public partial interface IAmazonApplicationInsights : IAmazonService, IDisposable { /// /// Paginators for the service /// IApplicationInsightsPaginatorFactory Paginators { get; } #region AddWorkload /// /// Adds a workload to a component. Each component can have at most five workloads. /// /// Container for the necessary parameters to execute the AddWorkload service method. /// /// The response from the AddWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for AddWorkload Operation AddWorkloadResponse AddWorkload(AddWorkloadRequest request); /// /// Adds a workload to a component. Each component can have at most five workloads. /// /// Container for the necessary parameters to execute the AddWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for AddWorkload Operation Task AddWorkloadAsync(AddWorkloadRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateApplication /// /// Adds an application that is created from a resource group. /// /// Container for the necessary parameters to execute the CreateApplication service method. /// /// The response from the CreateApplication service method, as returned by ApplicationInsights. /// /// User does not have permissions to perform this action. /// /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// Tags are already registered for the specified application ARN. /// /// /// The parameter is not valid. /// /// REST API Reference for CreateApplication Operation CreateApplicationResponse CreateApplication(CreateApplicationRequest request); /// /// Adds an application that is created from a resource group. /// /// Container for the necessary parameters to execute the CreateApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateApplication service method, as returned by ApplicationInsights. /// /// User does not have permissions to perform this action. /// /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// Tags are already registered for the specified application ARN. /// /// /// The parameter is not valid. /// /// REST API Reference for CreateApplication Operation Task CreateApplicationAsync(CreateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateComponent /// /// Creates a custom component by grouping similar standalone instances to monitor. /// /// Container for the necessary parameters to execute the CreateComponent service method. /// /// The response from the CreateComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for CreateComponent Operation CreateComponentResponse CreateComponent(CreateComponentRequest request); /// /// Creates a custom component by grouping similar standalone instances to monitor. /// /// Container for the necessary parameters to execute the CreateComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for CreateComponent Operation Task CreateComponentAsync(CreateComponentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateLogPattern /// /// Adds an log pattern to a LogPatternSet. /// /// Container for the necessary parameters to execute the CreateLogPattern service method. /// /// The response from the CreateLogPattern service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for CreateLogPattern Operation CreateLogPatternResponse CreateLogPattern(CreateLogPatternRequest request); /// /// Adds an log pattern to a LogPatternSet. /// /// Container for the necessary parameters to execute the CreateLogPattern service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLogPattern service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for CreateLogPattern Operation Task CreateLogPatternAsync(CreateLogPatternRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApplication /// /// Removes the specified application from monitoring. Does not delete the application. /// /// Container for the necessary parameters to execute the DeleteApplication service method. /// /// The response from the DeleteApplication service method, as returned by ApplicationInsights. /// /// The request is not understood by the server. /// /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DeleteApplication Operation DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request); /// /// Removes the specified application from monitoring. Does not delete the application. /// /// Container for the necessary parameters to execute the DeleteApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteApplication service method, as returned by ApplicationInsights. /// /// The request is not understood by the server. /// /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DeleteApplication Operation Task DeleteApplicationAsync(DeleteApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteComponent /// /// Ungroups a custom component. When you ungroup custom components, all applicable monitors /// that are set up for the component are removed and the instances revert to their standalone /// status. /// /// Container for the necessary parameters to execute the DeleteComponent service method. /// /// The response from the DeleteComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DeleteComponent Operation DeleteComponentResponse DeleteComponent(DeleteComponentRequest request); /// /// Ungroups a custom component. When you ungroup custom components, all applicable monitors /// that are set up for the component are removed and the instances revert to their standalone /// status. /// /// Container for the necessary parameters to execute the DeleteComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DeleteComponent Operation Task DeleteComponentAsync(DeleteComponentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteLogPattern /// /// Removes the specified log pattern from a LogPatternSet. /// /// Container for the necessary parameters to execute the DeleteLogPattern service method. /// /// The response from the DeleteLogPattern service method, as returned by ApplicationInsights. /// /// The request is not understood by the server. /// /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DeleteLogPattern Operation DeleteLogPatternResponse DeleteLogPattern(DeleteLogPatternRequest request); /// /// Removes the specified log pattern from a LogPatternSet. /// /// Container for the necessary parameters to execute the DeleteLogPattern service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLogPattern service method, as returned by ApplicationInsights. /// /// The request is not understood by the server. /// /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DeleteLogPattern Operation Task DeleteLogPatternAsync(DeleteLogPatternRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeApplication /// /// Describes the application. /// /// Container for the necessary parameters to execute the DescribeApplication service method. /// /// The response from the DescribeApplication service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeApplication Operation DescribeApplicationResponse DescribeApplication(DescribeApplicationRequest request); /// /// Describes the application. /// /// Container for the necessary parameters to execute the DescribeApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeApplication service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeApplication Operation Task DescribeApplicationAsync(DescribeApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeComponent /// /// Describes a component and lists the resources that are grouped together in a component. /// /// Container for the necessary parameters to execute the DescribeComponent service method. /// /// The response from the DescribeComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeComponent Operation DescribeComponentResponse DescribeComponent(DescribeComponentRequest request); /// /// Describes a component and lists the resources that are grouped together in a component. /// /// Container for the necessary parameters to execute the DescribeComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeComponent Operation Task DescribeComponentAsync(DescribeComponentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeComponentConfiguration /// /// Describes the monitoring configuration of the component. /// /// Container for the necessary parameters to execute the DescribeComponentConfiguration service method. /// /// The response from the DescribeComponentConfiguration service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeComponentConfiguration Operation DescribeComponentConfigurationResponse DescribeComponentConfiguration(DescribeComponentConfigurationRequest request); /// /// Describes the monitoring configuration of the component. /// /// Container for the necessary parameters to execute the DescribeComponentConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeComponentConfiguration service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeComponentConfiguration Operation Task DescribeComponentConfigurationAsync(DescribeComponentConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeComponentConfigurationRecommendation /// /// Describes the recommended monitoring configuration of the component. /// /// Container for the necessary parameters to execute the DescribeComponentConfigurationRecommendation service method. /// /// The response from the DescribeComponentConfigurationRecommendation service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeComponentConfigurationRecommendation Operation DescribeComponentConfigurationRecommendationResponse DescribeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request); /// /// Describes the recommended monitoring configuration of the component. /// /// Container for the necessary parameters to execute the DescribeComponentConfigurationRecommendation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeComponentConfigurationRecommendation service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeComponentConfigurationRecommendation Operation Task DescribeComponentConfigurationRecommendationAsync(DescribeComponentConfigurationRecommendationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeLogPattern /// /// Describe a specific log pattern from a LogPatternSet. /// /// Container for the necessary parameters to execute the DescribeLogPattern service method. /// /// The response from the DescribeLogPattern service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeLogPattern Operation DescribeLogPatternResponse DescribeLogPattern(DescribeLogPatternRequest request); /// /// Describe a specific log pattern from a LogPatternSet. /// /// Container for the necessary parameters to execute the DescribeLogPattern service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLogPattern service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeLogPattern Operation Task DescribeLogPatternAsync(DescribeLogPatternRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeObservation /// /// Describes an anomaly or error with the application. /// /// Container for the necessary parameters to execute the DescribeObservation service method. /// /// The response from the DescribeObservation service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeObservation Operation DescribeObservationResponse DescribeObservation(DescribeObservationRequest request); /// /// Describes an anomaly or error with the application. /// /// Container for the necessary parameters to execute the DescribeObservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeObservation service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeObservation Operation Task DescribeObservationAsync(DescribeObservationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeProblem /// /// Describes an application problem. /// /// Container for the necessary parameters to execute the DescribeProblem service method. /// /// The response from the DescribeProblem service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeProblem Operation DescribeProblemResponse DescribeProblem(DescribeProblemRequest request); /// /// Describes an application problem. /// /// Container for the necessary parameters to execute the DescribeProblem service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeProblem service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeProblem Operation Task DescribeProblemAsync(DescribeProblemRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeProblemObservations /// /// Describes the anomalies or errors associated with the problem. /// /// Container for the necessary parameters to execute the DescribeProblemObservations service method. /// /// The response from the DescribeProblemObservations service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeProblemObservations Operation DescribeProblemObservationsResponse DescribeProblemObservations(DescribeProblemObservationsRequest request); /// /// Describes the anomalies or errors associated with the problem. /// /// Container for the necessary parameters to execute the DescribeProblemObservations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeProblemObservations service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeProblemObservations Operation Task DescribeProblemObservationsAsync(DescribeProblemObservationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeWorkload /// /// Describes a workload and its configuration. /// /// Container for the necessary parameters to execute the DescribeWorkload service method. /// /// The response from the DescribeWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeWorkload Operation DescribeWorkloadResponse DescribeWorkload(DescribeWorkloadRequest request); /// /// Describes a workload and its configuration. /// /// Container for the necessary parameters to execute the DescribeWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for DescribeWorkload Operation Task DescribeWorkloadAsync(DescribeWorkloadRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListApplications /// /// Lists the IDs of the applications that you are monitoring. /// /// Container for the necessary parameters to execute the ListApplications service method. /// /// The response from the ListApplications service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The parameter is not valid. /// /// REST API Reference for ListApplications Operation ListApplicationsResponse ListApplications(ListApplicationsRequest request); /// /// Lists the IDs of the applications that you are monitoring. /// /// Container for the necessary parameters to execute the ListApplications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListApplications service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The parameter is not valid. /// /// REST API Reference for ListApplications Operation Task ListApplicationsAsync(ListApplicationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListComponents /// /// Lists the auto-grouped, standalone, and custom components of the application. /// /// Container for the necessary parameters to execute the ListComponents service method. /// /// The response from the ListComponents service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListComponents Operation ListComponentsResponse ListComponents(ListComponentsRequest request); /// /// Lists the auto-grouped, standalone, and custom components of the application. /// /// Container for the necessary parameters to execute the ListComponents service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListComponents service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListComponents Operation Task ListComponentsAsync(ListComponentsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListConfigurationHistory /// /// Lists the INFO, WARN, and ERROR events for periodic configuration updates performed /// by Application Insights. Examples of events represented are: /// ///
  • /// /// INFO: creating a new alarm or updating an alarm threshold. /// ///
  • /// /// WARN: alarm not created due to insufficient data points used to predict thresholds. /// ///
  • /// /// ERROR: alarm not created due to permission errors or exceeding quotas. /// ///
///
/// Container for the necessary parameters to execute the ListConfigurationHistory service method. /// /// The response from the ListConfigurationHistory service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListConfigurationHistory Operation ListConfigurationHistoryResponse ListConfigurationHistory(ListConfigurationHistoryRequest request); /// /// Lists the INFO, WARN, and ERROR events for periodic configuration updates performed /// by Application Insights. Examples of events represented are: /// ///
  • /// /// INFO: creating a new alarm or updating an alarm threshold. /// ///
  • /// /// WARN: alarm not created due to insufficient data points used to predict thresholds. /// ///
  • /// /// ERROR: alarm not created due to permission errors or exceeding quotas. /// ///
///
/// Container for the necessary parameters to execute the ListConfigurationHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListConfigurationHistory service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListConfigurationHistory Operation Task ListConfigurationHistoryAsync(ListConfigurationHistoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListLogPatterns /// /// Lists the log patterns in the specific log LogPatternSet. /// /// Container for the necessary parameters to execute the ListLogPatterns service method. /// /// The response from the ListLogPatterns service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListLogPatterns Operation ListLogPatternsResponse ListLogPatterns(ListLogPatternsRequest request); /// /// Lists the log patterns in the specific log LogPatternSet. /// /// Container for the necessary parameters to execute the ListLogPatterns service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLogPatterns service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListLogPatterns Operation Task ListLogPatternsAsync(ListLogPatternsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListLogPatternSets /// /// Lists the log pattern sets in the specific application. /// /// Container for the necessary parameters to execute the ListLogPatternSets service method. /// /// The response from the ListLogPatternSets service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListLogPatternSets Operation ListLogPatternSetsResponse ListLogPatternSets(ListLogPatternSetsRequest request); /// /// Lists the log pattern sets in the specific application. /// /// Container for the necessary parameters to execute the ListLogPatternSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLogPatternSets service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListLogPatternSets Operation Task ListLogPatternSetsAsync(ListLogPatternSetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListProblems /// /// Lists the problems with your application. /// /// Container for the necessary parameters to execute the ListProblems service method. /// /// The response from the ListProblems service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListProblems Operation ListProblemsResponse ListProblems(ListProblemsRequest request); /// /// Lists the problems with your application. /// /// Container for the necessary parameters to execute the ListProblems service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProblems service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListProblems Operation Task ListProblemsAsync(ListProblemsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Retrieve a list of the tags (keys and values) that are associated with a specified /// application. A tag is a label that you optionally define and associate with /// an application. Each tag consists of a required tag key and an optional associated /// tag value. A tag key is a general label that acts as a category for more specific /// tag values. A tag value acts as a descriptor within a tag key. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by ApplicationInsights. /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Retrieve a list of the tags (keys and values) that are associated with a specified /// application. A tag is a label that you optionally define and associate with /// an application. Each tag consists of a required tag key and an optional associated /// tag value. A tag key is a general label that acts as a category for more specific /// tag values. A tag value acts as a descriptor within a tag key. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by ApplicationInsights. /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListWorkloads /// /// Lists the workloads that are configured on a given component. /// /// Container for the necessary parameters to execute the ListWorkloads service method. /// /// The response from the ListWorkloads service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListWorkloads Operation ListWorkloadsResponse ListWorkloads(ListWorkloadsRequest request); /// /// Lists the workloads that are configured on a given component. /// /// Container for the necessary parameters to execute the ListWorkloads service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListWorkloads service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for ListWorkloads Operation Task ListWorkloadsAsync(ListWorkloadsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveWorkload /// /// Remove workload from a component. /// /// Container for the necessary parameters to execute the RemoveWorkload service method. /// /// The response from the RemoveWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for RemoveWorkload Operation RemoveWorkloadResponse RemoveWorkload(RemoveWorkloadRequest request); /// /// Remove workload from a component. /// /// Container for the necessary parameters to execute the RemoveWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for RemoveWorkload Operation Task RemoveWorkloadAsync(RemoveWorkloadRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Add one or more tags (keys and values) to a specified application. A tag is /// a label that you optionally define and associate with an application. Tags can help /// you categorize and manage application in different ways, such as by purpose, owner, /// environment, or other criteria. /// /// /// /// Each tag consists of a required tag key and an associated tag value, /// both of which you define. A tag key is a general label that acts as a category for /// more specific tag values. A tag value acts as a descriptor within a tag key. /// /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by ApplicationInsights. /// /// The resource does not exist in the customer account. /// /// /// The number of the provided tags is beyond the limit, or the number of total tags you /// are trying to attach to the specified resource exceeds the limit. /// /// /// The parameter is not valid. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Add one or more tags (keys and values) to a specified application. A tag is /// a label that you optionally define and associate with an application. Tags can help /// you categorize and manage application in different ways, such as by purpose, owner, /// environment, or other criteria. /// /// /// /// Each tag consists of a required tag key and an associated tag value, /// both of which you define. A tag key is a general label that acts as a category for /// more specific tag values. A tag value acts as a descriptor within a tag key. /// /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by ApplicationInsights. /// /// The resource does not exist in the customer account. /// /// /// The number of the provided tags is beyond the limit, or the number of total tags you /// are trying to attach to the specified resource exceeds the limit. /// /// /// The parameter is not valid. /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Remove one or more tags (keys and values) from a specified application. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by ApplicationInsights. /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Remove one or more tags (keys and values) from a specified application. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by ApplicationInsights. /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApplication /// /// Updates the application. /// /// Container for the necessary parameters to execute the UpdateApplication service method. /// /// The response from the UpdateApplication service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateApplication Operation UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request); /// /// Updates the application. /// /// Container for the necessary parameters to execute the UpdateApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateApplication service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateApplication Operation Task UpdateApplicationAsync(UpdateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateComponent /// /// Updates the custom component name and/or the list of resources that make up the component. /// /// Container for the necessary parameters to execute the UpdateComponent service method. /// /// The response from the UpdateComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateComponent Operation UpdateComponentResponse UpdateComponent(UpdateComponentRequest request); /// /// Updates the custom component name and/or the list of resources that make up the component. /// /// Container for the necessary parameters to execute the UpdateComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateComponent service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateComponent Operation Task UpdateComponentAsync(UpdateComponentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateComponentConfiguration /// /// 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. /// /// Container for the necessary parameters to execute the UpdateComponentConfiguration service method. /// /// The response from the UpdateComponentConfiguration service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateComponentConfiguration Operation UpdateComponentConfigurationResponse UpdateComponentConfiguration(UpdateComponentConfigurationRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the UpdateComponentConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateComponentConfiguration service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateComponentConfiguration Operation Task UpdateComponentConfigurationAsync(UpdateComponentConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateLogPattern /// /// Adds a log pattern to a LogPatternSet. /// /// Container for the necessary parameters to execute the UpdateLogPattern service method. /// /// The response from the UpdateLogPattern service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateLogPattern Operation UpdateLogPatternResponse UpdateLogPattern(UpdateLogPatternRequest request); /// /// Adds a log pattern to a LogPatternSet. /// /// Container for the necessary parameters to execute the UpdateLogPattern service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateLogPattern service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource is already created or in use. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateLogPattern Operation Task UpdateLogPatternAsync(UpdateLogPatternRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateProblem /// /// Updates the visibility of the problem or specifies the problem as RESOLVED. /// /// Container for the necessary parameters to execute the UpdateProblem service method. /// /// The response from the UpdateProblem service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateProblem Operation UpdateProblemResponse UpdateProblem(UpdateProblemRequest request); /// /// Updates the visibility of the problem or specifies the problem as RESOLVED. /// /// Container for the necessary parameters to execute the UpdateProblem service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProblem service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateProblem Operation Task UpdateProblemAsync(UpdateProblemRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateWorkload /// /// Adds a workload to a component. Each component can have at most five workloads. /// /// Container for the necessary parameters to execute the UpdateWorkload service method. /// /// The response from the UpdateWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateWorkload Operation UpdateWorkloadResponse UpdateWorkload(UpdateWorkloadRequest request); /// /// Adds a workload to a component. Each component can have at most five workloads. /// /// Container for the necessary parameters to execute the UpdateWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateWorkload service method, as returned by ApplicationInsights. /// /// The server encountered an internal error and is unable to complete the request. /// /// /// The resource does not exist in the customer account. /// /// /// The parameter is not valid. /// /// REST API Reference for UpdateWorkload Operation Task UpdateWorkloadAsync(UpdateWorkloadRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }