代码修改后的版本,全部提交
This commit is contained in:
1302
TencentCloud/Dts/V20180330/DtsClient.cs
Normal file
1302
TencentCloud/Dts/V20180330/DtsClient.cs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ActivateSubscribeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例ID。
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅类型0-全实例订阅,1数据订阅,2结构订阅,3数据订阅与结构订阅
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeObjectType")]
|
||||
public long? SubscribeObjectType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅对象
|
||||
/// </summary>
|
||||
[JsonProperty("Objects")]
|
||||
public SubscribeObject Objects{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅服务所在子网。默认为数据库实例所在的子网内。
|
||||
/// </summary>
|
||||
[JsonProperty("UniqSubnetId")]
|
||||
public string UniqSubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅服务端口;默认为7507
|
||||
/// </summary>
|
||||
[JsonProperty("Vport")]
|
||||
public long? Vport{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "SubscribeObjectType", this.SubscribeObjectType);
|
||||
this.SetParamObj(map, prefix + "Objects.", this.Objects);
|
||||
this.SetParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
|
||||
this.SetParamSimple(map, prefix + "Vport", this.Vport);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ActivateSubscribeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置数据订阅任务ID。
|
||||
/// </summary>
|
||||
[JsonProperty("AsyncRequestId")]
|
||||
public string AsyncRequestId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "AsyncRequestId", this.AsyncRequestId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CompleteMigrateJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CompleteMigrateJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Dts/V20180330/Models/ConsistencyParams.cs
Normal file
57
TencentCloud/Dts/V20180330/Models/ConsistencyParams.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ConsistencyParams : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据内容检测参数。表中选出用来数据对比的行,占表的总行数的百分比。取值范围是整数[1-100]
|
||||
/// </summary>
|
||||
[JsonProperty("SelectRowsPerTable")]
|
||||
public long? SelectRowsPerTable{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据内容检测参数。迁移库表中,要进行数据内容检测的表,占所有表的百分比。取值范围是整数[1-100]
|
||||
/// </summary>
|
||||
[JsonProperty("TablesSelectAll")]
|
||||
public long? TablesSelectAll{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据数量检测,检测表行数是否一致。迁移库表中,要进行数据数量检测的表,占所有表的百分比。取值范围是整数[1-100]
|
||||
/// </summary>
|
||||
[JsonProperty("TablesSelectCount")]
|
||||
public long? TablesSelectCount{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SelectRowsPerTable", this.SelectRowsPerTable);
|
||||
this.SetParamSimple(map, prefix + "TablesSelectAll", this.TablesSelectAll);
|
||||
this.SetParamSimple(map, prefix + "TablesSelectCount", this.TablesSelectCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateMigrateCheckJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateMigrateCheckJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
107
TencentCloud/Dts/V20180330/Models/CreateMigrateJobRequest.cs
Normal file
107
TencentCloud/Dts/V20180330/Models/CreateMigrateJobRequest.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateMigrateJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 迁移任务配置选项
|
||||
/// </summary>
|
||||
[JsonProperty("MigrateOption")]
|
||||
public MigrateOption MigrateOption{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例数据库类型,目前支持:mysql,redis,mongodb,postgresql,mariadb,percona。不同地域数据库类型的具体支持情况,请参考控制台创建迁移页面。
|
||||
/// </summary>
|
||||
[JsonProperty("SrcDatabaseType")]
|
||||
public string SrcDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例接入类型,值包括:extranet(外网),cvm(CVM自建实例),dcg(专线接入的实例),vpncloud(云VPN接入的实例),cdb(腾讯云数据库实例),ccn(云联网实例)
|
||||
/// </summary>
|
||||
[JsonProperty("SrcAccessType")]
|
||||
public string SrcAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例信息,具体内容跟迁移任务类型相关
|
||||
/// </summary>
|
||||
[JsonProperty("SrcInfo")]
|
||||
public SrcInfo SrcInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例数据库类型,目前支持:mysql,redis,mongodb,postgresql,mariadb,percona。不同地域数据库类型的具体支持情况,请参考控制台创建迁移页面。
|
||||
/// </summary>
|
||||
[JsonProperty("DstDatabaseType")]
|
||||
public string DstDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例接入类型,目前支持:cdb(腾讯云数据库实例)
|
||||
/// </summary>
|
||||
[JsonProperty("DstAccessType")]
|
||||
public string DstAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例信息
|
||||
/// </summary>
|
||||
[JsonProperty("DstInfo")]
|
||||
public DstInfo DstInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要迁移的源数据库表信息,用json格式的字符串描述。当MigrateOption.MigrateObject配置为2(指定库表迁移)时必填。
|
||||
/// 对于database-table两级结构的数据库:
|
||||
/// [{Database:db1,Table:[table1,table2]},{Database:db2}]
|
||||
/// 对于database-schema-table三级结构:
|
||||
/// [{Database:db1,Schema:s1
|
||||
/// Table:[table1,table2]},{Database:db1,Schema:s2
|
||||
/// Table:[table1,table2]},{Database:db2,Schema:s1
|
||||
/// Table:[table1,table2]},{Database:db3},{Database:db4
|
||||
/// Schema:s1}]
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseInfo")]
|
||||
public string DatabaseInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamObj(map, prefix + "MigrateOption.", this.MigrateOption);
|
||||
this.SetParamSimple(map, prefix + "SrcDatabaseType", this.SrcDatabaseType);
|
||||
this.SetParamSimple(map, prefix + "SrcAccessType", this.SrcAccessType);
|
||||
this.SetParamObj(map, prefix + "SrcInfo.", this.SrcInfo);
|
||||
this.SetParamSimple(map, prefix + "DstDatabaseType", this.DstDatabaseType);
|
||||
this.SetParamSimple(map, prefix + "DstAccessType", this.DstAccessType);
|
||||
this.SetParamObj(map, prefix + "DstInfo.", this.DstInfo);
|
||||
this.SetParamSimple(map, prefix + "DatabaseInfo", this.DatabaseInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateMigrateJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Dts/V20180330/Models/CreateSubscribeRequest.cs
Normal file
71
TencentCloud/Dts/V20180330/Models/CreateSubscribeRequest.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateSubscribeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 订阅的数据库类型,目前支持的有 mysql
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例付费类型,1小时计费,0包年包月
|
||||
/// </summary>
|
||||
[JsonProperty("PayType")]
|
||||
public long? PayType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 购买时长。PayType为0时必填。单位为月,最大支持120
|
||||
/// </summary>
|
||||
[JsonProperty("Duration")]
|
||||
public long? Duration{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 购买数量,默认为1,最大为10
|
||||
/// </summary>
|
||||
[JsonProperty("Count")]
|
||||
public long? Count{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否自动续费,默认为0,1表示自动续费。小时计费实例设置该标识无效。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoRenew")]
|
||||
public long? AutoRenew{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Product", this.Product);
|
||||
this.SetParamSimple(map, prefix + "PayType", this.PayType);
|
||||
this.SetParamSimple(map, prefix + "Duration", this.Duration);
|
||||
this.SetParamSimple(map, prefix + "Count", this.Count);
|
||||
this.SetParamSimple(map, prefix + "AutoRenew", this.AutoRenew);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Dts/V20180330/Models/CreateSubscribeResponse.cs
Normal file
51
TencentCloud/Dts/V20180330/Models/CreateSubscribeResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateSubscribeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的ID数组
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeIds")]
|
||||
public string[] SubscribeIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArraySimple(map, prefix + "SubscribeIds.", this.SubscribeIds);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateSyncCheckJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateSyncCheckJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
101
TencentCloud/Dts/V20180330/Models/CreateSyncJobRequest.cs
Normal file
101
TencentCloud/Dts/V20180330/Models/CreateSyncJobRequest.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateSyncJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务名
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务配置选项
|
||||
/// </summary>
|
||||
[JsonProperty("SyncOption")]
|
||||
public SyncOption SyncOption{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例数据库类型,目前仅包括:mysql
|
||||
/// </summary>
|
||||
[JsonProperty("SrcDatabaseType")]
|
||||
public string SrcDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例接入类型,目前仅包括:cdb(云上cdb实例)
|
||||
/// </summary>
|
||||
[JsonProperty("SrcAccessType")]
|
||||
public string SrcAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例信息
|
||||
/// </summary>
|
||||
[JsonProperty("SrcInfo")]
|
||||
public SyncInstanceInfo SrcInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例数据库类型,目前仅包括:mysql
|
||||
/// </summary>
|
||||
[JsonProperty("DstDatabaseType")]
|
||||
public string DstDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例接入类型,目前仅包括:cdb(云上cdb实例)
|
||||
/// </summary>
|
||||
[JsonProperty("DstAccessType")]
|
||||
public string DstAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例信息
|
||||
/// </summary>
|
||||
[JsonProperty("DstInfo")]
|
||||
public SyncInstanceInfo DstInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要同步的源数据库表信息,用json格式的字符串描述。
|
||||
/// 对于database-table两级结构的数据库:
|
||||
/// [{Database:db1,Table:[table1,table2]},{Database:db2}]
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseInfo")]
|
||||
public string DatabaseInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamObj(map, prefix + "SyncOption.", this.SyncOption);
|
||||
this.SetParamSimple(map, prefix + "SrcDatabaseType", this.SrcDatabaseType);
|
||||
this.SetParamSimple(map, prefix + "SrcAccessType", this.SrcAccessType);
|
||||
this.SetParamObj(map, prefix + "SrcInfo.", this.SrcInfo);
|
||||
this.SetParamSimple(map, prefix + "DstDatabaseType", this.DstDatabaseType);
|
||||
this.SetParamSimple(map, prefix + "DstAccessType", this.DstAccessType);
|
||||
this.SetParamObj(map, prefix + "DstInfo.", this.DstInfo);
|
||||
this.SetParamSimple(map, prefix + "DatabaseInfo", this.DatabaseInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Dts/V20180330/Models/CreateSyncJobResponse.cs
Normal file
50
TencentCloud/Dts/V20180330/Models/CreateSyncJobResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateSyncJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/DeleteMigrateJobRequest.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/DeleteMigrateJobRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteMigrateJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteMigrateJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/DeleteSyncJobRequest.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/DeleteSyncJobRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteSyncJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 待删除的灾备同步任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/DeleteSyncJobResponse.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/DeleteSyncJobResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteSyncJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAsyncRequestInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务 ID
|
||||
/// </summary>
|
||||
[JsonProperty("AsyncRequestId")]
|
||||
public string AsyncRequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "AsyncRequestId", this.AsyncRequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAsyncRequestInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务执行结果信息
|
||||
/// </summary>
|
||||
[JsonProperty("Info")]
|
||||
public string Info{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务执行状态,可能的值有:success,failed,running
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Info", this.Info);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMigrateCheckJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMigrateCheckJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 校验任务状态:unavailable(当前不可用), starting(开始中),running(校验中),finished(校验完成)
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务的错误码
|
||||
/// </summary>
|
||||
[JsonProperty("ErrorCode")]
|
||||
public long? ErrorCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务的错误信息
|
||||
/// </summary>
|
||||
[JsonProperty("ErrorMessage")]
|
||||
public string ErrorMessage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Check任务总进度,如:"30"表示30%
|
||||
/// </summary>
|
||||
[JsonProperty("Progress")]
|
||||
public string Progress{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 校验是否通过,0-未通过,1-校验通过, 3-未校验
|
||||
/// </summary>
|
||||
[JsonProperty("CheckFlag")]
|
||||
public long? CheckFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrorCode", this.ErrorCode);
|
||||
this.SetParamSimple(map, prefix + "ErrorMessage", this.ErrorMessage);
|
||||
this.SetParamSimple(map, prefix + "Progress", this.Progress);
|
||||
this.SetParamSimple(map, prefix + "CheckFlag", this.CheckFlag);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMigrateJobsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段,可以取值为JobId、Status、JobName、MigrateType、RunMode、CreateTime
|
||||
/// </summary>
|
||||
[JsonProperty("Order")]
|
||||
public string Order{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序方式,升序为ASC,降序为DESC
|
||||
/// </summary>
|
||||
[JsonProperty("OrderSeq")]
|
||||
public string OrderSeq{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,默认为0
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回实例数量,默认20,有效区间[1,100]
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamSimple(map, prefix + "Order", this.Order);
|
||||
this.SetParamSimple(map, prefix + "OrderSeq", this.OrderSeq);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMigrateJobsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务数目
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public ulong? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务详情数组
|
||||
/// </summary>
|
||||
[JsonProperty("JobList")]
|
||||
public MigrateJobInfo[] JobList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "JobList.", this.JobList);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeRegionConfRequest : AbstractModel
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeRegionConfResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 可售卖地域的数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可售卖地域详情
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public SubscribeRegionConf[] Items{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "Items.", this.Items);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSubscribeConfRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,211 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSubscribeConfResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例名称
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeName")]
|
||||
public string SubscribeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅通道
|
||||
/// </summary>
|
||||
[JsonProperty("ChannelId")]
|
||||
public string ChannelId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅数据库类型
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 被订阅的实例
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 被订阅的实例的状态,可能的值有running,offline,isolate
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceStatus")]
|
||||
public string InstanceStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例状态,可能的值有unconfigure-未配置,configuring-配置中,configured-已配置
|
||||
/// </summary>
|
||||
[JsonProperty("SubsStatus")]
|
||||
public string SubsStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例生命周期状态,可能的值有:normal-正常,isolating-隔离中,isolated-已隔离,offlining-下线中
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例被隔离时间
|
||||
/// </summary>
|
||||
[JsonProperty("IsolateTime")]
|
||||
public string IsolateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例到期时间
|
||||
/// </summary>
|
||||
[JsonProperty("ExpireTime")]
|
||||
public string ExpireTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例下线时间
|
||||
/// </summary>
|
||||
[JsonProperty("OfflineTime")]
|
||||
public string OfflineTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例消费时间起点。
|
||||
/// </summary>
|
||||
[JsonProperty("ConsumeStartTime")]
|
||||
public string ConsumeStartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例计费类型,1-小时计费,0-包年包月
|
||||
/// </summary>
|
||||
[JsonProperty("PayType")]
|
||||
public long? PayType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅通道Vip
|
||||
/// </summary>
|
||||
[JsonProperty("Vip")]
|
||||
public string Vip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅通道Port
|
||||
/// </summary>
|
||||
[JsonProperty("Vport")]
|
||||
public long? Vport{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅通道所在VpcId
|
||||
/// </summary>
|
||||
[JsonProperty("UniqVpcId")]
|
||||
public string UniqVpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅通道所在SubnetId
|
||||
/// </summary>
|
||||
[JsonProperty("UniqSubnetId")]
|
||||
public string UniqSubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前SDK消费时间位点
|
||||
/// </summary>
|
||||
[JsonProperty("SdkConsumedTime")]
|
||||
public string SdkConsumedTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅SDK IP地址
|
||||
/// </summary>
|
||||
[JsonProperty("SdkHost")]
|
||||
public string SdkHost{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅对象类型0-全实例订阅,1-DDL数据订阅,2-DML结构订阅,3-DDL数据订阅+DML结构订阅
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeObjectType")]
|
||||
public long? SubscribeObjectType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅对象,当SubscribeObjectType 为0时,此字段为空数组
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeObjects")]
|
||||
public SubscribeObject[] SubscribeObjects{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModifyTime")]
|
||||
public string ModifyTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地域
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "SubscribeName", this.SubscribeName);
|
||||
this.SetParamSimple(map, prefix + "ChannelId", this.ChannelId);
|
||||
this.SetParamSimple(map, prefix + "Product", this.Product);
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "InstanceStatus", this.InstanceStatus);
|
||||
this.SetParamSimple(map, prefix + "SubsStatus", this.SubsStatus);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "IsolateTime", this.IsolateTime);
|
||||
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
|
||||
this.SetParamSimple(map, prefix + "OfflineTime", this.OfflineTime);
|
||||
this.SetParamSimple(map, prefix + "ConsumeStartTime", this.ConsumeStartTime);
|
||||
this.SetParamSimple(map, prefix + "PayType", this.PayType);
|
||||
this.SetParamSimple(map, prefix + "Vip", this.Vip);
|
||||
this.SetParamSimple(map, prefix + "Vport", this.Vport);
|
||||
this.SetParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
|
||||
this.SetParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
|
||||
this.SetParamSimple(map, prefix + "SdkConsumedTime", this.SdkConsumedTime);
|
||||
this.SetParamSimple(map, prefix + "SdkHost", this.SdkHost);
|
||||
this.SetParamSimple(map, prefix + "SubscribeObjectType", this.SubscribeObjectType);
|
||||
this.SetParamArrayObj(map, prefix + "SubscribeObjects.", this.SubscribeObjects);
|
||||
this.SetParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
113
TencentCloud/Dts/V20180330/Models/DescribeSubscribesRequest.cs
Normal file
113
TencentCloud/Dts/V20180330/Models/DescribeSubscribesRequest.cs
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSubscribesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅的实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅的实例名称
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeName")]
|
||||
public string SubscribeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据库实例的ID
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的通道ID
|
||||
/// </summary>
|
||||
[JsonProperty("ChannelId")]
|
||||
public string ChannelId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计费模式筛选,可能的值:0-包年包月,1-按量计费
|
||||
/// </summary>
|
||||
[JsonProperty("PayType")]
|
||||
public string PayType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅的数据库产品,如mysql
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的状态,creating - 创建中,normal - 正常运行,isolating - 隔离中,isolated - 已隔离,offlining - 下线中
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string[] Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的配置状态,unconfigure - 未配置, configuring - 配置中,configured - 已配置
|
||||
/// </summary>
|
||||
[JsonProperty("SubsStatus")]
|
||||
public string[] SubsStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回记录的起始偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单次返回的记录数量
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序方向,可选的值为"DESC"和"ASC",默认为"DESC",按创建时间逆序排序
|
||||
/// </summary>
|
||||
[JsonProperty("OrderDirection")]
|
||||
public string OrderDirection{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "SubscribeName", this.SubscribeName);
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "ChannelId", this.ChannelId);
|
||||
this.SetParamSimple(map, prefix + "PayType", this.PayType);
|
||||
this.SetParamSimple(map, prefix + "Product", this.Product);
|
||||
this.SetParamArraySimple(map, prefix + "Status.", this.Status);
|
||||
this.SetParamArraySimple(map, prefix + "SubsStatus.", this.SubsStatus);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "OrderDirection", this.OrderDirection);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSubscribesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的实例总数
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的信息列表
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public SubscribeInfo[] Items{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "Items.", this.Items);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSyncCheckJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 要查询的灾备同步任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSyncCheckJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务校验状态: starting(开始中),running(校验中),finished(校验完成)
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务校验结果代码
|
||||
/// </summary>
|
||||
[JsonProperty("ErrorCode")]
|
||||
public long? ErrorCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 提示信息
|
||||
/// </summary>
|
||||
[JsonProperty("ErrorMessage")]
|
||||
public string ErrorMessage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务执行步骤描述
|
||||
/// </summary>
|
||||
[JsonProperty("StepInfo")]
|
||||
public SyncCheckStepInfo[] StepInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 校验标志:0(尚未校验成功) , 1(校验成功)
|
||||
/// </summary>
|
||||
[JsonProperty("CheckFlag")]
|
||||
public long? CheckFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "ErrorCode", this.ErrorCode);
|
||||
this.SetParamSimple(map, prefix + "ErrorMessage", this.ErrorMessage);
|
||||
this.SetParamArrayObj(map, prefix + "StepInfo.", this.StepInfo);
|
||||
this.SetParamSimple(map, prefix + "CheckFlag", this.CheckFlag);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Dts/V20180330/Models/DescribeSyncJobsRequest.cs
Normal file
78
TencentCloud/Dts/V20180330/Models/DescribeSyncJobsRequest.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSyncJobsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务名
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段,可以取值为JobId、Status、JobName、CreateTime
|
||||
/// </summary>
|
||||
[JsonProperty("Order")]
|
||||
public string Order{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序方式,升序为ASC,降序为DESC
|
||||
/// </summary>
|
||||
[JsonProperty("OrderSeq")]
|
||||
public string OrderSeq{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,默认为0
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回实例数量,默认20,有效区间[1,100]
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamSimple(map, prefix + "Order", this.Order);
|
||||
this.SetParamSimple(map, prefix + "OrderSeq", this.OrderSeq);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeSyncJobsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务数目
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public ulong? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务详情数组
|
||||
/// </summary>
|
||||
[JsonProperty("JobList")]
|
||||
public SyncJobInfo[] JobList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "JobList.", this.JobList);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Dts/V20180330/Models/DstInfo.cs
Normal file
71
TencentCloud/Dts/V20180330/Models/DstInfo.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DstInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例ID,如cdb-jd92ijd8
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例地域,如ap-guangzhou
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例vip。已废弃,无需填写
|
||||
/// </summary>
|
||||
[JsonProperty("Ip")]
|
||||
public string Ip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例vport。已废弃,无需填写
|
||||
/// </summary>
|
||||
[JsonProperty("Port")]
|
||||
public long? Port{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目前只对MySQL有效。当为整实例迁移时,1-只读,0-可读写。
|
||||
/// </summary>
|
||||
[JsonProperty("ReadOnly")]
|
||||
public long? ReadOnly{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "Ip", this.Ip);
|
||||
this.SetParamSimple(map, prefix + "Port", this.Port);
|
||||
this.SetParamSimple(map, prefix + "ReadOnly", this.ReadOnly);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Dts/V20180330/Models/ErrorInfo.cs
Normal file
50
TencentCloud/Dts/V20180330/Models/ErrorInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ErrorInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 具体的报错日志, 包含错误码和错误信息
|
||||
/// </summary>
|
||||
[JsonProperty("ErrorLog")]
|
||||
public string ErrorLog{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报错对应的帮助文档Ur
|
||||
/// </summary>
|
||||
[JsonProperty("HelpDoc")]
|
||||
public string HelpDoc{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ErrorLog", this.ErrorLog);
|
||||
this.SetParamSimple(map, prefix + "HelpDoc", this.HelpDoc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/IsolateSubscribeRequest.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/IsolateSubscribeRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class IsolateSubscribeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 订阅实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class IsolateSubscribeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Dts/V20180330/Models/MigrateDetailInfo.cs
Normal file
85
TencentCloud/Dts/V20180330/Models/MigrateDetailInfo.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class MigrateDetailInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 总步骤数
|
||||
/// </summary>
|
||||
[JsonProperty("StepAll")]
|
||||
public long? StepAll{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前步骤
|
||||
/// </summary>
|
||||
[JsonProperty("StepNow")]
|
||||
public long? StepNow{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总进度,如:"10"
|
||||
/// </summary>
|
||||
[JsonProperty("Progress")]
|
||||
public string Progress{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前步骤进度,如:"1"
|
||||
/// </summary>
|
||||
[JsonProperty("CurrentStepProgress")]
|
||||
public string CurrentStepProgress{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主从差距,MB;在增量同步阶段有效,目前支持产品为:redis和mysql
|
||||
/// </summary>
|
||||
[JsonProperty("MasterSlaveDistance")]
|
||||
public long? MasterSlaveDistance{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主从差距,秒;在增量同步阶段有效,目前支持产品为:mysql
|
||||
/// </summary>
|
||||
[JsonProperty("SecondsBehindMaster")]
|
||||
public long? SecondsBehindMaster{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤信息
|
||||
/// </summary>
|
||||
[JsonProperty("StepInfo")]
|
||||
public MigrateStepDetailInfo[] StepInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StepAll", this.StepAll);
|
||||
this.SetParamSimple(map, prefix + "StepNow", this.StepNow);
|
||||
this.SetParamSimple(map, prefix + "Progress", this.Progress);
|
||||
this.SetParamSimple(map, prefix + "CurrentStepProgress", this.CurrentStepProgress);
|
||||
this.SetParamSimple(map, prefix + "MasterSlaveDistance", this.MasterSlaveDistance);
|
||||
this.SetParamSimple(map, prefix + "SecondsBehindMaster", this.SecondsBehindMaster);
|
||||
this.SetParamArrayObj(map, prefix + "StepInfo.", this.StepInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
148
TencentCloud/Dts/V20180330/Models/MigrateJobInfo.cs
Normal file
148
TencentCloud/Dts/V20180330/Models/MigrateJobInfo.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class MigrateJobInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 迁移任务配置选项
|
||||
/// </summary>
|
||||
[JsonProperty("MigrateOption")]
|
||||
public MigrateOption MigrateOption{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例数据库类型:mysql,redis,mongodb,postgresql,mariadb,percona
|
||||
/// </summary>
|
||||
[JsonProperty("SrcDatabaseType")]
|
||||
public string SrcDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例接入类型,值包括:extranet(外网),cvm(cvm自建实例),dcg(专线接入的实例),vpncloud(云vpn接入的实例),cdb(腾讯云数据库实例),ccn(云联网实例)
|
||||
/// </summary>
|
||||
[JsonProperty("SrcAccessType")]
|
||||
public string SrcAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例信息,具体内容跟迁移任务类型相关
|
||||
/// </summary>
|
||||
[JsonProperty("SrcInfo")]
|
||||
public SrcInfo SrcInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例数据库类型:mysql,redis,mongodb,postgresql,mariadb,percona
|
||||
/// </summary>
|
||||
[JsonProperty("DstDatabaseType")]
|
||||
public string DstDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例接入类型,目前支持:cdb(腾讯云数据库实例)
|
||||
/// </summary>
|
||||
[JsonProperty("DstAccessType")]
|
||||
public string DstAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例信息
|
||||
/// </summary>
|
||||
[JsonProperty("DstInfo")]
|
||||
public DstInfo DstInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要迁移的源数据库表信息,如果需要迁移的是整个实例,该字段为[]
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseInfo")]
|
||||
public string DatabaseInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务创建(提交)时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务开始执行时间
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务执行结束时间
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态,取值为:1-创建中(Creating),3-校验中(Checking)4-校验通过(CheckPass),5-校验不通过(CheckNotPass),7-任务运行(Running),8-准备完成(ReadyComplete),9-任务成功(Success),10-任务失败(Failed),11-撤销中(Stopping),12-完成中(Completing)
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public long? Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务详情
|
||||
/// </summary>
|
||||
[JsonProperty("Detail")]
|
||||
public MigrateDetailInfo Detail{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务错误信息提示,当任务发生错误时,不为null或者空值
|
||||
/// </summary>
|
||||
[JsonProperty("ErrorInfo")]
|
||||
public ErrorInfo[] ErrorInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamObj(map, prefix + "MigrateOption.", this.MigrateOption);
|
||||
this.SetParamSimple(map, prefix + "SrcDatabaseType", this.SrcDatabaseType);
|
||||
this.SetParamSimple(map, prefix + "SrcAccessType", this.SrcAccessType);
|
||||
this.SetParamObj(map, prefix + "SrcInfo.", this.SrcInfo);
|
||||
this.SetParamSimple(map, prefix + "DstDatabaseType", this.DstDatabaseType);
|
||||
this.SetParamSimple(map, prefix + "DstAccessType", this.DstAccessType);
|
||||
this.SetParamObj(map, prefix + "DstInfo.", this.DstInfo);
|
||||
this.SetParamSimple(map, prefix + "DatabaseInfo", this.DatabaseInfo);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamObj(map, prefix + "Detail.", this.Detail);
|
||||
this.SetParamArrayObj(map, prefix + "ErrorInfo.", this.ErrorInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
107
TencentCloud/Dts/V20180330/Models/MigrateOption.cs
Normal file
107
TencentCloud/Dts/V20180330/Models/MigrateOption.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class MigrateOption : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务运行模式,值包括:1-立即执行,2-定时执行
|
||||
/// </summary>
|
||||
[JsonProperty("RunMode")]
|
||||
public long? RunMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 期望执行时间,当runMode=2时,该字段必填,时间格式:yyyy-mm-dd hh:mm:ss
|
||||
/// </summary>
|
||||
[JsonProperty("ExpectTime")]
|
||||
public string ExpectTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移类型,值包括:1-结构迁移,2-全量迁移,3-全量+增量迁移
|
||||
/// </summary>
|
||||
[JsonProperty("MigrateType")]
|
||||
public long? MigrateType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 迁移对象,1-整个实例,2-指定库表
|
||||
/// </summary>
|
||||
[JsonProperty("MigrateObject")]
|
||||
public long? MigrateObject{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 抽样数据一致性检测参数,1-未配置,2-全量检测,3-抽样检测, 4-仅校验不一致表,5-不检测
|
||||
/// </summary>
|
||||
[JsonProperty("ConsistencyType")]
|
||||
public long? ConsistencyType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否用源库Root账户覆盖目标库,值包括:0-不覆盖,1-覆盖,选择库表或者结构迁移时应该为0
|
||||
/// </summary>
|
||||
[JsonProperty("IsOverrideRoot")]
|
||||
public long? IsOverrideRoot{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不同数据库用到的额外参数.以JSON格式描述.
|
||||
/// Redis可定义如下的参数:
|
||||
/// {
|
||||
/// "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB)
|
||||
/// "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB)
|
||||
/// "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒)
|
||||
/// "ReplBacklogSize":512, 环形缓冲区容量限制(MB)
|
||||
/// "ReplTimeout":120, 复制超时时间(秒)
|
||||
/// }
|
||||
/// MongoDB可定义如下的参数:
|
||||
/// {
|
||||
/// 'SrcAuthDatabase':'admin',
|
||||
/// 'SrcAuthFlag': "1",
|
||||
/// 'SrcAuthMechanism':"SCRAM-SHA-1"
|
||||
/// }
|
||||
/// MySQL暂不支持额外参数设置。
|
||||
/// </summary>
|
||||
[JsonProperty("ExternParams")]
|
||||
public string ExternParams{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仅用于“抽样数据一致性检测”,ConsistencyType配置为抽样检测时,必选
|
||||
/// </summary>
|
||||
[JsonProperty("ConsistencyParams")]
|
||||
public ConsistencyParams ConsistencyParams{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RunMode", this.RunMode);
|
||||
this.SetParamSimple(map, prefix + "ExpectTime", this.ExpectTime);
|
||||
this.SetParamSimple(map, prefix + "MigrateType", this.MigrateType);
|
||||
this.SetParamSimple(map, prefix + "MigrateObject", this.MigrateObject);
|
||||
this.SetParamSimple(map, prefix + "ConsistencyType", this.ConsistencyType);
|
||||
this.SetParamSimple(map, prefix + "IsOverrideRoot", this.IsOverrideRoot);
|
||||
this.SetParamSimple(map, prefix + "ExternParams", this.ExternParams);
|
||||
this.SetParamObj(map, prefix + "ConsistencyParams.", this.ConsistencyParams);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
72
TencentCloud/Dts/V20180330/Models/MigrateStepDetailInfo.cs
Normal file
72
TencentCloud/Dts/V20180330/Models/MigrateStepDetailInfo.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class MigrateStepDetailInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 步骤序列
|
||||
/// </summary>
|
||||
[JsonProperty("StepNo")]
|
||||
public long? StepNo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤展现名称
|
||||
/// </summary>
|
||||
[JsonProperty("StepName")]
|
||||
public string StepName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤英文标识
|
||||
/// </summary>
|
||||
[JsonProperty("StepId")]
|
||||
public string StepId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤状态:0-默认值,1-成功,2-失败,3-执行中,4-未执行
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public long? Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前步骤开始的时间,格式为"yyyy-mm-dd hh:mm:ss",该字段不存在或者为空是无意义
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StepNo", this.StepNo);
|
||||
this.SetParamSimple(map, prefix + "StepName", this.StepName);
|
||||
this.SetParamSimple(map, prefix + "StepId", this.StepId);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
99
TencentCloud/Dts/V20180330/Models/ModifyMigrateJobRequest.cs
Normal file
99
TencentCloud/Dts/V20180330/Models/ModifyMigrateJobRequest.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifyMigrateJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 待修改的数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 迁移任务配置选项
|
||||
/// </summary>
|
||||
[JsonProperty("MigrateOption")]
|
||||
public MigrateOption MigrateOption{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例接入类型,值包括:extranet(外网),cvm(CVM自建实例),dcg(专线接入的实例),vpncloud(云VPN接入的实例),cdb(云上CDB实例)
|
||||
/// </summary>
|
||||
[JsonProperty("SrcAccessType")]
|
||||
public string SrcAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例信息,具体内容跟迁移任务类型相关
|
||||
/// </summary>
|
||||
[JsonProperty("SrcInfo")]
|
||||
public SrcInfo SrcInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例接入类型,值包括:extranet(外网),cvm(CVM自建实例),dcg(专线接入的实例),vpncloud(云VPN接入的实例),cdb(云上CDB实例). 目前只支持cdb.
|
||||
/// </summary>
|
||||
[JsonProperty("DstAccessType")]
|
||||
public string DstAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标实例信息, 其中目标实例地域不允许修改.
|
||||
/// </summary>
|
||||
[JsonProperty("DstInfo")]
|
||||
public DstInfo DstInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当选择'指定库表'迁移的时候, 需要设置待迁移的源数据库表信息,用符合json数组格式的字符串描述, 如下所例。
|
||||
///
|
||||
/// 对于database-table两级结构的数据库:
|
||||
/// [{"Database":"db1","Table":["table1","table2"]},{"Database":"db2"}]
|
||||
/// 对于database-schema-table三级结构:
|
||||
/// [{"Database":"db1","Schema":"s1","Table":["table1","table2"]},{"Database":"db1","Schema":"s2","Table":["table1","table2"]},{"Database":"db2","Schema":"s1","Table":["table1","table2"]},{"Database":"db3"},{"Database":"db4","Schema":"s1"}]
|
||||
///
|
||||
/// 如果是'整个实例'的迁移模式,不需设置该字段
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseInfo")]
|
||||
public string DatabaseInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamObj(map, prefix + "MigrateOption.", this.MigrateOption);
|
||||
this.SetParamSimple(map, prefix + "SrcAccessType", this.SrcAccessType);
|
||||
this.SetParamObj(map, prefix + "SrcInfo.", this.SrcInfo);
|
||||
this.SetParamSimple(map, prefix + "DstAccessType", this.DstAccessType);
|
||||
this.SetParamObj(map, prefix + "DstInfo.", this.DstInfo);
|
||||
this.SetParamSimple(map, prefix + "DatabaseInfo", this.DatabaseInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifyMigrateJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeConsumeTimeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消费时间起点,也即是指定订阅数据的时间起点,时间格式如:Y-m-d h:m:s,取值范围为过去24小时之内
|
||||
/// </summary>
|
||||
[JsonProperty("ConsumeStartTime")]
|
||||
public string ConsumeStartTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "ConsumeStartTime", this.ConsumeStartTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeConsumeTimeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeNameRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的名称,长度限制为[1,60]
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeName")]
|
||||
public string SubscribeName{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "SubscribeName", this.SubscribeName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeNameResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeObjectsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅的类型,可选的值有:0 - 全实例订阅;1 - 数据订阅;2 - 结构订阅;3 - 数据订阅+结构订阅
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeObjectType")]
|
||||
public long? SubscribeObjectType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅的数据库表信息
|
||||
/// </summary>
|
||||
[JsonProperty("Objects")]
|
||||
public SubscribeObject[] Objects{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "SubscribeObjectType", this.SubscribeObjectType);
|
||||
this.SetParamArrayObj(map, prefix + "Objects.", this.Objects);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeObjectsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 异步任务的ID
|
||||
/// </summary>
|
||||
[JsonProperty("AsyncRequestId")]
|
||||
public string AsyncRequestId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "AsyncRequestId", this.AsyncRequestId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeVipVportRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定目的子网,如果传此参数,DstIp必须在目的子网内
|
||||
/// </summary>
|
||||
[JsonProperty("DstUniqSubnetId")]
|
||||
public string DstUniqSubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标IP,与DstPort至少传一个
|
||||
/// </summary>
|
||||
[JsonProperty("DstIp")]
|
||||
public string DstIp{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标PORT,支持范围为:[1025-65535]
|
||||
/// </summary>
|
||||
[JsonProperty("DstPort")]
|
||||
public long? DstPort{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "DstUniqSubnetId", this.DstUniqSubnetId);
|
||||
this.SetParamSimple(map, prefix + "DstIp", this.DstIp);
|
||||
this.SetParamSimple(map, prefix + "DstPort", this.DstPort);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySubscribeVipVportResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
66
TencentCloud/Dts/V20180330/Models/ModifySyncJobRequest.cs
Normal file
66
TencentCloud/Dts/V20180330/Models/ModifySyncJobRequest.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySyncJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 待修改的灾备同步任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务配置选项
|
||||
/// </summary>
|
||||
[JsonProperty("SyncOption")]
|
||||
public SyncOption SyncOption{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当选择'指定库表'灾备同步的时候, 需要设置待同步的源数据库表信息,用符合json数组格式的字符串描述, 如下所例。
|
||||
/// 对于database-table两级结构的数据库:
|
||||
/// [{"Database":"db1","Table":["table1","table2"]},{"Database":"db2"}]
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseInfo")]
|
||||
public string DatabaseInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamObj(map, prefix + "SyncOption.", this.SyncOption);
|
||||
this.SetParamSimple(map, prefix + "DatabaseInfo", this.DatabaseInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/ModifySyncJobResponse.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/ModifySyncJobResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifySyncJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class OfflineIsolatedSubscribeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class OfflineIsolatedSubscribeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/ResetSubscribeRequest.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/ResetSubscribeRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ResetSubscribeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/ResetSubscribeResponse.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/ResetSubscribeResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ResetSubscribeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
149
TencentCloud/Dts/V20180330/Models/SrcInfo.cs
Normal file
149
TencentCloud/Dts/V20180330/Models/SrcInfo.cs
Normal file
@@ -0,0 +1,149 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SrcInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 阿里云AccessKey。源库是阿里云RDS5.6适用
|
||||
/// </summary>
|
||||
[JsonProperty("AccessKey")]
|
||||
public string AccessKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的IP地址
|
||||
/// </summary>
|
||||
[JsonProperty("Ip")]
|
||||
public string Ip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的端口
|
||||
/// </summary>
|
||||
[JsonProperty("Port")]
|
||||
public long? Port{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的用户名
|
||||
/// </summary>
|
||||
[JsonProperty("User")]
|
||||
public string User{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的密码
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 阿里云RDS实例ID。源库是阿里云RDS5.6/5.6适用
|
||||
/// </summary>
|
||||
[JsonProperty("RdsInstanceId")]
|
||||
public string RdsInstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例短ID,格式如:ins-olgl39y8,与云服务器控制台页面显示的实例ID相同。如果是CVM自建实例,需要传递此字段
|
||||
/// </summary>
|
||||
[JsonProperty("CvmInstanceId")]
|
||||
public string CvmInstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 专线网关ID,格式如:dcg-0rxtqqxb
|
||||
/// </summary>
|
||||
[JsonProperty("UniqDcgId")]
|
||||
public string UniqDcgId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络ID,格式如:vpc-92jblxto
|
||||
/// </summary>
|
||||
[JsonProperty("VpcId")]
|
||||
public string VpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络下的子网ID,格式如:subnet-3paxmkdz
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// VPN网关ID,格式如:vpngw-9ghexg7q
|
||||
/// </summary>
|
||||
[JsonProperty("UniqVpnGwId")]
|
||||
public string UniqVpnGwId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库实例ID,格式如:cdb-powiqx8q
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地域英文名,如:ap-guangzhou
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当实例为RDS实例时,填写为aliyun, 其他情况均填写others
|
||||
/// </summary>
|
||||
[JsonProperty("Supplier")]
|
||||
public string Supplier{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云联网ID,如:ccn-afp6kltc
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CcnId")]
|
||||
public string CcnId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6
|
||||
/// </summary>
|
||||
[JsonProperty("EngineVersion")]
|
||||
public string EngineVersion{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "AccessKey", this.AccessKey);
|
||||
this.SetParamSimple(map, prefix + "Ip", this.Ip);
|
||||
this.SetParamSimple(map, prefix + "Port", this.Port);
|
||||
this.SetParamSimple(map, prefix + "User", this.User);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "RdsInstanceId", this.RdsInstanceId);
|
||||
this.SetParamSimple(map, prefix + "CvmInstanceId", this.CvmInstanceId);
|
||||
this.SetParamSimple(map, prefix + "UniqDcgId", this.UniqDcgId);
|
||||
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
||||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||||
this.SetParamSimple(map, prefix + "UniqVpnGwId", this.UniqVpnGwId);
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "Supplier", this.Supplier);
|
||||
this.SetParamSimple(map, prefix + "CcnId", this.CcnId);
|
||||
this.SetParamSimple(map, prefix + "EngineVersion", this.EngineVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/StartMigrateJobRequest.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/StartMigrateJobRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class StartMigrateJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/StartMigrateJobResponse.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/StartMigrateJobResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class StartMigrateJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/StartSyncJobRequest.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/StartSyncJobRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class StartSyncJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 灾备同步任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/StartSyncJobResponse.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/StartSyncJobResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class StartSyncJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/StopMigrateJobRequest.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/StopMigrateJobRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class StopMigrateJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据迁移任务ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Dts/V20180330/Models/StopMigrateJobResponse.cs
Normal file
43
TencentCloud/Dts/V20180330/Models/StopMigrateJobResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class StopMigrateJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
183
TencentCloud/Dts/V20180330/Models/SubscribeInfo.cs
Normal file
183
TencentCloud/Dts/V20180330/Models/SubscribeInfo.cs
Normal file
@@ -0,0 +1,183 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SubscribeInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅的实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeId")]
|
||||
public string SubscribeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的名称
|
||||
/// </summary>
|
||||
[JsonProperty("SubscribeName")]
|
||||
public string SubscribeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例绑定的通道ID
|
||||
/// </summary>
|
||||
[JsonProperty("ChannelId")]
|
||||
public string ChannelId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅绑定实例对应的产品名称
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例绑定的数据库实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例绑定的数据库实例状态
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceStatus")]
|
||||
public string InstanceStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的配置状态,unconfigure - 未配置, configuring - 配置中,configured - 已配置
|
||||
/// </summary>
|
||||
[JsonProperty("SubsStatus")]
|
||||
public string SubsStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上次修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModifyTime")]
|
||||
public string ModifyTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 隔离时间
|
||||
/// </summary>
|
||||
[JsonProperty("IsolateTime")]
|
||||
public string IsolateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 到期时间
|
||||
/// </summary>
|
||||
[JsonProperty("ExpireTime")]
|
||||
public string ExpireTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下线时间
|
||||
/// </summary>
|
||||
[JsonProperty("OfflineTime")]
|
||||
public string OfflineTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最近一次修改的消费时间起点,如果从未修改则为零值
|
||||
/// </summary>
|
||||
[JsonProperty("ConsumeStartTime")]
|
||||
public string ConsumeStartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例所属地域
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计费方式,0 - 包年包月,1 - 按量计费
|
||||
/// </summary>
|
||||
[JsonProperty("PayType")]
|
||||
public long? PayType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的Vip
|
||||
/// </summary>
|
||||
[JsonProperty("Vip")]
|
||||
public string Vip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的Vport
|
||||
/// </summary>
|
||||
[JsonProperty("Vport")]
|
||||
public long? Vport{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例Vip所在VPC的唯一ID
|
||||
/// </summary>
|
||||
[JsonProperty("UniqVpcId")]
|
||||
public string UniqVpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例Vip所在子网的唯一ID
|
||||
/// </summary>
|
||||
[JsonProperty("UniqSubnetId")]
|
||||
public string UniqSubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅实例的状态,creating - 创建中,normal - 正常运行,isolating - 隔离中,isolated - 已隔离,offlining - 下线中,offline - 已下线
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SDK最后一条确认消息的时间戳,如果SDK一直消费,也可以作为SDK当前消费时间点
|
||||
/// </summary>
|
||||
[JsonProperty("SdkConsumedTime")]
|
||||
public string SdkConsumedTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SubscribeId", this.SubscribeId);
|
||||
this.SetParamSimple(map, prefix + "SubscribeName", this.SubscribeName);
|
||||
this.SetParamSimple(map, prefix + "ChannelId", this.ChannelId);
|
||||
this.SetParamSimple(map, prefix + "Product", this.Product);
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "InstanceStatus", this.InstanceStatus);
|
||||
this.SetParamSimple(map, prefix + "SubsStatus", this.SubsStatus);
|
||||
this.SetParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "IsolateTime", this.IsolateTime);
|
||||
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
|
||||
this.SetParamSimple(map, prefix + "OfflineTime", this.OfflineTime);
|
||||
this.SetParamSimple(map, prefix + "ConsumeStartTime", this.ConsumeStartTime);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "PayType", this.PayType);
|
||||
this.SetParamSimple(map, prefix + "Vip", this.Vip);
|
||||
this.SetParamSimple(map, prefix + "Vport", this.Vport);
|
||||
this.SetParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
|
||||
this.SetParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "SdkConsumedTime", this.SdkConsumedTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
60
TencentCloud/Dts/V20180330/Models/SubscribeObject.cs
Normal file
60
TencentCloud/Dts/V20180330/Models/SubscribeObject.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SubscribeObject : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据订阅对象的类型,0-数据库,1-数据库内的表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ObjectsType")]
|
||||
public long? ObjectsType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅数据库的名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseName")]
|
||||
public string DatabaseName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订阅数据库中表名称数组
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TableNames")]
|
||||
public string[] TableNames{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ObjectsType", this.ObjectsType);
|
||||
this.SetParamSimple(map, prefix + "DatabaseName", this.DatabaseName);
|
||||
this.SetParamArraySimple(map, prefix + "TableNames.", this.TableNames);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
76
TencentCloud/Dts/V20180330/Models/SubscribeRegionConf.cs
Normal file
76
TencentCloud/Dts/V20180330/Models/SubscribeRegionConf.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SubscribeRegionConf : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 地域名称,如广州
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("RegionName")]
|
||||
public string RegionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地区标识,如ap-guangzhou
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地域名称,如华南地区
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Area")]
|
||||
public string Area{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否为默认地域,0 - 不是,1 - 是的
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("IsDefaultRegion")]
|
||||
public long? IsDefaultRegion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前地域的售卖情况,1 - 正常, 2-灰度,3 - 停售
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public long? Status{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RegionName", this.RegionName);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "Area", this.Area);
|
||||
this.SetParamSimple(map, prefix + "IsDefaultRegion", this.IsDefaultRegion);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Dts/V20180330/Models/SwitchDrToMasterRequest.cs
Normal file
50
TencentCloud/Dts/V20180330/Models/SwitchDrToMasterRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SwitchDrToMasterRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 灾备实例的信息
|
||||
/// </summary>
|
||||
[JsonProperty("DstInfo")]
|
||||
public SyncInstanceInfo DstInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库的类型 (如 mysql)
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseType")]
|
||||
public string DatabaseType{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "DstInfo.", this.DstInfo);
|
||||
this.SetParamSimple(map, prefix + "DatabaseType", this.DatabaseType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SwitchDrToMasterResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 后台异步任务请求id
|
||||
/// </summary>
|
||||
[JsonProperty("AsyncRequestId")]
|
||||
public string AsyncRequestId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "AsyncRequestId", this.AsyncRequestId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Dts/V20180330/Models/SyncCheckStepInfo.cs
Normal file
64
TencentCloud/Dts/V20180330/Models/SyncCheckStepInfo.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SyncCheckStepInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 步骤序列
|
||||
/// </summary>
|
||||
[JsonProperty("StepNo")]
|
||||
public ulong? StepNo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤展现名称
|
||||
/// </summary>
|
||||
[JsonProperty("StepName")]
|
||||
public string StepName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤执行结果代码
|
||||
/// </summary>
|
||||
[JsonProperty("StepCode")]
|
||||
public long? StepCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤执行结果提示
|
||||
/// </summary>
|
||||
[JsonProperty("StepMessage")]
|
||||
public string StepMessage{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StepNo", this.StepNo);
|
||||
this.SetParamSimple(map, prefix + "StepName", this.StepName);
|
||||
this.SetParamSimple(map, prefix + "StepCode", this.StepCode);
|
||||
this.SetParamSimple(map, prefix + "StepMessage", this.StepMessage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Dts/V20180330/Models/SyncDetailInfo.cs
Normal file
85
TencentCloud/Dts/V20180330/Models/SyncDetailInfo.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SyncDetailInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 总步骤数
|
||||
/// </summary>
|
||||
[JsonProperty("StepAll")]
|
||||
public long? StepAll{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前步骤
|
||||
/// </summary>
|
||||
[JsonProperty("StepNow")]
|
||||
public long? StepNow{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总进度
|
||||
/// </summary>
|
||||
[JsonProperty("Progress")]
|
||||
public string Progress{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前步骤进度
|
||||
/// </summary>
|
||||
[JsonProperty("CurrentStepProgress")]
|
||||
public string CurrentStepProgress{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主从差距,MB
|
||||
/// </summary>
|
||||
[JsonProperty("MasterSlaveDistance")]
|
||||
public long? MasterSlaveDistance{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主从差距,秒
|
||||
/// </summary>
|
||||
[JsonProperty("SecondsBehindMaster")]
|
||||
public long? SecondsBehindMaster{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤信息
|
||||
/// </summary>
|
||||
[JsonProperty("StepInfo")]
|
||||
public SyncStepDetailInfo[] StepInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StepAll", this.StepAll);
|
||||
this.SetParamSimple(map, prefix + "StepNow", this.StepNow);
|
||||
this.SetParamSimple(map, prefix + "Progress", this.Progress);
|
||||
this.SetParamSimple(map, prefix + "CurrentStepProgress", this.CurrentStepProgress);
|
||||
this.SetParamSimple(map, prefix + "MasterSlaveDistance", this.MasterSlaveDistance);
|
||||
this.SetParamSimple(map, prefix + "SecondsBehindMaster", this.SecondsBehindMaster);
|
||||
this.SetParamArrayObj(map, prefix + "StepInfo.", this.StepInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Dts/V20180330/Models/SyncInstanceInfo.cs
Normal file
50
TencentCloud/Dts/V20180330/Models/SyncInstanceInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SyncInstanceInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 地域英文名,如:ap-guangzhou
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例短ID
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
141
TencentCloud/Dts/V20180330/Models/SyncJobInfo.cs
Normal file
141
TencentCloud/Dts/V20180330/Models/SyncJobInfo.cs
Normal file
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SyncJobInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 灾备任务id
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备任务名
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务同步
|
||||
/// </summary>
|
||||
[JsonProperty("SyncOption")]
|
||||
public SyncOption SyncOption{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源接入类型
|
||||
/// </summary>
|
||||
[JsonProperty("SrcAccessType")]
|
||||
public string SrcAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源数据类型
|
||||
/// </summary>
|
||||
[JsonProperty("SrcDatabaseType")]
|
||||
public string SrcDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源实例信息
|
||||
/// </summary>
|
||||
[JsonProperty("SrcInfo")]
|
||||
public SyncInstanceInfo SrcInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备接入类型
|
||||
/// </summary>
|
||||
[JsonProperty("DstAccessType")]
|
||||
public string DstAccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备数据类型
|
||||
/// </summary>
|
||||
[JsonProperty("DstDatabaseType")]
|
||||
public string DstDatabaseType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 灾备实例信息
|
||||
/// </summary>
|
||||
[JsonProperty("DstInfo")]
|
||||
public SyncInstanceInfo DstInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务信息
|
||||
/// </summary>
|
||||
[JsonProperty("Detail")]
|
||||
public SyncDetailInfo Detail{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public long? Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 迁移库表
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseInfo")]
|
||||
public string DatabaseInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamObj(map, prefix + "SyncOption.", this.SyncOption);
|
||||
this.SetParamSimple(map, prefix + "SrcAccessType", this.SrcAccessType);
|
||||
this.SetParamSimple(map, prefix + "SrcDatabaseType", this.SrcDatabaseType);
|
||||
this.SetParamObj(map, prefix + "SrcInfo.", this.SrcInfo);
|
||||
this.SetParamSimple(map, prefix + "DstAccessType", this.DstAccessType);
|
||||
this.SetParamSimple(map, prefix + "DstDatabaseType", this.DstDatabaseType);
|
||||
this.SetParamObj(map, prefix + "DstInfo.", this.DstInfo);
|
||||
this.SetParamObj(map, prefix + "Detail.", this.Detail);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "DatabaseInfo", this.DatabaseInfo);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Dts/V20180330/Models/SyncOption.cs
Normal file
64
TencentCloud/Dts/V20180330/Models/SyncOption.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SyncOption : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 同步对象,1-整个实例,2-指定库表
|
||||
/// </summary>
|
||||
[JsonProperty("SyncObject")]
|
||||
public ulong? SyncObject{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同步开始设置,1-立即开始
|
||||
/// </summary>
|
||||
[JsonProperty("RunMode")]
|
||||
public ulong? RunMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同步模式, 3-全量且增量同步
|
||||
/// </summary>
|
||||
[JsonProperty("SyncType")]
|
||||
public ulong? SyncType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据一致性检测, 1-无需配置
|
||||
/// </summary>
|
||||
[JsonProperty("ConsistencyType")]
|
||||
public ulong? ConsistencyType{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "SyncObject", this.SyncObject);
|
||||
this.SetParamSimple(map, prefix + "RunMode", this.RunMode);
|
||||
this.SetParamSimple(map, prefix + "SyncType", this.SyncType);
|
||||
this.SetParamSimple(map, prefix + "ConsistencyType", this.ConsistencyType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Dts/V20180330/Models/SyncStepDetailInfo.cs
Normal file
64
TencentCloud/Dts/V20180330/Models/SyncStepDetailInfo.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Dts.V20180330.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class SyncStepDetailInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 步骤编号
|
||||
/// </summary>
|
||||
[JsonProperty("StepNo")]
|
||||
public ulong? StepNo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤名
|
||||
/// </summary>
|
||||
[JsonProperty("StepName")]
|
||||
public string StepName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 能否中止
|
||||
/// </summary>
|
||||
[JsonProperty("CanStop")]
|
||||
public long? CanStop{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 步骤号
|
||||
/// </summary>
|
||||
[JsonProperty("StepId")]
|
||||
public long? StepId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "StepNo", this.StepNo);
|
||||
this.SetParamSimple(map, prefix + "StepName", this.StepName);
|
||||
this.SetParamSimple(map, prefix + "CanStop", this.CanStop);
|
||||
this.SetParamSimple(map, prefix + "StepId", this.StepId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user