菜单

查看客户端属性

下载

接口地址:/webapi/client/{clientId}/action/getproperties

请求方式:POST

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

响应数据类型:*/*

接口描述:

向ActiveMQQueue队列生产一个MQ消息,等待返回Mgr信息

请求示例:

javascript 复制代码
{
  "userGroupId": 0,
  "authType": 0,
  "ignoreDataAuth": true,
  "requestId": "",
  "page": 0,
  "pageSize": 0,
  "clientId": 0,
  "backupObjectSetId": 0,
  "instanceName": "",
  "backupObjectSetName": "",
  "propertiesToQuery": ""
}

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
clientId 请求clientId数据 path true integer(int64)
userGroupId 用户组ID body false integer(int64)
authType 授权类型 body false integer(int32)
ignoreDataAuth 忽略数据权限 body false boolean
requestId 请求ID body false string
page 当前页。默认1 body false integer(int32)
pageSize 页数。默认-1 body false integer(int32)
clientId 客户端id body false integer(int64)
backupObjectSetId 备份对象集合id body false integer(int64)
instanceName 实例名称 body false string
backupObjectSetName 备份对象集合名称 body false string
propertiesToQuery 属性 body false string

响应状态:

状态码 说明 schema
200 OK ResponseResultPageClientProperties

响应参数:

参数名称 参数说明 类型 schema
message 返回状态标记 string
statFlag 返回状态 integer(int32) integer(int32)
dataInfo PageClientProperties PageClientProperties
  records array ClientProperties
    attemptStartTime 备份开始时间 integer(int64)
    clientId 客户端ID integer(int64)
    planType 计划类型 integer(int32)
    planGroupName 计划组名称 string
    fileIndex 文件索引 string
    clientName 客户端名称 string
    containerGroupId 副本组ID integer(int64)
    flags integer(int32)
    isBackupEnable 是否备份 integer(int32)
    containerGroupName 副本组名称 string
    lastBackupTime 上次备份时间 integer(int64)
    lastBackupSize 上次备份大小 integer(int64)
    backupObjectSetId 备份对象集合ID integer(int64)
    servicePlanName 服务计划名称 string
    lastBackupJobId 上次备份任务ID integer(int64)
    isRestoreEnable 是否恢复 integer(int32)
    backupObjectSetName 备份对象集合名称 string
    servicePlanId 服务计划ID integer(int64)
    streamCount 流数 string
    planGroupId 计划组ID integer(int64)
    TYPE 类型 integer(int32)
    path array string
    filter array string
  total integer(int64)
  size integer(int64)
  current integer(int64)
  orders array OrderItem
    column string
    asc boolean
  optimizeCountSql PageClientProperties PageClientProperties
  searchCount PageClientProperties PageClientProperties
  optimizeJoinOfCountSql boolean
  maxLimit integer(int64)
  countId string
  pages integer(int64)
dataCount 返回数据条数 integer(int32) integer(int32)

响应示例:

javascript 复制代码
{
	"message": "操作成功",
	"statFlag": 0,
	"dataInfo": {
		"records": [
			{
				"attemptStartTime": 0,
				"clientId": 0,
				"planType": 0,
				"planGroupName": "",
				"fileIndex": "",
				"clientName": "",
				"containerGroupId": 0,
				"flags": 0,
				"isBackupEnable": 0,
				"containerGroupName": "",
				"lastBackupTime": 0,
				"lastBackupSize": 0,
				"backupObjectSetId": 0,
				"servicePlanName": "",
				"lastBackupJobId": 0,
				"isRestoreEnable": 0,
				"backupObjectSetName": "",
				"servicePlanId": 0,
				"streamCount": "",
				"planGroupId": 0,
				"TYPE": 0,
				"path": [],
				"filter": []
			}
		],
		"total": 0,
		"size": 0,
		"current": 0,
		"orders": [
			{
				"column": "",
				"asc": true
			}
		],
		"optimizeCountSql": {},
		"searchCount": {},
		"optimizeJoinOfCountSql": true,
		"maxLimit": 0,
		"countId": "",
		"pages": 0
	},
	"dataCount": 10
}
分享文章
上一个
查询客户端列表
下一个
修改客户端属性
最近修改: 2024-12-13