All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.containerservice.outputs.ManagedClusterAzureMonitorProfileKubeStateMetricsResponse Maven / Gradle / Ivy

// *** 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ManagedClusterAzureMonitorProfileKubeStateMetricsResponse {
    /**
     * @return 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.
     * 
     */
    private @Nullable String metricAnnotationsAllowList;
    /**
     * @return 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.
     * 
     */
    private @Nullable String metricLabelsAllowlist;

    private ManagedClusterAzureMonitorProfileKubeStateMetricsResponse() {}
    /**
     * @return 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.
     * 
     */
    public Optional metricAnnotationsAllowList() {
        return Optional.ofNullable(this.metricAnnotationsAllowList);
    }
    /**
     * @return 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.
     * 
     */
    public Optional metricLabelsAllowlist() {
        return Optional.ofNullable(this.metricLabelsAllowlist);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ManagedClusterAzureMonitorProfileKubeStateMetricsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String metricAnnotationsAllowList;
        private @Nullable String metricLabelsAllowlist;
        public Builder() {}
        public Builder(ManagedClusterAzureMonitorProfileKubeStateMetricsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.metricAnnotationsAllowList = defaults.metricAnnotationsAllowList;
    	      this.metricLabelsAllowlist = defaults.metricLabelsAllowlist;
        }

        @CustomType.Setter
        public Builder metricAnnotationsAllowList(@Nullable String metricAnnotationsAllowList) {

            this.metricAnnotationsAllowList = metricAnnotationsAllowList;
            return this;
        }
        @CustomType.Setter
        public Builder metricLabelsAllowlist(@Nullable String metricLabelsAllowlist) {

            this.metricLabelsAllowlist = metricLabelsAllowlist;
            return this;
        }
        public ManagedClusterAzureMonitorProfileKubeStateMetricsResponse build() {
            final var _resultValue = new ManagedClusterAzureMonitorProfileKubeStateMetricsResponse();
            _resultValue.metricAnnotationsAllowList = metricAnnotationsAllowList;
            _resultValue.metricLabelsAllowlist = metricLabelsAllowlist;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy