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

com.pulumi.azurenative.offazure.HypervClusterControllerClusterArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.offazure;

import com.pulumi.azurenative.offazure.enums.ProvisioningState;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final HypervClusterControllerClusterArgs Empty = new HypervClusterControllerClusterArgs();

    /**
     *  Cluster ARM name
     * 
     */
    @Import(name="clusterName")
    private @Nullable Output clusterName;

    /**
     * @return  Cluster ARM name
     * 
     */
    public Optional> clusterName() {
        return Optional.ofNullable(this.clusterName);
    }

    /**
     * Gets or sets the FQDN/IPAddress of the Hyper-V cluster.
     * 
     */
    @Import(name="fqdn")
    private @Nullable Output fqdn;

    /**
     * @return Gets or sets the FQDN/IPAddress of the Hyper-V cluster.
     * 
     */
    public Optional> fqdn() {
        return Optional.ofNullable(this.fqdn);
    }

    /**
     * Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
     * 
     */
    @Import(name="hostFqdnList")
    private @Nullable Output> hostFqdnList;

    /**
     * @return Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
     * 
     */
    public Optional>> hostFqdnList() {
        return Optional.ofNullable(this.hostFqdnList);
    }

    /**
     * The status of the last operation.
     * 
     */
    @Import(name="provisioningState")
    private @Nullable Output> provisioningState;

    /**
     * @return The status of the last operation.
     * 
     */
    public Optional>> provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

    /**
     * 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;
    }

    /**
     * Gets or sets Run as account ID of the Hyper-V cluster.
     * 
     */
    @Import(name="runAsAccountId")
    private @Nullable Output runAsAccountId;

    /**
     * @return Gets or sets Run as account ID of the Hyper-V cluster.
     * 
     */
    public Optional> runAsAccountId() {
        return Optional.ofNullable(this.runAsAccountId);
    }

    /**
     * Site name
     * 
     */
    @Import(name="siteName", required=true)
    private Output siteName;

    /**
     * @return Site name
     * 
     */
    public Output siteName() {
        return this.siteName;
    }

    private HypervClusterControllerClusterArgs() {}

    private HypervClusterControllerClusterArgs(HypervClusterControllerClusterArgs $) {
        this.clusterName = $.clusterName;
        this.fqdn = $.fqdn;
        this.hostFqdnList = $.hostFqdnList;
        this.provisioningState = $.provisioningState;
        this.resourceGroupName = $.resourceGroupName;
        this.runAsAccountId = $.runAsAccountId;
        this.siteName = $.siteName;
    }

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

    public static final class Builder {
        private HypervClusterControllerClusterArgs $;

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

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

        /**
         * @param clusterName  Cluster ARM name
         * 
         * @return builder
         * 
         */
        public Builder clusterName(@Nullable Output clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param clusterName  Cluster ARM name
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            return clusterName(Output.of(clusterName));
        }

        /**
         * @param fqdn Gets or sets the FQDN/IPAddress of the Hyper-V cluster.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(@Nullable Output fqdn) {
            $.fqdn = fqdn;
            return this;
        }

        /**
         * @param fqdn Gets or sets the FQDN/IPAddress of the Hyper-V cluster.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(String fqdn) {
            return fqdn(Output.of(fqdn));
        }

        /**
         * @param hostFqdnList Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
         * 
         * @return builder
         * 
         */
        public Builder hostFqdnList(@Nullable Output> hostFqdnList) {
            $.hostFqdnList = hostFqdnList;
            return this;
        }

        /**
         * @param hostFqdnList Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
         * 
         * @return builder
         * 
         */
        public Builder hostFqdnList(List hostFqdnList) {
            return hostFqdnList(Output.of(hostFqdnList));
        }

        /**
         * @param hostFqdnList Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
         * 
         * @return builder
         * 
         */
        public Builder hostFqdnList(String... hostFqdnList) {
            return hostFqdnList(List.of(hostFqdnList));
        }

        /**
         * @param provisioningState The status of the last operation.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(@Nullable Output> provisioningState) {
            $.provisioningState = provisioningState;
            return this;
        }

        /**
         * @param provisioningState The status of the last operation.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(Either provisioningState) {
            return provisioningState(Output.of(provisioningState));
        }

        /**
         * @param provisioningState The status of the last operation.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(String provisioningState) {
            return provisioningState(Either.ofLeft(provisioningState));
        }

        /**
         * @param provisioningState The status of the last operation.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(ProvisioningState provisioningState) {
            return provisioningState(Either.ofRight(provisioningState));
        }

        /**
         * @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));
        }

        /**
         * @param runAsAccountId Gets or sets Run as account ID of the Hyper-V cluster.
         * 
         * @return builder
         * 
         */
        public Builder runAsAccountId(@Nullable Output runAsAccountId) {
            $.runAsAccountId = runAsAccountId;
            return this;
        }

        /**
         * @param runAsAccountId Gets or sets Run as account ID of the Hyper-V cluster.
         * 
         * @return builder
         * 
         */
        public Builder runAsAccountId(String runAsAccountId) {
            return runAsAccountId(Output.of(runAsAccountId));
        }

        /**
         * @param siteName Site name
         * 
         * @return builder
         * 
         */
        public Builder siteName(Output siteName) {
            $.siteName = siteName;
            return this;
        }

        /**
         * @param siteName Site name
         * 
         * @return builder
         * 
         */
        public Builder siteName(String siteName) {
            return siteName(Output.of(siteName));
        }

        public HypervClusterControllerClusterArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("HypervClusterControllerClusterArgs", "resourceGroupName");
            }
            if ($.siteName == null) {
                throw new MissingRequiredPropertyException("HypervClusterControllerClusterArgs", "siteName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy