华为云AI开发平台ModelArts取消注册ModelArts镜像管理中的已注册镜像_云淘科技
使用ma-cli image unregister命令将注册的镜像从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.
参数名 |
参数类型 |
是否必选 |
参数说明 |
---|---|---|---|
-i / -image-id |
String |
是 |
需要取消注册的镜像ID。 |
-d / –delete-swr-image |
Bool |
否 |
取消注册后同步删除SWR镜像开关,默认关闭。 |
示例
取消ModelArts镜像管理中已注册镜像。
ma-cli image unregister --image-id=xx
父主题: ma-cli image镜像构建命令
同意关联代理商云淘科技,购买华为云产品更优惠(QQ 78315851)
内容没看懂? 不太想学习?想快速解决? 有偿解决: 联系专家