Share via


ManagedClusterAzureMonitorProfile Class

Definition

Azure Monitor addon profiles for monitoring the managed cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ManagedClusterAzureMonitorProfileTypeConverter))]
public class ManagedClusterAzureMonitorProfile : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterAzureMonitorProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ManagedClusterAzureMonitorProfileTypeConverter))>]
type ManagedClusterAzureMonitorProfile = class
    interface IManagedClusterAzureMonitorProfile
    interface IJsonSerializable
Public Class ManagedClusterAzureMonitorProfile
Implements IManagedClusterAzureMonitorProfile
Inheritance
ManagedClusterAzureMonitorProfile
Attributes
Implements

Constructors

ManagedClusterAzureMonitorProfile()

Creates an new ManagedClusterAzureMonitorProfile instance.

Properties

KubeStateMetricAnnotationsAllowList

Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.

KubeStateMetricLabelsAllowlist

Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.

MetricEnabled

Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedClusterAzureMonitorProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedClusterAzureMonitorProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterAzureMonitorProfile.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedClusterAzureMonitorProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to