Cluster Args
Class representing a Kusto cluster. Uses Azure REST API version 2022-12-29. In version 1.x of the Azure Native provider, it used API version 2021-01-01. Other available API versions: 2022-07-07, 2023-05-02, 2023-08-15, 2024-04-13.
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()
{
AllowedIpRangeList = new[]
{
"0.0.0.0/0",
},
ClusterName = "kustoCluster",
EnableAutoStop = true,
EnableDoubleEncryption = false,
EnablePurge = true,
EnableStreamingIngest = true,
Identity = new AzureNative.Kusto.Inputs.IdentityArgs
{
Type = AzureNative.Kusto.IdentityType.SystemAssigned,
},
LanguageExtensions = new AzureNative.Kusto.Inputs.LanguageExtensionsListArgs
{
Value = new[]
{
new AzureNative.Kusto.Inputs.LanguageExtensionArgs
{
LanguageExtensionImageName = AzureNative.Kusto.LanguageExtensionImageName.Python3_10_8,
LanguageExtensionName = AzureNative.Kusto.LanguageExtensionName.PYTHON,
},
new AzureNative.Kusto.Inputs.LanguageExtensionArgs
{
LanguageExtensionImageName = AzureNative.Kusto.LanguageExtensionImageName.R,
LanguageExtensionName = AzureNative.Kusto.LanguageExtensionName.R,
},
},
},
Location = "westus",
PublicIPType = AzureNative.Kusto.PublicIPType.DualStack,
PublicNetworkAccess = AzureNative.Kusto.PublicNetworkAccess.Enabled,
ResourceGroupName = "kustorptest",
Sku = new AzureNative.Kusto.Inputs.AzureSkuArgs
{
Capacity = 2,
Name = AzureNative.Kusto.AzureSkuName.Standard_L16as_v3,
Tier = AzureNative.Kusto.AzureSkuTier.Standard,
},
});
});
package main
import (
kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kusto.NewCluster(ctx, "cluster", &kusto.ClusterArgs{
AllowedIpRangeList: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
ClusterName: pulumi.String("kustoCluster"),
EnableAutoStop: pulumi.Bool(true),
EnableDoubleEncryption: pulumi.Bool(false),
EnablePurge: pulumi.Bool(true),
EnableStreamingIngest: pulumi.Bool(true),
Identity: &kusto.IdentityArgs{
Type: pulumi.String(kusto.IdentityTypeSystemAssigned),
},
LanguageExtensions: &kusto.LanguageExtensionsListArgs{
Value: kusto.LanguageExtensionArray{
&kusto.LanguageExtensionArgs{
LanguageExtensionImageName: pulumi.String(kusto.LanguageExtensionImageName_Python3_10_8),
LanguageExtensionName: pulumi.String(kusto.LanguageExtensionNamePYTHON),
},
&kusto.LanguageExtensionArgs{
LanguageExtensionImageName: pulumi.String(kusto.LanguageExtensionImageNameR),
LanguageExtensionName: pulumi.String(kusto.LanguageExtensionNameR),
},
},
},
Location: pulumi.String("westus"),
PublicIPType: pulumi.String(kusto.PublicIPTypeDualStack),
PublicNetworkAccess: pulumi.String(kusto.PublicNetworkAccessEnabled),
ResourceGroupName: pulumi.String("kustorptest"),
Sku: &kusto.AzureSkuArgs{
Capacity: pulumi.Int(2),
Name: pulumi.String(kusto.AzureSkuName_Standard_L16as_v3),
Tier: pulumi.String(kusto.AzureSkuTierStandard),
},
})
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 com.pulumi.azurenative.kusto.inputs.IdentityArgs;
import com.pulumi.azurenative.kusto.inputs.LanguageExtensionsListArgs;
import com.pulumi.azurenative.kusto.inputs.AzureSkuArgs;
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()
.allowedIpRangeList("0.0.0.0/0")
.clusterName("kustoCluster")
.enableAutoStop(true)
.enableDoubleEncryption(false)
.enablePurge(true)
.enableStreamingIngest(true)
.identity(IdentityArgs.builder()
.type("SystemAssigned")
.build())
.languageExtensions(LanguageExtensionsListArgs.builder()
.value(
LanguageExtensionArgs.builder()
.languageExtensionImageName("Python3_10_8")
.languageExtensionName("PYTHON")
.build(),
LanguageExtensionArgs.builder()
.languageExtensionImageName("R")
.languageExtensionName("R")
.build())
.build())
.location("westus")
.publicIPType("DualStack")
.publicNetworkAccess("Enabled")
.resourceGroupName("kustorptest")
.sku(AzureSkuArgs.builder()
.capacity(2)
.name("Standard_L16as_v3")
.tier("Standard")
.build())
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:kusto:Cluster kustoCluster /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}
Constructors
Properties
The cluster's accepted audiences.
List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster.
The list of ips in the format of CIDR allowed to connect to the cluster.
The name of the Kusto cluster.
A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days).
A boolean value that indicates if the cluster's disks are encrypted.
A boolean value that indicates if double encryption is enabled.
A boolean value that indicates if the purge operations are enabled.
A boolean value that indicates if the streaming ingest is enabled.
The engine type
The identity of the cluster, if configured.
KeyVault properties for the cluster encryption.
List of the cluster's language extensions.
Optimized auto scale definition.
Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6)
Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed
The name of the resource group containing the Kusto cluster.
Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
The SKU of the cluster.
The cluster's external tenants.
Virtual Cluster graduation properties
Virtual network definition.