ALIYUN(1)

πŸ“¦ version 3.0.125, in fedora 43

✨ 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-path to 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-verify to 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 --secure to force https πŸ”’
  • --force β€” use --force to 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=bar to 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 --pager to 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 --dryrun to validate and print the request without actually running it πŸ‘€
  • --quiet, -q β€” add --quiet to 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