DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.
datarobot.getGlobalModel
Explore with Pulumi AI

DataRobot v0.4.5 published on Monday, Nov 18, 2024 by DataRobot, Inc.
Global Model
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datarobot from "@pulumi/datarobot";
const dummyBinaryClassification = datarobot.getGlobalModel({
name: "[DataRobot] Dummy Binary Classification",
});
import pulumi
import pulumi_datarobot as datarobot
dummy_binary_classification = datarobot.get_global_model(name="[DataRobot] Dummy Binary Classification")
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.GetGlobalModel(ctx, &datarobot.GetGlobalModelArgs{
Name: "[DataRobot] Dummy Binary Classification",
}, 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 dummyBinaryClassification = Datarobot.GetGlobalModel.Invoke(new()
{
Name = "[DataRobot] Dummy Binary Classification",
});
});
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.GetGlobalModelArgs;
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 dummyBinaryClassification = DatarobotFunctions.getGlobalModel(GetGlobalModelArgs.builder()
.name("[DataRobot] Dummy Binary Classification")
.build());
}
}
variables:
dummyBinaryClassification:
fn::invoke:
Function: datarobot:getGlobalModel
Arguments:
name: '[DataRobot] Dummy Binary Classification'
Using getGlobalModel
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 getGlobalModel(args: GetGlobalModelArgs, opts?: InvokeOptions): Promise<GetGlobalModelResult>
function getGlobalModelOutput(args: GetGlobalModelOutputArgs, opts?: InvokeOptions): Output<GetGlobalModelResult>
def get_global_model(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGlobalModelResult
def get_global_model_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGlobalModelResult]
func GetGlobalModel(ctx *Context, args *GetGlobalModelArgs, opts ...InvokeOption) (*GetGlobalModelResult, error)
func GetGlobalModelOutput(ctx *Context, args *GetGlobalModelOutputArgs, opts ...InvokeOption) GetGlobalModelResultOutput
> Note: This function is named GetGlobalModel
in the Go SDK.
public static class GetGlobalModel
{
public static Task<GetGlobalModelResult> InvokeAsync(GetGlobalModelArgs args, InvokeOptions? opts = null)
public static Output<GetGlobalModelResult> Invoke(GetGlobalModelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGlobalModelResult> getGlobalModel(GetGlobalModelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: datarobot:index/getGlobalModel:getGlobalModel
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Registered Model.
- Name string
- The name of the Registered Model.
- name String
- The name of the Registered Model.
- name string
- The name of the Registered Model.
- name str
- The name of the Registered Model.
- name String
- The name of the Registered Model.
getGlobalModel Result
The following output properties are available:
- id str
- The ID of the Global Model.
- name str
- The name of the Registered Model.
- version_
id str - The ID of the Global Model 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.