ClusterArgs

data class ClusterArgs(val clusterNodeCount: Output<Int>? = null, val name: Output<String>? = null, val skuName: Output<String>? = null, val vmwareCloudId: Output<String>? = null) : ConvertibleToJava<ClusterArgs>

Manages a VMware Cluster.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.avs.PrivateCloud;
import com.pulumi.azure.avs.PrivateCloudArgs;
import com.pulumi.azure.avs.inputs.PrivateCloudManagementClusterArgs;
import com.pulumi.azure.avs.Cluster;
import com.pulumi.azure.avs.ClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var examplePrivateCloud = new PrivateCloud("examplePrivateCloud", PrivateCloudArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.skuName("av36")
.managementCluster(PrivateCloudManagementClusterArgs.builder()
.size(3)
.build())
.networkSubnetCidr("192.168.48.0/22")
.internetConnectionEnabled(false)
.nsxtPassword("QazWsx13$Edc")
.vcenterPassword("WsxEdc23$Rfv")
.build());
var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
.vmwareCloudId(examplePrivateCloud.id())
.clusterNodeCount(3)
.skuName("av36")
.build());
}
}

Import

VMware Clusters can be imported using the resource id, e.g.

$ pulumi import azure:avs/cluster:Cluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AVS/privateClouds/privateCloud1/clusters/cluster1

Constructors

Link copied to clipboard
fun ClusterArgs(clusterNodeCount: Output<Int>? = null, name: Output<String>? = null, skuName: Output<String>? = null, vmwareCloudId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ClusterArgs

Properties

Link copied to clipboard
val clusterNodeCount: Output<Int>? = null

The count of the VMware Cluster nodes.

Link copied to clipboard
val name: Output<String>? = null

The name which should be used for this VMware Cluster. Changing this forces a new VMware Cluster to be created.

Link copied to clipboard
val skuName: Output<String>? = null

The cluster SKU to use. Possible values are av20, av36, av36t, av36p and av52. Changing this forces a new VMware Cluster to be created.

Link copied to clipboard
val vmwareCloudId: Output<String>? = null

The ID of the VMware Private Cloud in which to create this VMware Cluster. Changing this forces a new VMware Cluster to be created.