Cluster Args
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",
},
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Link copied to clipboard
fun ClusterArgs(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)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard