ManagedClusterAzureMonitorProfileMetricsControlPlane Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterAzureMonitorProfileMetricsControlPlane
- com.
Implements
public final class ManagedClusterAzureMonitorProfileMetricsControlPlane
implements JsonSerializable<ManagedClusterAzureMonitorProfileMetricsControlPlane>
Control plane metrics collection profile for the Azure Managed Prometheus addon. Configures collection of operational runtime metrics from managed control plane components (kube-apiserver, etcd, etc). See aka.ms/aks/controlplane-metrics for an overview.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedClusterAzureMonitorProfileMetricsControlPlane() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Whether to enable or disable collection of control plane metrics by the Azure Managed Prometheus addon. |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withEnabled(Boolean enabled)
Set the enabled property: Whether to enable or disable collection of control plane metrics by the Azure Managed Prometheus addon. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterAzureMonitorProfileMetricsControlPlane
public ManagedClusterAzureMonitorProfileMetricsControlPlane()
Creates an instance of ManagedClusterAzureMonitorProfileMetricsControlPlane class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Whether to enable or disable collection of control plane metrics by the Azure Managed Prometheus addon. Defaults to disabled. See aka.ms/aks/controlplane-metrics for details.
Returns:
fromJson
public static ManagedClusterAzureMonitorProfileMetricsControlPlane fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterAzureMonitorProfileMetricsControlPlane from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterAzureMonitorProfileMetricsControlPlane withEnabled(Boolean enabled)
Set the enabled property: Whether to enable or disable collection of control plane metrics by the Azure Managed Prometheus addon. Defaults to disabled. See aka.ms/aks/controlplane-metrics for details.
Parameters:
Returns: