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.

Container for the parameters to the UntagResource operation. Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.

The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Lightsail.AmazonLightsailRequest
      Amazon.Lightsail.Model.UntagResourceRequest

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

Syntax

C#
public class UntagResourceRequest : AmazonLightsailRequest
         IAmazonWebServiceRequest

The UntagResourceRequest type exposes the following members

Constructors

NameDescription
Public Method UntagResourceRequest()

Properties

NameTypeDescription
Public Property ResourceArn System.String

Gets and sets the property ResourceArn.

The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.

Public Property ResourceName System.String

Gets and sets the property ResourceName.

The name of the resource from which you are removing a tag.

Public Property TagKeys System.Collections.Generic.List<System.String>

Gets and sets the property TagKeys.

The tag keys to delete from the specified resource.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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