wx-ai deployment wait

Waits until the deployment becomes ready or failed.

Syntax

cpd-cli wx-ai deployment
wait \
--cpd-scope=<conflict>
--deployment-id=<deployment-id-or-serving-name> \
--space-id=<space-identifier>

Options

Table 1: Command options
Option Description
--cpd-scope The IBM Software Hub space, project, or catalog scope. For example, cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
Status
Optional.
Syntax
--cpd-scope=<cpd-scope>
Input type
string
Default value
No default.
--deployment-id Specify either the 'deployment_id' that identifies the deployment or a 'serving_name' that allows a predefined URL to post a prediction.
Status
Required.
Syntax
--deployment-id=<deployment-id-or-serving-name>
Default value
No default.
--space-id The space that contains the deployment. Either space_id or project_id must be given.
Status
Required.
Syntax
--space-id=<space-identifier>
Default value
No default.
Input type
string