Cluster Args
data class ClusterArgs(val acceptedAudiences: Output<List<AcceptedAudiencesArgs>>? = null, val allowedFqdnList: Output<List<String>>? = null, val allowedIpRangeList: Output<List<String>>? = null, val clusterName: Output<String>? = null, val enableAutoStop: Output<Boolean>? = 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 languageExtensions: Output<LanguageExtensionsListArgs>? = null, val location: Output<String>? = null, val optimizedAutoscale: Output<OptimizedAutoscaleArgs>? = null, val publicIPType: Output<Either<String, PublicIPType>>? = null, val publicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, val resourceGroupName: Output<String>? = null, val restrictOutboundNetworkAccess: Output<Either<String, ClusterNetworkAccessFlag>>? = null, val sku: Output<AzureSkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val trustedExternalTenants: Output<List<TrustedExternalTenantArgs>>? = null, val virtualClusterGraduationProperties: Output<String>? = null, val virtualNetworkConfiguration: Output<VirtualNetworkConfigurationArgs>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<ClusterArgs>
Class representing a Kusto cluster. Azure REST API version: 2022-12-29. Prior API version in Azure Native 1.x: 2021-01-01. Other available API versions: 2022-07-07, 2023-05-02, 2023-08-15.
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 = "SystemAssigned",
},
LanguageExtensions = new AzureNative.Kusto.Inputs.LanguageExtensionsListArgs
{
Value = new[]
{
new AzureNative.Kusto.Inputs.LanguageExtensionArgs
{
LanguageExtensionImageName = "Python3_10_8",
LanguageExtensionName = "PYTHON",
},
new AzureNative.Kusto.Inputs.LanguageExtensionArgs
{
LanguageExtensionImageName = "R",
LanguageExtensionName = "R",
},
},
},
Location = "westus",
PublicIPType = "DualStack",
PublicNetworkAccess = "Enabled",
ResourceGroupName = "kustorptest",
Sku = new AzureNative.Kusto.Inputs.AzureSkuArgs
{
Capacity = 2,
Name = "Standard_L16as_v3",
Tier = "Standard",
},
});
});
Content copied to clipboard
package main
import (
"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("SystemAssigned"),
},
LanguageExtensions: kusto.LanguageExtensionsListResponse{
Value: kusto.LanguageExtensionArray{
&kusto.LanguageExtensionArgs{
LanguageExtensionImageName: pulumi.String("Python3_10_8"),
LanguageExtensionName: pulumi.String("PYTHON"),
},
&kusto.LanguageExtensionArgs{
LanguageExtensionImageName: pulumi.String("R"),
LanguageExtensionName: pulumi.String("R"),
},
},
},
Location: pulumi.String("westus"),
PublicIPType: pulumi.String("DualStack"),
PublicNetworkAccess: pulumi.String("Enabled"),
ResourceGroupName: pulumi.String("kustorptest"),
Sku: &kusto.AzureSkuArgs{
Capacity: pulumi.Int(2),
Name: pulumi.String("Standard_L16as_v3"),
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()
.allowedIpRangeList("0.0.0.0/0")
.clusterName("kustoCluster")
.enableAutoStop(true)
.enableDoubleEncryption(false)
.enablePurge(true)
.enableStreamingIngest(true)
.identity(Map.of("type", "SystemAssigned"))
.languageExtensions(Map.of("value",
Map.ofEntries(
Map.entry("languageExtensionImageName", "Python3_10_8"),
Map.entry("languageExtensionName", "PYTHON")
),
Map.ofEntries(
Map.entry("languageExtensionImageName", "R"),
Map.entry("languageExtensionName", "R")
)))
.location("westus")
.publicIPType("DualStack")
.publicNetworkAccess("Enabled")
.resourceGroupName("kustorptest")
.sku(Map.ofEntries(
Map.entry("capacity", 2),
Map.entry("name", "Standard_L16as_v3"),
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 kustoCluster /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}
Content copied to clipboard
Constructors
Link copied to clipboard
fun ClusterArgs(acceptedAudiences: Output<List<AcceptedAudiencesArgs>>? = null, allowedFqdnList: Output<List<String>>? = null, allowedIpRangeList: Output<List<String>>? = null, clusterName: Output<String>? = null, enableAutoStop: Output<Boolean>? = 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, languageExtensions: Output<LanguageExtensionsListArgs>? = null, location: Output<String>? = null, optimizedAutoscale: Output<OptimizedAutoscaleArgs>? = null, publicIPType: Output<Either<String, PublicIPType>>? = null, publicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, resourceGroupName: Output<String>? = null, restrictOutboundNetworkAccess: Output<Either<String, ClusterNetworkAccessFlag>>? = null, sku: Output<AzureSkuArgs>? = null, tags: Output<Map<String, String>>? = null, trustedExternalTenants: Output<List<TrustedExternalTenantArgs>>? = null, virtualClusterGraduationProperties: Output<String>? = 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
Link copied to clipboard
Link copied to clipboard