1ALIYUN(1) User Commands ALIYUN(1)
2
3
4
6 aliyun - Alibaba Cloud CLI
7
9 Alibaba Cloud Command Line Interface Version 3.0.125
10
11 Usage:
12 aliyun <product> <operation> [--parameter1 value1 --parameter2
13 value2 ...]
14
15 Flags:
16 --mode use `--mode {AK|StsToken|RamRoleArn|EcsRamRole|RsaKeyPair|Ram‐
17 RoleArnWithRoleName}` to assign authenticate mode
18
19 --profile,-p
20 use `--profile <profileName>` to select profile
21
22 --language
23 use `--language [en|zh]` to assign language
24
25 --region
26 use `--region <regionId>` to assign region
27
28 --config-path
29 use `--config-path` to specify the configuration file path
30
31 --access-key-id
32 use `--access-key-id <AccessKeyId>` to assign AccessKeyId, re‐
33 quired in AK/StsToken/RamRoleArn mode
34
35 --access-key-secret
36 use `--access-key-secret <AccessKeySecret>` to assign AccessKey‐
37 Secret
38
39 --sts-token
40 use `--sts-token <StsToken>` to assign StsToken
41
42 --sts-region
43 use `--sts-region <StsRegion>` to assign StsRegion
44
45 --ram-role-name
46 use `--ram-role-name <RamRoleName>` to assign RamRoleName
47
48 --ram-role-arn
49 use `--ram-role-arn <RamRoleArn>` to assign RamRoleArn
50
51 --role-session-name
52 use `--role-session-name <RoleSessionName>` to assign RoleSes‐
53 sionName
54
55 --private-key
56 use `--private-key <PrivateKey>` to assign RSA PrivateKey
57
58 --key-pair-name
59 use `--key-pair-name <KeyPairName>` to assign KeyPairName
60
61 --read-timeout
62 use `--read-timeout <seconds>` to set I/O timeout(seconds)
63
64 --connect-timeout
65 use `--connect-timeout <seconds>` to set connect timeout(sec‐
66 onds)
67
68 --retry-count
69 use `--retry-count <count>` to set retry count
70
71 --skip-secure-verify use `--skip-secure-verify` to skip https certifi‐
72 cation validate [Not recommended]
73
74 --expired-seconds
75 use `--expired-seconds <seconds>` to specify expiration time
76
77 --process-command
78 use `--process-command <ProcessCommand>` to specify external
79 program execution command
80
81 --secure
82 use `--secure` to force https
83
84 --force
85 use `--force` to skip api and parameters check
86
87 --endpoint
88 use `--endpoint <endpoint>` to assign endpoint
89
90 --version
91 use `--version <YYYY-MM-DD>` to assign product api version
92
93 --header
94 use `--header X-foo=bar` to add custom HTTP header, repeatable
95
96 --body use `--body $(cat foo.json)` to assign http body in RESTful call
97
98 --pager
99 use `--pager` to merge pages for pageable APIs
100
101 --output,-o
102 use `--output cols=Field1,Field2 [rows=jmesPath]` to print out‐
103 put as table
104
105 --waiter
106 use `--waiter expr=<jmesPath> to=<value>` to pull api until re‐
107 sult equal to expected value
108
109 --dryrun
110 add `--dryrun` to validate and print request without running.
111
112 --quiet,-q
113 add `--quiet` to hide normal output
114
115 --help print help
116
117 Sample:
118 aliyun ecs DescribeRegions
119
120 [0m Products: [0m[0;36m arms Application Real-Time Moni‐
121 toring Service [0m[0;36m actiontrail Action Trail [0m[0;36m
122 agency agency [0m[0;36m alidns Alibaba Cloud
123 DNS [0m[0;36m batchcompute BatchCompute [0m[0;36m bssopenapi
124 bssopenapi [0m[0;36m ccc cloud call center [0m[0;36m
125 cs Container Service [0m[0;36m csb
126 Cloud Service Bus [0m[0;36m cdn Alibaba Cloud CDN
127 [0m[0;36m cds CodePipeline [0m[0;36m chatbot
128 BeeBot [0m[0;36m cloudapi API Gateway [0m[0;36m cloudphoto
129 Cloud Photos [0m[0;36m cloudauth ID Verification [0m[0;36m
130 cms Cloud Monitor [0m[0;36m dds ApsaraDB
131 for MongoDB [0m[0;36m dm Direct Mail [0m[0;36m domain
132 domain [0m[0;36m domain-intl domain [0m[0;36m drds
133 Distributed Relational Database Service [0m[0;36m eci
134 Elastic Container Instances [0m[0;36m ecs Elastic Com‐
135 pute Service [0m[0;36m edas Enterprise Distributed Ap‐
136 plication Service [0m[0;36m emr E-MapReduce [0m[0;36m
137 ess Auto Scaling [0m[0;36m green Alibaba
138 Content Security Service [0m[0;36m hpc Alibaba Cloud
139 HPC [0m[0;36m httpdns HttpDNS [0m[0;36m itaas
140 Cloud Display [0m[0;36m iot Alibaba Cloud IoT [0m[0;36m
141 kms Key Management Service [0m[0;36m mts
142 ApsaraVideo for Media Processing [0m[0;36m nas Network
143 Attached Storage [0m[0;36m ons Message Queue [0m[0;36m
144 ots Table Store [0m[0;36m push Alibaba
145 Cloud Mobile Push [0m[0;36m qualitycheck Smart Conversation
146 Analysis [0m[0;36m r-kvstore ApsaraDB for Redis [0m[0;36m
147 ros Resource Orchestration Service [0m[0;36m ram
148 Resource Access Management [0m[0;36m rds ApsaraDB for
149 RDS [0m[0;36m resourcemanager Resource Management [0m[0;36m
150 sas-api Situation Awareness Service [0m[0;36m slb
151 Server Load Balancer [0m[0;36m sts Resource Access Man‐
152 agement [0m[0;36m vpc Virtual Private Cloud [0m[0;36m
153 aegis Server Guard [0m[0;36m cloudwf CloudAP
154 [0m[0;36m cr Container Registry [0m[0;36m elastic‐
155 search elasticsearch [0m[0;36m facebody Visual Intelli‐
156 gence API [0m[0;36m fnf FunctionFlow [0m[0;36m good‐
157 stech Visual Intelligence API [0m[0;36m imageaudit
158 Visual Intelligence API [0m[0;36m imageenhan Visual Intelli‐
159 gence API [0m[0;36m imagerecog Visual Intelligence API
160 [0m[0;36m imageseg Visual Intelligence API [0m[0;36m jaq
161 Mobile Security [0m[0;36m live ApsaraVideo for Live
162 [0m[0;36m objectdet Visual Intelligence API [0m[0;36m ocr
163 Visual Intelligence API [0m[0;36m oos Operation Orches‐
164 tration Service [0m[0;36m polardb ApsaraDB for POLARDB
165 [0m[0;36m sae Serverless App Engine [0m[0;36m smc
166 Server Migration Center [0m[0;36m vod ApsaraVideo for
167 VOD [0m[0;36m waf-openapi Web Application Firewall [0m[0;36m
168 ens Edge Node Service [0m[0;36m ledgerdb
169 LedgerDB [0m[0;36m pvtz PrivateZone [0m[0;36m ser‐
170 vicemesh Alibaba Cloud Service Mesh [0m[0;36m alikafka
171 MQ for Kafka [0m[0;36m cas SSL Service [0m[0;36m cbn
172 Cloud Enterprise Network [0m[0;36m dcdn Dynamic Route
173 for CDN [0m[0;36m ddoscoo BGP-line Anti-DDoS Pro [0m[0;36m
174 ddospro Anti-DDoS Pro [0m[0;36m dms-enterprise Data
175 Management [0m[0;36m dts Data Transmission [0m[0;36m
176 gpdb AnalyticDB for PostgreSQL [0m[0;36m hbase
177 ApsaraDB for HBase [0m[0;36m petadata HybridDB for MySQL
178 [0m[0;36m scdn scdn [0m[0;36m sls Log
179 Service [0m[0;36m yundun-bastionhost bastionhost [0m[0;36m config
180 CloudConfig [0m[0;36m ims RAM Identity Management Ser‐
181 vice [0m[0;36m sales [0m[0;36m ga Global Acceleration
182 [0m[0;36m fc-open Function Compute [0m[0;36m adb
183 AnalyticDB for MySQL [0m[0;36m sas Security Center
184 [0m[0;36m alb Application Load Balancer [0m[0;36m quo‐
185 tas Quotas [0m[0;36m cloudsso RAM-CloudSSO
186 [0m[0;36m ehpc Elastic High Performance Computing
187 [0m[0;36m privatelink Private Link [0m[0;36m adcp
188 Alibaba Cloud Distributed Cloud Container Platform [0m[0;36m vpcpeer
189 VpcPeer [0m Use `aliyun --help` for more information.
190
191
192
193aliyun 3.0.125 July 2023 ALIYUN(1)