HBaseClusterArgs

data class HBaseClusterArgs(val clusterVersion: Output<String>? = null, val componentVersion: Output<HBaseClusterComponentVersionArgs>? = null, val computeIsolation: Output<HBaseClusterComputeIsolationArgs>? = null, val diskEncryptions: Output<List<HBaseClusterDiskEncryptionArgs>>? = null, val extension: Output<HBaseClusterExtensionArgs>? = null, val gateway: Output<HBaseClusterGatewayArgs>? = null, val location: Output<String>? = null, val metastores: Output<HBaseClusterMetastoresArgs>? = null, val monitor: Output<HBaseClusterMonitorArgs>? = null, val name: Output<String>? = null, val network: Output<HBaseClusterNetworkArgs>? = null, val resourceGroupName: Output<String>? = null, val roles: Output<HBaseClusterRolesArgs>? = null, val securityProfile: Output<HBaseClusterSecurityProfileArgs>? = null, val storageAccountGen2: Output<HBaseClusterStorageAccountGen2Args>? = null, val storageAccounts: Output<List<HBaseClusterStorageAccountArgs>>? = null, val tags: Output<Map<String, String>>? = null, val tier: Output<String>? = null, val tlsMinVersion: Output<String>? = null) : ConvertibleToJava<HBaseClusterArgs>

Manages a HDInsight HBase 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.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.storage.Container;
import com.pulumi.azure.storage.ContainerArgs;
import com.pulumi.azure.hdinsight.HBaseCluster;
import com.pulumi.azure.hdinsight.HBaseClusterArgs;
import com.pulumi.azure.hdinsight.inputs.HBaseClusterComponentVersionArgs;
import com.pulumi.azure.hdinsight.inputs.HBaseClusterGatewayArgs;
import com.pulumi.azure.hdinsight.inputs.HBaseClusterStorageAccountArgs;
import com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesArgs;
import com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesHeadNodeArgs;
import com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesWorkerNodeArgs;
import com.pulumi.azure.hdinsight.inputs.HBaseClusterRolesZookeeperNodeArgs;
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 exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.accountTier("Standard")
.accountReplicationType("LRS")
.build());
var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()
.storageAccountName(exampleAccount.name())
.containerAccessType("private")
.build());
var exampleHBaseCluster = new HBaseCluster("exampleHBaseCluster", HBaseClusterArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.clusterVersion("3.6")
.tier("Standard")
.componentVersion(HBaseClusterComponentVersionArgs.builder()
.hbase("1.1")
.build())
.gateway(HBaseClusterGatewayArgs.builder()
.username("acctestusrgw")
.password("Password123!")
.build())
.storageAccounts(HBaseClusterStorageAccountArgs.builder()
.storageContainerId(exampleContainer.id())
.storageAccountKey(exampleAccount.primaryAccessKey())
.isDefault(true)
.build())
.roles(HBaseClusterRolesArgs.builder()
.headNode(HBaseClusterRolesHeadNodeArgs.builder()
.vmSize("Standard_D3_V2")
.username("acctestusrvm")
.password("AccTestvdSC4daf986!")
.build())
.workerNode(HBaseClusterRolesWorkerNodeArgs.builder()
.vmSize("Standard_D3_V2")
.username("acctestusrvm")
.password("AccTestvdSC4daf986!")
.targetInstanceCount(3)
.build())
.zookeeperNode(HBaseClusterRolesZookeeperNodeArgs.builder()
.vmSize("Standard_D3_V2")
.username("acctestusrvm")
.password("AccTestvdSC4daf986!")
.build())
.build())
.build());
}
}

Import

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

$ pulumi import azure:hdinsight/hBaseCluster:HBaseCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.HDInsight/clusters/cluster1

Constructors

Link copied to clipboard
fun HBaseClusterArgs(clusterVersion: Output<String>? = null, componentVersion: Output<HBaseClusterComponentVersionArgs>? = null, computeIsolation: Output<HBaseClusterComputeIsolationArgs>? = null, diskEncryptions: Output<List<HBaseClusterDiskEncryptionArgs>>? = null, extension: Output<HBaseClusterExtensionArgs>? = null, gateway: Output<HBaseClusterGatewayArgs>? = null, location: Output<String>? = null, metastores: Output<HBaseClusterMetastoresArgs>? = null, monitor: Output<HBaseClusterMonitorArgs>? = null, name: Output<String>? = null, network: Output<HBaseClusterNetworkArgs>? = null, resourceGroupName: Output<String>? = null, roles: Output<HBaseClusterRolesArgs>? = null, securityProfile: Output<HBaseClusterSecurityProfileArgs>? = null, storageAccountGen2: Output<HBaseClusterStorageAccountGen2Args>? = null, storageAccounts: Output<List<HBaseClusterStorageAccountArgs>>? = null, tags: Output<Map<String, String>>? = null, tier: Output<String>? = null, tlsMinVersion: Output<String>? = null)

Functions

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

Properties

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

Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.

Link copied to clipboard

A component_version block as defined below.

Link copied to clipboard

A compute_isolation block as defined below.

Link copied to clipboard

One or more disk_encryption block as defined below.

Link copied to clipboard

An extension block as defined below.

Link copied to clipboard
val gateway: Output<HBaseClusterGatewayArgs>? = null

A gateway block as defined below.

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

Specifies the Azure Region which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.

Link copied to clipboard

A metastores block as defined below.

Link copied to clipboard
val monitor: Output<HBaseClusterMonitorArgs>? = null

A monitor block as defined below.

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

Specifies the name for this HDInsight HBase Cluster. Changing this forces a new resource to be created.

Link copied to clipboard
val network: Output<HBaseClusterNetworkArgs>? = null

A network block as defined below.

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

Specifies the name of the Resource Group in which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val roles: Output<HBaseClusterRolesArgs>? = null

A roles block as defined below.

Link copied to clipboard

A security_profile block as defined below. Changing this forces a new resource to be created.

Link copied to clipboard

A storage_account_gen2 block as defined below.

Link copied to clipboard

One or more storage_account block as defined below.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of Tags which should be assigned to this HDInsight HBase Cluster.

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

Specifies the Tier which should be used for this HDInsight HBase Cluster. Possible values are Standard or Premium. Changing this forces a new resource to be created.

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

The minimal supported TLS version. Possible values are 1.0, 1.1 or 1.2. Changing this forces a new resource to be created.