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

com.pulumi.azurenative.workloads.inputs.PrometheusOSProviderInstancePropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** 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.workloads.inputs;

import com.pulumi.azurenative.workloads.enums.SslPreference;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Gets or sets the PrometheusOS provider properties.
 * 
 */
public final class PrometheusOSProviderInstancePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrometheusOSProviderInstancePropertiesArgs Empty = new PrometheusOSProviderInstancePropertiesArgs();

    /**
     * URL of the Node Exporter endpoint
     * 
     */
    @Import(name="prometheusUrl")
    private @Nullable Output prometheusUrl;

    /**
     * @return URL of the Node Exporter endpoint
     * 
     */
    public Optional> prometheusUrl() {
        return Optional.ofNullable(this.prometheusUrl);
    }

    /**
     * The provider type. For example, the value can be SapHana.
     * Expected value is 'PrometheusOS'.
     * 
     */
    @Import(name="providerType", required=true)
    private Output providerType;

    /**
     * @return The provider type. For example, the value can be SapHana.
     * Expected value is 'PrometheusOS'.
     * 
     */
    public Output providerType() {
        return this.providerType;
    }

    /**
     * Gets or sets the SAP System Identifier
     * 
     */
    @Import(name="sapSid")
    private @Nullable Output sapSid;

    /**
     * @return Gets or sets the SAP System Identifier
     * 
     */
    public Optional> sapSid() {
        return Optional.ofNullable(this.sapSid);
    }

    /**
     * Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
     * 
     */
    @Import(name="sslCertificateUri")
    private @Nullable Output sslCertificateUri;

    /**
     * @return Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
     * 
     */
    public Optional> sslCertificateUri() {
        return Optional.ofNullable(this.sslCertificateUri);
    }

    /**
     * Gets or sets certificate preference if secure communication is enabled.
     * 
     */
    @Import(name="sslPreference")
    private @Nullable Output> sslPreference;

    /**
     * @return Gets or sets certificate preference if secure communication is enabled.
     * 
     */
    public Optional>> sslPreference() {
        return Optional.ofNullable(this.sslPreference);
    }

    private PrometheusOSProviderInstancePropertiesArgs() {}

    private PrometheusOSProviderInstancePropertiesArgs(PrometheusOSProviderInstancePropertiesArgs $) {
        this.prometheusUrl = $.prometheusUrl;
        this.providerType = $.providerType;
        this.sapSid = $.sapSid;
        this.sslCertificateUri = $.sslCertificateUri;
        this.sslPreference = $.sslPreference;
    }

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

    public static final class Builder {
        private PrometheusOSProviderInstancePropertiesArgs $;

        public Builder() {
            $ = new PrometheusOSProviderInstancePropertiesArgs();
        }

        public Builder(PrometheusOSProviderInstancePropertiesArgs defaults) {
            $ = new PrometheusOSProviderInstancePropertiesArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param prometheusUrl URL of the Node Exporter endpoint
         * 
         * @return builder
         * 
         */
        public Builder prometheusUrl(@Nullable Output prometheusUrl) {
            $.prometheusUrl = prometheusUrl;
            return this;
        }

        /**
         * @param prometheusUrl URL of the Node Exporter endpoint
         * 
         * @return builder
         * 
         */
        public Builder prometheusUrl(String prometheusUrl) {
            return prometheusUrl(Output.of(prometheusUrl));
        }

        /**
         * @param providerType The provider type. For example, the value can be SapHana.
         * Expected value is 'PrometheusOS'.
         * 
         * @return builder
         * 
         */
        public Builder providerType(Output providerType) {
            $.providerType = providerType;
            return this;
        }

        /**
         * @param providerType The provider type. For example, the value can be SapHana.
         * Expected value is 'PrometheusOS'.
         * 
         * @return builder
         * 
         */
        public Builder providerType(String providerType) {
            return providerType(Output.of(providerType));
        }

        /**
         * @param sapSid Gets or sets the SAP System Identifier
         * 
         * @return builder
         * 
         */
        public Builder sapSid(@Nullable Output sapSid) {
            $.sapSid = sapSid;
            return this;
        }

        /**
         * @param sapSid Gets or sets the SAP System Identifier
         * 
         * @return builder
         * 
         */
        public Builder sapSid(String sapSid) {
            return sapSid(Output.of(sapSid));
        }

        /**
         * @param sslCertificateUri Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
         * 
         * @return builder
         * 
         */
        public Builder sslCertificateUri(@Nullable Output sslCertificateUri) {
            $.sslCertificateUri = sslCertificateUri;
            return this;
        }

        /**
         * @param sslCertificateUri Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
         * 
         * @return builder
         * 
         */
        public Builder sslCertificateUri(String sslCertificateUri) {
            return sslCertificateUri(Output.of(sslCertificateUri));
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(@Nullable Output> sslPreference) {
            $.sslPreference = sslPreference;
            return this;
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(Either sslPreference) {
            return sslPreference(Output.of(sslPreference));
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(String sslPreference) {
            return sslPreference(Either.ofLeft(sslPreference));
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(SslPreference sslPreference) {
            return sslPreference(Either.ofRight(sslPreference));
        }

        public PrometheusOSProviderInstancePropertiesArgs build() {
            $.providerType = Codegen.stringProp("providerType").output().arg($.providerType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy