Condividi tramite


PrometheusRuleLabels Class

Definition

Labels to add or overwrite before storing the result.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleLabelsTypeConverter))]
public class PrometheusRuleLabels : Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.IPrometheusRuleLabels, Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Runtime.IAssociativeArray<string>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.PrometheusRuleLabelsTypeConverter))>]
type PrometheusRuleLabels = class
    interface IPrometheusRuleLabels
    interface IJsonSerializable
    interface IAssociativeArray<string>
Public Class PrometheusRuleLabels
Implements IAssociativeArray(Of String), IPrometheusRuleLabels
Inheritance
PrometheusRuleLabels
Attributes
Implements

Constructors

PrometheusRuleLabels()

Creates an new PrometheusRuleLabels 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 PrometheusRuleLabels.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PrometheusRuleLabels.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PrometheusRuleGroups.Models.Api20230301.IPrometheusRuleLabels.

FromJsonString(String)

Creates a new instance of PrometheusRuleLabels, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of PrometheusRuleLabels into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, String)

Operators

Implicit(PrometheusRuleLabels to Dictionary<String,String>)

Explicit Interface Implementations

IAssociativeArray<String>.AdditionalProperties
IAssociativeArray<String>.Count
IAssociativeArray<String>.Keys
IAssociativeArray<String>.Values

Applies to