接口地址:/webapi/containergroup/{containerGroupId}/action/query
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
查询容器组详细信息
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| containerGroupId | 请求containerGroupId数据 | path | true | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultContainerGroupQueryVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | ContainerGroupQueryVo | ContainerGroupQueryVo | |
| containerGroupInfo | ContainerGroupInfoVo | ContainerGroupInfoVo | |
| deduplicated | 是否去重 | integer(int32) | |
| maxStreamCount | 最大流数 | integer(int32) | |
| associationCount | 关联数量 | integer(int32) | |
| description | 描述 | string | |
| containerGroupType | 副本组类型 | integer(int32) | |
| containerCount | 副本数量 | integer(int32) | |
| containers | 副本信息 | array | ContainerGroupVo |
| containerId | 副本ID | integer(int64) | |
| sourceContainerId | 源副本ID | integer(int64) | |
| containerName | 名称 | string | |
| repositoryId | 存储库ID | integer(int64) | |
| repositoryName | 存储仓 | string | |
| storageNodes | 存储节点 | array | StorageNodeIdAndNameVo |
| storageNodeId | 存储节点id | integer(int64) | |
| storageNodeName | 存储节点名称 | string | |
| deduplicated | 是否已去重 | integer(int32) | |
| enableEncrypt | 是否加密 | integer(int32) | |
| status | 状态 | integer(int32) | |
| compressed | 是否已压缩 | integer(int32) | |
| containerPrecedence | 类型 | integer(int32) | |
| retention | RetentionForm | RetentionForm | |
| type | 保留类型 | integer(int32) | |
| period | 保留天数 | integer(int32) | |
| fulls | 保留恢复点 | integer(int32) | |
| encryptionFlag | integer(int32) | ||
| encryptionAlgorithm | integer(int32) | ||
| containerType | 副本类型 | integer(int32) | |
| repositoryTypeId | integer(int32) | ||
| flags | integer(int32) | ||
| blockSizeInKB | integer(int64) | ||
| encryptionInfo | object | ||
| COMPRESSED | 是否已压缩 | integer(int32) | |
| flags | integer(int32) | ||
| containerGroupId | 副本组ID | integer(int64) | |
| containerGroupName | 副本组名称 | string | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": {
"containerGroupInfo": {
"deduplicated": 0,
"maxStreamCount": 0,
"associationCount": 0,
"description": "",
"containerGroupType": 0,
"containerCount": 0,
"containers": [
{
"containerId": 0,
"sourceContainerId": 0,
"containerName": "",
"repositoryId": 0,
"repositoryName": "",
"storageNodes": [
{
"storageNodeId": 0,
"storageNodeName": ""
}
],
"deduplicated": 0,
"enableEncrypt": 0,
"status": 0,
"compressed": 0,
"containerPrecedence": 0,
"retention": {
"type": 0,
"period": 0,
"fulls": 0
},
"encryptionFlag": 0,
"encryptionAlgorithm": 0,
"containerType": 0,
"repositoryTypeId": 0,
"flags": 0,
"blockSizeInKB": 0,
"encryptionInfo": {},
"COMPRESSED": 0
}
],
"flags": 0,
"containerGroupId": 0,
"containerGroupName": ""
}
},
"dataCount": 10
}