Sandbox Custom Image Args
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",
});
});
Content copied to clipboard
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
})
}
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.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());
}
}
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:SandboxCustomImage kustoCluster/customImage8 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}
Content copied to clipboard
Properties
Link copied to clipboard
The name of the Kusto cluster.
Link copied to clipboard
The version of the language.
Link copied to clipboard
The requirements file content.
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
The name of the sandbox custom image.