1ALIYUN(1) User Commands ALIYUN(1)
2
3
4
6 aliyun - Alibaba Cloud (Aliyun) CLI
7
9 Alibaba Cloud Command Line Interface Version 3.0.73
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,
33 required 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 --ram-role-name
43 use `--ram-role-name <RamRoleName>` to assign RamRoleName
44
45 --ram-role-arn
46 use `--ram-role-arn <RamRoleArn>` to assign RamRoleArn
47
48 --role-session-name
49 use `--role-session-name <RoleSessionName>` to assign RoleSes‐
50 sionName
51
52 --private-key
53 use `--private-key <PrivateKey>` to assign RSA PrivateKey
54
55 --key-pair-name
56 use `--key-pair-name <KeyPairName>` to assign KeyPairName
57
58 --read-timeout
59 use `--read-timeout <seconds>` to set I/O timeout(seconds)
60
61 --connect-timeout
62 use `--connect-timeout <seconds>` to set connect timeout(sec‐
63 onds)
64
65 --retry-count
66 use `--retry-count <count>` to set retry count
67
68 --skip-secure-verify use `--skip-secure-verify` to skip https certifi‐
69 cation validate [Not recommended]
70
71 --expired-seconds
72 use `--expired-seconds <seconds>` to specify expiration time
73
74 --process-command
75 use `--process-command <ProcessCommand>` to specify external
76 program execution command
77
78 --secure
79 use `--secure` to force https
80
81 --force
82 use `--force` to skip api and parameters check
83
84 --endpoint
85 use `--endpoint <endpoint>` to assign endpoint
86
87 --version
88 use `--version <YYYY-MM-DD>` to assign product api version
89
90 --header
91 use `--header X-foo=bar` to add custom HTTP header, repeatable
92
93 --body use `--body $(cat foo.json)` to assign http body in RESTful call
94
95 --pager
96 use `--pager` to merge pages for pageable APIs
97
98 --output,-o
99 use `--output cols=Field1,Field2 [rows=jmesPath]` to print out‐
100 put as table
101
102 --waiter
103 use `--waiter expr=<jmesPath> to=<value>` to pull api until
104 result equal to expected value
105
106 --dryrun
107 add `--dryrun` to validate and print request without running.
108
109 --quiet,-q
110 add `--quiet` to hide normal output
111
112 --help print help
113
114 Sample:
115 aliyun ecs DescribeRegions
116
117 [0m Products: [0m[0;36m sls Log Service [0m[0;36m
118 goodstech Visual Intelligence API [0m[0;36m imageaudit
119 Visual Intelligence API [0m[0;36m gpdb AnalyticDB for
120 PostgreSQL [0m[0;36m sales [0m[0;36m cloudauth ID Verifica‐
121 tion [0m[0;36m sts Resource Access Management [0m[0;36m
122 jaq Mobile Security [0m[0;36m imagerecog Visual
123 Intelligence API [0m[0;36m hpc Alibaba Cloud HPC
124 [0m[0;36m cds CodePipeline [0m[0;36m cas
125 SSL Service [0m[0;36m green Alibaba Content Security Ser‐
126 vice [0m[0;36m objectdet Visual Intelligence API [0m[0;36m
127 ots Table Store [0m[0;36m yundun-bastionhost bastion‐
128 host [0m[0;36m fnf FunctionFlow [0m[0;36m imageenhan
129 Visual Intelligence API [0m[0;36m smc Server Migration
130 Center [0m[0;36m sas-api Situation Awareness Service
131 [0m[0;36m ocr Visual Intelligence API [0m[0;36m
132 actiontrail Action Trail * [0m[0;36m imageseg Visual
133 Intelligence API [0m[0;36m eci Elastic Container
134 Instances [0m[0;36m domain domain [0m[0;36m ledgerdb
135 LedgerDB [0m[0;36m agency agency [0m[0;36m httpdns
136 HttpDNS [0m[0;36m batchcompute BatchCompute [0m[0;36m ser‐
137 vicemesh Alibaba Cloud Service Mesh [0m[0;36m itaas
138 Cloud Display [0m[0;36m alikafka MQ for Kafka [0m[0;36m
139 qualitycheck Smart Conversation Analysis [0m[0;36m dms-enter‐
140 prise Data Management [0m[0;36m pvtz PrivateZone
141 [0m[0;36m push Alibaba Cloud Mobile Push [0m[0;36m csb
142 Cloud Service Bus [0m[0;36m ons Message Queue [0m[0;36m
143 petadata HybridDB for MySQL [0m[0;36m kms Key
144 Management Service [0m[0;36m ros Resource Orchestration
145 Service [0m[0;36m facebody Visual Intelligence API [0m[0;36m
146 cr Container Registry [0m[0;36m oos
147 Operation Orchestration Service [0m[0;36m ram Resource
148 Access Management [0m[0;36m arms Application Real-Time
149 Monitoring Service [0m[0;36m scdn scdn [0m[0;36m ims
150 RAM Identity Management Service [0m[0;36m resourcemanager Resource
151 Management [0m[0;36m ess Auto Scaling [0m[0;36m dm
152 Direct Mail [0m[0;36m chatbot BeeBot [0m[0;36m bssopenapi
153 bssopenapi [0m[0;36m cloudphoto Cloud Photos [0m[0;36m nas
154 Network Attached Storage [0m[0;36m domain-intl domain [0m[0;36m
155 config CloudConfig [0m[0;36m dts Data
156 Transmission [0m[0;36m ddospro Anti-DDoS Pro [0m[0;36m
157 hbase ApsaraDB for HBase [0m[0;36m sae
158 Serverless App Engine [0m[0;36m dds ApsaraDB for Mon‐
159 goDB [0m[0;36m elasticsearch elasticsearch [0m[0;36m dcdn
160 Dynamic Route for CDN [0m[0;36m cbn Cloud Enterprise
161 Network [0m[0;36m ens Edge Node Service [0m[0;36m
162 r-kvstore ApsaraDB for Redis [0m[0;36m cms
163 Cloud Monitor [0m[0;36m waf-openapi Web Application Firewall
164 [0m[0;36m cs Container Service [0m[0;36m ccc
165 cloud call center [0m[0;36m ddoscoo BGP-line Anti-DDoS Pro
166 [0m[0;36m polardb ApsaraDB for POLARDB [0m[0;36m slb
167 Server Load Balancer [0m[0;36m cloudapi API Gateway
168 [0m[0;36m drds Distributed Relational Database Service
169 [0m[0;36m mts ApsaraVideo for Media Processing
170 [0m[0;36m edas Enterprise Distributed Application Ser‐
171 vice [0m[0;36m cloudwf CloudAP [0m[0;36m cdn
172 Alibaba Cloud CDN [0m[0;36m alidns Alibaba Cloud DNS
173 [0m[0;36m aegis Server Guard [0m[0;36m vod
174 ApsaraVideo for VOD [0m[0;36m vpc Virtual Private Cloud
175 [0m[0;36m ecs Elastic Compute Service [0m[0;36m live
176 ApsaraVideo for Live [0m[0;36m rds ApsaraDB for RDS
177 [0m[0;36m emr E-MapReduce [0m[0;36m iot
178 Alibaba Cloud IoT [0m Use `aliyun --help` for more information.
179
180
181
182aliyun 3.0.73 February 2021 ALIYUN(1)