TraitAnnotation Constructors

ClassConstructors1 member
Immutable, non-sensitive metadata attached to a resource. Multiple annotations with the same name represent multiple values.
Creates a resource trait.
public sealed class TraitAnnotation
{
public TraitAnnotation(
string name,
string value)
{
// ...
}
}
namestringThe case-sensitive trait name.
valuestringThe trait value. Traits are visible in dashboard and tooling output and must not contain secrets.