Class ResourceTag
Describes a tag that can be attached to resources for clusters deployed to a cloud.
Namespace: Neon.Kube.ClusterDef
Assembly: Neon.Kube.dll
Syntax
public class ResourceTag
Constructors
ResourceTag(string, string)
Constructs a tag with a name and optional value.
Declaration
public ResourceTag(string key, string value = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | The tag key. |
string | value | The optional tag value. Note that empty value strings will be converted to |
Properties
Key
Returns the tag key.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
string |
Value
Returns the tag value or null
.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string |