aliyun / aliyun-cli

Alibaba Cloud CLI
Apache License 2.0
830 stars 198 forks source link

ListProductQuotas --Dimensions.1.Key xyz - unknown parameter position; Key is FormData #676

Open baryluk opened 1 year ago

baryluk commented 1 year ago
$ aliyun quotas ListProductQuotas --region cn-hongkong --ProductCode 'ecs-spec' --QuotaActionCode 'ecs.c7a.32xlarge' --Dimensions.1.Key regionId --Dimensions.1.Value 'cn-hongkong'
ERROR: unknown parameter position; Key is FormData
$ 

version: Alibaba Cloud Command Line Interface Version 3.0.160

https://next.api.alibabacloud.com/api/quotas/2020-05-10/ListProductQuotas?params={%22ProductCode%22:%22ecs-spec%22,%22QuotaActionCode%22:%22ecs.c7a.32xlarge%22,%22Dimensions%22:[{%22Key%22:%22regionId%22,%22Value%22:%22cn-hongkong%22}]}&tab=DEMO&lang=GO

TsinghuaDream commented 1 year ago

Need to add --force, we will optimize the generation of CLI commands for international stations. aliyun quotas ListProductQuotas --region cn-hongkong --ProductCode 'ecs-spec' --QuotaActionCode 'ecs.c7a.32xlarge' --Dimensions.1.Key regionId --Dimensions.1.Value 'cn-hongkong' --force