菜单

查询副本详情

下载

接口地址:/webapi/container/{containerId}/action/query

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

接口描述:

查询容器的详细信息

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
containerId 请求containerId数据 path true integer(int32)

响应状态:

状态码 说明 schema
200 OK ResponseResultContainerDetailVo

响应参数:

参数名称 参数说明 类型 schema
message 返回状态标记 string
statFlag 返回状态 integer(int32) integer(int32)
dataInfo ContainerDetailVo ContainerDetailVo
  containerId 副本ID integer(int32)
  containerName 副本名称 string
  containerType 副本类型 integer(int32)
  containerGroupId 副本组ID integer(int32)
  repositoryId 存储库ID integer(int32)
  repositoryStatus 存储库状态 integer(int32)
  repositoryName 存储库名称 string
  repositoryTypeId 存储库类型ID integer(int32)
  storageNodes 存储节点 array StorageNodeVo
    storageNodeId 存储节点id integer(int64)
    storageNodeName 存储节点名称 string
    storageNodeCsdPort integer(int32)
    storageNodeIp string
  fulls integer(int32)
  period integer(int32)
  sourceContainerId integer(int64)
  containerPrecedence integer(int32)
  blockSizeInKB integer(int32)
  deduplicated integer(int32)
  compressed integer(int32)
  type integer(int32)
dataCount 返回数据条数 integer(int32) integer(int32)

响应示例:

javascript 复制代码
{
	"message": "操作成功",
	"statFlag": 0,
	"dataInfo": {
		"containerId": 0,
		"containerName": "",
		"containerType": 0,
		"containerGroupId": 0,
		"repositoryId": 0,
		"repositoryStatus": 0,
		"repositoryName": "",
		"repositoryTypeId": 0,
		"storageNodes": [
			{
				"storageNodeId": 0,
				"storageNodeName": "",
				"storageNodeCsdPort": 0,
				"storageNodeIp": ""
			}
		],
		"fulls": 0,
		"period": 0,
		"sourceContainerId": 0,
		"containerPrecedence": 0,
		"blockSizeInKB": 0,
		"deduplicated": 0,
		"compressed": 0,
		"type": 0
	},
	"dataCount": 10
}

分享文章
上一个
新建副本
下一个
副本关联复制策略
最近修改: 2024-12-13