PrometheusRuleAnnotations Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The annotations clause specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links. The annotation values can be templated.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleAnnotationsTypeConverter))]
public class PrometheusRuleAnnotations : Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.IPrometheusRuleAnnotations, Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Runtime.IAssociativeArray<string>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleAnnotationsTypeConverter))>]
type PrometheusRuleAnnotations = class
interface IPrometheusRuleAnnotations
interface IJsonSerializable
interface IAssociativeArray<string>
Public Class PrometheusRuleAnnotations
Implements IAssociativeArray(Of String), IPrometheusRuleAnnotations
- Inheritance
-
PrometheusRuleAnnotations
- Attributes
- Implements
Constructors
PrometheusRuleAnnotations() |
Creates an new PrometheusRuleAnnotations instance. |
Fields
__additionalProperties |
Properties
Item[String] |
Methods
Add(String, String) | |
Clear() | |
ContainsKey(String) | |
CopyFrom(IDictionary) | |
CopyFrom(PSObject) | |
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PrometheusRuleAnnotations. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of PrometheusRuleAnnotations. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.IPrometheusRuleAnnotations. |
FromJsonString(String) |
Creates a new instance of PrometheusRuleAnnotations, deserializing the content from a json string. |
Remove(String) | |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of PrometheusRuleAnnotations into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
TryGetValue(String, String) |
Operators
Implicit(PrometheusRuleAnnotations to Dictionary<String,String>) |
Explicit Interface Implementations
IAssociativeArray<String>.AdditionalProperties | |
IAssociativeArray<String>.Count | |
IAssociativeArray<String>.Keys | |
IAssociativeArray<String>.Values |