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

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

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


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

    public static final ClusterState Empty = new ClusterState();

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

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

    /**
     * A number that identifies this Cluster in its Azure VMware Solution Private Cloud.
     * 
     */
    @Import(name="clusterNumber")
    private @Nullable Output clusterNumber;

    /**
     * @return A number that identifies this Cluster in its Azure VMware Solution Private Cloud.
     * 
     */
    public Optional> clusterNumber() {
        return Optional.ofNullable(this.clusterNumber);
    }

    /**
     * A list of hosts in the Azure VMware Solution Cluster.
     * 
     */
    @Import(name="hosts")
    private @Nullable Output> hosts;

    /**
     * @return A list of hosts in the Azure VMware Solution Cluster.
     * 
     */
    public Optional>> hosts() {
        return Optional.ofNullable(this.hosts);
    }

    /**
     * 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")
    private @Nullable 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 Optional> skuName() {
        return Optional.ofNullable(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")
    private @Nullable 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 Optional> vmwareCloudId() {
        return Optional.ofNullable(this.vmwareCloudId);
    }

    private ClusterState() {}

    private ClusterState(ClusterState $) {
        this.clusterNodeCount = $.clusterNodeCount;
        this.clusterNumber = $.clusterNumber;
        this.hosts = $.hosts;
        this.name = $.name;
        this.skuName = $.skuName;
        this.vmwareCloudId = $.vmwareCloudId;
    }

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

    public static final class Builder {
        private ClusterState $;

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

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

        /**
         * @param clusterNodeCount The count of the Azure VMware Solution Cluster nodes.
         * 
         * @return builder
         * 
         */
        public Builder clusterNodeCount(@Nullable 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 clusterNumber A number that identifies this Cluster in its Azure VMware Solution Private Cloud.
         * 
         * @return builder
         * 
         */
        public Builder clusterNumber(@Nullable Output clusterNumber) {
            $.clusterNumber = clusterNumber;
            return this;
        }

        /**
         * @param clusterNumber A number that identifies this Cluster in its Azure VMware Solution Private Cloud.
         * 
         * @return builder
         * 
         */
        public Builder clusterNumber(Integer clusterNumber) {
            return clusterNumber(Output.of(clusterNumber));
        }

        /**
         * @param hosts A list of hosts in the Azure VMware Solution Cluster.
         * 
         * @return builder
         * 
         */
        public Builder hosts(@Nullable Output> hosts) {
            $.hosts = hosts;
            return this;
        }

        /**
         * @param hosts A list of hosts in the Azure VMware Solution Cluster.
         * 
         * @return builder
         * 
         */
        public Builder hosts(List hosts) {
            return hosts(Output.of(hosts));
        }

        /**
         * @param hosts A list of hosts in the Azure VMware Solution Cluster.
         * 
         * @return builder
         * 
         */
        public Builder hosts(String... hosts) {
            return hosts(List.of(hosts));
        }

        /**
         * @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(@Nullable 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(@Nullable 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 ClusterState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy