Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS缺少ModifyImageAdvancedAttribute API #1174

Closed
zhangyoufu opened this issue Jan 14, 2025 · 3 comments
Closed

ECS缺少ModifyImageAdvancedAttribute API #1174

zhangyoufu opened this issue Jan 14, 2025 · 3 comments

Comments

@zhangyoufu
Copy link

定义:
https://github.com/aliyun/alibabacloud-sdk/blob/d01dacbb3d9a0a8c87bcd3291760ec72f73bd75d/ecs-20160314/async/main.dara#L5743-L5771

该API属于OpenAPI,但是白名单开放。
希望aliyun-cli集成该API,以方便使用。

@CodeSpaceiiii
Copy link
Contributor

定义: https://github.com/aliyun/alibabacloud-sdk/blob/d01dacbb3d9a0a8c87bcd3291760ec72f73bd75d/ecs-20160314/async/main.dara#L5743-L5771

该API属于OpenAPI,但是白名单开放。 希望aliyun-cli集成该API,以方便使用。

这个 API 当前属于ECS-2016-03-14 版本,现在 CLI 仅支持一个版本,还是 ECS 的 2014 版本,暂时还支持不了。

@zhangyoufu
Copy link
Author

zhangyoufu commented Jan 15, 2025

这个 API 当前属于ECS-2016-03-14 版本,现在 CLI 仅支持一个版本,还是 ECS 的 2014 版本,暂时还支持不了。

在 metadata 中分别提供 ecs-20140526、ecs-20160314,将现在的 ecs 命令映射到 ecs-20140526,是否可以解决?

相关issue: #745

@zhangyoufu
Copy link
Author

aliyun --force ecs --version 2016-03-14 ModifyImageAdvancedAttribute --RegionId cn-hangzhou --ImageId m-123 --Flag.1.Name foo --Flag.1.Value true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants