1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearningservices
  5. EnvironmentVersion
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.machinelearningservices.EnvironmentVersion

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Azure Resource Manager resource envelope. Azure REST API version: 2023-04-01.

    Other available API versions: 2022-02-01-preview, 2023-04-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-04-01-preview.

    Example Usage

    CreateOrUpdate Workspace Environment Version.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var environmentVersion = new AzureNative.MachineLearningServices.EnvironmentVersion("environmentVersion", new()
        {
            EnvironmentVersionProperties = new AzureNative.MachineLearningServices.Inputs.EnvironmentVersionArgs
            {
                Build = new AzureNative.MachineLearningServices.Inputs.BuildContextArgs
                {
                    ContextUri = "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/",
                    DockerfilePath = "prod/Dockerfile",
                },
                CondaFile = "string",
                Description = "string",
                Image = "docker.io/tensorflow/serving:latest",
                InferenceConfig = new AzureNative.MachineLearningServices.Inputs.InferenceContainerPropertiesArgs
                {
                    LivenessRoute = new AzureNative.MachineLearningServices.Inputs.RouteArgs
                    {
                        Path = "string",
                        Port = 1,
                    },
                    ReadinessRoute = new AzureNative.MachineLearningServices.Inputs.RouteArgs
                    {
                        Path = "string",
                        Port = 1,
                    },
                    ScoringRoute = new AzureNative.MachineLearningServices.Inputs.RouteArgs
                    {
                        Path = "string",
                        Port = 1,
                    },
                },
                IsAnonymous = false,
                Properties = 
                {
                    { "string", "string" },
                },
                Tags = 
                {
                    { "string", "string" },
                },
            },
            Name = "string",
            ResourceGroupName = "test-rg",
            Version = "string",
            WorkspaceName = "my-aml-workspace",
        });
    
    });
    
    package main
    
    import (
    	machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := machinelearningservices.NewEnvironmentVersion(ctx, "environmentVersion", &machinelearningservices.EnvironmentVersionArgs{
    			EnvironmentVersionProperties: &machinelearningservices.EnvironmentVersionTypeArgs{
    				Build: &machinelearningservices.BuildContextArgs{
    					ContextUri:     pulumi.String("https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/"),
    					DockerfilePath: pulumi.String("prod/Dockerfile"),
    				},
    				CondaFile:   pulumi.String("string"),
    				Description: pulumi.String("string"),
    				Image:       pulumi.String("docker.io/tensorflow/serving:latest"),
    				InferenceConfig: &machinelearningservices.InferenceContainerPropertiesArgs{
    					LivenessRoute: &machinelearningservices.RouteArgs{
    						Path: pulumi.String("string"),
    						Port: pulumi.Int(1),
    					},
    					ReadinessRoute: &machinelearningservices.RouteArgs{
    						Path: pulumi.String("string"),
    						Port: pulumi.Int(1),
    					},
    					ScoringRoute: &machinelearningservices.RouteArgs{
    						Path: pulumi.String("string"),
    						Port: pulumi.Int(1),
    					},
    				},
    				IsAnonymous: pulumi.Bool(false),
    				Properties: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				Tags: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    			Name:              pulumi.String("string"),
    			ResourceGroupName: pulumi.String("test-rg"),
    			Version:           pulumi.String("string"),
    			WorkspaceName:     pulumi.String("my-aml-workspace"),
    		})
    		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.machinelearningservices.EnvironmentVersion;
    import com.pulumi.azurenative.machinelearningservices.EnvironmentVersionArgs;
    import com.pulumi.azurenative.machinelearningservices.inputs.EnvironmentVersionArgs;
    import com.pulumi.azurenative.machinelearningservices.inputs.BuildContextArgs;
    import com.pulumi.azurenative.machinelearningservices.inputs.InferenceContainerPropertiesArgs;
    import com.pulumi.azurenative.machinelearningservices.inputs.RouteArgs;
    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 environmentVersion = new EnvironmentVersion("environmentVersion", EnvironmentVersionArgs.builder()
                .environmentVersionProperties(EnvironmentVersionArgs.builder()
                    .build(BuildContextArgs.builder()
                        .contextUri("https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/")
                        .dockerfilePath("prod/Dockerfile")
                        .build())
                    .condaFile("string")
                    .description("string")
                    .image("docker.io/tensorflow/serving:latest")
                    .inferenceConfig(InferenceContainerPropertiesArgs.builder()
                        .livenessRoute(RouteArgs.builder()
                            .path("string")
                            .port(1)
                            .build())
                        .readinessRoute(RouteArgs.builder()
                            .path("string")
                            .port(1)
                            .build())
                        .scoringRoute(RouteArgs.builder()
                            .path("string")
                            .port(1)
                            .build())
                        .build())
                    .isAnonymous(false)
                    .properties(Map.of("string", "string"))
                    .tags(Map.of("string", "string"))
                    .build())
                .name("string")
                .resourceGroupName("test-rg")
                .version("string")
                .workspaceName("my-aml-workspace")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    environment_version = azure_native.machinelearningservices.EnvironmentVersion("environmentVersion",
        environment_version_properties=azure_native.machinelearningservices.EnvironmentVersionArgs(
            build=azure_native.machinelearningservices.BuildContextArgs(
                context_uri="https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/",
                dockerfile_path="prod/Dockerfile",
            ),
            conda_file="string",
            description="string",
            image="docker.io/tensorflow/serving:latest",
            inference_config=azure_native.machinelearningservices.InferenceContainerPropertiesArgs(
                liveness_route=azure_native.machinelearningservices.RouteArgs(
                    path="string",
                    port=1,
                ),
                readiness_route=azure_native.machinelearningservices.RouteArgs(
                    path="string",
                    port=1,
                ),
                scoring_route=azure_native.machinelearningservices.RouteArgs(
                    path="string",
                    port=1,
                ),
            ),
            is_anonymous=False,
            properties={
                "string": "string",
            },
            tags={
                "string": "string",
            },
        ),
        name="string",
        resource_group_name="test-rg",
        version="string",
        workspace_name="my-aml-workspace")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const environmentVersion = new azure_native.machinelearningservices.EnvironmentVersion("environmentVersion", {
        environmentVersionProperties: {
            build: {
                contextUri: "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/",
                dockerfilePath: "prod/Dockerfile",
            },
            condaFile: "string",
            description: "string",
            image: "docker.io/tensorflow/serving:latest",
            inferenceConfig: {
                livenessRoute: {
                    path: "string",
                    port: 1,
                },
                readinessRoute: {
                    path: "string",
                    port: 1,
                },
                scoringRoute: {
                    path: "string",
                    port: 1,
                },
            },
            isAnonymous: false,
            properties: {
                string: "string",
            },
            tags: {
                string: "string",
            },
        },
        name: "string",
        resourceGroupName: "test-rg",
        version: "string",
        workspaceName: "my-aml-workspace",
    });
    
    resources:
      environmentVersion:
        type: azure-native:machinelearningservices:EnvironmentVersion
        properties:
          environmentVersionProperties:
            build:
              contextUri: https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/
              dockerfilePath: prod/Dockerfile
            condaFile: string
            description: string
            image: docker.io/tensorflow/serving:latest
            inferenceConfig:
              livenessRoute:
                path: string
                port: 1
              readinessRoute:
                path: string
                port: 1
              scoringRoute:
                path: string
                port: 1
            isAnonymous: false
            properties:
              string: string
            tags:
              string: string
          name: string
          resourceGroupName: test-rg
          version: string
          workspaceName: my-aml-workspace
    

    Create EnvironmentVersion Resource

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

    Constructor syntax

    new EnvironmentVersion(name: string, args: EnvironmentVersionArgs, opts?: CustomResourceOptions);
    @overload
    def EnvironmentVersion(resource_name: str,
                           args: EnvironmentVersionInitArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnvironmentVersion(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           environment_version_properties: Optional[EnvironmentVersionArgs] = None,
                           name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           workspace_name: Optional[str] = None,
                           version: Optional[str] = None)
    func NewEnvironmentVersion(ctx *Context, name string, args EnvironmentVersionArgs, opts ...ResourceOption) (*EnvironmentVersion, error)
    public EnvironmentVersion(string name, EnvironmentVersionArgs args, CustomResourceOptions? opts = null)
    public EnvironmentVersion(String name, EnvironmentVersionArgs args)
    public EnvironmentVersion(String name, EnvironmentVersionArgs args, CustomResourceOptions options)
    
    type: azure-native:machinelearningservices:EnvironmentVersion
    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 EnvironmentVersionArgs
    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 EnvironmentVersionInitArgs
    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 EnvironmentVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvironmentVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvironmentVersionArgs
    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 environmentVersionResource = new AzureNative.MachineLearningServices.EnvironmentVersion("environmentVersionResource", new()
    {
        EnvironmentVersionProperties = new AzureNative.MachineLearningServices.Inputs.EnvironmentVersionArgs
        {
            AutoRebuild = "string",
            Build = new AzureNative.MachineLearningServices.Inputs.BuildContextArgs
            {
                ContextUri = "string",
                DockerfilePath = "string",
            },
            CondaFile = "string",
            Description = "string",
            Image = "string",
            InferenceConfig = new AzureNative.MachineLearningServices.Inputs.InferenceContainerPropertiesArgs
            {
                LivenessRoute = new AzureNative.MachineLearningServices.Inputs.RouteArgs
                {
                    Path = "string",
                    Port = 0,
                },
                ReadinessRoute = new AzureNative.MachineLearningServices.Inputs.RouteArgs
                {
                    Path = "string",
                    Port = 0,
                },
                ScoringRoute = new AzureNative.MachineLearningServices.Inputs.RouteArgs
                {
                    Path = "string",
                    Port = 0,
                },
            },
            IsAnonymous = false,
            IsArchived = false,
            OsType = "string",
            Properties = 
            {
                { "string", "string" },
            },
            Stage = "string",
            Tags = 
            {
                { "string", "string" },
            },
        },
        Name = "string",
        ResourceGroupName = "string",
        WorkspaceName = "string",
        Version = "string",
    });
    
    example, err := machinelearningservices.NewEnvironmentVersion(ctx, "environmentVersionResource", &machinelearningservices.EnvironmentVersionArgs{
    EnvironmentVersionProperties: &machinelearningservices.EnvironmentVersionTypeArgs{
    AutoRebuild: pulumi.String("string"),
    Build: &machinelearningservices.BuildContextArgs{
    ContextUri: pulumi.String("string"),
    DockerfilePath: pulumi.String("string"),
    },
    CondaFile: pulumi.String("string"),
    Description: pulumi.String("string"),
    Image: pulumi.String("string"),
    InferenceConfig: &machinelearningservices.InferenceContainerPropertiesArgs{
    LivenessRoute: &machinelearningservices.RouteArgs{
    Path: pulumi.String("string"),
    Port: pulumi.Int(0),
    },
    ReadinessRoute: &machinelearningservices.RouteArgs{
    Path: pulumi.String("string"),
    Port: pulumi.Int(0),
    },
    ScoringRoute: &machinelearningservices.RouteArgs{
    Path: pulumi.String("string"),
    Port: pulumi.Int(0),
    },
    },
    IsAnonymous: pulumi.Bool(false),
    IsArchived: pulumi.Bool(false),
    OsType: pulumi.String("string"),
    Properties: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Stage: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    },
    Name: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    WorkspaceName: pulumi.String("string"),
    Version: pulumi.String("string"),
    })
    
    var environmentVersionResource = new EnvironmentVersion("environmentVersionResource", EnvironmentVersionArgs.builder()
        .environmentVersionProperties(EnvironmentVersionArgs.builder()
            .autoRebuild("string")
            .build(BuildContextArgs.builder()
                .contextUri("string")
                .dockerfilePath("string")
                .build())
            .condaFile("string")
            .description("string")
            .image("string")
            .inferenceConfig(InferenceContainerPropertiesArgs.builder()
                .livenessRoute(RouteArgs.builder()
                    .path("string")
                    .port(0)
                    .build())
                .readinessRoute(RouteArgs.builder()
                    .path("string")
                    .port(0)
                    .build())
                .scoringRoute(RouteArgs.builder()
                    .path("string")
                    .port(0)
                    .build())
                .build())
            .isAnonymous(false)
            .isArchived(false)
            .osType("string")
            .properties(Map.of("string", "string"))
            .stage("string")
            .tags(Map.of("string", "string"))
            .build())
        .name("string")
        .resourceGroupName("string")
        .workspaceName("string")
        .version("string")
        .build());
    
    environment_version_resource = azure_native.machinelearningservices.EnvironmentVersion("environmentVersionResource",
        environment_version_properties=azure_native.machinelearningservices.EnvironmentVersionArgs(
            auto_rebuild="string",
            build=azure_native.machinelearningservices.BuildContextArgs(
                context_uri="string",
                dockerfile_path="string",
            ),
            conda_file="string",
            description="string",
            image="string",
            inference_config=azure_native.machinelearningservices.InferenceContainerPropertiesArgs(
                liveness_route=azure_native.machinelearningservices.RouteArgs(
                    path="string",
                    port=0,
                ),
                readiness_route=azure_native.machinelearningservices.RouteArgs(
                    path="string",
                    port=0,
                ),
                scoring_route=azure_native.machinelearningservices.RouteArgs(
                    path="string",
                    port=0,
                ),
            ),
            is_anonymous=False,
            is_archived=False,
            os_type="string",
            properties={
                "string": "string",
            },
            stage="string",
            tags={
                "string": "string",
            },
        ),
        name="string",
        resource_group_name="string",
        workspace_name="string",
        version="string")
    
    const environmentVersionResource = new azure_native.machinelearningservices.EnvironmentVersion("environmentVersionResource", {
        environmentVersionProperties: {
            autoRebuild: "string",
            build: {
                contextUri: "string",
                dockerfilePath: "string",
            },
            condaFile: "string",
            description: "string",
            image: "string",
            inferenceConfig: {
                livenessRoute: {
                    path: "string",
                    port: 0,
                },
                readinessRoute: {
                    path: "string",
                    port: 0,
                },
                scoringRoute: {
                    path: "string",
                    port: 0,
                },
            },
            isAnonymous: false,
            isArchived: false,
            osType: "string",
            properties: {
                string: "string",
            },
            stage: "string",
            tags: {
                string: "string",
            },
        },
        name: "string",
        resourceGroupName: "string",
        workspaceName: "string",
        version: "string",
    });
    
    type: azure-native:machinelearningservices:EnvironmentVersion
    properties:
        environmentVersionProperties:
            autoRebuild: string
            build:
                contextUri: string
                dockerfilePath: string
            condaFile: string
            description: string
            image: string
            inferenceConfig:
                livenessRoute:
                    path: string
                    port: 0
                readinessRoute:
                    path: string
                    port: 0
                scoringRoute:
                    path: string
                    port: 0
            isAnonymous: false
            isArchived: false
            osType: string
            properties:
                string: string
            stage: string
            tags:
                string: string
        name: string
        resourceGroupName: string
        version: string
        workspaceName: string
    

    EnvironmentVersion 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 EnvironmentVersion resource accepts the following input properties:

    EnvironmentVersionProperties Pulumi.AzureNative.MachineLearningServices.Inputs.EnvironmentVersion
    [Required] Additional attributes of the entity.
    Name string
    Name of EnvironmentVersion. This is case-sensitive.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    Name of Azure Machine Learning workspace.
    Version string
    Version of EnvironmentVersion.
    EnvironmentVersionProperties EnvironmentVersionTypeArgs
    [Required] Additional attributes of the entity.
    Name string
    Name of EnvironmentVersion. This is case-sensitive.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    Name of Azure Machine Learning workspace.
    Version string
    Version of EnvironmentVersion.
    environmentVersionProperties EnvironmentVersion
    [Required] Additional attributes of the entity.
    name String
    Name of EnvironmentVersion. This is case-sensitive.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Name of Azure Machine Learning workspace.
    version String
    Version of EnvironmentVersion.
    environmentVersionProperties EnvironmentVersion
    [Required] Additional attributes of the entity.
    name string
    Name of EnvironmentVersion. This is case-sensitive.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    Name of Azure Machine Learning workspace.
    version string
    Version of EnvironmentVersion.
    environment_version_properties EnvironmentVersionArgs
    [Required] Additional attributes of the entity.
    name str
    Name of EnvironmentVersion. This is case-sensitive.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    Name of Azure Machine Learning workspace.
    version str
    Version of EnvironmentVersion.
    environmentVersionProperties Property Map
    [Required] Additional attributes of the entity.
    name String
    Name of EnvironmentVersion. This is case-sensitive.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Name of Azure Machine Learning workspace.
    version String
    Version of EnvironmentVersion.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    SystemData Pulumi.AzureNative.MachineLearningServices.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    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.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    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.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    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.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    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.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    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.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    AutoRebuildSetting, AutoRebuildSettingArgs

    Disabled
    Disabled
    OnBaseImageUpdate
    OnBaseImageUpdate
    AutoRebuildSettingDisabled
    Disabled
    AutoRebuildSettingOnBaseImageUpdate
    OnBaseImageUpdate
    Disabled
    Disabled
    OnBaseImageUpdate
    OnBaseImageUpdate
    Disabled
    Disabled
    OnBaseImageUpdate
    OnBaseImageUpdate
    DISABLED
    Disabled
    ON_BASE_IMAGE_UPDATE
    OnBaseImageUpdate
    "Disabled"
    Disabled
    "OnBaseImageUpdate"
    OnBaseImageUpdate

    BuildContext, BuildContextArgs

    ContextUri string
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    DockerfilePath string
    Path to the Dockerfile in the build context.
    ContextUri string
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    DockerfilePath string
    Path to the Dockerfile in the build context.
    contextUri String
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfilePath String
    Path to the Dockerfile in the build context.
    contextUri string
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfilePath string
    Path to the Dockerfile in the build context.
    context_uri str
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfile_path str
    Path to the Dockerfile in the build context.
    contextUri String
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfilePath String
    Path to the Dockerfile in the build context.

    BuildContextResponse, BuildContextResponseArgs

    ContextUri string
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    DockerfilePath string
    Path to the Dockerfile in the build context.
    ContextUri string
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    DockerfilePath string
    Path to the Dockerfile in the build context.
    contextUri String
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfilePath String
    Path to the Dockerfile in the build context.
    contextUri string
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfilePath string
    Path to the Dockerfile in the build context.
    context_uri str
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfile_path str
    Path to the Dockerfile in the build context.
    contextUri String
    [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
    dockerfilePath String
    Path to the Dockerfile in the build context.

    EnvironmentVersion, EnvironmentVersionArgs

    AutoRebuild string | Pulumi.AzureNative.MachineLearningServices.AutoRebuildSetting
    Defines if image needs to be rebuilt based on base image changes.
    Build Pulumi.AzureNative.MachineLearningServices.Inputs.BuildContext
    Configuration settings for Docker build context.
    CondaFile string
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    Description string
    The asset description text.
    Image string
    Name of the image that will be used for the environment.
    InferenceConfig Pulumi.AzureNative.MachineLearningServices.Inputs.InferenceContainerProperties
    Defines configuration specific to inference.
    IsAnonymous bool
    If the name version are system generated (anonymous registration).
    IsArchived bool
    Is the asset archived?
    OsType string | Pulumi.AzureNative.MachineLearningServices.OperatingSystemType
    The OS type of the environment.
    Properties Dictionary<string, string>
    The asset property dictionary.
    Stage string
    Stage in the environment lifecycle assigned to this environment
    Tags Dictionary<string, string>
    Tag dictionary. Tags can be added, removed, and updated.
    AutoRebuild string | AutoRebuildSetting
    Defines if image needs to be rebuilt based on base image changes.
    Build BuildContext
    Configuration settings for Docker build context.
    CondaFile string
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    Description string
    The asset description text.
    Image string
    Name of the image that will be used for the environment.
    InferenceConfig InferenceContainerProperties
    Defines configuration specific to inference.
    IsAnonymous bool
    If the name version are system generated (anonymous registration).
    IsArchived bool
    Is the asset archived?
    OsType string | OperatingSystemType
    The OS type of the environment.
    Properties map[string]string
    The asset property dictionary.
    Stage string
    Stage in the environment lifecycle assigned to this environment
    Tags map[string]string
    Tag dictionary. Tags can be added, removed, and updated.
    autoRebuild String | AutoRebuildSetting
    Defines if image needs to be rebuilt based on base image changes.
    build BuildContext
    Configuration settings for Docker build context.
    condaFile String
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description String
    The asset description text.
    image String
    Name of the image that will be used for the environment.
    inferenceConfig InferenceContainerProperties
    Defines configuration specific to inference.
    isAnonymous Boolean
    If the name version are system generated (anonymous registration).
    isArchived Boolean
    Is the asset archived?
    osType String | OperatingSystemType
    The OS type of the environment.
    properties Map<String,String>
    The asset property dictionary.
    stage String
    Stage in the environment lifecycle assigned to this environment
    tags Map<String,String>
    Tag dictionary. Tags can be added, removed, and updated.
    autoRebuild string | AutoRebuildSetting
    Defines if image needs to be rebuilt based on base image changes.
    build BuildContext
    Configuration settings for Docker build context.
    condaFile string
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description string
    The asset description text.
    image string
    Name of the image that will be used for the environment.
    inferenceConfig InferenceContainerProperties
    Defines configuration specific to inference.
    isAnonymous boolean
    If the name version are system generated (anonymous registration).
    isArchived boolean
    Is the asset archived?
    osType string | OperatingSystemType
    The OS type of the environment.
    properties {[key: string]: string}
    The asset property dictionary.
    stage string
    Stage in the environment lifecycle assigned to this environment
    tags {[key: string]: string}
    Tag dictionary. Tags can be added, removed, and updated.
    auto_rebuild str | AutoRebuildSetting
    Defines if image needs to be rebuilt based on base image changes.
    build BuildContext
    Configuration settings for Docker build context.
    conda_file str
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description str
    The asset description text.
    image str
    Name of the image that will be used for the environment.
    inference_config InferenceContainerProperties
    Defines configuration specific to inference.
    is_anonymous bool
    If the name version are system generated (anonymous registration).
    is_archived bool
    Is the asset archived?
    os_type str | OperatingSystemType
    The OS type of the environment.
    properties Mapping[str, str]
    The asset property dictionary.
    stage str
    Stage in the environment lifecycle assigned to this environment
    tags Mapping[str, str]
    Tag dictionary. Tags can be added, removed, and updated.
    autoRebuild String | "Disabled" | "OnBaseImageUpdate"
    Defines if image needs to be rebuilt based on base image changes.
    build Property Map
    Configuration settings for Docker build context.
    condaFile String
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description String
    The asset description text.
    image String
    Name of the image that will be used for the environment.
    inferenceConfig Property Map
    Defines configuration specific to inference.
    isAnonymous Boolean
    If the name version are system generated (anonymous registration).
    isArchived Boolean
    Is the asset archived?
    osType String | "Linux" | "Windows"
    The OS type of the environment.
    properties Map<String>
    The asset property dictionary.
    stage String
    Stage in the environment lifecycle assigned to this environment
    tags Map<String>
    Tag dictionary. Tags can be added, removed, and updated.

    EnvironmentVersionResponse, EnvironmentVersionResponseArgs

    EnvironmentType string
    Environment type is either user managed or curated by the Azure ML service
    ProvisioningState string
    Provisioning state for the environment version.
    AutoRebuild string
    Defines if image needs to be rebuilt based on base image changes.
    Build Pulumi.AzureNative.MachineLearningServices.Inputs.BuildContextResponse
    Configuration settings for Docker build context.
    CondaFile string
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    Description string
    The asset description text.
    Image string
    Name of the image that will be used for the environment.
    InferenceConfig Pulumi.AzureNative.MachineLearningServices.Inputs.InferenceContainerPropertiesResponse
    Defines configuration specific to inference.
    IsAnonymous bool
    If the name version are system generated (anonymous registration).
    IsArchived bool
    Is the asset archived?
    OsType string
    The OS type of the environment.
    Properties Dictionary<string, string>
    The asset property dictionary.
    Stage string
    Stage in the environment lifecycle assigned to this environment
    Tags Dictionary<string, string>
    Tag dictionary. Tags can be added, removed, and updated.
    EnvironmentType string
    Environment type is either user managed or curated by the Azure ML service
    ProvisioningState string
    Provisioning state for the environment version.
    AutoRebuild string
    Defines if image needs to be rebuilt based on base image changes.
    Build BuildContextResponse
    Configuration settings for Docker build context.
    CondaFile string
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    Description string
    The asset description text.
    Image string
    Name of the image that will be used for the environment.
    InferenceConfig InferenceContainerPropertiesResponse
    Defines configuration specific to inference.
    IsAnonymous bool
    If the name version are system generated (anonymous registration).
    IsArchived bool
    Is the asset archived?
    OsType string
    The OS type of the environment.
    Properties map[string]string
    The asset property dictionary.
    Stage string
    Stage in the environment lifecycle assigned to this environment
    Tags map[string]string
    Tag dictionary. Tags can be added, removed, and updated.
    environmentType String
    Environment type is either user managed or curated by the Azure ML service
    provisioningState String
    Provisioning state for the environment version.
    autoRebuild String
    Defines if image needs to be rebuilt based on base image changes.
    build BuildContextResponse
    Configuration settings for Docker build context.
    condaFile String
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description String
    The asset description text.
    image String
    Name of the image that will be used for the environment.
    inferenceConfig InferenceContainerPropertiesResponse
    Defines configuration specific to inference.
    isAnonymous Boolean
    If the name version are system generated (anonymous registration).
    isArchived Boolean
    Is the asset archived?
    osType String
    The OS type of the environment.
    properties Map<String,String>
    The asset property dictionary.
    stage String
    Stage in the environment lifecycle assigned to this environment
    tags Map<String,String>
    Tag dictionary. Tags can be added, removed, and updated.
    environmentType string
    Environment type is either user managed or curated by the Azure ML service
    provisioningState string
    Provisioning state for the environment version.
    autoRebuild string
    Defines if image needs to be rebuilt based on base image changes.
    build BuildContextResponse
    Configuration settings for Docker build context.
    condaFile string
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description string
    The asset description text.
    image string
    Name of the image that will be used for the environment.
    inferenceConfig InferenceContainerPropertiesResponse
    Defines configuration specific to inference.
    isAnonymous boolean
    If the name version are system generated (anonymous registration).
    isArchived boolean
    Is the asset archived?
    osType string
    The OS type of the environment.
    properties {[key: string]: string}
    The asset property dictionary.
    stage string
    Stage in the environment lifecycle assigned to this environment
    tags {[key: string]: string}
    Tag dictionary. Tags can be added, removed, and updated.
    environment_type str
    Environment type is either user managed or curated by the Azure ML service
    provisioning_state str
    Provisioning state for the environment version.
    auto_rebuild str
    Defines if image needs to be rebuilt based on base image changes.
    build BuildContextResponse
    Configuration settings for Docker build context.
    conda_file str
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description str
    The asset description text.
    image str
    Name of the image that will be used for the environment.
    inference_config InferenceContainerPropertiesResponse
    Defines configuration specific to inference.
    is_anonymous bool
    If the name version are system generated (anonymous registration).
    is_archived bool
    Is the asset archived?
    os_type str
    The OS type of the environment.
    properties Mapping[str, str]
    The asset property dictionary.
    stage str
    Stage in the environment lifecycle assigned to this environment
    tags Mapping[str, str]
    Tag dictionary. Tags can be added, removed, and updated.
    environmentType String
    Environment type is either user managed or curated by the Azure ML service
    provisioningState String
    Provisioning state for the environment version.
    autoRebuild String
    Defines if image needs to be rebuilt based on base image changes.
    build Property Map
    Configuration settings for Docker build context.
    condaFile String
    Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.
    description String
    The asset description text.
    image String
    Name of the image that will be used for the environment.
    inferenceConfig Property Map
    Defines configuration specific to inference.
    isAnonymous Boolean
    If the name version are system generated (anonymous registration).
    isArchived Boolean
    Is the asset archived?
    osType String
    The OS type of the environment.
    properties Map<String>
    The asset property dictionary.
    stage String
    Stage in the environment lifecycle assigned to this environment
    tags Map<String>
    Tag dictionary. Tags can be added, removed, and updated.

    InferenceContainerProperties, InferenceContainerPropertiesArgs

    LivenessRoute Pulumi.AzureNative.MachineLearningServices.Inputs.Route
    The route to check the liveness of the inference server container.
    ReadinessRoute Pulumi.AzureNative.MachineLearningServices.Inputs.Route
    The route to check the readiness of the inference server container.
    ScoringRoute Pulumi.AzureNative.MachineLearningServices.Inputs.Route
    The port to send the scoring requests to, within the inference server container.
    LivenessRoute Route
    The route to check the liveness of the inference server container.
    ReadinessRoute Route
    The route to check the readiness of the inference server container.
    ScoringRoute Route
    The port to send the scoring requests to, within the inference server container.
    livenessRoute Route
    The route to check the liveness of the inference server container.
    readinessRoute Route
    The route to check the readiness of the inference server container.
    scoringRoute Route
    The port to send the scoring requests to, within the inference server container.
    livenessRoute Route
    The route to check the liveness of the inference server container.
    readinessRoute Route
    The route to check the readiness of the inference server container.
    scoringRoute Route
    The port to send the scoring requests to, within the inference server container.
    liveness_route Route
    The route to check the liveness of the inference server container.
    readiness_route Route
    The route to check the readiness of the inference server container.
    scoring_route Route
    The port to send the scoring requests to, within the inference server container.
    livenessRoute Property Map
    The route to check the liveness of the inference server container.
    readinessRoute Property Map
    The route to check the readiness of the inference server container.
    scoringRoute Property Map
    The port to send the scoring requests to, within the inference server container.

    InferenceContainerPropertiesResponse, InferenceContainerPropertiesResponseArgs

    LivenessRoute Pulumi.AzureNative.MachineLearningServices.Inputs.RouteResponse
    The route to check the liveness of the inference server container.
    ReadinessRoute Pulumi.AzureNative.MachineLearningServices.Inputs.RouteResponse
    The route to check the readiness of the inference server container.
    ScoringRoute Pulumi.AzureNative.MachineLearningServices.Inputs.RouteResponse
    The port to send the scoring requests to, within the inference server container.
    LivenessRoute RouteResponse
    The route to check the liveness of the inference server container.
    ReadinessRoute RouteResponse
    The route to check the readiness of the inference server container.
    ScoringRoute RouteResponse
    The port to send the scoring requests to, within the inference server container.
    livenessRoute RouteResponse
    The route to check the liveness of the inference server container.
    readinessRoute RouteResponse
    The route to check the readiness of the inference server container.
    scoringRoute RouteResponse
    The port to send the scoring requests to, within the inference server container.
    livenessRoute RouteResponse
    The route to check the liveness of the inference server container.
    readinessRoute RouteResponse
    The route to check the readiness of the inference server container.
    scoringRoute RouteResponse
    The port to send the scoring requests to, within the inference server container.
    liveness_route RouteResponse
    The route to check the liveness of the inference server container.
    readiness_route RouteResponse
    The route to check the readiness of the inference server container.
    scoring_route RouteResponse
    The port to send the scoring requests to, within the inference server container.
    livenessRoute Property Map
    The route to check the liveness of the inference server container.
    readinessRoute Property Map
    The route to check the readiness of the inference server container.
    scoringRoute Property Map
    The port to send the scoring requests to, within the inference server container.

    OperatingSystemType, OperatingSystemTypeArgs

    Linux
    Linux
    Windows
    Windows
    OperatingSystemTypeLinux
    Linux
    OperatingSystemTypeWindows
    Windows
    Linux
    Linux
    Windows
    Windows
    Linux
    Linux
    Windows
    Windows
    LINUX
    Linux
    WINDOWS
    Windows
    "Linux"
    Linux
    "Windows"
    Windows

    Route, RouteArgs

    Path string
    [Required] The path for the route.
    Port int
    [Required] The port for the route.
    Path string
    [Required] The path for the route.
    Port int
    [Required] The port for the route.
    path String
    [Required] The path for the route.
    port Integer
    [Required] The port for the route.
    path string
    [Required] The path for the route.
    port number
    [Required] The port for the route.
    path str
    [Required] The path for the route.
    port int
    [Required] The port for the route.
    path String
    [Required] The path for the route.
    port Number
    [Required] The port for the route.

    RouteResponse, RouteResponseArgs

    Path string
    [Required] The path for the route.
    Port int
    [Required] The port for the route.
    Path string
    [Required] The path for the route.
    Port int
    [Required] The port for the route.
    path String
    [Required] The path for the route.
    port Integer
    [Required] The port for the route.
    path string
    [Required] The path for the route.
    port number
    [Required] The port for the route.
    path str
    [Required] The path for the route.
    port int
    [Required] The port for the route.
    path String
    [Required] The path for the route.
    port Number
    [Required] The port for the route.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:machinelearningservices:EnvironmentVersion string /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version} 
    

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi