ManagedClusterAzureMonitorProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterAzureMonitorProfile
- com.
Implements
public final class ManagedClusterAzureMonitorProfile
implements JsonSerializable<ManagedClusterAzureMonitorProfile>
Azure Monitor addon profiles for monitoring the managed cluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterAzureMonitorProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Managed |
metrics()
Get the metrics property: Metrics profile for the Azure Monitor managed service for Prometheus addon. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withMetrics(ManagedClusterAzureMonitorProfileMetrics metrics)
Set the metrics property: Metrics profile for the Azure Monitor managed service for Prometheus addon. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterAzureMonitorProfile
public ManagedClusterAzureMonitorProfile()
Creates an instance of ManagedClusterAzureMonitorProfile class.
Method Details
fromJson
public static ManagedClusterAzureMonitorProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterAzureMonitorProfile from the JsonReader.
Parameters:
Returns:
Throws:
metrics
public ManagedClusterAzureMonitorProfileMetrics metrics()
Get the metrics property: Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMetrics
public ManagedClusterAzureMonitorProfile withMetrics(ManagedClusterAzureMonitorProfileMetrics metrics)
Set the metrics property: Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
Parameters:
Returns:
Applies to
Azure SDK for Java