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

com.pulumi.azure.hdinsight.inputs.SparkClusterMonitorArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.hdinsight.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class SparkClusterMonitorArgs extends com.pulumi.resources.ResourceArgs {

    public static final SparkClusterMonitorArgs Empty = new SparkClusterMonitorArgs();

    /**
     * The Operations Management Suite (OMS) workspace ID.
     * 
     */
    @Import(name="logAnalyticsWorkspaceId", required=true)
    private Output logAnalyticsWorkspaceId;

    /**
     * @return The Operations Management Suite (OMS) workspace ID.
     * 
     */
    public Output logAnalyticsWorkspaceId() {
        return this.logAnalyticsWorkspaceId;
    }

    /**
     * The Operations Management Suite (OMS) workspace key.
     * 
     */
    @Import(name="primaryKey", required=true)
    private Output primaryKey;

    /**
     * @return The Operations Management Suite (OMS) workspace key.
     * 
     */
    public Output primaryKey() {
        return this.primaryKey;
    }

    private SparkClusterMonitorArgs() {}

    private SparkClusterMonitorArgs(SparkClusterMonitorArgs $) {
        this.logAnalyticsWorkspaceId = $.logAnalyticsWorkspaceId;
        this.primaryKey = $.primaryKey;
    }

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

    public static final class Builder {
        private SparkClusterMonitorArgs $;

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

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

        /**
         * @param logAnalyticsWorkspaceId The Operations Management Suite (OMS) workspace ID.
         * 
         * @return builder
         * 
         */
        public Builder logAnalyticsWorkspaceId(Output logAnalyticsWorkspaceId) {
            $.logAnalyticsWorkspaceId = logAnalyticsWorkspaceId;
            return this;
        }

        /**
         * @param logAnalyticsWorkspaceId The Operations Management Suite (OMS) workspace ID.
         * 
         * @return builder
         * 
         */
        public Builder logAnalyticsWorkspaceId(String logAnalyticsWorkspaceId) {
            return logAnalyticsWorkspaceId(Output.of(logAnalyticsWorkspaceId));
        }

        /**
         * @param primaryKey The Operations Management Suite (OMS) workspace key.
         * 
         * @return builder
         * 
         */
        public Builder primaryKey(Output primaryKey) {
            $.primaryKey = primaryKey;
            return this;
        }

        /**
         * @param primaryKey The Operations Management Suite (OMS) workspace key.
         * 
         * @return builder
         * 
         */
        public Builder primaryKey(String primaryKey) {
            return primaryKey(Output.of(primaryKey));
        }

        public SparkClusterMonitorArgs build() {
            if ($.logAnalyticsWorkspaceId == null) {
                throw new MissingRequiredPropertyException("SparkClusterMonitorArgs", "logAnalyticsWorkspaceId");
            }
            if ($.primaryKey == null) {
                throw new MissingRequiredPropertyException("SparkClusterMonitorArgs", "primaryKey");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy