ALIYUN(1)
β¨ NAME β¨
okay bestie π this is the manual for aliyun, the Alibaba Cloud CLI π¦ it's a User Command so it's giving terminal main character energy π
β¨ DESCRIPTION β¨
okay so this is the Alibaba Cloud Command Line Interface, Version 3.0.125 πΈ and it's literally how you talk to Alibaba Cloud from your terminal π«Ά
π Usage
the basic vibe is one product, one operation, and then whatever extra stuff you need π§
aliyun <product> <operation> [--parameter1 value1 --parameter2 value2 ...]
π Flags
here's the whole flag squad, no cap π
--modeβ use--mode {AK|StsToken|RamRoleArn|EcsRamRole|RsaKeyPair|RamRoleArnWithRoleName}to pick your authenticate mode π--profile,-pβ use--profile <profileName>to select a profile π--languageβ use--language [en|zh]to set the language π--regionβ use--region <regionId>to set the region πΊοΈ--config-pathβ use--config-pathto point at the configuration file path π--access-key-idβ use--access-key-id <AccessKeyId>to set your AccessKeyId. it's required in AK/StsToken/RamRoleArn mode ποΈ--access-key-secretβ use--access-key-secret <AccessKeySecret>to set your AccessKeySecret π€«--sts-tokenβ use--sts-token <StsToken>to set your StsToken ποΈ--sts-regionβ use--sts-region <StsRegion>to set your StsRegion π--ram-role-nameβ use--ram-role-name <RamRoleName>to set your RamRoleName π--ram-role-arnβ use--ram-role-arn <RamRoleArn>to set your RamRoleArn π--role-session-nameβ use--role-session-name <RoleSessionName>to set your RoleSessionName π¦--private-keyβ use--private-key <PrivateKey>to set your RSA PrivateKey π--key-pair-nameβ use--key-pair-name <KeyPairName>to set your KeyPairName π«§--read-timeoutβ use--read-timeout <seconds>to set the I/O timeout, in seconds β±οΈ--connect-timeoutβ use--connect-timeout <seconds>to set the connect timeout, in seconds β³--retry-countβ use--retry-count <count>to set how many retries you get π--skip-secure-verifyβ use--skip-secure-verifyto skip the https certification validation π
β οΈ bestie, this one is Not recommended. it skips https certification validation, so only touch it if you really know why.
--expired-secondsβ use--expired-seconds <seconds>to set the expiration time β--process-commandβ use--process-command <ProcessCommand>to set the external program execution command π οΈ--secureβ use--secureto force https π--forceβ use--forceto skip the API and parameters check πββοΈ--endpointβ use--endpoint <endpoint>to set the endpoint π--versionβ use--version <YYYY-MM-DD>to set the product API version π--headerβ use--header X-foo=barto add a custom HTTP header. you can repeat it as many times as you want π--bodyβ use--body $(cat foo.json)to set the HTTP body in a RESTful call π¦--pagerβ use--pagerto merge pages for pageable APIs π--output,-oβ use--output cols=Field1,Field2 [rows=jmesPath]to print the output as a table π--waiterβ use--waiter expr=<jmesPath> to=<value>to keep pulling the API until the result equals the value you want β³β¨--dryrunβ add--dryrunto validate and print the request without actually running it π--quiet,-qβ add--quietto hide the normal output π€«--helpβ print help π
π Sample
let's see it in action π
aliyun ecs DescribeRegions
okay and here's the product list, all of them, iykyk π
arms Application Real-Time Monitoring Service
actiontrail Action Trail
agency agency
alidns Alibaba Cloud DNS
batchcompute BatchCompute
bssopenapi bssopenapi
ccc cloud call center
cs Container Service
csb Cloud Service Bus
cdn Alibaba Cloud CDN
cds CodePipeline
chatbot BeeBot
cloudapi API Gateway
cloudphoto Cloud Photos
cloudauth ID Verification
cms Cloud Monitor
dds ApsaraDB for MongoDB
dm Direct Mail
domain domain
domain-intl domain
drds Distributed Relational Database Service
eci Elastic Container Instances
ecs Elastic Compute Service
edas Enterprise Distributed Application Service
emr E-MapReduce
ess Auto Scaling
green Alibaba Content Security Service
hpc Alibaba Cloud HPC
httpdns HttpDNS
itaas Cloud Display
iot Alibaba Cloud IoT
kms Key Management Service
mts ApsaraVideo for Media Processing
nas Network Attached Storage
ons Message Queue
ots Table Store
push Alibaba Cloud Mobile Push
qualitycheck Smart Conversation Analysis
r-kvstore ApsaraDB for Redis
ros Resource Orchestration Service
ram Resource Access Management
rds ApsaraDB for RDS
resourcemanager Resource Management
sas-api Situation Awareness Service
slb Server Load Balancer
sts Resource Access Management
vpc Virtual Private Cloud
aegis Server Guard
cloudwf CloudAP
cr Container Registry
elasticsearch elasticsearch
facebody Visual Intelligence API
fnf FunctionFlow
goodstech Visual Intelligence API
imageaudit Visual Intelligence API
imageenhan Visual Intelligence API
imagerecog Visual Intelligence API
imageseg Visual Intelligence API
jaq Mobile Security
live ApsaraVideo for Live
objectdet Visual Intelligence API
ocr Visual Intelligence API
oos Operation Orchestration Service
polardb ApsaraDB for POLARDB
sae Serverless App Engine
smc Server Migration Center
vod ApsaraVideo for VOD
waf-openapi Web Application Firewall
ens Edge Node Service
ledgerdb LedgerDB
pvtz PrivateZone
servicemesh Alibaba Cloud Service Mesh
alikafka MQ for Kafka
cas SSL Service
cbn Cloud Enterprise Network
dcdn Dynamic Route for CDN
ddoscoo BGP-line Anti-DDoS Pro
ddospro Anti-DDoS Pro
dms-enterprise Data Management
dts Data Transmission
gpdb AnalyticDB for PostgreSQL
hbase ApsaraDB for HBase
petadata HybridDB for MySQL
scdn scdn
sls Log Service
yundun-bastionhost bastionhost
config CloudConfig
ims RAM Identity Management Service
sales
ga Global Acceleration
fc-open Function Compute
adb AnalyticDB for MySQL
sas Security Center
alb Application Load Balancer
quotas Quotas
cloudsso RAM-CloudSSO
ehpc Elastic High Performance Computing
privatelink Private Link
adcp Alibaba Cloud Distributed Cloud Container Platform
vpcpeer VpcPeer
for more info, just run aliyun --help π«Ά
that's the tea π«π this page is for aliyun 3.0.125 from July 2024, filed under ALIYUN(1) π¦ love you bestie, go be iconic β¨
π¦ where this page comes from
- fedora 43: golang-github-aliyun-cli 3.0.125-7.fc41 Β· MIT AND Apache-2.0
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms