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

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

There is a newer version: 2.72.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.kubernetesconfiguration.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 kubernetes cluster.
     * 
     */
    @Import(name="clusterName", required=true)
    private Output clusterName;

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

    /**
     * The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
     * 
     */
    @Import(name="clusterResourceName", required=true)
    private Output clusterResourceName;

    /**
     * @return The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
     * 
     */
    public Output clusterResourceName() {
        return this.clusterResourceName;
    }

    /**
     * The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
     * 
     */
    @Import(name="clusterRp", required=true)
    private Output clusterRp;

    /**
     * @return The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
     * 
     */
    public Output clusterRp() {
        return this.clusterRp;
    }

    /**
     * Name of the Extension.
     * 
     */
    @Import(name="extensionName", required=true)
    private Output extensionName;

    /**
     * @return Name of the 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.clusterName = $.clusterName;
        this.clusterResourceName = $.clusterResourceName;
        this.clusterRp = $.clusterRp;
        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 clusterName The name of the kubernetes cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(Output clusterName) {
            $.clusterName = clusterName;
            return this;
        }

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

        /**
         * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
         * 
         * @return builder
         * 
         */
        public Builder clusterResourceName(Output clusterResourceName) {
            $.clusterResourceName = clusterResourceName;
            return this;
        }

        /**
         * @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
         * 
         * @return builder
         * 
         */
        public Builder clusterResourceName(String clusterResourceName) {
            return clusterResourceName(Output.of(clusterResourceName));
        }

        /**
         * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
         * 
         * @return builder
         * 
         */
        public Builder clusterRp(Output clusterRp) {
            $.clusterRp = clusterRp;
            return this;
        }

        /**
         * @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
         * 
         * @return builder
         * 
         */
        public Builder clusterRp(String clusterRp) {
            return clusterRp(Output.of(clusterRp));
        }

        /**
         * @param extensionName Name of the Extension.
         * 
         * @return builder
         * 
         */
        public Builder extensionName(Output extensionName) {
            $.extensionName = extensionName;
            return this;
        }

        /**
         * @param extensionName Name of the 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 ($.clusterName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "clusterName");
            }
            if ($.clusterResourceName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "clusterResourceName");
            }
            if ($.clusterRp == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "clusterRp");
            }
            if ($.extensionName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "extensionName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetExtensionArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy