ValidateReplaceDeployedModel: Validate a potential deployment model replacement.

View source: R/Deployment.R

ValidateReplaceDeployedModelR Documentation

Validate a potential deployment model replacement.

Description

Validate a potential deployment model replacement.

Usage

ValidateReplaceDeployedModel(deploymentId, newModelId)

Arguments

deploymentId

character. The ID of the deployment.

newModelId

character. The ID of the model to use in the deployment. This model will replace the old model. You can also pass a dataRobotModel object.

Value

A validation report with:

  • status character. Either PASSED or FAILED depending on whether all checks passed or not.

  • message character. A message explaining the status failure, if any.

  • checks list. A list of each check and the individual status.

Examples

## Not run: 
  deploymentId <- "5e319d2e422fbd6b58a5edad"
  newModelId <- "5996f820af07fc605e81ead4"
  ValidateReplaceDeployedModel(deploymentId, newModelId)

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.