You need to enable JavaScript to run this app.
文档中心
服务器迁移中心

服务器迁移中心

复制全文
下载 pdf
迁移任务
SetIncrementalSyncInterval - 设置自动增量同步时间间隔
复制全文
下载 pdf
SetIncrementalSyncInterval - 设置自动增量同步时间间隔
调用 SetIncrementalSyncInterval 接口,设置自动增量同步。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:SetIncrementalSyncInterval​
要执行的操作,取值:SetIncrementalSyncInterval。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
MigrationJobId string 必选 示例值:job-3tiegs1y963vj0******​
迁移任务ID。您可以调用DescribeMigrationJobs接口查询获取。​
​
SyncInterval integer 可选 示例值:2​
增量同步时间间隔,单位小时。​
  • 取值范围:0~168​
  • 最大值:168​
  • 最小值:1​
​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=SetIncrementalSyncInterval&Version=2020-04-01&MigrationJobId=job-3tiegs1y963vj0****&SyncInterval=2 HTTP/1.1​
Host: smc.volcengineapi.com​
Region: cn-beijing​
Service: smc​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202306051643546E59A4A3E62D****",​
"Action": "SetIncrementalSyncInterval",​
"Version": "2020-04-01",​
"Service": "smc",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidJobConfigForIncrementalSync.Unsupported​
The specified migration job does not support incremental sync.​
指定的迁移任务不支持增量迁移。​
400​
InvalidJobStateForUpdateSyncInterval.Unsupported​
The specified migration job state does not support update sync interval.​
迁移任务不支持修改增量同步频率。​
400​
LimitExceeded.MaximumSyncInterval​
The number of specified SyncInterval exceeds the maximum limit.​
指定的SyncInterval超过最大限制。​
400​
LimitExceeded.MinimumSyncInterval​
The number of specified SyncInterval exceeds the minimum limit.​
指定的SyncInterval超过最小限制。​
400​
MissingParameter.MigrationJobId​
The required parameter MigrationJobId is not supplied.​
参数MigrationJobId不能为空。​
404​
InvalidMigrationJob.NotFound​
The specified migration job does not exist.​
指定的迁移任务不存在。​
​
​
最近更新时间:2025.08.28 15:30:31
这个页面对您有帮助吗?
有用
有用
无用
无用