CreateDeployment {datarobot}R Documentation

Create a deployment.

Description

Create a deployment.

Usage

CreateDeployment(
  model,
  label = "",
  description = "",
  defaultPredictionServerId = NULL
)

Arguments

model

An S3 object of class dataRobotModel like that returned by the function GetModel, or each element of the list returned by the function ListModels.

label

character. The name of the deployment.

description

character. Optional. A longer description of the deployment.

defaultPredictionServerId

character. The ID of the prediction server to connect to. Can also be a prediction server object.

Value

A DataRobotDeployment object containing:

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  predictionServer <- ListPredictionServers()[[1]]
  CreateDeployment(model,
                   label = "myDeployment",
                   description = "this is my deployment",
                   defaultPredictionServerId = predictionServer)

## End(Not run)

[Package datarobot version 2.18.6 Index]