ClusterArgs

data class ClusterArgs(val clusterName: Output<String>? = null, val enableDiskEncryption: Output<Boolean>? = null, val enableDoubleEncryption: Output<Boolean>? = null, val enablePurge: Output<Boolean>? = null, val enableStreamingIngest: Output<Boolean>? = null, val engineType: Output<Either<String, EngineType>>? = null, val identity: Output<IdentityArgs>? = null, val keyVaultProperties: Output<KeyVaultPropertiesArgs>? = null, val location: Output<String>? = null, val optimizedAutoscale: Output<OptimizedAutoscaleArgs>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<AzureSkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val trustedExternalTenants: Output<List<TrustedExternalTenantArgs>>? = null, val virtualNetworkConfiguration: Output<VirtualNetworkConfigurationArgs>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<ClusterArgs>

Class representing a Kusto cluster. API Version: 2021-01-01.

Example Usage

KustoClustersCreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.Kusto.Cluster("cluster", new()
{
ClusterName = "kustoclusterrptest4",
EnableDoubleEncryption = false,
EnablePurge = true,
EnableStreamingIngest = true,
Identity = new AzureNative.Kusto.Inputs.IdentityArgs
{
Type = "SystemAssigned",
},
Location = "westus",
ResourceGroupName = "kustorptest",
Sku = new AzureNative.Kusto.Inputs.AzureSkuArgs
{
Capacity = 2,
Name = "Standard_L8s",
Tier = "Standard",
},
});
});
package main
import (
kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kusto.NewCluster(ctx, "cluster", &kusto.ClusterArgs{
ClusterName: pulumi.String("kustoclusterrptest4"),
EnableDoubleEncryption: pulumi.Bool(false),
EnablePurge: pulumi.Bool(true),
EnableStreamingIngest: pulumi.Bool(true),
Identity: &kusto.IdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("kustorptest"),
Sku: &kusto.AzureSkuArgs{
Capacity: pulumi.Int(2),
Name: pulumi.String("Standard_L8s"),
Tier: pulumi.String("Standard"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.kusto.Cluster;
import com.pulumi.azurenative.kusto.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 cluster = new Cluster("cluster", ClusterArgs.builder()
.clusterName("kustoclusterrptest4")
.enableDoubleEncryption(false)
.enablePurge(true)
.enableStreamingIngest(true)
.identity(Map.of("type", "SystemAssigned"))
.location("westus")
.resourceGroupName("kustorptest")
.sku(Map.ofEntries(
Map.entry("capacity", 2),
Map.entry("name", "Standard_L8s"),
Map.entry("tier", "Standard")
))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:kusto:Cluster KustoClusterRPTest4 /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4

Constructors

Link copied to clipboard
constructor(clusterName: Output<String>? = null, enableDiskEncryption: Output<Boolean>? = null, enableDoubleEncryption: Output<Boolean>? = null, enablePurge: Output<Boolean>? = null, enableStreamingIngest: Output<Boolean>? = null, engineType: Output<Either<String, EngineType>>? = null, identity: Output<IdentityArgs>? = null, keyVaultProperties: Output<KeyVaultPropertiesArgs>? = null, location: Output<String>? = null, optimizedAutoscale: Output<OptimizedAutoscaleArgs>? = null, resourceGroupName: Output<String>? = null, sku: Output<AzureSkuArgs>? = null, tags: Output<Map<String, String>>? = null, trustedExternalTenants: Output<List<TrustedExternalTenantArgs>>? = null, virtualNetworkConfiguration: Output<VirtualNetworkConfigurationArgs>? = null, zones: Output<List<String>>? = null)

Properties

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

The name of the Kusto cluster.

Link copied to clipboard
val enableDiskEncryption: Output<Boolean>? = null

A boolean value that indicates if the cluster's disks are encrypted.

Link copied to clipboard
val enableDoubleEncryption: Output<Boolean>? = null

A boolean value that indicates if double encryption is enabled.

Link copied to clipboard
val enablePurge: Output<Boolean>? = null

A boolean value that indicates if the purge operations are enabled.

Link copied to clipboard
val enableStreamingIngest: Output<Boolean>? = null

A boolean value that indicates if the streaming ingest is enabled.

Link copied to clipboard
val engineType: Output<Either<String, EngineType>>? = null

The engine type

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

The identity of the cluster, if configured.

Link copied to clipboard

KeyVault properties for the cluster encryption.

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

The geo-location where the resource lives

Link copied to clipboard

Optimized auto scale definition.

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

The name of the resource group containing the Kusto cluster.

Link copied to clipboard
val sku: Output<AzureSkuArgs>? = null

The SKU of the cluster.

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

Resource tags.

Link copied to clipboard

The cluster's external tenants.

Link copied to clipboard

Virtual network definition.

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

The availability zones of the cluster.

Functions

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