You need to enable JavaScript to run this app.
文档中心
基础设施管理

基础设施管理

复制全文
下载 pdf
资源栈管理
ListStackEvents - 查询资源栈事件列表
复制全文
下载 pdf
ListStackEvents - 查询资源栈事件列表
查询资源栈部署事件列表​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:ListStackEvents​
要执行的操作,取值:ListStackEvents。​
​
Version string 必选 示例值:2026-05-01​
API的版本,取值:2026-05-01。​
​
StackID string 必选 示例值:s-01kvsfjgx4bda74jjgm8tc70gx​
资源栈 ID​
​
DeploymentID string 可选 示例值:d-01kvsfjgxykbt60jjgm86f0kgj​
部署 ID​
​
MaxResults integer 可选 示例值:100​
分页大小,最大 100​
​
NextToken string 可选 示例值:""​
下一页令牌​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
Events object[] 示例值:-​
部署事件列表​
Timestamp string 示例值:2026-09-09T09:09:09Z​
事件时间​
​
Type string 示例值:outputs​
事件类型​
​
Level string 示例值:Info​
事件级别​
​
Message string 示例值:Outputs: 4​
事件消息​
​
Diagnostic string 示例值:""​
诊断信息​
​
ResourceType string 示例值:volcenginecc_vpc_vpc​
资源类型​
​
ResourceName string 示例值:VpcDemo​
资源名称​
​
ResourceID string 示例值:vpc-3rf571ozsk2idaf87asd​
资源 ID​
​
Outputs object[] 示例值:-​
Outputs,按 Key 升序返回​
Key string 示例值:vpc_name​
Output 名称​
​
Value object 示例值:vpc-demo123333​
非敏感 output 的值;Sensitive=true 时默认不返回​
​
Type string 示例值:string​
Output 类型​
​
Sensitive boolean 示例值:false​
是否敏感 output​
​
​
​
NextToken string 示例值:""​
下一页令牌​
​
​
​
请求示例​
​
POST /?Action=ListStackEvents&Version=2026-05-01 HTTP/1.1​
Host: inframanager.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20260909T121237Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260909/cn-beijing/inframanager/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"StackID": "s-01kvsfjgx4bda74jjgm8tc70gx"​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202609092012501272510682258E171B",​
"Action": "ListStackEvents",​
"Version": "2026-05-01",​
"Service": "inframanager",​
"Region": "cn-beijing"​
},​
"Result": {​
"Events": [​
{​
"Timestamp": "2026-09-09T09:09:09Z",​
"Type": "outputs",​
"Level": "Info",​
"Message": "Outputs: 4",​
"Diagnostic": "",​
"Outputs": [​
{​
"Key": "vpc_name",​
"Value": "vpc-demo123333",​
"Type": "string",​
"Sensitive": false​
}​
]​
},​
{​
"Timestamp": "2026-09-09T09:09:09Z",​
"Type": "change_summary",​
"Level": "Info",​
"Message": "Apply complete! Resources: 0 added, 1 changed, 0 destroyed.",​
"Diagnostic": ""​
}​
],​
"NextToken": ""​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidParameter​
The specified parameter %q is invalid.​
请求参数不合法。​
400​
MissingParameter​
The parameter %q is required.​
缺少必填参数。​
400​
RegionNotSupport​
The service [%v] not support region [%v].​
服务不支持当前地域。​
404​
EntityNotFound.Stack​
The stack %q does not exist in the current region.​
资源栈不存在或不属于当前地域。​
500​
InternalError​
The request has failed due to an unknown error.​
内部服务错误,请稍后重试。​
​
​
最近更新时间:2026.09.11 17:35:53
这个页面对您有帮助吗?
有用
有用
无用
无用