接口地址:/webapi/backupobjectset/create
请求方式:PUT
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
新建备份集
请求示例:
{
"backupObjectSetName": "",
"backupPath": "",
"streamCount": 0,
"backPlanType": 0,
"customPlan": 0,
"clientId": 0,
"backupAgentId": 0,
"containerGroupId": 0,
"planGroupId": 0,
"fileIndex": "",
"backupContent": [],
"requestId": "",
"instanceId": 0,
"backupModel": "",
"isMaster": true
}
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| backupObjectSetName | 备份对象集合名称 | body | false | string | |
| backupPath | 备份路径 | body | false | string | |
| streamCount | 备份流数 | body | false | integer(int32) | |
| backPlanType | 备份计划类型 | body | false | integer(int32) | |
| customPlan | 自服务计划 | body | false | integer(int32) | |
| clientId | 客户端ID | body | false | integer(int64) | |
| backupAgentId | 备份代理ID | body | false | integer(int64) | |
| containerGroupId | 副本组ID | body | false | integer(int64) | |
| planGroupId | 计划组ID | body | false | integer(int64) | |
| fileIndex | 文件索引 | body | false | string | |
| backupContent | 备份内容 | body | false | array | object |
| requestId | 请求ID | body | false | string | |
| instanceId | 实例id | body | false | integer(int64) | |
| backupModel | 备份模式 | body | false | string | |
| isMaster | 备份首选项 | body | false | boolean |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultResultVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | ResultVo | ResultVo | |
| errorCode | 错误码 | integer(int32) | |
| message | 响应信息 | string | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": {
"errorCode": 0,
"message": ""
},
"dataCount": 10
}