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

com.pulumi.azurenative.azurestackhci.inputs.GetExtensionArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurestackhci.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 GetExtensionArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetExtensionArgs Empty = new GetExtensionArgs();

    /**
     * The name of the proxy resource holding details of HCI ArcSetting information.
     * 
     */
    @Import(name="arcSettingName", required=true)
    private Output arcSettingName;

    /**
     * @return The name of the proxy resource holding details of HCI ArcSetting information.
     * 
     */
    public Output arcSettingName() {
        return this.arcSettingName;
    }

    /**
     * The name of the cluster.
     * 
     */
    @Import(name="clusterName", required=true)
    private Output clusterName;

    /**
     * @return The name of the cluster.
     * 
     */
    public Output clusterName() {
        return this.clusterName;
    }

    /**
     * The name of the machine extension.
     * 
     */
    @Import(name="extensionName", required=true)
    private Output extensionName;

    /**
     * @return The name of the machine extension.
     * 
     */
    public Output extensionName() {
        return this.extensionName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetExtensionArgs() {}

    private GetExtensionArgs(GetExtensionArgs $) {
        this.arcSettingName = $.arcSettingName;
        this.clusterName = $.clusterName;
        this.extensionName = $.extensionName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetExtensionArgs $;

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

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

        /**
         * @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
         * 
         * @return builder
         * 
         */
        public Builder arcSettingName(Output arcSettingName) {
            $.arcSettingName = arcSettingName;
            return this;
        }

        /**
         * @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
         * 
         * @return builder
         * 
         */
        public Builder arcSettingName(String arcSettingName) {
            return arcSettingName(Output.of(arcSettingName));
        }

        /**
         * @param clusterName The name of the cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(Output clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param clusterName The name of the cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            return clusterName(Output.of(clusterName));
        }

        /**
         * @param extensionName The name of the machine extension.
         * 
         * @return builder
         * 
         */
        public Builder extensionName(Output extensionName) {
            $.extensionName = extensionName;
            return this;
        }

        /**
         * @param extensionName The name of the machine extension.
         * 
         * @return builder
         * 
         */
        public Builder extensionName(String extensionName) {
            return extensionName(Output.of(extensionName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetExtensionArgs build() {
            if ($.arcSettingName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "arcSettingName");
            }
            if ($.clusterName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "clusterName");
            }
            if ($.extensionName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "extensionName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy