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

com.pulumi.azure.avs.ClusterArgs 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.avs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterArgs Empty = new ClusterArgs();

    /**
     * The count of the Azure VMware Solution Cluster nodes.
     * 
     */
    @Import(name="clusterNodeCount", required=true)
    private Output clusterNodeCount;

    /**
     * @return The count of the Azure VMware Solution Cluster nodes.
     * 
     */
    public Output clusterNodeCount() {
        return this.clusterNodeCount;
    }

    /**
     * The name which should be used for this Azure VMware Solution Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Azure VMware Solution Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
     * 
     */
    @Import(name="skuName", required=true)
    private Output skuName;

    /**
     * @return The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
     * 
     */
    public Output skuName() {
        return this.skuName;
    }

    /**
     * The ID of the Azure VMware Solution Private Cloud in which to create this Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
     * 
     */
    @Import(name="vmwareCloudId", required=true)
    private Output vmwareCloudId;

    /**
     * @return The ID of the Azure VMware Solution Private Cloud in which to create this Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
     * 
     */
    public Output vmwareCloudId() {
        return this.vmwareCloudId;
    }

    private ClusterArgs() {}

    private ClusterArgs(ClusterArgs $) {
        this.clusterNodeCount = $.clusterNodeCount;
        this.name = $.name;
        this.skuName = $.skuName;
        this.vmwareCloudId = $.vmwareCloudId;
    }

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

    public static final class Builder {
        private ClusterArgs $;

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

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

        /**
         * @param clusterNodeCount The count of the Azure VMware Solution Cluster nodes.
         * 
         * @return builder
         * 
         */
        public Builder clusterNodeCount(Output clusterNodeCount) {
            $.clusterNodeCount = clusterNodeCount;
            return this;
        }

        /**
         * @param clusterNodeCount The count of the Azure VMware Solution Cluster nodes.
         * 
         * @return builder
         * 
         */
        public Builder clusterNodeCount(Integer clusterNodeCount) {
            return clusterNodeCount(Output.of(clusterNodeCount));
        }

        /**
         * @param name The name which should be used for this Azure VMware Solution Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Azure VMware Solution Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param skuName The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder skuName(Output skuName) {
            $.skuName = skuName;
            return this;
        }

        /**
         * @param skuName The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder skuName(String skuName) {
            return skuName(Output.of(skuName));
        }

        /**
         * @param vmwareCloudId The ID of the Azure VMware Solution Private Cloud in which to create this Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder vmwareCloudId(Output vmwareCloudId) {
            $.vmwareCloudId = vmwareCloudId;
            return this;
        }

        /**
         * @param vmwareCloudId The ID of the Azure VMware Solution Private Cloud in which to create this Cluster. Changing this forces a new Azure VMware Solution Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder vmwareCloudId(String vmwareCloudId) {
            return vmwareCloudId(Output.of(vmwareCloudId));
        }

        public ClusterArgs build() {
            if ($.clusterNodeCount == null) {
                throw new MissingRequiredPropertyException("ClusterArgs", "clusterNodeCount");
            }
            if ($.skuName == null) {
                throw new MissingRequiredPropertyException("ClusterArgs", "skuName");
            }
            if ($.vmwareCloudId == null) {
                throw new MissingRequiredPropertyException("ClusterArgs", "vmwareCloudId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy