1. Packages
  2. DataRobot
  3. API Docs
  4. getGlobalModel
DataRobot v0.8.18 published on Thursday, Mar 27, 2025 by DataRobot, Inc.

datarobot.getGlobalModel

Explore with Pulumi AI

DataRobot v0.8.18 published on Thursday, Mar 27, 2025 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",
});
Copy
import pulumi
import pulumi_datarobot as datarobot

dummy_binary_classification = datarobot.get_global_model(name="[DataRobot] Dummy Binary Classification")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  dummyBinaryClassification:
    fn::invoke:
      function: datarobot:getGlobalModel
      arguments:
        name: '[DataRobot] Dummy Binary Classification'
Copy

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>
Copy
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]
Copy
func GetGlobalModel(ctx *Context, args *GetGlobalModelArgs, opts ...InvokeOption) (*GetGlobalModelResult, error)
func GetGlobalModelOutput(ctx *Context, args *GetGlobalModelOutputArgs, opts ...InvokeOption) GetGlobalModelResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetGlobalModelResult> getGlobalModel(GetGlobalModelArgs args, InvokeOptions options)
public static Output<GetGlobalModelResult> getGlobalModel(GetGlobalModelArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: datarobot:index/getGlobalModel:getGlobalModel
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the Registered Model.
Name This property is required. string
The name of the Registered Model.
name This property is required. String
The name of the Registered Model.
name This property is required. string
The name of the Registered Model.
name This property is required. str
The name of the Registered Model.
name This property is required. String
The name of the Registered Model.

getGlobalModel Result

The following output properties are available:

Id string
The ID of the Global Model.
Name string
The name of the Registered Model.
VersionId string
The ID of the Global Model Version.
Id string
The ID of the Global Model.
Name string
The name of the Registered Model.
VersionId string
The ID of the Global Model Version.
id String
The ID of the Global Model.
name String
The name of the Registered Model.
versionId String
The ID of the Global Model Version.
id string
The ID of the Global Model.
name string
The name of the Registered Model.
versionId string
The ID of the Global Model Version.
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.
id String
The ID of the Global Model.
name String
The name of the Registered Model.
versionId String
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.8.18 published on Thursday, Mar 27, 2025 by DataRobot, Inc.