
com.pulumi.azurenative.containerservice.outputs.ManagedClusterAzureMonitorProfileResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.containerservice.outputs;
import com.pulumi.azurenative.containerservice.outputs.ManagedClusterAzureMonitorProfileMetricsResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ManagedClusterAzureMonitorProfileResponse {
/**
* @return 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.
*
*/
private @Nullable ManagedClusterAzureMonitorProfileMetricsResponse metrics;
private ManagedClusterAzureMonitorProfileResponse() {}
/**
* @return 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.
*
*/
public Optional metrics() {
return Optional.ofNullable(this.metrics);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedClusterAzureMonitorProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ManagedClusterAzureMonitorProfileMetricsResponse metrics;
public Builder() {}
public Builder(ManagedClusterAzureMonitorProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.metrics = defaults.metrics;
}
@CustomType.Setter
public Builder metrics(@Nullable ManagedClusterAzureMonitorProfileMetricsResponse metrics) {
this.metrics = metrics;
return this;
}
public ManagedClusterAzureMonitorProfileResponse build() {
final var _resultValue = new ManagedClusterAzureMonitorProfileResponse();
_resultValue.metrics = metrics;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy