查询推理部署列表
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListDeployments | 要执行的操作,取值:ListDeployments。 |
Version | String | 是 | 2024-07-01 | API的版本,取值:2024-07-01。 |
ServiceId | String | 否 | . | 服务ID |
ResourceQueueId | String | 否 | . | 资源队列ID |
ResourceGroupId | String | 否 | . | 资源组ID |
Status | Object | 否 | . | 部署状态 |
CreateTimeBefore | String | 否 | 2024-07-01T00:00:00Z | 资源创建时间小于等于该时间 |
CreateTimeAfter | String | 否 | 2024-07-01T00:00:00Z | 资源创建时间大于等于该时间 |
UpdateTimeBefore | String | 否 | 2024-07-01T00:00:00Z | 资源最后修改时间小于等于该时间 |
UpdateTimeAfter | String | 否 | 2024-07-01T00:00:00Z | 资源最后修改时间大于等于该时间 |
PageNumber | Integer | 否 | 1 | 分页页码 |
PageSize | Integer | 否 | 10 | 分页查询的每页记录数 |
SortBy | String | 否 | CreateTime | 排序依据 |
SortOrder | String | 否 | Ascend | 排序顺序 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Items | Array of Object | . | 部署列表 |
TotalCount | Integer | 1000 | 数据列表的总量 |
PageNumber | Integer | 1 | 当前页码 |
PageSize | Integer | 10 | 分页查询的每页记录数 |
{ "ServiceId": "s-20250416143108-*****" }
{ "Items": [ { "CreateTime": "2025-04-16T06:31:08Z", "CreatedBy": "", "Description": "", "Id": "s-20250416143108-*****-mr-*****", "Name": "deploy_jsdcc", "RoleStatus": [ { "Id": "s-20250416143108-*****-mr-*****-decode", "Status": { "AvailableReplicas": 1, "ExpectedReplicias": 1, "ExpectedUpdatedReplicas": 1, "TotalReplicas": 1, "UpdatedAvailableReplicas": 1, "UpdatedReplicas": 1 } }, { "Id": "s-20250416143108-*****-mr-*****-prefill", "Status": { "AvailableReplicas": 1, "ExpectedReplicias": 1, "ExpectedUpdatedReplicas": 1, "TotalReplicas": 1, "UpdatedAvailableReplicas": 1, "UpdatedReplicas": 1 } } ], "ServiceId": "s-20250416143108-*****", "Status": { "Message": "", "SecondaryState": "", "State": "Inservice" }, "UpdateTime": "2025-04-16T06:31:08Z" } ], "PageNumber": 1, "PageSize": 10, "TotalCount": 1 }
您可访问公共错误码,获取更多错误码信息。