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

ResizeInstances can only resize cpu and memory #109

Closed
chilianyi opened this issue Sep 4, 2018 · 0 comments
Closed

ResizeInstances can only resize cpu and memory #109

chilianyi opened this issue Sep 4, 2018 · 0 comments

Comments

@chilianyi
Copy link
Contributor

https://docs.qingcloud.com/product/api/action/volume/resize_volumes.html

Parameter name Type Description Required
instances.n String 主机ID Yes
instance_type String 主机类型,有效值请参考 Instance Types如果请求中指定了 instance_type,cpu 和 memory 参数可略过。如果请求中没有 instance_type,则 cpu 和 memory 参数必须指定。如果请求参数中既有 instance_type,又有 cpu 和 memory,则以 cpu, memory 的值为准。 No
cpu Integer CPU core,有效值为: 1, 2, 4, 8, 16 No
memory Integer 内存,有效值为: 1024, 2048, 4096, 6144, 8192, 12288, 16384, 24576, 32768 No
os_disk_size Integer 系统盘大小,单位GB。Linux操作系统的有效值为:20-100,默认值为:20Windows操作系统的有效值为:50-100,默认值为:50 No
cpu_model String CPU 指令集, 有效值: Westmere, SandyBridge, IvyBridge, Haswell, Broadwell No
cpu_topology String CPU 拓扑结构: 插槽数, 核心数, 线程数; 插槽数 * 核心数 * 线程数 应等于您应选择的CPU数量。 No
gpu Integer GPU 个数 No
zone String 区域 ID,注意要小写 No

Gpu, os_disk_size, cpu_model are all needed.

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

No branches or pull requests

2 participants