Interactive Query Cluster Args
data class InteractiveQueryClusterArgs(val clusterVersion: Output<String>? = null, val componentVersion: Output<InteractiveQueryClusterComponentVersionArgs>? = null, val computeIsolation: Output<InteractiveQueryClusterComputeIsolationArgs>? = null, val diskEncryptions: Output<List<InteractiveQueryClusterDiskEncryptionArgs>>? = null, val encryptionInTransitEnabled: Output<Boolean>? = null, val extension: Output<InteractiveQueryClusterExtensionArgs>? = null, val gateway: Output<InteractiveQueryClusterGatewayArgs>? = null, val location: Output<String>? = null, val metastores: Output<InteractiveQueryClusterMetastoresArgs>? = null, val monitor: Output<InteractiveQueryClusterMonitorArgs>? = null, val name: Output<String>? = null, val network: Output<InteractiveQueryClusterNetworkArgs>? = null, val resourceGroupName: Output<String>? = null, val roles: Output<InteractiveQueryClusterRolesArgs>? = null, val securityProfile: Output<InteractiveQueryClusterSecurityProfileArgs>? = null, val storageAccountGen2: Output<InteractiveQueryClusterStorageAccountGen2Args>? = null, val storageAccounts: Output<List<InteractiveQueryClusterStorageAccountArgs>>? = null, val tags: Output<Map<String, String>>? = null, val tier: Output<String>? = null, val tlsMinVersion: Output<String>? = null) : ConvertibleToJava<InteractiveQueryClusterArgs>
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Link copied to clipboard
fun InteractiveQueryClusterArgs(clusterVersion: Output<String>? = null, componentVersion: Output<InteractiveQueryClusterComponentVersionArgs>? = null, computeIsolation: Output<InteractiveQueryClusterComputeIsolationArgs>? = null, diskEncryptions: Output<List<InteractiveQueryClusterDiskEncryptionArgs>>? = null, encryptionInTransitEnabled: Output<Boolean>? = null, extension: Output<InteractiveQueryClusterExtensionArgs>? = null, gateway: Output<InteractiveQueryClusterGatewayArgs>? = null, location: Output<String>? = null, metastores: Output<InteractiveQueryClusterMetastoresArgs>? = null, monitor: Output<InteractiveQueryClusterMonitorArgs>? = null, name: Output<String>? = null, network: Output<InteractiveQueryClusterNetworkArgs>? = null, resourceGroupName: Output<String>? = null, roles: Output<InteractiveQueryClusterRolesArgs>? = null, securityProfile: Output<InteractiveQueryClusterSecurityProfileArgs>? = null, storageAccountGen2: Output<InteractiveQueryClusterStorageAccountGen2Args>? = null, storageAccounts: Output<List<InteractiveQueryClusterStorageAccountArgs>>? = null, tags: Output<Map<String, String>>? = null, tier: Output<String>? = null, tlsMinVersion: Output<String>? = null)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard