1. Packages
  2. Azure Native
  3. API Docs
  4. kusto
  5. SandboxCustomImage
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.kusto.SandboxCustomImage

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    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",
        });
    
    });
    
    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 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")
    
    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",
    });
    
    resources:
      sandboxCustomImage:
        type: azure-native:kusto:SandboxCustomImage
        properties:
          clusterName: kustoCluster
          language: Python
          languageVersion: 3.10.8
          requirementsFileContent: Requests
          resourceGroupName: kustorptest
          sandboxCustomImageName: customImage8
    

    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 string
    The unique name of the resource.
    args SandboxCustomImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args SandboxCustomImageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SandboxCustomImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    example, err := kusto.NewSandboxCustomImage(ctx, "sandboxCustomImageResource", &kusto.SandboxCustomImageArgs{
    	ClusterName:             pulumi.String("string"),
    	Language:                pulumi.String("string"),
    	LanguageVersion:         pulumi.String("string"),
    	ResourceGroupName:       pulumi.String("string"),
    	RequirementsFileContent: pulumi.String("string"),
    	SandboxCustomImageName:  pulumi.String("string"),
    })
    
    var sandboxCustomImageResource = new SandboxCustomImage("sandboxCustomImageResource", SandboxCustomImageArgs.builder()
        .clusterName("string")
        .language("string")
        .languageVersion("string")
        .resourceGroupName("string")
        .requirementsFileContent("string")
        .sandboxCustomImageName("string")
        .build());
    
    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")
    
    const sandboxCustomImageResource = new azure_native.kusto.SandboxCustomImage("sandboxCustomImageResource", {
        clusterName: "string",
        language: "string",
        languageVersion: "string",
        resourceGroupName: "string",
        requirementsFileContent: "string",
        sandboxCustomImageName: "string",
    });
    
    type: azure-native:kusto:SandboxCustomImage
    properties:
        clusterName: string
        language: string
        languageVersion: string
        requirementsFileContent: string
        resourceGroupName: string
        sandboxCustomImageName: string
    

    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 string
    The name of the Kusto cluster.
    Language string | Pulumi.AzureNative.Kusto.Language
    The language name, for example Python.
    LanguageVersion string
    The version of the language.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RequirementsFileContent string
    The requirements file content.
    SandboxCustomImageName string
    The name of the sandbox custom image.
    ClusterName string
    The name of the Kusto cluster.
    Language string | Language
    The language name, for example Python.
    LanguageVersion string
    The version of the language.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RequirementsFileContent string
    The requirements file content.
    SandboxCustomImageName string
    The name of the sandbox custom image.
    clusterName String
    The name of the Kusto cluster.
    language String | Language
    The language name, for example Python.
    languageVersion String
    The version of the language.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    requirementsFileContent String
    The requirements file content.
    sandboxCustomImageName String
    The name of the sandbox custom image.
    clusterName string
    The name of the Kusto cluster.
    language string | Language
    The language name, for example Python.
    languageVersion string
    The version of the language.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    requirementsFileContent string
    The requirements file content.
    sandboxCustomImageName string
    The name of the sandbox custom image.
    cluster_name str
    The name of the Kusto cluster.
    language str | Language
    The language name, for example Python.
    language_version str
    The version of the language.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    requirements_file_content str
    The requirements file content.
    sandbox_custom_image_name str
    The name of the sandbox custom image.
    clusterName String
    The name of the Kusto cluster.
    language String | "Python"
    The language name, for example Python.
    languageVersion String
    The version of the language.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    requirementsFileContent String
    The requirements file content.
    sandboxCustomImageName 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi