AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Disables suppression of application status checks for the specified instances. After suppression is disabled, health check results resume affecting the instance-level application status. You can specify a maximum of 100 instance IDs per request.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DisableApplicationStatusCheckSuppressionAsync.

Namespace: Amazon.EC2
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public virtual DisableApplicationStatusCheckSuppressionResponse DisableApplicationStatusCheckSuppression(
         DisableApplicationStatusCheckSuppressionRequest request
)

Parameters

request
Type: Amazon.EC2.Model.DisableApplicationStatusCheckSuppressionRequest

Container for the necessary parameters to execute the DisableApplicationStatusCheckSuppression service method.

Return Value


The response from the DisableApplicationStatusCheckSuppression service method, as returned by EC2.

Examples

This example disables application status check suppression for the specified instance, resuming normal status reporting.

To disable application status check suppression


var client = new AmazonEC2Client();
var response = client.DisableApplicationStatusCheckSuppression(new DisableApplicationStatusCheckSuppressionRequest 
{
    InstanceIds = new List<string> {
        "i-0123456789abcdef0"
    }
});

List<SuccessfulSuppressionResponseObject> successfulResults = response.SuccessfulResults;
List<UnsuccessfulSuppressionResponseObject> unsuccessfulResults = response.UnsuccessfulResults;

            

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also