# @adobe/aio-cli-plugin-cloudmanager 中文文档

规范地址：https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/

版本：4\.2\.4
npm 元数据更新时间：2026-10-01T01:32:08.568Z
中文译文更新时间：2026-11-05T23:39:34.677Z
软件包许可：Apache-2\.0

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40adobe/aio-cli-plugin-cloudmanager
原文对照：https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/?lang=original
项目主页：https://github.com/adobe/aio-cli-plugin-cloudmanager
源码仓库：https://github.com/adobe/aio-cli-plugin-cloudmanager

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：272 kB，70 个文件
- 模块格式：CommonJS
- TypeScript 类型：未声明
- Node.js 要求：\>=17
- 运行依赖：18 个
- 首次发布：2019-06-03T13:54:14.183Z
- 最新版本发布：2025-06-26T13:53:25.911Z
- 近 30 天下载量：9325（2026-10-05 至 2026-11-03，npm 官方下载统计）
- 已发布版本数：130（近 12 个月 0 个）

## 中文简介

Adobe I/O CLI 的云管理器命令

## 安装

```sh
npm install @adobe/aio-cli-plugin-cloudmanager
```

也可以使用：`pnpm add @adobe/aio-cli-plugin-cloudmanager`、`yarn add @adobe/aio-cli-plugin-cloudmanager`、`bun add @adobe/aio-cli-plugin-cloudmanager`

## README

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io/) [![Version](https://img.shields.io/npm/v/@adobe/aio-cli-plugin-cloudmanager.svg)](https://npmjs.org/package/@adobe/aio-cli-plugin-cloudmanager) [![Build Status](https://github.com/adobe/aio-cli-plugin-cloudmanager/workflows/CI%20Build/badge.svg?branch=main)](https://github.com/adobe/aio-cli-plugin-cloudmanager/actions?query=workflow%3A%22CI+Build%22) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Codecov Coverage](https://img.shields.io/codecov/c/github/adobe/aio-cli-plugin-cloudmanager/master.svg?style=flat-square)](https://codecov.io/gh/adobe/aio-cli-plugin-cloudmanager/) [![Known Vulnerabilities](https://snyk.io/test/github/adobe/aio-cli-plugin-cloudmanager/badge.svg)](https://snyk.io/test/github/adobe/aio-cli-plugin-cloudmanager)

# aio-cli-plugin-云层管理器

云管理器插件 [Adobe I/O 语录](https://github.com/adobe/aio-cli)

# 所需资源

-   [Adobe I/O 语录](https://github.com/adobe/aio-cli)
-   节点.js版本相容性 :
    -   17.x -- -- 17.0.0以上.
    -   使用奇点版本为 _没有_ 建议.

> 虽然不建议一般使用,但可以在Adobe I/O CLI之外使用这个插件. 见 [独立使用](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-standalone-use) 见下文.

# 安装

```sh-session
$ aio plugins:install @adobe/aio-cli-plugin-cloudmanager
```

# 更新

```sh-session
$ aio plugins:update
```

# 配置

## 认证

此 CLI 支持两种认证模式: 基于浏览器的认证模式 和服务账户 。 两者的关键区别在于,当使用基于浏览器的认证时,通过CLI的API调用是作为 _你们_ 并使用您的权限, 而当使用服务账户认证时, 需要单独的服务账户, 而该账户可能拥有单独的权限, 而不是您个人在登录云管理器 UI时的权限 。 一般来说,服务账户认证应主要用于没有机会使用浏览器进行认证的脚本上下文,尽管可能还有其他情况下服务账户方法甚至更适合交互使用.

### 基于浏览器的认证

基于浏览器的认证从运行此命令开始

```
aio auth:login
```

此命令的更多选项可供使用并描述 [这里](https://github.com/adobe/aio-cli-plugin-auth#aio-authlogin)。 。 。 .

此命令将打开浏览器窗口, 您将使用您的 Adobe 身份进行认证 .

除了认证,CLI还需要了解Adobe Organization Identifer(OrgId). 这样做有两种方法:

1.  通过运行 `aio cloudmanager:org:select` 并使用交互菜单。 默认情况下, 这将将选定组织存储在当前的工作目录中, 但选择也可以通过通过存储来存储到全球 `--global` (见下文完整命令文件)
2.  通过设置标识符为配置 `cloudmanager_orgid`,也就是说. `aio config:set cloudmanager_orgid <myorgid>`

或者,如果您选择了使用 `aio console:org:select`,将使用该组织.

### 服务账户认证

要使用服务账户认证,必须在 [Adobe I/O 控制台](https://console.adobe.io/) 它有云管理服务.

_**所需的服务器对服务器认证类型应该是: [服务账户(JWT/OAuth)](https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication)。 。 。 .**_ _**注:**_ JWT认证模式被贬值,到2025年1月将完全去除. 因此,如果你正在使用 JWT 集成,建议迁移到 OAuth

#### OAuth 集成的设置

在你创建了集成后 创建一个 `config.json` 文档,并导航到集成概览页面。 从此页面中,将数值复制到下面描述的文件中.

```
//config.json 
{
  "client_id": "value from your CLI integration (String)",
  "client_secrets": ["client secret value from your CLI integration (String)"],
  "technical_account_id": "value from your CLI integration (String)",
  "technical_account_email": "value from your CLI integration (String)",
  "ims_org_id": "value from your CLI integration (String)",
  "scopes": [
    'openid', 
    'AdobeID', 
    'read_organizations', 
    'additional_info.projectedProductContext', 
    'read_pc.dma_aem_ams',
    .
    .
    'any other scope from your CLI integration (String)'
  ],
  "oauth_enabled": true
}
```

配置证书 :

```
aio config:set ims.contexts.aio-cli-plugin-cloudmanager PATH_TO_CONFIG_JSON_FILE --file --json
```

#### JWT 集成的设置(已过期)

在你创建了集成后 创建一个 `config.json` 文档,并导航到集成概览页面。 从此页面中,将数值复制到下面描述的文件中.

```
//config.json 
{
  "client_id": "value from your CLI integration (String)",
  "client_secret": "value from your CLI integration (String)",
  "technical_account_id": "value from your CLI integration (String)",
  "ims_org_id": "value from your CLI integration (String)",
  "meta_scopes": [
    "ent_cloudmgr_sdk"
  ],
  "oauth_enabled": false
}
```

手头需要的最后一点是用来创建集成的私人证书;你需要的是私钥,而不是公钥. 现在,你准备配置 `aio` CLI(英语:CLI).

首先,配置证书:

```
aio config:set ims.contexts.aio-cli-plugin-cloudmanager PATH_TO_CONFIG_JSON_FILE --file --json
```

然后,配置私有证书:

```
aio config:set ims.contexts.aio-cli-plugin-cloudmanager.private_key PATH_TO_PRIVATE_KEY_FILE --file
```

> 关于在 Adobe I/O 控制台中设置 Cloud 管理器集成的更多信息可见 [这里](https://www.adobe.io/experience-cloud/cloud-manager/guides/getting-started/create-api-integration/)。 。 。 .

> 有关国际监测系统背景的更多信息,可在以下文件中查阅: [@adobe/aio-lib-ims (英语)](https://github.com/adobe/aio-lib-ims)。 。 。 .

#### 旧服务账户配置

此插件的前几个版本使用了配置密钥 `jwt-auth`。执行时,插件会自动迁移这些配置。 它会 **没有** 但删除旧配置, 您可能想要运行

```
aio config:del jwt-auth
```

要清理任何折叠配置, 除非需要用于其他的 aio 插件 .

这个迁移过程默认是沉默的. 您可以通过运行环境变量的任何命令来启用调试日志 `LOG_LEVEL` 设置为 `debug`,比如说.

```
LOG_LEVEL=debug aio cloudmanager:list-programs
```

## 设置默认程序

如果想要避免反复通过程序ID旗,可以使用:

```sh-session
$ aio config:set cloudmanager_programid PROGRAMID
```

举个例子

```sh-session
$ aio config:set cloudmanager_programid 4
```

## 设置默认环境

如果您想要避免反复传递环境ID参数,可以使用:

```sh-session
$ aio config:set cloudmanager_environmentid ENVIRONMENTID
```

举个例子

```sh-session
$ aio config:set cloudmanager_environmentid 7
```

> 仅用于环境Id所在的命令 **第一个** 参数.

## 代理支持

使用时 [Adobe I/O 语录](https://github.com/adobe/aio-cli) 8.2.0或更高,此插件可以支持HTTP(S)代理. 见 [adobe I/O CLI 发布公告](https://github.com/adobe/aio-cli/releases/tag/8.2.0) 更多信息.

## 退出代码

主要用于脚本应用目的,使用以下出站代码: 1

-   1 - 发生了一般错误
-   2 - 发生了配置错误
-   3 - 发生了与所提供的旗帜或参数有关的校验错误
-   10 - IMS 认证发生错误
-   30 - 云管理器 SDK出错

## 报告问题

一般来说,在本项目中,应该使用所提供的问题模板之一,通过GitHub问题报告与该插件有关的问题。 由云管理器API(即如上所描述的有出站代码30的出站错误)产生的出站错误应向Adobe支持报告. 出错输出一般会包含URL,响应码等为识别和解决问题所需要调试的信息.

# 图标

-   [`aio cloudmanager:content-flow:cancel FLOWID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercontent-flowcancel-flowid)
-   [`aio cloudmanager:content-flow:create ENVIRONMENTID CONTENTSETID DESTENVIRONMENTID INCLUDEACL [TIER]`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercontent-flowcreate-environmentid-contentsetid-destenvironmentid-includeacl-tier)
-   [`aio cloudmanager:content-flow:get CONTENTFLOWID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercontent-flowget-contentflowid)
-   [`aio cloudmanager:content-set:delete CONTENTSETID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercontent-setdelete-contentsetid)
-   [`aio cloudmanager:content-set:get CONTENTSETID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercontent-setget-contentsetid)
-   [`aio cloudmanager:current-execution:advance PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercurrent-executionadvance-pipelineid)
-   [`aio cloudmanager:current-execution:cancel PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercurrent-executioncancel-pipelineid)
-   [`aio cloudmanager:current-execution:get PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagercurrent-executionget-pipelineid)
-   [`aio cloudmanager:environment:bind-ip-allowlist ENVIRONMENTID IPALLOWLISTID SERVICE`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentbind-ip-allowlist-environmentid-ipallowlistid-service)
-   [`aio cloudmanager:environment:delete ENVIRONMENTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentdelete-environmentid)
-   [`aio cloudmanager:environment:download-logs ENVIRONMENTID SERVICE NAME [DAYS]`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentdownload-logs-environmentid-service-name-days)
-   [`aio cloudmanager:environment:list-available-log-options ENVIRONMENTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentlist-available-log-options-environmentid)
-   [`aio cloudmanager:environment:list-ip-allowlist-bindings ENVIRONMENTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentlist-ip-allowlist-bindings-environmentid)
-   [`aio cloudmanager:environment:list-variables ENVIRONMENTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentlist-variables-environmentid)
-   [`aio cloudmanager:environment:open-developer-console ENVIRONMENTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentopen-developer-console-environmentid)
-   [`aio cloudmanager:environment:set-variables ENVIRONMENTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentset-variables-environmentid)
-   [`aio cloudmanager:environment:tail-log ENVIRONMENTID SERVICE NAME`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmenttail-log-environmentid-service-name)
-   [`aio cloudmanager:environment:unbind-ip-allowlist ENVIRONMENTID IPALLOWLISTID SERVICE`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerenvironmentunbind-ip-allowlist-environmentid-ipallowlistid-service)
-   [`aio cloudmanager:execution:get-quality-gate-results PIPELINEID EXECUTIONID ACTION`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerexecutionget-quality-gate-results-pipelineid-executionid-action)
-   [`aio cloudmanager:execution:get-step-details PIPELINEID EXECUTIONID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerexecutionget-step-details-pipelineid-executionid)
-   [`aio cloudmanager:execution:get-step-log PIPELINEID EXECUTIONID ACTION`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerexecutionget-step-log-pipelineid-executionid-action)
-   [`aio cloudmanager:execution:tail-step-log PIPELINEID ACTION`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerexecutiontail-step-log-pipelineid-action)
-   [`aio cloudmanager:ip-allowlist:bind IPALLOWLISTID ENVIRONMENTID SERVICE`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerip-allowlistbind-ipallowlistid-environmentid-service)
-   [`aio cloudmanager:ip-allowlist:create NAME`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerip-allowlistcreate-name)
-   [`aio cloudmanager:ip-allowlist:delete IPALLOWLISTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerip-allowlistdelete-ipallowlistid)
-   [`aio cloudmanager:ip-allowlist:get-binding-details IPALLOWLISTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerip-allowlistget-binding-details-ipallowlistid)
-   [`aio cloudmanager:ip-allowlist:unbind IPALLOWLISTID ENVIRONMENTID SERVICE`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerip-allowlistunbind-ipallowlistid-environmentid-service)
-   [`aio cloudmanager:ip-allowlist:update IPALLOWLISTID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerip-allowlistupdate-ipallowlistid)
-   [`aio cloudmanager:list-programs`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerlist-programs)
-   [`aio cloudmanager:org:list`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerorglist)
-   [`aio cloudmanager:org:select [ORGID]`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerorgselect-orgid)
-   [`aio cloudmanager:pipeline:create-execution PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerpipelinecreate-execution-pipelineid)
-   [`aio cloudmanager:pipeline:delete PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerpipelinedelete-pipelineid)
-   [`aio cloudmanager:pipeline:invalidate-cache PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerpipelineinvalidate-cache-pipelineid)
-   [`aio cloudmanager:pipeline:list-executions PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerpipelinelist-executions-pipelineid)
-   [`aio cloudmanager:pipeline:list-variables PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerpipelinelist-variables-pipelineid)
-   [`aio cloudmanager:pipeline:set-variables PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerpipelineset-variables-pipelineid)
-   [`aio cloudmanager:pipeline:update PIPELINEID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerpipelineupdate-pipelineid)
-   [`aio cloudmanager:program:delete PROGRAMID`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerprogramdelete-programid)
-   [`aio cloudmanager:program:list-content-flows`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerprogramlist-content-flows)
-   [`aio cloudmanager:program:list-content-sets`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerprogramlist-content-sets)
-   [`aio cloudmanager:program:list-current-executions`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerprogramlist-current-executions)
-   [`aio cloudmanager:program:list-environments`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerprogramlist-environments)
-   [`aio cloudmanager:program:list-ip-allowlists`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerprogramlist-ip-allowlists)
-   [`aio cloudmanager:program:list-pipelines`](https://npmcn.com/package/%40adobe/aio-cli-plugin-cloudmanager/#readme-aio-cloudmanagerprogramlist-pipelines)

## `aio cloudmanager:content-flow:cancel FLOWID`

取消指定的流量 。 流量必须运行被取消 .

```
USAGE
  $ aio cloudmanager:content-flow:cancel FLOWID

ARGUMENTS
  FLOWID  the content flow id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:cancel-content-flow
```

_参见代码 : [src/commands/cloudmanager/content-flow/cancel.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/content-flow/cancel.js)_

## `aio cloudmanager:content-flow:create ENVIRONMENTID CONTENTSETID DESTENVIRONMENTID INCLUDEACL [TIER]`

创建内容流

```
USAGE
  $ aio cloudmanager:content-flow:create ENVIRONMENTID CONTENTSETID DESTENVIRONMENTID INCLUDEACL [TIER]

ARGUMENTS
  ENVIRONMENTID      the environment id
  CONTENTSETID       Id of content set to use
  DESTENVIRONMENTID  The destination environment id
  INCLUDEACL         Include ACLs
  TIER               [default: author] The tier, for example author

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:create-content-flow
```

_参见代码 : [src/commands/cloudmanager/content-flow/create.js 互联网档案馆的存檔,存档日期2013-12-20](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/content-flow/create.js)_

## `aio cloudmanager:content-flow:get CONTENTFLOWID`

获取内容流

```
USAGE
  $ aio cloudmanager:content-flow:get CONTENTFLOWID

ARGUMENTS
  CONTENTFLOWID  the content flow id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:get-content-flow
```

_参见代码 : [src/commands/cloudmanager/content-flow/get.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/content-flow/get.js)_

## `aio cloudmanager:content-set:delete CONTENTSETID`

删除指定的内容集 .

```
USAGE
  $ aio cloudmanager:content-set:delete CONTENTSETID

ARGUMENTS
  CONTENTSETID  the content set id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:delete-content-set
```

_参见代码 : [src/commands/cloudmanager/content-set/delete.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/content-set/delete.js)_

## `aio cloudmanager:content-set:get CONTENTSETID`

获取内容设置

```
USAGE
  $ aio cloudmanager:content-set:get CONTENTSETID

ARGUMENTS
  CONTENTSETID  the content set id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:get-content-set
```

_参见代码 : [sc/命令/云管理器/内容集/get.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/content-set/get.js)_

## `aio cloudmanager:current-execution:advance PIPELINEID`

推进当前管道执行,要么凌驾于等待质量门之上,要么推进批准步骤

```
USAGE
  $ aio cloudmanager:current-execution:advance PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:advance-current-execution
```

_参见代码 : [src/commands/cloudmanager/当前执行/推进.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/current-execution/advance.js)_

## `aio cloudmanager:current-execution:cancel PIPELINEID`

取消当前管道执行, 要么取消当前步骤, 拒绝等待质量门, 要么拒绝批准步骤

```
USAGE
  $ aio cloudmanager:current-execution:cancel PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:cancel-current-execution
```

_参见代码 : [src/commands/cloudmanager/当前执行/终止](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/current-execution/cancel.js)_

## `aio cloudmanager:current-execution:get PIPELINEID`

获得管道执行

```
USAGE
  $ aio cloudmanager:current-execution:get PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:get-current-execution
```

_参见代码 : [src/commands/云端管理器/当前执行/get.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/current-execution/get.js)_

## `aio cloudmanager:environment:bind-ip-allowlist ENVIRONMENTID IPALLOWLISTID SERVICE`

将 IP 允许列表绑入环境

```
USAGE
  $ aio cloudmanager:environment:bind-ip-allowlist ENVIRONMENTID IPALLOWLISTID SERVICE

ARGUMENTS
  ENVIRONMENTID  the environment id
  IPALLOWLISTID  the IP allowlist id
  SERVICE        (author|publish|preview) the service name

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/environment/bind-ip-allowlist.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/bind-ip-allowlist.js)_

## `aio cloudmanager:environment:delete ENVIRONMENTID`

删除环境

```
USAGE
  $ aio cloudmanager:environment:delete ENVIRONMENTID

ARGUMENTS
  ENVIRONMENTID  the environment id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:delete-environment
```

_参见代码 : [src/commands/云层管理员/环境/删除.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/delete.js)_

## `aio cloudmanager:environment:download-logs ENVIRONMENTID SERVICE NAME [DAYS]`

下载指定环境、服务和日志名称的日志文件,为期一天或多天

```
USAGE
  $ aio cloudmanager:environment:download-logs ENVIRONMENTID SERVICE NAME [DAYS]

ARGUMENTS
  ENVIRONMENTID  the environment id
  SERVICE        the service
  NAME           the log name
  DAYS           [default: 1] the number of days

OPTIONS
  -o, --outputDirectory=outputDirectory  the output directory. If not set, defaults to the current directory.

  -p, --programId=programId              the programId. if not specified, defaults to 'cloudmanager_programid' config
                                         value

  --imsContextName=imsContextName        the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:download-logs
```

_参见代码 : [src/commands/ cloudmanager/ 环境/下載-logs.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/download-logs.js)_

## `aio cloudmanager:environment:list-available-log-options ENVIRONMENTID`

列出 Cloud 管理器程序中环境的现有日志选项

```
USAGE
  $ aio cloudmanager:environment:list-available-log-options ENVIRONMENTID

ARGUMENTS
  ENVIRONMENTID  the environment id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-available-log-options
```

_参见代码 : [src/commands/cloudmanager/environment/list-coption-log-options.js 互联网档案馆的存檔,存档日期2015-12-02](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/list-available-log-options.js)_

## `aio cloudmanager:environment:list-ip-allowlist-bindings ENVIRONMENTID`

列表 IP 允许列表绑定到环境

```
USAGE
  $ aio cloudmanager:environment:list-ip-allowlist-bindings ENVIRONMENTID

ARGUMENTS
  ENVIRONMENTID  the environment id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:environment:list-bound-ip-allowlists
```

_参见代码 : [src/commands/cloudmanager/ environment/list-ip-allowlist-binds.js 互联网档案馆的存檔,存档日期2013-12-20](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/list-ip-allowlist-bindings.js)_

## `aio cloudmanager:environment:list-variables ENVIRONMENTID`

列出环境上设置的变量

```
USAGE
  $ aio cloudmanager:environment:list-variables ENVIRONMENTID

ARGUMENTS
  ENVIRONMENTID  the environment id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-environment-variables
```

_参见代码 : [src/commands/cloudmanager/ 环境/列表可变.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/list-variables.js)_

## `aio cloudmanager:environment:open-developer-console ENVIRONMENTID`

在浏览器中打开开发者控制台(如果有的话)

```
USAGE
  $ aio cloudmanager:environment:open-developer-console ENVIRONMENTID

ARGUMENTS
  ENVIRONMENTID  the environment id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:open-developer-console
```

_参见代码 : [src/commands/cloudmanager/environment/open-developer-console.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/open-developer-console.js)_

## `aio cloudmanager:environment:set-variables ENVIRONMENTID`

设置环境上的变量。 这些是运行在运行时环境中的组件可用的运行时变量. 使用可变自备管来设置管道上的构建时变量.

```
USAGE
  $ aio cloudmanager:environment:set-variables ENVIRONMENTID

ARGUMENTS
  ENVIRONMENTID  the environment id

OPTIONS
  -d, --delete=delete                variables/secrets to delete
  -j, --json                         output in json format
  -p, --programId=programId          the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -s, --secret=secret                secret values in KEY VALUE format
  -v, --variable=variable            variable values in KEY VALUE format
  -y, --yaml                         output in yaml format
  --authorDelete=authorDelete        variables/secrets to delete for author service
  --authorSecret=authorSecret        secret values in KEY VALUE format for author service
  --authorVariable=authorVariable    variable values in KEY VALUE format for author service
  --imsContextName=imsContextName    the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

  --jsonFile=jsonFile                if set, read variables from a JSON array provided as a file; variables set through
                                     --variable or --secret flag will take precedence

  --jsonStdin                        if set, read variables from a JSON array provided as standard input; variables set
                                     through --variable or --secret flag will take precedence

  --previewDelete=previewDelete      variables/secrets to delete for preview service

  --previewSecret=previewSecret      secret values in KEY VALUE format for preview service

  --previewVariable=previewVariable  variable values in KEY VALUE format for preview service

  --publishDelete=publishDelete      variables/secrets to delete for publish service

  --publishSecret=publishSecret      secret values in KEY VALUE format for publish service

  --publishVariable=publishVariable  variable values in KEY VALUE format for publish service

  --strict                           performs strict validation of internal variables. Can also be enabled by setting
                                     configuration property cloudmanager.environmentVariables.strictValidation to a
                                     truthy value.

  --yamlFile=yamlFile                if set, read variables from a YAML array provided as a file; variables set through
                                     --variable or --secret flag will take precedence

  --yamlStdin                        if set, read variables from a YAML array provided as standard input; variables set
                                     through --variable or --secret flag will take precedence

ALIASES
  $ aio cloudmanager:set-environment-variables
```

_参见代码 : [src/commands/cloudmanager/ 环境/ set-可变.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/set-variables.js)_

## `aio cloudmanager:environment:tail-log ENVIRONMENTID SERVICE NAME`

输出指定环境、服务和日志名称的日志数据流

```
USAGE
  $ aio cloudmanager:environment:tail-log ENVIRONMENTID SERVICE NAME

ARGUMENTS
  ENVIRONMENTID  the environment id
  SERVICE        the service
  NAME           the log name

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:tail-logs
  $ aio cloudmanager:tail-log
```

_参见代码 : [src/commands/ cloudmanager/ 环境/尾-log.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/tail-log.js)_

## `aio cloudmanager:environment:unbind-ip-allowlist ENVIRONMENTID IPALLOWLISTID SERVICE`

将 IP 允许列表绑入环境

```
USAGE
  $ aio cloudmanager:environment:unbind-ip-allowlist ENVIRONMENTID IPALLOWLISTID SERVICE

ARGUMENTS
  ENVIRONMENTID  the environment id
  IPALLOWLISTID  the IP allowlist id
  SERVICE        (author|publish|preview) the service name

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/environment/unbind-ip-allowlist.js 页面存档备份,存于互联网档案馆](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/environment/unbind-ip-allowlist.js)_

## `aio cloudmanager:execution:get-quality-gate-results PIPELINEID EXECUTIONID ACTION`

获得质量门结果

```
USAGE
  $ aio cloudmanager:execution:get-quality-gate-results PIPELINEID EXECUTIONID ACTION

ARGUMENTS
  PIPELINEID   the pipeline id
  EXECUTIONID  the execution id
  ACTION       (codeQuality|security|performance|contentAudit|experienceAudit) the step action

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:get-quality-gate-results
```

_参见代码 : [src/commands/cloudmanager/execution/质量门-结果.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/execution/get-quality-gate-results.js)_

## `aio cloudmanager:execution:get-step-details PIPELINEID EXECUTIONID`

获取执行步骤细节

```
USAGE
  $ aio cloudmanager:execution:get-step-details PIPELINEID EXECUTIONID

ARGUMENTS
  PIPELINEID   the pipeline id
  EXECUTIONID  the execution id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:get-execution-step-details
```

_参见代码 : [src/commands/cloudmanager/execution/get-step-details.js 页面存档备份,存于互联网档案馆](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/execution/get-step-details.js)_

## `aio cloudmanager:execution:get-step-log PIPELINEID EXECUTIONID ACTION`

获取步骤日志

```
USAGE
  $ aio cloudmanager:execution:get-step-log PIPELINEID EXECUTIONID ACTION

ARGUMENTS
  PIPELINEID   the pipeline id
  EXECUTIONID  the execution id
  ACTION       (build|codeQuality|devDeploy|stageDeploy|prodDeploy|buildImage) the step action

OPTIONS
  -f, --file=file                  the alternative log file name. currently only `sonarLogFile` is available (for the
                                   codeQuality step)

  -o, --output=output              the output file. If not set, uses standard output.

  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value

  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:get-execution-step-log
```

_参见代码 : [src/commands/cloudmanager/execution/get-step-log.js (英语)](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/execution/get-step-log.js)_

## `aio cloudmanager:execution:tail-step-log PIPELINEID ACTION`

尾端步骤日志

```
USAGE
  $ aio cloudmanager:execution:tail-step-log PIPELINEID ACTION

ARGUMENTS
  PIPELINEID  the pipeline id
  ACTION      (build) [default: build] the step action

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/execution/tail-step-log.js 页面存档备份,存于互联网档案馆](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/execution/tail-step-log.js)_

## `aio cloudmanager:ip-allowlist:bind IPALLOWLISTID ENVIRONMENTID SERVICE`

将 IP 允许列表绑入环境

```
USAGE
  $ aio cloudmanager:ip-allowlist:bind IPALLOWLISTID ENVIRONMENTID SERVICE

ARGUMENTS
  IPALLOWLISTID  the IP allowlist id
  ENVIRONMENTID  the environment id
  SERVICE        (author|publish|preview) the service name

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/ip-allowlist/bind.js (英语)](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/ip-allowlist/bind.js)_

## `aio cloudmanager:ip-allowlist:create NAME`

创建 IP 许可列表

```
USAGE
  $ aio cloudmanager:ip-allowlist:create NAME

ARGUMENTS
  NAME  the name to create

OPTIONS
  -c, --cidr=cidr                  (required) a CIDR block
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/ip-allowlist/create.js 互联网档案馆的存檔,存档日期2013-12-21](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/ip-allowlist/create.js)_

## `aio cloudmanager:ip-allowlist:delete IPALLOWLISTID`

删除 IP 许可列表

```
USAGE
  $ aio cloudmanager:ip-allowlist:delete IPALLOWLISTID

ARGUMENTS
  IPALLOWLISTID  the id of the allowlist to delete

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/ip-allowlist/delete.js (英语)](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/ip-allowlist/delete.js)_

## `aio cloudmanager:ip-allowlist:get-binding-details IPALLOWLISTID`

列出关于 IP 许可列表绑定的详细信息

```
USAGE
  $ aio cloudmanager:ip-allowlist:get-binding-details IPALLOWLISTID

ARGUMENTS
  IPALLOWLISTID  the id of the allowlist

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/ip-allowlist/get-binding-details.js 互联网档案馆的存檔,存档日期2013-12-11](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/ip-allowlist/get-binding-details.js)_

## `aio cloudmanager:ip-allowlist:unbind IPALLOWLISTID ENVIRONMENTID SERVICE`

删除 IP 允许列表绑定

```
USAGE
  $ aio cloudmanager:ip-allowlist:unbind IPALLOWLISTID ENVIRONMENTID SERVICE

ARGUMENTS
  IPALLOWLISTID  the IP allowlist id
  ENVIRONMENTID  the environment id
  SERVICE        (author|publish|preview) the service name

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/ip-allowlist/unbind.js 互联网档案馆的存檔,存档日期2013-12-02](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/ip-allowlist/unbind.js)_

## `aio cloudmanager:ip-allowlist:update IPALLOWLISTID`

替换 CIDR 块来更新 IP 允许列表

```
USAGE
  $ aio cloudmanager:ip-allowlist:update IPALLOWLISTID

ARGUMENTS
  IPALLOWLISTID  the id of the allowlist to update

OPTIONS
  -c, --cidr=cidr                  (required) a CIDR block
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/ip-allowlist/update.js 页面存档备份,存于互联网档案馆](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/ip-allowlist/update.js)_

## `aio cloudmanager:list-programs`

列出云管理器中可用的程序

```
USAGE
  $ aio cloudmanager:list-programs

OPTIONS
  -e, --enabledonly                only output Cloud Manager-enabled programs
  -j, --json                       output in json format
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/list-programs.js 互联网档案馆的存檔,存档日期2013-12-02](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/list-programs.js)_

## `aio cloudmanager:org:list`

列出授权当前用户使用云管理器的组织

```
USAGE
  $ aio cloudmanager:org:list

OPTIONS
  -j, --json                       output in json format
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [scrc/commands/cloudmanager/org/list.js 互联网档案馆的存檔,存档日期2013-12-21](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/org/list.js)_

## `aio cloudmanager:org:select [ORGID]`

选择授权当前用户使用 Cloud 管理器的组织

```
USAGE
  $ aio cloudmanager:org:select [ORGID]

ARGUMENTS
  ORGID  the org id to store in configuration

OPTIONS
  --global  stores selected organization in global configuration
```

_参见代码 : [src/commands/cloudmanager/org/select.js (英语)](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/org/select.js)_

## `aio cloudmanager:pipeline:create-execution PIPELINEID`

启动管道执行

```
USAGE
  $ aio cloudmanager:pipeline:create-execution PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value

  --[no-]emergency                 create the execution in emergency mode. emergency mode will skip certain steps and is
                                   only available to select AMS customers.

  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:create-execution
  $ aio cloudmanager:start-execution
```

_参见代码 : [src/commands/cloudmanager/管线/创建-执行.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/pipeline/create-execution.js)_

## `aio cloudmanager:pipeline:delete PIPELINEID`

删除管道

```
USAGE
  $ aio cloudmanager:pipeline:delete PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:delete-pipeline
```

_参见代码 : [src/commands/cloudmanager/管线/去除.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/pipeline/delete.js)_

## `aio cloudmanager:pipeline:invalidate-cache PIPELINEID`

无效的管道缓存

```
USAGE
  $ aio cloudmanager:pipeline:invalidate-cache PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/管线/无效-cache.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/pipeline/invalidate-cache.js)_

## `aio cloudmanager:pipeline:list-executions PIPELINEID`

清单 输油管处决

```
USAGE
  $ aio cloudmanager:pipeline:list-executions PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -j, --json                       output in json format
  -l, --limit=limit                Specify number of executions to return (defaults to 20)
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/pipeline/list-executions.js 互联网档案馆的存檔,存档日期2013-12-11](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/pipeline/list-executions.js)_

## `aio cloudmanager:pipeline:list-variables PIPELINEID`

列出管道上设置的变量

```
USAGE
  $ aio cloudmanager:pipeline:list-variables PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-pipeline-variables
```

_参见代码 : [src/commands/cloudmanager/管线/列表可变.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/pipeline/list-variables.js)_

## `aio cloudmanager:pipeline:set-variables PIPELINEID`

设置管道上的变量。 这些是建设过程中可用的建设时间变量. 使用设置环境变量在环境中设置运行时间变量.

```
USAGE
  $ aio cloudmanager:pipeline:set-variables PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -d, --delete=delete                              variables/secrets to delete
  -j, --json                                       output in json format

  -p, --programId=programId                        the programId. if not specified, defaults to 'cloudmanager_programid'
                                                   config value

  -s, --secret=secret                              secret values in KEY VALUE format

  -v, --variable=variable                          variable values in KEY VALUE format

  -y, --yaml                                       output in yaml format

  --buildDelete=buildDelete                        variables/secrets to delete for build service

  --buildSecret=buildSecret                        secret values in KEY VALUE format for build service

  --buildVariable=buildVariable                    variable values in KEY VALUE format for build service

  --functionalTestDelete=functionalTestDelete      variables/secrets to delete for functionalTest service

  --functionalTestSecret=functionalTestSecret      secret values in KEY VALUE format for functionalTest service

  --functionalTestVariable=functionalTestVariable  variable values in KEY VALUE format for functionalTest service

  --imsContextName=imsContextName                  the alternate IMS context name to use instead of
                                                   aio-cli-plugin-cloudmanager

  --jsonFile=jsonFile                              if set, read variables from a JSON array provided as a file;
                                                   variables set through --variable or --secret flag will take
                                                   precedence

  --jsonStdin                                      if set, read variables from a JSON array provided as standard input;
                                                   variables set through --variable or --secret flag will take
                                                   precedence

  --loadTestDelete=loadTestDelete                  variables/secrets to delete for loadTest service

  --loadTestSecret=loadTestSecret                  secret values in KEY VALUE format for loadTest service

  --loadTestVariable=loadTestVariable              variable values in KEY VALUE format for loadTest service

  --uiTestDelete=uiTestDelete                      variables/secrets to delete for uiTest service

  --uiTestSecret=uiTestSecret                      secret values in KEY VALUE format for uiTest service

  --uiTestVariable=uiTestVariable                  variable values in KEY VALUE format for uiTest service

  --yamlFile=yamlFile                              if set, read variables from a YAML array provided as a file;
                                                   variables set through --variable or --secret flag will take
                                                   precedence

  --yamlStdin                                      if set, read variables from a YAML array provided as standard input;
                                                   variables set through --variable or --secret flag will take
                                                   precedence

ALIASES
  $ aio cloudmanager:set-pipeline-variables
```

_参见代码 : [src/commands/cloudmanager/管线/套可变.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/pipeline/set-variables.js)_

## `aio cloudmanager:pipeline:update PIPELINEID`

更新管道

```
USAGE
  $ aio cloudmanager:pipeline:update PIPELINEID

ARGUMENTS
  PIPELINEID  the pipeline id

OPTIONS
  -p, --programId=programId                the programId. if not specified, defaults to 'cloudmanager_programid' config
                                           value

  --branch=branch                          the new branch

  --devEnvironmentId=devEnvironmentId      the new dev environment id

  --imsContextName=imsContextName          the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

  --prodEnvironmentId=prodEnvironmentId    the new prod environment id

  --repositoryId=repositoryId              the new repository id

  --stageEnvironmentId=stageEnvironmentId  the new stage environment id

  --tag=tag                                the new tag

ALIASES
  $ aio cloudmanager:update-pipeline
```

_参见代码 : [src/commands/cloudmanager/管线/上行.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/pipeline/update.js)_

## `aio cloudmanager:program:delete PROGRAMID`

删除程序

```
USAGE
  $ aio cloudmanager:program:delete PROGRAMID

ARGUMENTS
  PROGRAMID  the program id

OPTIONS
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:delete-program
```

_参见代码 : [src/commands/cloudmanager/program/delete.js (英语)](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/program/delete.js)_

## `aio cloudmanager:program:list-content-flows`

列表云管理器程序中可用的内容流

```
USAGE
  $ aio cloudmanager:program:list-content-flows

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-content-flows
```

_参见代码 : [src/commands/cloudmanager/program/list-content-flows.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/program/list-content-flows.js)_

## `aio cloudmanager:program:list-content-sets`

列表云管理程序可用的内容集

```
USAGE
  $ aio cloudmanager:program:list-content-sets

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-content-sets
```

_参见代码 : [src/commands/cloudmanager/program/list-content-sets.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/program/list-content-sets.js)_

## `aio cloudmanager:program:list-current-executions`

正在运行的处决列表

```
USAGE
  $ aio cloudmanager:program:list-current-executions

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-current-executions
```

_参见代码 : [src/commands/cloudmanager/program/list-当前执行.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/program/list-current-executions.js)_

## `aio cloudmanager:program:list-environments`

列出云管理器程序中可用的环境

```
USAGE
  $ aio cloudmanager:program:list-environments

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-environments
```

_参见代码 : [src/commands/云管理器/程序/列表-环境.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/program/list-environments.js)_

## `aio cloudmanager:program:list-ip-allowlists`

列出云管理器程序中可用的 IP 允许列表

```
USAGE
  $ aio cloudmanager:program:list-ip-allowlists

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager
```

_参见代码 : [src/commands/cloudmanager/program/list-ip-allowlists.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/program/list-ip-allowlists.js)_

## `aio cloudmanager:program:list-pipelines`

列出云管理器程序中可用的管道

```
USAGE
  $ aio cloudmanager:program:list-pipelines

OPTIONS
  -j, --json                       output in json format
  -p, --programId=programId        the programId. if not specified, defaults to 'cloudmanager_programid' config value
  -y, --yaml                       output in yaml format
  --imsContextName=imsContextName  the alternate IMS context name to use instead of aio-cli-plugin-cloudmanager

ALIASES
  $ aio cloudmanager:list-pipelines
```

_参见代码 : [src/commands/cloudmanager/program/list-pipelines.js (中文(简体) )](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/4.2.4/src/commands/cloudmanager/program/list-pipelines.js)_

# 权限

有关 Cloud 管理器 API 权限的信息可在 [https://www.adobe.io/experience-cloud/cloud-manager/guides/getting-started/permissions/ 互联网档案馆的存檔,存档日期2013-12-02](https://www.adobe.io/experience-cloud/cloud-manager/guides/getting-started/permissions/)查看 特定命令所需的权限,您也可以使用旗帜运行任何命令 `--permissions`,比如说.

```
$ aio cloudmanager:current-execution:advance --permissions
To execute cloudmanager:current-execution:advance, one of the following product profiles is required: Business Owner, Deployment Manager, Program Manager
```

# 来自标准输入的变量

这个 `environment:set-variables` 财务报告和审定财务报表 `pipeline:set-variables` 命令允许将变量作为旗子传递给命令,并作为作为标准输入或文件提供的JSON数组。 该阵列中的对象预计有: `name`, (中文(简体) ), `value`,以及 `type` 键与 Cloud 管理器 API 相同的语法。 删除一个变量可以通过通过空来完成 `value`。例如,给定一个名为 `variables.json` 包含以下内容:

```
[
  {
    "name" : "MY_VARIABLE",
    "value" : "something",
    "type" : "string"
  },
  {
    "name" : "MY_SECRET_VARIABLE",
    "value" : "shhhh",
    "type" : "secretString"
  }
]
```

这可以传给 `pipeline:set-variables` 命令使用 shell 命令

```
$ cat variables.json | aio cloudmanager:pipeline:set-variables 1 --jsonStdin
```

或者说

```
$ aio cloudmanager:pipeline:set-variables 1 --jsonFile=variables.json
```

# 替代旗舰输入

Adobe I/O CLI基于 [奥克利夫](https://oclif.io/) 它支持将旗帜传递给命令的各种模式。 见 [oclif 文档](https://oclif.io/docs/flags#alternative-flag-inputs) 更多信息.

# 发展

为了发展,有必要使用 `aio plugins:link` 连接到此寄存器的本地克隆,而不是特定的 npm 模块,例如.

```
$ git clone git@github.com:adobe/aio-cli-plugin-cloudmanager.git
$ git checkout -B <your feature branch>
$ npm install
$ aio plugins:link
$ aio cloudmanager:<some command>
```

在开发过程中,指出一个不同于 API 的终点也可能是有益的 [https://cloudmanager.adobe.io (英语)](https://cloudmanager.adobe.io/),例如,如果你有一个模拟服务器。 为此,你可以 配置 `cloudmanager.base_url` 配置密钥 :

```
$ aio config:set cloudmanager.base_url https://mydummyapiserver
```

## 使用未释放的 aio- lib- cloud 管理器

当新功能添加到 [aio-lib- 云管理器](https://github.com/adobe/aio-lib-cloudmanager),在此插件开发过程中使用此库的本地拷贝可能有用 。 可用 [npm-链接](https://docs.npmjs.com/cli/v6/commands/npm-link) 作为两步进程:

首先,在 `aio-lib-cloudmanager` 克隆目录, 运行

```
npm link
```

然后在这个项目的克隆中,运行

```
npm link @adobe/aio-lib-cloudmanager
```

切换到已发布的版本 `aio-lib-cloudmanager` 运行

```
npm unlink --no-save @adobe/aio-lib-cloudmanager
npm install
```

当然,这不应取代适当的单位测试.

## 端到端(E2E)测试

要执行端到端测试, 请创建一个名为的文件 `.env` 在项目目录中配置并配置您的 JWT 证书:

```
E2E_CLIENT_ID=<CLIENT ID>
E2E_CLIENT_SECRET=<CLIENT SECRET>
E2E_TA_EMAIL=<TECHNICAL ACCOUNT EMAIL>
E2E_IMS_ORG_ID=<ORG ID>
E2E_PRIVATE_KEY_B64=<Base64-Encoded PRIVATE KEY>
```

注意私钥 **必须** 将 base64 编码,例如通过运行

```
$ base64 -i private.key
```

要使用 OAuth 证书进行测试,请添加以下内容: `.env`数字 :

```
OAUTH_E2E_CLIENT_ID=<CLIENT ID>
OAUTH_E2E_CLIENT_SECRET=<CLIENT SECRET>
OAUTH_E2E_TA_ID=<TECHNICAL ACCOUNT ID>
OAUTH_E2E_TA_EMAIL=<TECHNICAL ACCOUNT EMAIL>
OAUTH_E2E_IMS_ORG_ID=<ORG ID>
```

有了这个,端到端的测试就可以运行

```
npm run e2e
```

# 独立使用

在罕见的情况下,也许应该将这个插件与Adobe I/O CLI分开运行. 要做到这一点,请直接安装这个npm模块,即.

```
npm install -g @adobe/aio-cli-plugin-cloudmanager
```

这将创建一个名为可执行文件 `adobe-cloudmanager-cli` 在你身边 `PATH`。此可执行文件的参数与通过 Adobe I/O CLI 使用的参数相同。 适用下列说明:

-   您仍然必须对所有配置设置使用 Adobe I/ O CLI .
-   显示的帮助信件将显示命令为 `aio` 没有 `adobe-cloudmanager-cli`。 。 。 .

## 常见问题

### @adobe/aio-cli-plugin-cloudmanager 是什么？

Adobe I/O CLI 的云管理器命令

### 如何安装 @adobe/aio-cli-plugin-cloudmanager？

在项目目录运行 npm install @adobe/aio-cli-plugin-cloudmanager，或使用 pnpm add / yarn add / bun add。它还提供命令行工具 adobe-cloudmanager-cli，可以用 npx adobe-cloudmanager-cli 直接运行。

### @adobe/aio-cli-plugin-cloudmanager 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/adobe\_\_aio-cli-plugin-cloudmanager 是否存在。

### @adobe/aio-cli-plugin-cloudmanager 支持 ESM 还是 CommonJS？

以 CommonJS 形式发布，可以直接 require\(\)；在 ES Module 项目中也可以用 import 引入（Node\.js 会把 module\.exports 作为默认导出）。

### @adobe/aio-cli-plugin-cloudmanager 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>=17。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @adobe/aio-cli-plugin-cloudmanager 可以商用吗？

@adobe/aio-cli-plugin-cloudmanager 使用 Apache-2\.0 许可。宽松许可：允许商业使用、修改和再分发，并附带明确的专利授权；分发时需保留许可与 NOTICE 文件，修改过的文件要注明改动。以上为概括，不构成法律意见，请以许可原文为准。

### @adobe/aio-cli-plugin-cloudmanager 的下载量有多少？

根据 npm 官方下载统计，@adobe/aio-cli-plugin-cloudmanager 在 2026/10/05 – 2026/11/03 这 30 天内被下载 9,325 次，日均约 311 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @adobe/aio-cli-plugin-cloudmanager 还在维护吗？

最新版本 4\.2\.4 发布于 2025/06/26（1\.4 年前）；至今共发布 130 个版本，其中过去 12 个月发布了 0 个；首次发布于 2019/06/03。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

