azure-native.kusto.SandboxCustomImage
Explore with Pulumi AI
Class representing a Kusto sandbox custom image. Azure REST API version: 2023-08-15.
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
The SandboxCustomImage resource accepts the following input properties:
- Cluster
Name string - The name of the Kusto cluster.
- Language
string | Pulumi.
Azure Native. Kusto. Language - The language name, for example Python.
- Language
Version string - The version of the language.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Requirements
File stringContent - The requirements file content.
- Sandbox
Custom stringImage Name - The name of the sandbox custom image.
- Cluster
Name string - The name of the Kusto cluster.
- Language string | Language
- The language name, for example Python.
- Language
Version string - The version of the language.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Requirements
File stringContent - The requirements file content.
- Sandbox
Custom stringImage Name - The name of the sandbox custom image.
- cluster
Name String - The name of the Kusto cluster.
- language String | Language
- The language name, for example Python.
- language
Version String - The version of the language.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- requirements
File StringContent - The requirements file content.
- sandbox
Custom StringImage Name - The name of the sandbox custom image.
- cluster
Name string - The name of the Kusto cluster.
- language string | Language
- The language name, for example Python.
- language
Version string - The version of the language.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- requirements
File stringContent - The requirements file content.
- sandbox
Custom stringImage Name - 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_ strname - The name of the resource group. The name is case insensitive.
- requirements_
file_ strcontent - The requirements file content.
- sandbox_
custom_ strimage_ name - The name of the sandbox custom image.
- cluster
Name String - The name of the Kusto cluster.
- language String | "Python"
- The language name, for example Python.
- language
Version String - The version of the language.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- requirements
File StringContent - The requirements file content.
- sandbox
Custom StringImage Name - 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
- Provisioning
State 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
- Provisioning
State 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
- provisioning
State 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
- provisioning
State 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
- provisioning
State 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
- Language
Python - 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