datarobot.ExecutionEnvironment
Explore with Pulumi AI
Execution Environment
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datarobot from "@datarobot/pulumi-datarobot";
const example = new datarobot.ExecutionEnvironment("example", {
description: "Example Execution Environment Description",
dockerContextPath: "docker_context.zip",
programmingLanguage: "python",
useCases: ["customModel"],
});
import pulumi
import pulumi_datarobot as datarobot
example = datarobot.ExecutionEnvironment("example",
description="Example Execution Environment Description",
docker_context_path="docker_context.zip",
programming_language="python",
use_cases=["customModel"])
package main
import (
"github.com/datarobot-community/pulumi-datarobot/sdk/go/datarobot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datarobot.NewExecutionEnvironment(ctx, "example", &datarobot.ExecutionEnvironmentArgs{
Description: pulumi.String("Example Execution Environment Description"),
DockerContextPath: pulumi.String("docker_context.zip"),
ProgrammingLanguage: pulumi.String("python"),
UseCases: pulumi.StringArray{
pulumi.String("customModel"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datarobot = DataRobotPulumi.Datarobot;
return await Deployment.RunAsync(() =>
{
var example = new Datarobot.ExecutionEnvironment("example", new()
{
Description = "Example Execution Environment Description",
DockerContextPath = "docker_context.zip",
ProgrammingLanguage = "python",
UseCases = new[]
{
"customModel",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datarobot.ExecutionEnvironment;
import com.pulumi.datarobot.ExecutionEnvironmentArgs;
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 example = new ExecutionEnvironment("example", ExecutionEnvironmentArgs.builder()
.description("Example Execution Environment Description")
.dockerContextPath("docker_context.zip")
.programmingLanguage("python")
.useCases("customModel")
.build());
}
}
resources:
example:
type: datarobot:ExecutionEnvironment
properties:
description: Example Execution Environment Description
dockerContextPath: docker_context.zip
programmingLanguage: python
useCases:
- customModel
Create ExecutionEnvironment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExecutionEnvironment(name: string, args: ExecutionEnvironmentArgs, opts?: CustomResourceOptions);
@overload
def ExecutionEnvironment(resource_name: str,
args: ExecutionEnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExecutionEnvironment(resource_name: str,
opts: Optional[ResourceOptions] = None,
docker_context_path: Optional[str] = None,
programming_language: Optional[str] = None,
use_cases: Optional[Sequence[str]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
version_description: Optional[str] = None)
func NewExecutionEnvironment(ctx *Context, name string, args ExecutionEnvironmentArgs, opts ...ResourceOption) (*ExecutionEnvironment, error)
public ExecutionEnvironment(string name, ExecutionEnvironmentArgs args, CustomResourceOptions? opts = null)
public ExecutionEnvironment(String name, ExecutionEnvironmentArgs args)
public ExecutionEnvironment(String name, ExecutionEnvironmentArgs args, CustomResourceOptions options)
type: datarobot:ExecutionEnvironment
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 ExecutionEnvironmentArgs
- 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 ExecutionEnvironmentArgs
- 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 ExecutionEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExecutionEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExecutionEnvironmentArgs
- 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 executionEnvironmentResource = new Datarobot.ExecutionEnvironment("executionEnvironmentResource", new()
{
DockerContextPath = "string",
ProgrammingLanguage = "string",
UseCases = new[]
{
"string",
},
Description = "string",
Name = "string",
VersionDescription = "string",
});
example, err := datarobot.NewExecutionEnvironment(ctx, "executionEnvironmentResource", &datarobot.ExecutionEnvironmentArgs{
DockerContextPath: pulumi.String("string"),
ProgrammingLanguage: pulumi.String("string"),
UseCases: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
VersionDescription: pulumi.String("string"),
})
var executionEnvironmentResource = new ExecutionEnvironment("executionEnvironmentResource", ExecutionEnvironmentArgs.builder()
.dockerContextPath("string")
.programmingLanguage("string")
.useCases("string")
.description("string")
.name("string")
.versionDescription("string")
.build());
execution_environment_resource = datarobot.ExecutionEnvironment("executionEnvironmentResource",
docker_context_path="string",
programming_language="string",
use_cases=["string"],
description="string",
name="string",
version_description="string")
const executionEnvironmentResource = new datarobot.ExecutionEnvironment("executionEnvironmentResource", {
dockerContextPath: "string",
programmingLanguage: "string",
useCases: ["string"],
description: "string",
name: "string",
versionDescription: "string",
});
type: datarobot:ExecutionEnvironment
properties:
description: string
dockerContextPath: string
name: string
programmingLanguage: string
useCases:
- string
versionDescription: string
ExecutionEnvironment 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 ExecutionEnvironment resource accepts the following input properties:
- Docker
Context stringPath - The path to a docker context archive or folder
- Programming
Language string - The programming language of the Execution Environment.
- Use
Cases List<string> - The list of Use Cases that the Execution Environment supports.
- Description string
- The description of the Execution Environment.
- Name string
- The name of the Execution Environment.
- Version
Description string - The description of the Execution Environment version.
- Docker
Context stringPath - The path to a docker context archive or folder
- Programming
Language string - The programming language of the Execution Environment.
- Use
Cases []string - The list of Use Cases that the Execution Environment supports.
- Description string
- The description of the Execution Environment.
- Name string
- The name of the Execution Environment.
- Version
Description string - The description of the Execution Environment version.
- docker
Context StringPath - The path to a docker context archive or folder
- programming
Language String - The programming language of the Execution Environment.
- use
Cases List<String> - The list of Use Cases that the Execution Environment supports.
- description String
- The description of the Execution Environment.
- name String
- The name of the Execution Environment.
- version
Description String - The description of the Execution Environment version.
- docker
Context stringPath - The path to a docker context archive or folder
- programming
Language string - The programming language of the Execution Environment.
- use
Cases string[] - The list of Use Cases that the Execution Environment supports.
- description string
- The description of the Execution Environment.
- name string
- The name of the Execution Environment.
- version
Description string - The description of the Execution Environment version.
- docker_
context_ strpath - The path to a docker context archive or folder
- programming_
language str - The programming language of the Execution Environment.
- use_
cases Sequence[str] - The list of Use Cases that the Execution Environment supports.
- description str
- The description of the Execution Environment.
- name str
- The name of the Execution Environment.
- version_
description str - The description of the Execution Environment version.
- docker
Context StringPath - The path to a docker context archive or folder
- programming
Language String - The programming language of the Execution Environment.
- use
Cases List<String> - The list of Use Cases that the Execution Environment supports.
- description String
- The description of the Execution Environment.
- name String
- The name of the Execution Environment.
- version
Description String - The description of the Execution Environment version.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExecutionEnvironment resource produces the following output properties:
- Build
Status string - The status of the Execution Environment version build.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version
Id string - The ID of the Execution Environment Version.
- Build
Status string - The status of the Execution Environment version build.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version
Id string - The ID of the Execution Environment Version.
- build
Status String - The status of the Execution Environment version build.
- id String
- The provider-assigned unique ID for this managed resource.
- version
Id String - The ID of the Execution Environment Version.
- build
Status string - The status of the Execution Environment version build.
- id string
- The provider-assigned unique ID for this managed resource.
- version
Id string - The ID of the Execution Environment Version.
- build_
status str - The status of the Execution Environment version build.
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str - The ID of the Execution Environment Version.
- build
Status String - The status of the Execution Environment version build.
- id String
- The provider-assigned unique ID for this managed resource.
- version
Id String - The ID of the Execution Environment Version.
Look up Existing ExecutionEnvironment Resource
Get an existing ExecutionEnvironment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExecutionEnvironmentState, opts?: CustomResourceOptions): ExecutionEnvironment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
build_status: Optional[str] = None,
description: Optional[str] = None,
docker_context_path: Optional[str] = None,
name: Optional[str] = None,
programming_language: Optional[str] = None,
use_cases: Optional[Sequence[str]] = None,
version_description: Optional[str] = None,
version_id: Optional[str] = None) -> ExecutionEnvironment
func GetExecutionEnvironment(ctx *Context, name string, id IDInput, state *ExecutionEnvironmentState, opts ...ResourceOption) (*ExecutionEnvironment, error)
public static ExecutionEnvironment Get(string name, Input<string> id, ExecutionEnvironmentState? state, CustomResourceOptions? opts = null)
public static ExecutionEnvironment get(String name, Output<String> id, ExecutionEnvironmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Build
Status string - The status of the Execution Environment version build.
- Description string
- The description of the Execution Environment.
- Docker
Context stringPath - The path to a docker context archive or folder
- Name string
- The name of the Execution Environment.
- Programming
Language string - The programming language of the Execution Environment.
- Use
Cases List<string> - The list of Use Cases that the Execution Environment supports.
- Version
Description string - The description of the Execution Environment version.
- Version
Id string - The ID of the Execution Environment Version.
- Build
Status string - The status of the Execution Environment version build.
- Description string
- The description of the Execution Environment.
- Docker
Context stringPath - The path to a docker context archive or folder
- Name string
- The name of the Execution Environment.
- Programming
Language string - The programming language of the Execution Environment.
- Use
Cases []string - The list of Use Cases that the Execution Environment supports.
- Version
Description string - The description of the Execution Environment version.
- Version
Id string - The ID of the Execution Environment Version.
- build
Status String - The status of the Execution Environment version build.
- description String
- The description of the Execution Environment.
- docker
Context StringPath - The path to a docker context archive or folder
- name String
- The name of the Execution Environment.
- programming
Language String - The programming language of the Execution Environment.
- use
Cases List<String> - The list of Use Cases that the Execution Environment supports.
- version
Description String - The description of the Execution Environment version.
- version
Id String - The ID of the Execution Environment Version.
- build
Status string - The status of the Execution Environment version build.
- description string
- The description of the Execution Environment.
- docker
Context stringPath - The path to a docker context archive or folder
- name string
- The name of the Execution Environment.
- programming
Language string - The programming language of the Execution Environment.
- use
Cases string[] - The list of Use Cases that the Execution Environment supports.
- version
Description string - The description of the Execution Environment version.
- version
Id string - The ID of the Execution Environment Version.
- build_
status str - The status of the Execution Environment version build.
- description str
- The description of the Execution Environment.
- docker_
context_ strpath - The path to a docker context archive or folder
- name str
- The name of the Execution Environment.
- programming_
language str - The programming language of the Execution Environment.
- use_
cases Sequence[str] - The list of Use Cases that the Execution Environment supports.
- version_
description str - The description of the Execution Environment version.
- version_
id str - The ID of the Execution Environment Version.
- build
Status String - The status of the Execution Environment version build.
- description String
- The description of the Execution Environment.
- docker
Context StringPath - The path to a docker context archive or folder
- name String
- The name of the Execution Environment.
- programming
Language String - The programming language of the Execution Environment.
- use
Cases List<String> - The list of Use Cases that the Execution Environment supports.
- version
Description String - The description of the Execution Environment version.
- version
Id String - The ID of the Execution Environment Version.
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobot
Terraform Provider.