SandboxCustomImageArgs

data class SandboxCustomImageArgs(val clusterName: Output<String>? = null, val language: Output<Either<String, Language>>? = null, val languageVersion: Output<String>? = null, val requirementsFileContent: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sandboxCustomImageName: Output<String>? = null) : ConvertibleToJava<SandboxCustomImageArgs>

Class representing a Kusto sandbox custom image. Uses Azure REST API version 2023-08-15. Other available API versions: 2024-04-13.

Example Usage

KustoSandboxCustomImagesCreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sandboxCustomImage = new AzureNative.Kusto.SandboxCustomImage("sandboxCustomImage", new()
{
ClusterName = "kustoCluster",
Language = AzureNative.Kusto.Language.Python,
LanguageVersion = "3.10.8",
RequirementsFileContent = "Requests",
ResourceGroupName = "kustorptest",
SandboxCustomImageName = "customImage8",
});
});
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.NewSandboxCustomImage(ctx, "sandboxCustomImage", &kusto.SandboxCustomImageArgs{
ClusterName: pulumi.String("kustoCluster"),
Language: pulumi.String(kusto.LanguagePython),
LanguageVersion: pulumi.String("3.10.8"),
RequirementsFileContent: pulumi.String("Requests"),
ResourceGroupName: pulumi.String("kustorptest"),
SandboxCustomImageName: pulumi.String("customImage8"),
})
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.SandboxCustomImage;
import com.pulumi.azurenative.kusto.SandboxCustomImageArgs;
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 sandboxCustomImage = new SandboxCustomImage("sandboxCustomImage", SandboxCustomImageArgs.builder()
.clusterName("kustoCluster")
.language("Python")
.languageVersion("3.10.8")
.requirementsFileContent("Requests")
.resourceGroupName("kustorptest")
.sandboxCustomImageName("customImage8")
.build());
}
}

Import

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

$ pulumi import azure-native:kusto:SandboxCustomImage kustoCluster/customImage8 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}

Constructors

Link copied to clipboard
constructor(clusterName: Output<String>? = null, language: Output<Either<String, Language>>? = null, languageVersion: Output<String>? = null, requirementsFileContent: Output<String>? = null, resourceGroupName: Output<String>? = null, sandboxCustomImageName: Output<String>? = null)

Properties

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

The name of the Kusto cluster.

Link copied to clipboard
val language: Output<Either<String, Language>>? = null

The language name, for example Python.

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

The version of the language.

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

The requirements file content.

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

The name of the resource group. The name is case insensitive.

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

The name of the sandbox custom image.

Functions

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