Deregistering a Registered Image from ModelArts Image Management
Run the ma-cli image unregister command to deregister a registered image from ModelArts.
$ ma-cli image unregister -h Usage: ma-cli image unregister [OPTIONS] Unregister image from ModelArts. Example: # Unregister image ma-cli image unregister --image-id=xx # Unregister image and delete it from swr ma-cli image unregister --image-id=xx -d Options: -i, --image-id TEXT Unregister image details by image id. [required] -d, --delete-swr-image Delete the image from swr. -C, --config-file PATH Configure file path for authorization. -D, --debug Debug Mode. Shows full stack trace when error occurs. -P, --profile TEXT CLI connection profile to use. The default profile is "DEFAULT". -h, -H, --help Show this message and exit.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
-i / -image-id |
String |
Yes |
ID of the image to be deregistered |
-d / --delete-swr-image |
Bool |
No |
Whether to delete a deregistered SWR image. This function is disabled by default. |
Examples
Deregister a registered image from ModelArts image management.
ma-cli image unregister --image-id=xx
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot