Skip to content

帮助

导出命令行帮助。

aliyun > aliyun-help.txt
Alibaba Cloud Command Line Interface

Usage:
  aliyun <product> <operation> [--parameter1 value1 --parameter2 value2 ...]

Commands:
  configure       configure credential and settings
  oss             Object Storage Service(deprecated, use aliyun ossutil instead)
  auto-completion enable auto completion
  mcp-proxy       Start MCP server proxy
  go-migrate      Alibaba Cloud Golang SDK V1 to V2 Migration Tool
  ossutil         Alibaba OSS Service CLI
  otsutil         Alibaba Cloud Tablestore Utility

Flags:
  --mode                    use `--mode {AK|StsToken|RamRoleArn|EcsRamRole|RsaKeyPair|RamRoleArnWithRoleName|CloudSSO|OAuth}` to assign authenticate mode
  --profile,-p              use `--profile <profileName>` to select profile
  --language                use `--language [en|zh]` to assign language
  --region                  use `--region <regionId>` to assign region
  --config-path             use `--config-path` to specify the configuration file path
  --access-key-id           use `--access-key-id <AccessKeyId>` to assign AccessKeyId, required in AK/StsToken/RamRoleArn mode
  --access-key-secret       use `--access-key-secret <AccessKeySecret>` to assign AccessKeySecret
  --sts-token               use `--sts-token <StsToken>` to assign StsToken
  --sts-region              use `--sts-region <StsRegion>` to assign StsRegion
  --ram-role-name           use `--ram-role-name <RamRoleName>` to assign RamRoleName
  --ram-role-arn            use `--ram-role-arn <RamRoleArn>` to assign RamRoleArn
  --source-profile          use `--source-profile <SourceProfile>` to assign SourceProfile
  --role-session-name       use `--role-session-name <RoleSessionName>` to assign RoleSessionName
  --external-id             use `--external-id <ExternalId>` to assign ExternalId
  --private-key             use `--private-key <PrivateKey>` to assign RSA PrivateKey
  --key-pair-name           use `--key-pair-name <KeyPairName>` to assign KeyPairName
  --read-timeout            use `--read-timeout <seconds>` to set I/O timeout(seconds)
  --connect-timeout         use `--connect-timeout <seconds>` to set connect timeout(seconds)
  --retry-count             use `--retry-count <count>` to set retry count
  --skip-secure-verify      use `--skip-secure-verify` to skip https certification validate [Not recommended]
  --expired-seconds         use `--expired-seconds <seconds>` to specify expiration time
  --process-command         use `--process-command <ProcessCommand>` to specify external program execution command
  --oidc-provider-arn       use `--oidc-provider-arn <OIDCProviderARN>` to assign OIDC provider ARN
  --oidc-token-file         use `--oidc-token-file <OIDCTokenFile>` to assign OIDC token file path
  --cloud-sso-sign-in-url   use `--cloud-sso-sign-in-url` to specify the cloud sso sign in url
  --cloud-sso-access-config use `--cloud-sso-access-config` to specify the cloud sso access config
  --cloud-sso-account-id    use `--cloud-sso-account-id` to specify the cloud sso account id
  --oauth-site-type         use `--oauth-site-type` to specify the oauth site type, support CN|INTL
  --endpoint-type           use `--endpoint-type` to specify the endpoint type, support vpc or empty (default public)
  --secure                  use `--secure` to force https
  --force                   use `--force` to skip api and parameters check
  --endpoint                use `--endpoint <endpoint>` to assign endpoint
  --version                 use `--version <YYYY-MM-DD>` to assign product api version
  --header                  use `--header X-foo=bar` to add custom HTTP header, repeatable
  --body                    use `--body $(cat foo.json)` to assign http body in RESTful call
  --pager                   use `--pager` to merge pages for pageable APIs
  --output,-o               use `--output cols=Field1,Field2 [rows=jmesPath]` to print output as table
  --waiter                  use `--waiter expr=<jmesPath> to=<value>` to pull api until result equal to expected value
  --dryrun                  add `--dryrun` to validate and print request without running.
  --quiet,-q                add `--quiet` to hide normal output
  --cli-query               use `--cli-query <jmespath>` to filter output with JMESPath expression
  --method                  add `--method {GET|POST}` to assign rpc call method.
  --help                    print help

Sample:
  aliyun ecs DescribeRegions

Use `aliyun --help` for more information.

导出命令行帮助。

aliyun help ecs > aliyun-ecs-help.txt

导出命令行帮助。

aliyun help sas > aliyun-sas-help.txt

联系 math@baima.site