InteractiveQueryCluster

class InteractiveQueryCluster : KotlinCustomResource

Manages a HDInsight Interactive Query 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.InteractiveQueryCluster;
import com.pulumi.azure.hdinsight.InteractiveQueryClusterArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterComponentVersionArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterGatewayArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterStorageAccountArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesHeadNodeArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesWorkerNodeArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterRolesZookeeperNodeArgs;
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 exampleInteractiveQueryCluster = new InteractiveQueryCluster("exampleInteractiveQueryCluster", InteractiveQueryClusterArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.clusterVersion("3.6")
.tier("Standard")
.componentVersion(InteractiveQueryClusterComponentVersionArgs.builder()
.interactiveHive("2.1")
.build())
.gateway(InteractiveQueryClusterGatewayArgs.builder()
.username("acctestusrgw")
.password("Password!")
.build())
.storageAccounts(InteractiveQueryClusterStorageAccountArgs.builder()
.storageContainerId(exampleContainer.id())
.storageAccountKey(exampleAccount.primaryAccessKey())
.isDefault(true)
.build())
.roles(InteractiveQueryClusterRolesArgs.builder()
.headNode(InteractiveQueryClusterRolesHeadNodeArgs.builder()
.vmSize("Standard_D13_V2")
.username("acctestusrvm")
.password("AccTestvdSC4daf986!")
.build())
.workerNode(InteractiveQueryClusterRolesWorkerNodeArgs.builder()
.vmSize("Standard_D14_V2")
.username("acctestusrvm")
.password("AccTestvdSC4daf986!")
.targetInstanceCount(3)
.build())
.zookeeperNode(InteractiveQueryClusterRolesZookeeperNodeArgs.builder()
.vmSize("Standard_A4_V2")
.username("acctestusrvm")
.password("AccTestvdSC4daf986!")
.build())
.build())
.build());
}
}

Import

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

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

Properties

Link copied to clipboard
val clusterVersion: Output<String>

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

A disk_encryption block as defined below.

Link copied to clipboard

Whether encryption in transit is enabled for this Cluster. Changing this forces a new resource to be created.

Link copied to clipboard

An extension block as defined below.

Link copied to clipboard

A gateway block as defined below.

Link copied to clipboard
val httpsEndpoint: Output<String>

The HTTPS Connectivity Endpoint for this HDInsight Interactive Query Cluster.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Specifies the Azure Region which this HDInsight Interactive Query 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

A monitor block as defined below.

Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard

A network block as defined below.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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
val sshEndpoint: Output<String>

The SSH Connectivity Endpoint for this HDInsight Interactive Query Cluster.

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>>?

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

Link copied to clipboard
val tier: Output<String>

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

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

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

Link copied to clipboard
val urn: Output<String>