AWS SDK Version 3 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.

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.

Note:

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

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

Syntax

C#
public virtual ListTagsForResourceResponse ListTagsForResource(
         ListTagsForResourceRequest request
)

Parameters

request
Type: Amazon.ApplicationInsights.Model.ListTagsForResourceRequest

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

Return Value


The response from the ListTagsForResource service method, as returned by ApplicationInsights.

Exceptions

ExceptionCondition
ResourceNotFoundException The resource does not exist in the customer account.
ValidationException The parameter is not valid.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also