DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.
datarobot.getExecutionEnvironment
Explore with Pulumi AI
DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.
Execution Environment
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datarobot from "@pulumi/datarobot";
const example = datarobot.getExecutionEnvironment({
name: "DataRobot] Python 3.12",
});
import pulumi
import pulumi_datarobot as datarobot
example = datarobot.get_execution_environment(name="DataRobot] Python 3.12")
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.LookupExecutionEnvironment(ctx, &datarobot.LookupExecutionEnvironmentArgs{
Name: "DataRobot] Python 3.12",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datarobot = Pulumi.Datarobot;
return await Deployment.RunAsync(() =>
{
var example = Datarobot.GetExecutionEnvironment.Invoke(new()
{
Name = "DataRobot] Python 3.12",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datarobot.DatarobotFunctions;
import com.pulumi.datarobot.inputs.GetExecutionEnvironmentArgs;
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) {
final var example = DatarobotFunctions.getExecutionEnvironment(GetExecutionEnvironmentArgs.builder()
.name("DataRobot] Python 3.12")
.build());
}
}
variables:
example:
fn::invoke:
Function: datarobot:getExecutionEnvironment
Arguments:
name: DataRobot] Python 3.12
Using getExecutionEnvironment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExecutionEnvironment(args: GetExecutionEnvironmentArgs, opts?: InvokeOptions): Promise<GetExecutionEnvironmentResult>
function getExecutionEnvironmentOutput(args: GetExecutionEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetExecutionEnvironmentResult>
def get_execution_environment(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExecutionEnvironmentResult
def get_execution_environment_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExecutionEnvironmentResult]
func LookupExecutionEnvironment(ctx *Context, args *LookupExecutionEnvironmentArgs, opts ...InvokeOption) (*LookupExecutionEnvironmentResult, error)
func LookupExecutionEnvironmentOutput(ctx *Context, args *LookupExecutionEnvironmentOutputArgs, opts ...InvokeOption) LookupExecutionEnvironmentResultOutput
> Note: This function is named LookupExecutionEnvironment
in the Go SDK.
public static class GetExecutionEnvironment
{
public static Task<GetExecutionEnvironmentResult> InvokeAsync(GetExecutionEnvironmentArgs args, InvokeOptions? opts = null)
public static Output<GetExecutionEnvironmentResult> Invoke(GetExecutionEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExecutionEnvironmentResult> getExecutionEnvironment(GetExecutionEnvironmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: datarobot:index/getExecutionEnvironment:getExecutionEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Execution Environment.
- Name string
- The name of the Execution Environment.
- name String
- The name of the Execution Environment.
- name string
- The name of the Execution Environment.
- name str
- The name of the Execution Environment.
- name String
- The name of the Execution Environment.
getExecutionEnvironment Result
The following output properties are available:
- Description string
- The description of the Execution Environment.
- Id string
- The ID of the Execution Environment.
- Name string
- The name of the Execution Environment.
- Programming
Language string - The programming language of the Execution Environment.
- Version
Id string - The ID of the Execution Environment Version.
- Description string
- The description of the Execution Environment.
- Id string
- The ID of the Execution Environment.
- Name string
- The name of the Execution Environment.
- Programming
Language string - The programming language of the Execution Environment.
- Version
Id string - The ID of the Execution Environment Version.
- description String
- The description of the Execution Environment.
- id String
- The ID of the Execution Environment.
- name String
- The name of the Execution Environment.
- programming
Language String - The programming language of the Execution Environment.
- version
Id String - The ID of the Execution Environment Version.
- description string
- The description of the Execution Environment.
- id string
- The ID of the Execution Environment.
- name string
- The name of the Execution Environment.
- programming
Language string - The programming language of the Execution Environment.
- version
Id string - The ID of the Execution Environment Version.
- description str
- The description of the Execution Environment.
- id str
- The ID of the Execution Environment.
- name str
- The name of the Execution Environment.
- programming_
language str - The programming language of the Execution Environment.
- version_
id str - The ID of the Execution Environment Version.
- description String
- The description of the Execution Environment.
- id String
- The ID of the Execution Environment.
- name String
- The name of the Execution Environment.
- programming
Language String - The programming language of the Execution Environment.
- 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.
DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.