1. Packages
  2. Azure Native v2
  3. API Docs
  4. kusto
  5. SandboxCustomImage
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.kusto.SandboxCustomImage

Explore with Pulumi AI

Class representing a Kusto sandbox custom image. 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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sandboxCustomImage = new azure_native.kusto.SandboxCustomImage("sandboxCustomImage", {
    clusterName: "kustoCluster",
    language: azure_native.kusto.Language.Python,
    languageVersion: "3.10.8",
    requirementsFileContent: "Requests",
    resourceGroupName: "kustorptest",
    sandboxCustomImageName: "customImage8",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

sandbox_custom_image = azure_native.kusto.SandboxCustomImage("sandboxCustomImage",
    cluster_name="kustoCluster",
    language=azure_native.kusto.Language.PYTHON,
    language_version="3.10.8",
    requirements_file_content="Requests",
    resource_group_name="kustorptest",
    sandbox_custom_image_name="customImage8")
Copy
resources:
  sandboxCustomImage:
    type: azure-native:kusto:SandboxCustomImage
    properties:
      clusterName: kustoCluster
      language: Python
      languageVersion: 3.10.8
      requirementsFileContent: Requests
      resourceGroupName: kustorptest
      sandboxCustomImageName: customImage8
Copy

Create SandboxCustomImage Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SandboxCustomImage(name: string, args: SandboxCustomImageArgs, opts?: CustomResourceOptions);
@overload
def SandboxCustomImage(resource_name: str,
                       args: SandboxCustomImageArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def SandboxCustomImage(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       cluster_name: Optional[str] = None,
                       language: Optional[Union[str, Language]] = None,
                       language_version: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       requirements_file_content: Optional[str] = None,
                       sandbox_custom_image_name: Optional[str] = None)
func NewSandboxCustomImage(ctx *Context, name string, args SandboxCustomImageArgs, opts ...ResourceOption) (*SandboxCustomImage, error)
public SandboxCustomImage(string name, SandboxCustomImageArgs args, CustomResourceOptions? opts = null)
public SandboxCustomImage(String name, SandboxCustomImageArgs args)
public SandboxCustomImage(String name, SandboxCustomImageArgs args, CustomResourceOptions options)
type: azure-native:kusto:SandboxCustomImage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SandboxCustomImageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SandboxCustomImageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SandboxCustomImageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SandboxCustomImageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SandboxCustomImageArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var sandboxCustomImageResource = new AzureNative.Kusto.SandboxCustomImage("sandboxCustomImageResource", new()
{
    ClusterName = "string",
    Language = "string",
    LanguageVersion = "string",
    ResourceGroupName = "string",
    RequirementsFileContent = "string",
    SandboxCustomImageName = "string",
});
Copy
example, err := kusto.NewSandboxCustomImage(ctx, "sandboxCustomImageResource", &kusto.SandboxCustomImageArgs{
	ClusterName:             "string",
	Language:                "string",
	LanguageVersion:         "string",
	ResourceGroupName:       "string",
	RequirementsFileContent: "string",
	SandboxCustomImageName:  "string",
})
Copy
var sandboxCustomImageResource = new SandboxCustomImage("sandboxCustomImageResource", SandboxCustomImageArgs.builder()
    .clusterName("string")
    .language("string")
    .languageVersion("string")
    .resourceGroupName("string")
    .requirementsFileContent("string")
    .sandboxCustomImageName("string")
    .build());
Copy
sandbox_custom_image_resource = azure_native.kusto.SandboxCustomImage("sandboxCustomImageResource",
    cluster_name=string,
    language=string,
    language_version=string,
    resource_group_name=string,
    requirements_file_content=string,
    sandbox_custom_image_name=string)
Copy
const sandboxCustomImageResource = new azure_native.kusto.SandboxCustomImage("sandboxCustomImageResource", {
    clusterName: "string",
    language: "string",
    languageVersion: "string",
    resourceGroupName: "string",
    requirementsFileContent: "string",
    sandboxCustomImageName: "string",
});
Copy
type: azure-native:kusto:SandboxCustomImage
properties:
    clusterName: string
    language: string
    languageVersion: string
    requirementsFileContent: string
    resourceGroupName: string
    sandboxCustomImageName: string
Copy

SandboxCustomImage Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SandboxCustomImage resource accepts the following input properties:

ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Kusto cluster.
Language This property is required. string | Pulumi.AzureNative.Kusto.Language
The language name, for example Python.
LanguageVersion This property is required. string
The version of the language.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RequirementsFileContent string
The requirements file content.
SandboxCustomImageName Changes to this property will trigger replacement. string
The name of the sandbox custom image.
ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Kusto cluster.
Language This property is required. string | Language
The language name, for example Python.
LanguageVersion This property is required. string
The version of the language.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RequirementsFileContent string
The requirements file content.
SandboxCustomImageName Changes to this property will trigger replacement. string
The name of the sandbox custom image.
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Kusto cluster.
language This property is required. String | Language
The language name, for example Python.
languageVersion This property is required. String
The version of the language.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
requirementsFileContent String
The requirements file content.
sandboxCustomImageName Changes to this property will trigger replacement. String
The name of the sandbox custom image.
clusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Kusto cluster.
language This property is required. string | Language
The language name, for example Python.
languageVersion This property is required. string
The version of the language.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
requirementsFileContent string
The requirements file content.
sandboxCustomImageName Changes to this property will trigger replacement. string
The name of the sandbox custom image.
cluster_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Kusto cluster.
language This property is required. str | Language
The language name, for example Python.
language_version This property is required. str
The version of the language.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
requirements_file_content str
The requirements file content.
sandbox_custom_image_name Changes to this property will trigger replacement. str
The name of the sandbox custom image.
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Kusto cluster.
language This property is required. String | "Python"
The language name, for example Python.
languageVersion This property is required. String
The version of the language.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
requirementsFileContent String
The requirements file content.
sandboxCustomImageName Changes to this property will trigger replacement. String
The name of the sandbox custom image.

Outputs

All input properties are implicitly available as output properties. Additionally, the SandboxCustomImage resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioned state of the resource.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioned state of the resource.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioned state of the resource.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
The provisioned state of the resource.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
The provisioned state of the resource.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioned state of the resource.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

Language
, LanguageArgs

Python
Python
LanguagePython
Python
Python
Python
Python
Python
PYTHON
Python
"Python"
Python

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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0