代码修改后的版本,全部提交
This commit is contained in:
50
TencentCloud/Cdb/V20170320/Models/Account.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/Account.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Account : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 新账户的名称
|
||||
/// </summary>
|
||||
[JsonProperty("User")]
|
||||
public string User{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新账户的域名
|
||||
/// </summary>
|
||||
[JsonProperty("Host")]
|
||||
public string Host{ 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 + "User", this.User);
|
||||
this.SetParamSimple(map, prefix + "Host", this.Host);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Cdb/V20170320/Models/AccountInfo.cs
Normal file
78
TencentCloud/Cdb/V20170320/Models/AccountInfo.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AccountInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 账号备注信息
|
||||
/// </summary>
|
||||
[JsonProperty("Notes")]
|
||||
public string Notes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账号的域名
|
||||
/// </summary>
|
||||
[JsonProperty("Host")]
|
||||
public string Host{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账号的名称
|
||||
/// </summary>
|
||||
[JsonProperty("User")]
|
||||
public string User{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账号信息修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModifyTime")]
|
||||
public string ModifyTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改密码的时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModifyPasswordTime")]
|
||||
public string ModifyPasswordTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账号的创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ 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 + "Notes", this.Notes);
|
||||
this.SetParamSimple(map, prefix + "Host", this.Host);
|
||||
this.SetParamSimple(map, prefix + "User", this.User);
|
||||
this.SetParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
|
||||
this.SetParamSimple(map, prefix + "ModifyPasswordTime", this.ModifyPasswordTime);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Cdb/V20170320/Models/AddTimeWindowRequest.cs
Normal file
92
TencentCloud/Cdb/V20170320/Models/AddTimeWindowRequest.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AddTimeWindowRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期一的可维护时间段,其中每一个时间段的格式形如:10:00-12:00;起始时间按半个小时对齐;最短半个小时,最长三个小时;最多设置两个时间段;下同。
|
||||
/// </summary>
|
||||
[JsonProperty("Monday")]
|
||||
public string[] Monday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期二的可维护时间窗口。
|
||||
/// </summary>
|
||||
[JsonProperty("Tuesday")]
|
||||
public string[] Tuesday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期三的可维护时间窗口。
|
||||
/// </summary>
|
||||
[JsonProperty("Wednesday")]
|
||||
public string[] Wednesday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期四的可维护时间窗口。
|
||||
/// </summary>
|
||||
[JsonProperty("Thursday")]
|
||||
public string[] Thursday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期五的可维护时间窗口。
|
||||
/// </summary>
|
||||
[JsonProperty("Friday")]
|
||||
public string[] Friday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期六的可维护时间窗口。
|
||||
/// </summary>
|
||||
[JsonProperty("Saturday")]
|
||||
public string[] Saturday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期日的可维护时间窗口。
|
||||
/// </summary>
|
||||
[JsonProperty("Sunday")]
|
||||
public string[] Sunday{ 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.SetParamArraySimple(map, prefix + "Monday.", this.Monday);
|
||||
this.SetParamArraySimple(map, prefix + "Tuesday.", this.Tuesday);
|
||||
this.SetParamArraySimple(map, prefix + "Wednesday.", this.Wednesday);
|
||||
this.SetParamArraySimple(map, prefix + "Thursday.", this.Thursday);
|
||||
this.SetParamArraySimple(map, prefix + "Friday.", this.Friday);
|
||||
this.SetParamArraySimple(map, prefix + "Saturday.", this.Saturday);
|
||||
this.SetParamArraySimple(map, prefix + "Sunday.", this.Sunday);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cdb/V20170320/Models/AddTimeWindowResponse.cs
Normal file
43
TencentCloud/Cdb/V20170320/Models/AddTimeWindowResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AddTimeWindowResponse : 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AssociateSecurityGroupsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 安全组 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("SecurityGroupId")]
|
||||
public string SecurityGroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID 列表,一个或者多个实例 ID 组成的数组。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIds")]
|
||||
public string[] InstanceIds{ 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 + "SecurityGroupId", this.SecurityGroupId);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AssociateSecurityGroupsResponse : 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Cdb/V20170320/Models/BackupConfig.cs
Normal file
64
TencentCloud/Cdb/V20170320/Models/BackupConfig.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BackupConfig : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 第二个从库复制方式,可能的返回值:async-异步,semisync-半同步
|
||||
/// </summary>
|
||||
[JsonProperty("ReplicationMode")]
|
||||
public string ReplicationMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第二个从库可用区的正式名称,如ap-shanghai-1
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第二个从库内网IP地址
|
||||
/// </summary>
|
||||
[JsonProperty("Vip")]
|
||||
public string Vip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第二个从库访问端口
|
||||
/// </summary>
|
||||
[JsonProperty("Vport")]
|
||||
public ulong? 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 + "ReplicationMode", this.ReplicationMode);
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "Vip", this.Vip);
|
||||
this.SetParamSimple(map, prefix + "Vport", this.Vport);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
127
TencentCloud/Cdb/V20170320/Models/BackupInfo.cs
Normal file
127
TencentCloud/Cdb/V20170320/Models/BackupInfo.cs
Normal file
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BackupInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 备份文件名
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份文件大小,单位:Byte
|
||||
/// </summary>
|
||||
[JsonProperty("Size")]
|
||||
public long? Size{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份快照时间,时间格式:2016-03-17 02:10:37
|
||||
/// </summary>
|
||||
[JsonProperty("Date")]
|
||||
public string Date{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内网下载地址
|
||||
/// </summary>
|
||||
[JsonProperty("IntranetUrl")]
|
||||
public string IntranetUrl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 外网下载地址
|
||||
/// </summary>
|
||||
[JsonProperty("InternetUrl")]
|
||||
public string InternetUrl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志具体类型。可能的值有 "logical": 逻辑冷备, "physical": 物理冷备。
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份子任务的ID,删除备份文件时使用
|
||||
/// </summary>
|
||||
[JsonProperty("BackupId")]
|
||||
public long? BackupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份任务状态。可能的值有 "SUCCESS": 备份成功, "FAILED": 备份失败, "RUNNING": 备份进行中。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份任务的完成时间
|
||||
/// </summary>
|
||||
[JsonProperty("FinishTime")]
|
||||
public string FinishTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// (该值将废弃,不建议使用)备份的创建者,可能的值:SYSTEM - 系统创建,Uin - 发起者Uin值。
|
||||
/// </summary>
|
||||
[JsonProperty("Creator")]
|
||||
public string Creator{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份任务的开始时间
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份方法。可能的值有 "full": 全量备份, "partial": 部分备份。
|
||||
/// </summary>
|
||||
[JsonProperty("Method")]
|
||||
public string Method{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份方式。可能的值有 "manual": 手动备份, "automatic": 自动备份。
|
||||
/// </summary>
|
||||
[JsonProperty("Way")]
|
||||
public string Way{ 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 + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Size", this.Size);
|
||||
this.SetParamSimple(map, prefix + "Date", this.Date);
|
||||
this.SetParamSimple(map, prefix + "IntranetUrl", this.IntranetUrl);
|
||||
this.SetParamSimple(map, prefix + "InternetUrl", this.InternetUrl);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "BackupId", this.BackupId);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "FinishTime", this.FinishTime);
|
||||
this.SetParamSimple(map, prefix + "Creator", this.Creator);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "Method", this.Method);
|
||||
this.SetParamSimple(map, prefix + "Way", this.Way);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/BackupItem.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/BackupItem.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BackupItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要备份的库名
|
||||
/// </summary>
|
||||
[JsonProperty("Db")]
|
||||
public string Db{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要备份的表名。 如果传该参数,表示备份该库中的指定表。如果不传该参数则备份该db库
|
||||
/// </summary>
|
||||
[JsonProperty("Table")]
|
||||
public string Table{ 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 + "Db", this.Db);
|
||||
this.SetParamSimple(map, prefix + "Table", this.Table);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
106
TencentCloud/Cdb/V20170320/Models/BackupSummaryItem.cs
Normal file
106
TencentCloud/Cdb/V20170320/Models/BackupSummaryItem.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BackupSummaryItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例自动数据备份的个数。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoBackupCount")]
|
||||
public long? AutoBackupCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例自动数据备份的容量。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoBackupVolume")]
|
||||
public long? AutoBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例手动数据备份的个数。
|
||||
/// </summary>
|
||||
[JsonProperty("ManualBackupCount")]
|
||||
public long? ManualBackupCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例手动数据备份的容量。
|
||||
/// </summary>
|
||||
[JsonProperty("ManualBackupVolume")]
|
||||
public long? ManualBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例总的数据备份(包含自动备份和手动备份)个数。
|
||||
/// </summary>
|
||||
[JsonProperty("DataBackupCount")]
|
||||
public long? DataBackupCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例总的数据备份容量。
|
||||
/// </summary>
|
||||
[JsonProperty("DataBackupVolume")]
|
||||
public long? DataBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例日志备份的个数。
|
||||
/// </summary>
|
||||
[JsonProperty("BinlogBackupCount")]
|
||||
public long? BinlogBackupCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例日志备份的容量。
|
||||
/// </summary>
|
||||
[JsonProperty("BinlogBackupVolume")]
|
||||
public long? BinlogBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 该实例的总备份(包含数据备份和日志备份)占用容量。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupVolume")]
|
||||
public long? BackupVolume{ 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 + "AutoBackupCount", this.AutoBackupCount);
|
||||
this.SetParamSimple(map, prefix + "AutoBackupVolume", this.AutoBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "ManualBackupCount", this.ManualBackupCount);
|
||||
this.SetParamSimple(map, prefix + "ManualBackupVolume", this.ManualBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "DataBackupCount", this.DataBackupCount);
|
||||
this.SetParamSimple(map, prefix + "DataBackupVolume", this.DataBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "BinlogBackupCount", this.BinlogBackupCount);
|
||||
this.SetParamSimple(map, prefix + "BinlogBackupVolume", this.BinlogBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "BackupVolume", this.BackupVolume);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BalanceRoGroupLoadRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// RO 组的 ID,格式如:cdbrg-c1nl9rpv。
|
||||
/// </summary>
|
||||
[JsonProperty("RoGroupId")]
|
||||
public string RoGroupId{ 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 + "RoGroupId", this.RoGroupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BalanceRoGroupLoadResponse : 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Cdb/V20170320/Models/BinlogInfo.cs
Normal file
92
TencentCloud/Cdb/V20170320/Models/BinlogInfo.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class BinlogInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// binlog 日志备份文件名
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份文件大小,单位:Byte
|
||||
/// </summary>
|
||||
[JsonProperty("Size")]
|
||||
public long? Size{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件存储时间,时间格式:2016-03-17 02:10:37
|
||||
/// </summary>
|
||||
[JsonProperty("Date")]
|
||||
public string Date{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内网下载地址
|
||||
/// </summary>
|
||||
[JsonProperty("IntranetUrl")]
|
||||
public string IntranetUrl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 外网下载地址
|
||||
/// </summary>
|
||||
[JsonProperty("InternetUrl")]
|
||||
public string InternetUrl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志具体类型,可能的值有:binlog - 二进制日志
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// binlog 文件起始时间
|
||||
/// </summary>
|
||||
[JsonProperty("BinlogStartTime")]
|
||||
public string BinlogStartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// binlog 文件截止时间
|
||||
/// </summary>
|
||||
[JsonProperty("BinlogFinishTime")]
|
||||
public string BinlogFinishTime{ 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 + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Size", this.Size);
|
||||
this.SetParamSimple(map, prefix + "Date", this.Date);
|
||||
this.SetParamSimple(map, prefix + "IntranetUrl", this.IntranetUrl);
|
||||
this.SetParamSimple(map, prefix + "InternetUrl", this.InternetUrl);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "BinlogStartTime", this.BinlogStartTime);
|
||||
this.SetParamSimple(map, prefix + "BinlogFinishTime", this.BinlogFinishTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cdb/V20170320/Models/CloseWanServiceRequest.cs
Normal file
43
TencentCloud/Cdb/V20170320/Models/CloseWanServiceRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CloseWanServiceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
||||
/// </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 + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/CloseWanServiceResponse.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/CloseWanServiceResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CloseWanServiceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 异步任务的请求 ID,可使用此 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/Cdb/V20170320/Models/ColumnPrivilege.cs
Normal file
64
TencentCloud/Cdb/V20170320/Models/ColumnPrivilege.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ColumnPrivilege : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据库名
|
||||
/// </summary>
|
||||
[JsonProperty("Database")]
|
||||
public string Database{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库表名
|
||||
/// </summary>
|
||||
[JsonProperty("Table")]
|
||||
public string Table{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库列名
|
||||
/// </summary>
|
||||
[JsonProperty("Column")]
|
||||
public string Column{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 权限信息
|
||||
/// </summary>
|
||||
[JsonProperty("Privileges")]
|
||||
public string[] Privileges{ 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 + "Database", this.Database);
|
||||
this.SetParamSimple(map, prefix + "Table", this.Table);
|
||||
this.SetParamSimple(map, prefix + "Column", this.Column);
|
||||
this.SetParamArraySimple(map, prefix + "Privileges.", this.Privileges);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Cdb/V20170320/Models/CommonTimeWindow.cs
Normal file
85
TencentCloud/Cdb/V20170320/Models/CommonTimeWindow.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CommonTimeWindow : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 周一的时间窗,格式如: 02:00-06:00
|
||||
/// </summary>
|
||||
[JsonProperty("Monday")]
|
||||
public string Monday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周二的时间窗,格式如: 02:00-06:00
|
||||
/// </summary>
|
||||
[JsonProperty("Tuesday")]
|
||||
public string Tuesday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周三的时间窗,格式如: 02:00-06:00
|
||||
/// </summary>
|
||||
[JsonProperty("Wednesday")]
|
||||
public string Wednesday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周四的时间窗,格式如: 02:00-06:00
|
||||
/// </summary>
|
||||
[JsonProperty("Thursday")]
|
||||
public string Thursday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周五的时间窗,格式如: 02:00-06:00
|
||||
/// </summary>
|
||||
[JsonProperty("Friday")]
|
||||
public string Friday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周六的时间窗,格式如: 02:00-06:00
|
||||
/// </summary>
|
||||
[JsonProperty("Saturday")]
|
||||
public string Saturday{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周日的时间窗,格式如: 02:00-06:00
|
||||
/// </summary>
|
||||
[JsonProperty("Sunday")]
|
||||
public string Sunday{ 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 + "Monday", this.Monday);
|
||||
this.SetParamSimple(map, prefix + "Tuesday", this.Tuesday);
|
||||
this.SetParamSimple(map, prefix + "Wednesday", this.Wednesday);
|
||||
this.SetParamSimple(map, prefix + "Thursday", this.Thursday);
|
||||
this.SetParamSimple(map, prefix + "Friday", this.Friday);
|
||||
this.SetParamSimple(map, prefix + "Saturday", this.Saturday);
|
||||
this.SetParamSimple(map, prefix + "Sunday", this.Sunday);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Cdb/V20170320/Models/CreateAccountsRequest.cs
Normal file
64
TencentCloud/Cdb/V20170320/Models/CreateAccountsRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateAccountsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云数据库账号。
|
||||
/// </summary>
|
||||
[JsonProperty("Accounts")]
|
||||
public Account[] Accounts{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新账户的密码。
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ 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.SetParamArrayObj(map, prefix + "Accounts.", this.Accounts);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/CreateAccountsResponse.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/CreateAccountsResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateAccountsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 异步任务的请求 ID,可使用此 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
58
TencentCloud/Cdb/V20170320/Models/CreateBackupRequest.cs
Normal file
58
TencentCloud/Cdb/V20170320/Models/CreateBackupRequest.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateBackupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标备份方法,可选的值:logical - 逻辑冷备,physical - 物理冷备。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupMethod")]
|
||||
public string BackupMethod{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要备份的库表信息,如果不设置该参数,则默认整实例备份。在 BackupMethod=logical 逻辑备份中才可设置该参数。指定的库表必须存在,否则可能导致备份失败。
|
||||
/// 例:如果需要备份 db1 库的 tb1、tb2 表 和 db2 库。则该参数设置为 [{"Db": "db1", "Table": "tb1"}, {"Db": "db1", "Table": "tb2"}, {"Db": "db2"} ]。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupDBTableList")]
|
||||
public BackupItem[] BackupDBTableList{ 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 + "BackupMethod", this.BackupMethod);
|
||||
this.SetParamArrayObj(map, prefix + "BackupDBTableList.", this.BackupDBTableList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/CreateBackupResponse.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/CreateBackupResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateBackupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 备份任务 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupId")]
|
||||
public ulong? BackupId{ 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 + "BackupId", this.BackupId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDBImportJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例的 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件名称。该文件是指用户已上传到腾讯云的文件。
|
||||
/// </summary>
|
||||
[JsonProperty("FileName")]
|
||||
public string FileName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云数据库的用户名。
|
||||
/// </summary>
|
||||
[JsonProperty("User")]
|
||||
public string User{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云数据库实例 User 账号的密码。
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导入的目标数据库名,不传表示不指定数据库。
|
||||
/// </summary>
|
||||
[JsonProperty("DbName")]
|
||||
public string DbName{ 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 + "FileName", this.FileName);
|
||||
this.SetParamSimple(map, prefix + "User", this.User);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "DbName", this.DbName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDBImportJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 异步任务的请求 ID,可使用此 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
218
TencentCloud/Cdb/V20170320/Models/CreateDBInstanceHourRequest.cs
Normal file
218
TencentCloud/Cdb/V20170320/Models/CreateDBInstanceHourRequest.cs
Normal file
@@ -0,0 +1,218 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDBInstanceHourRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例数量,默认值为 1,最小值 1,最大值为 100。
|
||||
/// </summary>
|
||||
[JsonProperty("GoodsNum")]
|
||||
public long? GoodsNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例内存大小,单位:MB,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的内存规格。
|
||||
/// </summary>
|
||||
[JsonProperty("Memory")]
|
||||
public long? Memory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例硬盘大小,单位:GB,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的硬盘范围。
|
||||
/// </summary>
|
||||
[JsonProperty("Volume")]
|
||||
public long? Volume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// MySQL 版本,值包括:5.5、5.6 和 5.7,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的实例版本。
|
||||
/// </summary>
|
||||
[JsonProperty("EngineVersion")]
|
||||
public string EngineVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络 ID,如果不传则默认选择基础网络,请使用 [查询私有网络列表](/document/api/215/15778) 。
|
||||
/// </summary>
|
||||
[JsonProperty("UniqVpcId")]
|
||||
public string UniqVpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用[查询子网列表](/document/api/215/15784)。
|
||||
/// </summary>
|
||||
[JsonProperty("UniqSubnetId")]
|
||||
public string UniqSubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目 ID,不填为默认项目。请使用 [查询项目列表](https://cloud.tencent.com/document/product/378/4400) 接口获取项目 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("ProjectId")]
|
||||
public long? ProjectId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区信息,该参数缺省时,系统会自动选择一个可用区,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的可用区。
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,购买只读实例或者灾备实例时必填,该字段表示只读实例或者灾备实例的主实例 ID,请使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询云数据库实例 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("MasterInstanceId")]
|
||||
public string MasterInstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例类型,默认为 master,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceRole")]
|
||||
public string InstanceRole{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主实例的可用区信息,购买灾备实例时必填。
|
||||
/// </summary>
|
||||
[JsonProperty("MasterRegion")]
|
||||
public string MasterRegion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义端口,端口支持范围:[ 1024-65535 ] 。
|
||||
/// </summary>
|
||||
[JsonProperty("Port")]
|
||||
public long? Port{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设置 root 帐号密码,密码规则:8 - 64 个字符,至少包含字母、数字、字符(支持的字符:_+-&=!@#$%^*())中的两种,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数列表,参数格式如 ParamList.0.Name=auto_increment&ParamList.0.Value=1。可通过 [查询默认的可设置参数列表](https://cloud.tencent.com/document/api/236/32662) 查询支持设置的参数。
|
||||
/// </summary>
|
||||
[JsonProperty("ParamList")]
|
||||
public ParamInfo[] ParamList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("ProtectMode")]
|
||||
public long? ProtectMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多可用区域,默认为 0,支持值包括:0 - 表示单可用区,1 - 表示多可用区,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployMode")]
|
||||
public long? DeployMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备库 1 的可用区信息,默认为 Zone 的值,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("SlaveZone")]
|
||||
public string SlaveZone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备库 2 的可用区信息,默认为空,购买强同步主实例时可指定该参数,购买其他类型实例时指定该参数无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupZone")]
|
||||
public string BackupZone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 安全组参数,可使用 [查询项目安全组信息](https://cloud.tencent.com/document/api/236/15850) 接口查询某个项目的安全组详情。
|
||||
/// </summary>
|
||||
[JsonProperty("SecurityGroup")]
|
||||
public string[] SecurityGroup{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 只读实例信息。购买只读实例时,该参数必传。
|
||||
/// </summary>
|
||||
[JsonProperty("RoGroup")]
|
||||
public RoGroup RoGroup{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 购买按量计费实例该字段无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoRenewFlag")]
|
||||
public long? AutoRenewFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例名称。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceName")]
|
||||
public string InstanceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例标签信息。
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceTags")]
|
||||
public TagInfo[] ResourceTags{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupId")]
|
||||
public string DeployGroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在当天内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
||||
/// </summary>
|
||||
[JsonProperty("ClientToken")]
|
||||
public string ClientToken{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例类型。支持值包括: "HA" - 高可用版实例, "BASIC" - 基础版实例。 不指定则默认为高可用版。
|
||||
/// </summary>
|
||||
[JsonProperty("DeviceType")]
|
||||
public string DeviceType{ 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 + "GoodsNum", this.GoodsNum);
|
||||
this.SetParamSimple(map, prefix + "Memory", this.Memory);
|
||||
this.SetParamSimple(map, prefix + "Volume", this.Volume);
|
||||
this.SetParamSimple(map, prefix + "EngineVersion", this.EngineVersion);
|
||||
this.SetParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
|
||||
this.SetParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
|
||||
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "MasterInstanceId", this.MasterInstanceId);
|
||||
this.SetParamSimple(map, prefix + "InstanceRole", this.InstanceRole);
|
||||
this.SetParamSimple(map, prefix + "MasterRegion", this.MasterRegion);
|
||||
this.SetParamSimple(map, prefix + "Port", this.Port);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamArrayObj(map, prefix + "ParamList.", this.ParamList);
|
||||
this.SetParamSimple(map, prefix + "ProtectMode", this.ProtectMode);
|
||||
this.SetParamSimple(map, prefix + "DeployMode", this.DeployMode);
|
||||
this.SetParamSimple(map, prefix + "SlaveZone", this.SlaveZone);
|
||||
this.SetParamSimple(map, prefix + "BackupZone", this.BackupZone);
|
||||
this.SetParamArraySimple(map, prefix + "SecurityGroup.", this.SecurityGroup);
|
||||
this.SetParamObj(map, prefix + "RoGroup.", this.RoGroup);
|
||||
this.SetParamSimple(map, prefix + "AutoRenewFlag", this.AutoRenewFlag);
|
||||
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
|
||||
this.SetParamArrayObj(map, prefix + "ResourceTags.", this.ResourceTags);
|
||||
this.SetParamSimple(map, prefix + "DeployGroupId", this.DeployGroupId);
|
||||
this.SetParamSimple(map, prefix + "ClientToken", this.ClientToken);
|
||||
this.SetParamSimple(map, prefix + "DeviceType", this.DeviceType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDBInstanceHourResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 短订单 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("DealIds")]
|
||||
public string[] DealIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID 列表。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIds")]
|
||||
public string[] InstanceIds{ 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 + "DealIds.", this.DealIds);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
225
TencentCloud/Cdb/V20170320/Models/CreateDBInstanceRequest.cs
Normal file
225
TencentCloud/Cdb/V20170320/Models/CreateDBInstanceRequest.cs
Normal file
@@ -0,0 +1,225 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDBInstanceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例内存大小,单位:MB,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的内存规格。
|
||||
/// </summary>
|
||||
[JsonProperty("Memory")]
|
||||
public long? Memory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例硬盘大小,单位:GB,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的硬盘范围。
|
||||
/// </summary>
|
||||
[JsonProperty("Volume")]
|
||||
public long? Volume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
||||
/// </summary>
|
||||
[JsonProperty("Period")]
|
||||
public long? Period{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例数量,默认值为1, 最小值1,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("GoodsNum")]
|
||||
public long? GoodsNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区信息,该参数缺省时,系统会自动选择一个可用区,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的可用区。
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络 ID,如果不传则默认选择基础网络,请使用 [查询私有网络列表](/document/api/215/15778) 。
|
||||
/// </summary>
|
||||
[JsonProperty("UniqVpcId")]
|
||||
public string UniqVpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用 [查询子网列表](/document/api/215/15784)。
|
||||
/// </summary>
|
||||
[JsonProperty("UniqSubnetId")]
|
||||
public string UniqSubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目 ID,不填为默认项目。请使用 [查询项目列表](https://cloud.tencent.com/document/product/378/4400) 接口获取项目 ID。购买只读实例和灾备实例时,项目 ID 默认和主实例保持一致。
|
||||
/// </summary>
|
||||
[JsonProperty("ProjectId")]
|
||||
public long? ProjectId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义端口,端口支持范围:[ 1024-65535 ]。
|
||||
/// </summary>
|
||||
[JsonProperty("Port")]
|
||||
public long? Port{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例类型,默认为 master,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceRole")]
|
||||
public string InstanceRole{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,购买只读实例时必填,该字段表示只读实例的主实例ID,请使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询云数据库实例 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("MasterInstanceId")]
|
||||
public string MasterInstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// MySQL 版本,值包括:5.5、5.6 和 5.7,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/api/236/17229) 接口获取可创建的实例版本。
|
||||
/// </summary>
|
||||
[JsonProperty("EngineVersion")]
|
||||
public string EngineVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设置 root 帐号密码,密码规则:8 - 64 个字符,至少包含字母、数字、字符(支持的字符:_+-&=!@#$%^*())中的两种,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
||||
/// </summary>
|
||||
[JsonProperty("ProtectMode")]
|
||||
public long? ProtectMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 多可用区域,默认为 0,支持值包括:0 - 表示单可用区,1 - 表示多可用区。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployMode")]
|
||||
public long? DeployMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备库 1 的可用区信息,默认为 Zone 的值。
|
||||
/// </summary>
|
||||
[JsonProperty("SlaveZone")]
|
||||
public string SlaveZone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数列表,参数格式如 ParamList.0.Name=auto_increment&ParamList.0.Value=1。可通过 [查询默认的可设置参数列表](https://cloud.tencent.com/document/api/236/32662) 查询支持设置的参数。
|
||||
/// </summary>
|
||||
[JsonProperty("ParamList")]
|
||||
public ParamInfo[] ParamList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备库 2 的可用区信息,默认为空,购买强同步主实例时可指定该参数,购买其他类型实例时指定该参数无意义。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupZone")]
|
||||
public string BackupZone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自动续费标记,可选值为:0 - 不自动续费;1 - 自动续费。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoRenewFlag")]
|
||||
public long? AutoRenewFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主实例地域信息,购买灾备实例时,该字段必填。
|
||||
/// </summary>
|
||||
[JsonProperty("MasterRegion")]
|
||||
public string MasterRegion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 安全组参数,可使用 [查询项目安全组信息](https://cloud.tencent.com/document/api/236/15850) 接口查询某个项目的安全组详情。
|
||||
/// </summary>
|
||||
[JsonProperty("SecurityGroup")]
|
||||
public string[] SecurityGroup{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 只读实例参数。购买只读实例时,该参数必传。
|
||||
/// </summary>
|
||||
[JsonProperty("RoGroup")]
|
||||
public RoGroup RoGroup{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例名称。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceName")]
|
||||
public string InstanceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例标签信息。
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceTags")]
|
||||
public TagInfo[] ResourceTags{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupId")]
|
||||
public string DeployGroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在当天内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
||||
/// </summary>
|
||||
[JsonProperty("ClientToken")]
|
||||
public string ClientToken{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例类型。支持值包括: "HA" - 高可用版实例, "BASIC" - 基础版实例。 不指定则默认为高可用版。
|
||||
/// </summary>
|
||||
[JsonProperty("DeviceType")]
|
||||
public string DeviceType{ 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 + "Memory", this.Memory);
|
||||
this.SetParamSimple(map, prefix + "Volume", this.Volume);
|
||||
this.SetParamSimple(map, prefix + "Period", this.Period);
|
||||
this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum);
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
|
||||
this.SetParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
|
||||
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
|
||||
this.SetParamSimple(map, prefix + "Port", this.Port);
|
||||
this.SetParamSimple(map, prefix + "InstanceRole", this.InstanceRole);
|
||||
this.SetParamSimple(map, prefix + "MasterInstanceId", this.MasterInstanceId);
|
||||
this.SetParamSimple(map, prefix + "EngineVersion", this.EngineVersion);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "ProtectMode", this.ProtectMode);
|
||||
this.SetParamSimple(map, prefix + "DeployMode", this.DeployMode);
|
||||
this.SetParamSimple(map, prefix + "SlaveZone", this.SlaveZone);
|
||||
this.SetParamArrayObj(map, prefix + "ParamList.", this.ParamList);
|
||||
this.SetParamSimple(map, prefix + "BackupZone", this.BackupZone);
|
||||
this.SetParamSimple(map, prefix + "AutoRenewFlag", this.AutoRenewFlag);
|
||||
this.SetParamSimple(map, prefix + "MasterRegion", this.MasterRegion);
|
||||
this.SetParamArraySimple(map, prefix + "SecurityGroup.", this.SecurityGroup);
|
||||
this.SetParamObj(map, prefix + "RoGroup.", this.RoGroup);
|
||||
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
|
||||
this.SetParamArrayObj(map, prefix + "ResourceTags.", this.ResourceTags);
|
||||
this.SetParamSimple(map, prefix + "DeployGroupId", this.DeployGroupId);
|
||||
this.SetParamSimple(map, prefix + "ClientToken", this.ClientToken);
|
||||
this.SetParamSimple(map, prefix + "DeviceType", this.DeviceType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDBInstanceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 短订单 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("DealIds")]
|
||||
public string[] DealIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID 列表。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIds")]
|
||||
public string[] InstanceIds{ 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 + "DealIds.", this.DealIds);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDeployGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组名称,最长不能超过60个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupName")]
|
||||
public string DeployGroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组描述,最长不能超过200个字符。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组的亲和性策略,目前仅支持取值为1,策略1表示同台物理机上限制实例的个数。
|
||||
/// </summary>
|
||||
[JsonProperty("Affinity")]
|
||||
public long?[] Affinity{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组亲和性策略1中同台物理机上实例的限制个数。
|
||||
/// </summary>
|
||||
[JsonProperty("LimitNum")]
|
||||
public long? LimitNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组机型属性,可选参数:SH12+SH02、TS85。
|
||||
/// </summary>
|
||||
[JsonProperty("DevClass")]
|
||||
public string[] DevClass{ 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 + "DeployGroupName", this.DeployGroupName);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamArraySimple(map, prefix + "Affinity.", this.Affinity);
|
||||
this.SetParamSimple(map, prefix + "LimitNum", this.LimitNum);
|
||||
this.SetParamArraySimple(map, prefix + "DevClass.", this.DevClass);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateDeployGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组ID。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupId")]
|
||||
public string DeployGroupId{ 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 + "DeployGroupId", this.DeployGroupId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateParamTemplateRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 参数模板名称。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数模板描述。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// MySQL 版本号。
|
||||
/// </summary>
|
||||
[JsonProperty("EngineVersion")]
|
||||
public string EngineVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源参数模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("TemplateId")]
|
||||
public long? TemplateId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数列表。
|
||||
/// </summary>
|
||||
[JsonProperty("ParamList")]
|
||||
public Parameter[] ParamList{ 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 + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "EngineVersion", this.EngineVersion);
|
||||
this.SetParamSimple(map, prefix + "TemplateId", this.TemplateId);
|
||||
this.SetParamArrayObj(map, prefix + "ParamList.", this.ParamList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateParamTemplateResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 参数模板 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("TemplateId")]
|
||||
public long? TemplateId{ 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 + "TemplateId", this.TemplateId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/DBSwitchInfo.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/DBSwitchInfo.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DBSwitchInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 切换时间,格式为:2017-09-03 01:34:31
|
||||
/// </summary>
|
||||
[JsonProperty("SwitchTime")]
|
||||
public string SwitchTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 切换类型,可能的返回值为:TRANSFER - 数据迁移;MASTER2SLAVE - 主备切换;RECOVERY - 主从恢复
|
||||
/// </summary>
|
||||
[JsonProperty("SwitchType")]
|
||||
public string SwitchType{ 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 + "SwitchTime", this.SwitchTime);
|
||||
this.SetParamSimple(map, prefix + "SwitchType", this.SwitchType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cdb/V20170320/Models/DatabaseNameInfo.cs
Normal file
43
TencentCloud/Cdb/V20170320/Models/DatabaseNameInfo.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DatabaseNameInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据库表名
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseName")]
|
||||
public string DatabaseName{ 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 + "DatabaseName", this.DatabaseName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/DatabasePrivilege.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/DatabasePrivilege.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DatabasePrivilege : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 权限信息
|
||||
/// </summary>
|
||||
[JsonProperty("Privileges")]
|
||||
public string[] Privileges{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库名
|
||||
/// </summary>
|
||||
[JsonProperty("Database")]
|
||||
public string Database{ 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 + "Privileges.", this.Privileges);
|
||||
this.SetParamSimple(map, prefix + "Database", this.Database);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/DeleteAccountsRequest.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/DeleteAccountsRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteAccountsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云数据库账号。
|
||||
/// </summary>
|
||||
[JsonProperty("Accounts")]
|
||||
public Account[] Accounts{ 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.SetParamArrayObj(map, prefix + "Accounts.", this.Accounts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/DeleteAccountsResponse.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/DeleteAccountsResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteAccountsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 异步任务的请求 ID,可使用此 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Cdb/V20170320/Models/DeleteBackupRequest.cs
Normal file
50
TencentCloud/Cdb/V20170320/Models/DeleteBackupRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteBackupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份任务 ID。该任务 ID 为 [创建云数据库备份](https://cloud.tencent.com/document/api/236/15844) 接口返回的任务 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupId")]
|
||||
public long? BackupId{ 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 + "BackupId", this.BackupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Cdb/V20170320/Models/DeleteBackupResponse.cs
Normal file
43
TencentCloud/Cdb/V20170320/Models/DeleteBackupResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteBackupResponse : 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteDeployGroupsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 要删除的置放群组 ID 列表。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupIds")]
|
||||
public string[] DeployGroupIds{ 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 + "DeployGroupIds.", this.DeployGroupIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteDeployGroupsResponse : 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteParamTemplateRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 参数模板ID。
|
||||
/// </summary>
|
||||
[JsonProperty("TemplateId")]
|
||||
public long? TemplateId{ 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 + "TemplateId", this.TemplateId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteParamTemplateResponse : 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/Cdb/V20170320/Models/DeleteTimeWindowRequest.cs
Normal file
43
TencentCloud/Cdb/V20170320/Models/DeleteTimeWindowRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteTimeWindowRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 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 + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteTimeWindowResponse : 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
95
TencentCloud/Cdb/V20170320/Models/DeployGroupInfo.cs
Normal file
95
TencentCloud/Cdb/V20170320/Models/DeployGroupInfo.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeployGroupInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupId")]
|
||||
public string DeployGroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组名称。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupName")]
|
||||
public string DeployGroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组实例配额,表示一个置放群组中可容纳的最大实例数目。
|
||||
/// </summary>
|
||||
[JsonProperty("Quota")]
|
||||
public long? Quota{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组亲和性策略,目前仅支持策略1,即在物理机纬度打散实例的分布。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Affinity")]
|
||||
public string Affinity{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组亲和性策略1中,同台物理机上同个置放群组实例的限制个数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("LimitNum")]
|
||||
public long? LimitNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组详细信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组物理机型属性。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DevClass")]
|
||||
public string DevClass{ 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 + "DeployGroupId", this.DeployGroupId);
|
||||
this.SetParamSimple(map, prefix + "DeployGroupName", this.DeployGroupName);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "Quota", this.Quota);
|
||||
this.SetParamSimple(map, prefix + "Affinity", this.Affinity);
|
||||
this.SetParamSimple(map, prefix + "LimitNum", this.LimitNum);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "DevClass", this.DevClass);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAccountPrivilegesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库的账号名称。
|
||||
/// </summary>
|
||||
[JsonProperty("User")]
|
||||
public string User{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库的账号域名。
|
||||
/// </summary>
|
||||
[JsonProperty("Host")]
|
||||
public string Host{ 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 + "User", this.User);
|
||||
this.SetParamSimple(map, prefix + "Host", this.Host);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAccountPrivilegesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 全局权限数组。
|
||||
/// </summary>
|
||||
[JsonProperty("GlobalPrivileges")]
|
||||
public string[] GlobalPrivileges{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库权限数组。
|
||||
/// </summary>
|
||||
[JsonProperty("DatabasePrivileges")]
|
||||
public DatabasePrivilege[] DatabasePrivileges{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库中的表权限数组。
|
||||
/// </summary>
|
||||
[JsonProperty("TablePrivileges")]
|
||||
public TablePrivilege[] TablePrivileges{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库表中的列权限数组。
|
||||
/// </summary>
|
||||
[JsonProperty("ColumnPrivileges")]
|
||||
public ColumnPrivilege[] ColumnPrivileges{ 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 + "GlobalPrivileges.", this.GlobalPrivileges);
|
||||
this.SetParamArrayObj(map, prefix + "DatabasePrivileges.", this.DatabasePrivileges);
|
||||
this.SetParamArrayObj(map, prefix + "TablePrivileges.", this.TablePrivileges);
|
||||
this.SetParamArrayObj(map, prefix + "ColumnPrivileges.", this.ColumnPrivileges);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Cdb/V20170320/Models/DescribeAccountsRequest.cs
Normal file
64
TencentCloud/Cdb/V20170320/Models/DescribeAccountsRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAccountsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 记录偏移量,默认值为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单次请求返回的数量,默认值为20,最小值为1,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 匹配账号名的正则表达式,规则同 MySQL 官网。
|
||||
/// </summary>
|
||||
[JsonProperty("AccountRegexp")]
|
||||
public string AccountRegexp{ 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 + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "AccountRegexp", this.AccountRegexp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAccountsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的账号数量。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的账号详细信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public AccountInfo[] 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.Cdb.V20170320.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,59 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAsyncRequestInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务执行结果。可能的取值:INITIAL - 初始化,RUNNING - 运行中,SUCCESS - 执行成功,FAILED - 执行失败,KILLED - 已终止,REMOVED - 已删除,PAUSED - 终止中。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务执行信息描述。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Info")]
|
||||
public string Info{ 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 + "Info", this.Info);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupConfigRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 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 + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自动备份开始的最早时间点,单位为时刻。例如,2 - 凌晨 2:00。(该字段已废弃,建议使用 BackupTimeWindow 字段)
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeMin")]
|
||||
public long? StartTimeMin{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自动备份开始的最晚时间点,单位为时刻。例如,6 - 凌晨 6:00。(该字段已废弃,建议使用 BackupTimeWindow 字段)
|
||||
/// </summary>
|
||||
[JsonProperty("StartTimeMax")]
|
||||
public long? StartTimeMax{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份文件保留时间,单位为天。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupExpireDays")]
|
||||
public long? BackupExpireDays{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备份方式,可能的值为:physical - 物理备份,logical - 逻辑备份。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupMethod")]
|
||||
public string BackupMethod{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Binlog 文件保留时间,单位为天。
|
||||
/// </summary>
|
||||
[JsonProperty("BinlogExpireDays")]
|
||||
public long? BinlogExpireDays{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例自动备份的时间窗。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupTimeWindow")]
|
||||
public CommonTimeWindow BackupTimeWindow{ 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 + "StartTimeMin", this.StartTimeMin);
|
||||
this.SetParamSimple(map, prefix + "StartTimeMax", this.StartTimeMax);
|
||||
this.SetParamSimple(map, prefix + "BackupExpireDays", this.BackupExpireDays);
|
||||
this.SetParamSimple(map, prefix + "BackupMethod", this.BackupMethod);
|
||||
this.SetParamSimple(map, prefix + "BinlogExpireDays", this.BinlogExpireDays);
|
||||
this.SetParamObj(map, prefix + "BackupTimeWindow.", this.BackupTimeWindow);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupDatabasesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间,格式为:2017-07-12 10:29:20。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要查询的数据库名前缀。
|
||||
/// </summary>
|
||||
[JsonProperty("SearchDatabase")]
|
||||
public string SearchDatabase{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页偏移量。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页大小,最小值为1,最大值为2000。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? 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 + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "SearchDatabase", this.SearchDatabase);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupDatabasesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 返回的数据个数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的数据库数组。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public DatabaseNameInfo[] 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupOverviewRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要查询的云数据库产品类型,目前仅支持 "mysql"。
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupOverviewResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 用户在当前地域备份的总个数(包含数据备份和日志备份)。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupCount")]
|
||||
public long? BackupCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户在当前地域备份的总容量
|
||||
/// </summary>
|
||||
[JsonProperty("BackupVolume")]
|
||||
public long? BackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户在当前地域备份的计费容量,即超出赠送容量的部分。
|
||||
/// </summary>
|
||||
[JsonProperty("BillingVolume")]
|
||||
public long? BillingVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户在当前地域获得的赠送备份容量。
|
||||
/// </summary>
|
||||
[JsonProperty("FreeVolume")]
|
||||
public long? FreeVolume{ 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 + "BackupCount", this.BackupCount);
|
||||
this.SetParamSimple(map, prefix + "BackupVolume", this.BackupVolume);
|
||||
this.SetParamSimple(map, prefix + "BillingVolume", this.BillingVolume);
|
||||
this.SetParamSimple(map, prefix + "FreeVolume", this.FreeVolume);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupSummariesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要查询的云数据库产品类型,目前仅支持 "mysql"。
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询数据的偏移量。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询数据的条目限制,默认值为20。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定排序方向,可选值包括: 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 + "Product", this.Product);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupSummariesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例备份统计条目。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public BackupSummaryItem[] Items{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例备份统计总条目数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ 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.SetParamArrayObj(map, prefix + "Items.", this.Items);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupTablesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例ID相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间,格式为:2017-07-12 10:29:20。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定的数据库名。
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseName")]
|
||||
public string DatabaseName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要查询的数据表名前缀。
|
||||
/// </summary>
|
||||
[JsonProperty("SearchTable")]
|
||||
public string SearchTable{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页偏移。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页大小,最小值为1,最大值为2000。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? 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 + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "DatabaseName", this.DatabaseName);
|
||||
this.SetParamSimple(map, prefix + "SearchTable", this.SearchTable);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupTablesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 返回的数据个数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 符合条件的数据表数组。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public TableNameInfo[] 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Cdb/V20170320/Models/DescribeBackupsRequest.cs
Normal file
57
TencentCloud/Cdb/V20170320/Models/DescribeBackupsRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,最小值为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页大小,默认值为20,最小值为1,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? 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 + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Cdb/V20170320/Models/DescribeBackupsResponse.cs
Normal file
57
TencentCloud/Cdb/V20170320/Models/DescribeBackupsResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBackupsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的实例总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的备份信息详情。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public BackupInfo[] 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBinlogBackupOverviewRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要查询的云数据库产品类型,目前仅支持 "mysql"。
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBinlogBackupOverviewResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 总的日志备份容量(单位为字节)。
|
||||
/// </summary>
|
||||
[JsonProperty("BinlogBackupVolume")]
|
||||
public long? BinlogBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总的日志备份个数。
|
||||
/// </summary>
|
||||
[JsonProperty("BinlogBackupCount")]
|
||||
public long? BinlogBackupCount{ 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 + "BinlogBackupVolume", this.BinlogBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "BinlogBackupCount", this.BinlogBackupCount);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Cdb/V20170320/Models/DescribeBinlogsRequest.cs
Normal file
57
TencentCloud/Cdb/V20170320/Models/DescribeBinlogsRequest.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBinlogsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,最小值为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页大小,默认值为20,最小值为1,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? 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 + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Cdb/V20170320/Models/DescribeBinlogsResponse.cs
Normal file
57
TencentCloud/Cdb/V20170320/Models/DescribeBinlogsResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeBinlogsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的日志文件总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的二进制日志文件详情。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public BinlogInfo[] 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,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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBImportRecordsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间,时间格式如:2016-01-01 00:00:01。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间,时间格式如:2016-01-01 23:59:59。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页参数,偏移量,默认值为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页参数,单次请求返回的数量,默认值为20,最小值为1,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? 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 + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBImportRecordsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的导入任务操作日志总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回的导入操作记录列表。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public ImportRecord[] 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceCharsetRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
||||
/// </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 + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceCharsetResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例的默认字符集,如 "latin1","utf8" 等。
|
||||
/// </summary>
|
||||
[JsonProperty("Charset")]
|
||||
public string Charset{ 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 + "Charset", this.Charset);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceConfigRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 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 + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 主实例数据保护方式,可能的返回值:0 - 异步复制方式,1 - 半同步复制方式,2 - 强同步复制方式。
|
||||
/// </summary>
|
||||
[JsonProperty("ProtectMode")]
|
||||
public long? ProtectMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主实例部署方式,可能的返回值:0 - 单可用部署,1 - 多可用区部署。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployMode")]
|
||||
public long? DeployMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例可用区信息,格式如 "ap-shanghai-1"。
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备库的配置信息。
|
||||
/// </summary>
|
||||
[JsonProperty("SlaveConfig")]
|
||||
public SlaveConfig SlaveConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 强同步实例第二备库的配置信息。
|
||||
/// </summary>
|
||||
[JsonProperty("BackupConfig")]
|
||||
public BackupConfig BackupConfig{ 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 + "ProtectMode", this.ProtectMode);
|
||||
this.SetParamSimple(map, prefix + "DeployMode", this.DeployMode);
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamObj(map, prefix + "SlaveConfig.", this.SlaveConfig);
|
||||
this.SetParamObj(map, prefix + "BackupConfig.", this.BackupConfig);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceGTIDRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
||||
/// </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 + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceGTIDResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// GTID 是否开通的标记,可能的取值为:0 - 未开通,1 - 已开通。
|
||||
/// </summary>
|
||||
[JsonProperty("IsGTIDOpen")]
|
||||
public long? IsGTIDOpen{ 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 + "IsGTIDOpen", this.IsGTIDOpen);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceRebootTimeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例的 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIds")]
|
||||
public string[] InstanceIds{ 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 + "InstanceIds.", this.InstanceIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstanceRebootTimeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的实例总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回的参数信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public InstanceRebootTime[] 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
218
TencentCloud/Cdb/V20170320/Models/DescribeDBInstancesRequest.cs
Normal file
218
TencentCloud/Cdb/V20170320/Models/DescribeDBInstancesRequest.cs
Normal file
@@ -0,0 +1,218 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstancesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 项目 ID,可使用 [查询项目列表](https://cloud.tencent.com/document/product/378/4400) 接口查询项目 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("ProjectId")]
|
||||
public long? ProjectId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例类型,可取值:1 - 主实例,2 - 灾备实例,3 - 只读实例。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceTypes")]
|
||||
public ulong?[] InstanceTypes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的内网 IP 地址。
|
||||
/// </summary>
|
||||
[JsonProperty("Vips")]
|
||||
public string[] Vips{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例状态,可取值:<br>0 - 创建中<br>1 - 运行中<br>4 - 正在进行隔离操作<br>5 - 隔离中(可在回收站恢复开机)
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public ulong?[] Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,默认值为 0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单次请求返回的数量,默认值为 20,最大值为 2000。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 安全组 ID。当使用安全组 ID 为过滤条件时,需指定 WithSecurityGroup 参数为 1。
|
||||
/// </summary>
|
||||
[JsonProperty("SecurityGroupId")]
|
||||
public string SecurityGroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 付费类型,可取值:0 - 包年包月,1 - 小时计费。
|
||||
/// </summary>
|
||||
[JsonProperty("PayTypes")]
|
||||
public ulong?[] PayTypes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例名称。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceNames")]
|
||||
public string[] InstanceNames{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例任务状态,可能取值:<br>0 - 没有任务<br>1 - 升级中<br>2 - 数据导入中<br>3 - 开放Slave中<br>4 - 外网访问开通中<br>5 - 批量操作执行中<br>6 - 回档中<br>7 - 外网访问关闭中<br>8 - 密码修改中<br>9 - 实例名修改中<br>10 - 重启中<br>12 - 自建迁移中<br>13 - 删除库表中<br>14 - 灾备实例创建同步中<br>15 - 升级待切换<br>16 - 升级切换中<br>17 - 升级切换完成
|
||||
/// </summary>
|
||||
[JsonProperty("TaskStatus")]
|
||||
public ulong?[] TaskStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例数据库引擎版本,可能取值:5.1、5.5、5.6 和 5.7。
|
||||
/// </summary>
|
||||
[JsonProperty("EngineVersions")]
|
||||
public string[] EngineVersions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络的 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("VpcIds")]
|
||||
public ulong?[] VpcIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区的 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("ZoneIds")]
|
||||
public ulong?[] ZoneIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子网 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetIds")]
|
||||
public ulong?[] SubnetIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否锁定标记。
|
||||
/// </summary>
|
||||
[JsonProperty("CdbErrors")]
|
||||
public long?[] CdbErrors{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回结果集排序的字段,目前支持:"InstanceId","InstanceName","CreateTime","DeadlineTime"。
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回结果集排序方式,目前支持:"ASC" 或者 "DESC"。
|
||||
/// </summary>
|
||||
[JsonProperty("OrderDirection")]
|
||||
public string OrderDirection{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否以安全组 ID 为过滤条件。
|
||||
/// </summary>
|
||||
[JsonProperty("WithSecurityGroup")]
|
||||
public long? WithSecurityGroup{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否包含独享集群详细信息,可取值:0 - 不包含,1 - 包含。
|
||||
/// </summary>
|
||||
[JsonProperty("WithExCluster")]
|
||||
public long? WithExCluster{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 独享集群 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("ExClusterId")]
|
||||
public string ExClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIds")]
|
||||
public string[] InstanceIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 初始化标记,可取值:0 - 未初始化,1 - 初始化。
|
||||
/// </summary>
|
||||
[JsonProperty("InitFlag")]
|
||||
public long? InitFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否包含灾备关系对应的实例,可取值:0 - 不包含,1 - 包含。默认取值为1。如果拉取主实例,则灾备关系的数据在DrInfo字段中, 如果拉取灾备实例, 则灾备关系的数据在MasterInfo字段中。灾备关系中只包含部分基本的数据,详细的数据需要自行调接口拉取。
|
||||
/// </summary>
|
||||
[JsonProperty("WithDr")]
|
||||
public long? WithDr{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否包含只读实例,可取值:0 - 不包含,1 - 包含。默认取值为1。
|
||||
/// </summary>
|
||||
[JsonProperty("WithRo")]
|
||||
public long? WithRo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否包含主实例,可取值:0 - 不包含,1 - 包含。默认取值为1。
|
||||
/// </summary>
|
||||
[JsonProperty("WithMaster")]
|
||||
public long? WithMaster{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组ID列表。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupIds")]
|
||||
public string[] DeployGroupIds{ 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 + "ProjectId", this.ProjectId);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceTypes.", this.InstanceTypes);
|
||||
this.SetParamArraySimple(map, prefix + "Vips.", this.Vips);
|
||||
this.SetParamArraySimple(map, prefix + "Status.", this.Status);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "SecurityGroupId", this.SecurityGroupId);
|
||||
this.SetParamArraySimple(map, prefix + "PayTypes.", this.PayTypes);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceNames.", this.InstanceNames);
|
||||
this.SetParamArraySimple(map, prefix + "TaskStatus.", this.TaskStatus);
|
||||
this.SetParamArraySimple(map, prefix + "EngineVersions.", this.EngineVersions);
|
||||
this.SetParamArraySimple(map, prefix + "VpcIds.", this.VpcIds);
|
||||
this.SetParamArraySimple(map, prefix + "ZoneIds.", this.ZoneIds);
|
||||
this.SetParamArraySimple(map, prefix + "SubnetIds.", this.SubnetIds);
|
||||
this.SetParamArraySimple(map, prefix + "CdbErrors.", this.CdbErrors);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderDirection", this.OrderDirection);
|
||||
this.SetParamSimple(map, prefix + "WithSecurityGroup", this.WithSecurityGroup);
|
||||
this.SetParamSimple(map, prefix + "WithExCluster", this.WithExCluster);
|
||||
this.SetParamSimple(map, prefix + "ExClusterId", this.ExClusterId);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
|
||||
this.SetParamSimple(map, prefix + "InitFlag", this.InitFlag);
|
||||
this.SetParamSimple(map, prefix + "WithDr", this.WithDr);
|
||||
this.SetParamSimple(map, prefix + "WithRo", this.WithRo);
|
||||
this.SetParamSimple(map, prefix + "WithMaster", this.WithMaster);
|
||||
this.SetParamArraySimple(map, prefix + "DeployGroupIds.", this.DeployGroupIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBInstancesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的实例总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例详细信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public InstanceInfo[] 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Cdb/V20170320/Models/DescribeDBPriceRequest.cs
Normal file
92
TencentCloud/Cdb/V20170320/Models/DescribeDBPriceRequest.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBPriceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 可用区信息,格式如 "ap-guangzhou-2"。具体能设置的值请通过 <a href="https://cloud.tencent.com/document/api/236/17229">DescribeDBZoneConfig</a> 接口查询。
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例数量,默认值为 1,最小值 1,最大值为 100。
|
||||
/// </summary>
|
||||
[JsonProperty("GoodsNum")]
|
||||
public long? GoodsNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例内存大小,单位:MB。
|
||||
/// </summary>
|
||||
[JsonProperty("Memory")]
|
||||
public long? Memory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例硬盘大小,单位:GB。
|
||||
/// </summary>
|
||||
[JsonProperty("Volume")]
|
||||
public long? Volume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 付费类型,支持值包括:PRE_PAID - 包年包月,HOUR_PAID - 按量计费。
|
||||
/// </summary>
|
||||
[JsonProperty("PayType")]
|
||||
public string PayType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例时长,单位:月,最小值 1,最大值为 36;查询按量计费价格时,该字段无效。
|
||||
/// </summary>
|
||||
[JsonProperty("Period")]
|
||||
public long? Period{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceRole")]
|
||||
public string InstanceRole{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
||||
/// </summary>
|
||||
[JsonProperty("ProtectMode")]
|
||||
public long? ProtectMode{ 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 + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum);
|
||||
this.SetParamSimple(map, prefix + "Memory", this.Memory);
|
||||
this.SetParamSimple(map, prefix + "Volume", this.Volume);
|
||||
this.SetParamSimple(map, prefix + "PayType", this.PayType);
|
||||
this.SetParamSimple(map, prefix + "Period", this.Period);
|
||||
this.SetParamSimple(map, prefix + "InstanceRole", this.InstanceRole);
|
||||
this.SetParamSimple(map, prefix + "ProtectMode", this.ProtectMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Cdb/V20170320/Models/DescribeDBPriceResponse.cs
Normal file
57
TencentCloud/Cdb/V20170320/Models/DescribeDBPriceResponse.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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBPriceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例价格,单位:分(人民币)。
|
||||
/// </summary>
|
||||
[JsonProperty("Price")]
|
||||
public long? Price{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例原价,单位:分(人民币)。
|
||||
/// </summary>
|
||||
[JsonProperty("OriginalPrice")]
|
||||
public long? OriginalPrice{ 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 + "Price", this.Price);
|
||||
this.SetParamSimple(map, prefix + "OriginalPrice", this.OriginalPrice);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBSecurityGroupsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID,格式如:cdb-c1nl9rpv或者cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例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 + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBSecurityGroupsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 安全组详情。
|
||||
/// </summary>
|
||||
[JsonProperty("Groups")]
|
||||
public SecurityGroup[] Groups{ 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.SetParamArrayObj(map, prefix + "Groups.", this.Groups);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBSwitchRecordsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页偏移量。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页大小,默认值为 50,最小值为 1,最大值为 2000。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? 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 + "InstanceId", this.InstanceId);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBSwitchRecordsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例切换记录的总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例切换记录详情。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public DBSwitchInfo[] 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,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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBZoneConfigRequest : 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDBZoneConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 可售卖地域配置数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可售卖地域配置详情
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public RegionSellConf[] 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDataBackupOverviewRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要查询的云数据库产品类型,目前仅支持 "mysql"。
|
||||
/// </summary>
|
||||
[JsonProperty("Product")]
|
||||
public string Product{ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDataBackupOverviewResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 当前地域的数据备份总容量(包含自动备份和手动备份,单位为字节)。
|
||||
/// </summary>
|
||||
[JsonProperty("DataBackupVolume")]
|
||||
public long? DataBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前地域的数据备份总个数。
|
||||
/// </summary>
|
||||
[JsonProperty("DataBackupCount")]
|
||||
public long? DataBackupCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前地域的自动备份总容量。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoBackupVolume")]
|
||||
public long? AutoBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前地域的自动备份总个数。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoBackupCount")]
|
||||
public long? AutoBackupCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前地域的手动备份总容量。
|
||||
/// </summary>
|
||||
[JsonProperty("ManualBackupVolume")]
|
||||
public long? ManualBackupVolume{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前地域的手动备份总个数。
|
||||
/// </summary>
|
||||
[JsonProperty("ManualBackupCount")]
|
||||
public long? ManualBackupCount{ 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 + "DataBackupVolume", this.DataBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "DataBackupCount", this.DataBackupCount);
|
||||
this.SetParamSimple(map, prefix + "AutoBackupVolume", this.AutoBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "AutoBackupCount", this.AutoBackupCount);
|
||||
this.SetParamSimple(map, prefix + "ManualBackupVolume", this.ManualBackupVolume);
|
||||
this.SetParamSimple(map, prefix + "ManualBackupCount", this.ManualBackupCount);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDatabasesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,最小值为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单次请求数量,默认值为20,最小值为1,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 匹配数据库库名的正则表达式。
|
||||
/// </summary>
|
||||
[JsonProperty("DatabaseRegexp")]
|
||||
public string DatabaseRegexp{ 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 + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "DatabaseRegexp", this.DatabaseRegexp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDatabasesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询条件的实例总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回的实例信息。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public string[] 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.SetParamArraySimple(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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDefaultParamsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// mysql版本,目前支持 ["5.1", "5.5", "5.6", "5.7"]。
|
||||
/// </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 + "EngineVersion", this.EngineVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDefaultParamsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 参数个数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数详情。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public ParameterDetail[] 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,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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDeployGroupListRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组 ID。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupId")]
|
||||
public string DeployGroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 置放群组名称。
|
||||
/// </summary>
|
||||
[JsonProperty("DeployGroupName")]
|
||||
public string DeployGroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数量,默认为20,最大值为100。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,默认为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ 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 + "DeployGroupId", this.DeployGroupId);
|
||||
this.SetParamSimple(map, prefix + "DeployGroupName", this.DeployGroupName);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDeployGroupListResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合条件的记录总数。
|
||||
/// </summary>
|
||||
[JsonProperty("Total")]
|
||||
public long? Total{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回列表。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public DeployGroupInfo[] 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 + "Total", this.Total);
|
||||
this.SetParamArrayObj(map, prefix + "Items.", this.Items);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDeviceMonitorInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例ID相同。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回当天最近Count个5分钟粒度的监控数据。最小值1,最大值288,不传该参数默认返回当天所有5分钟粒度监控数据。
|
||||
/// </summary>
|
||||
[JsonProperty("Count")]
|
||||
public ulong? Count{ 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 + "Count", this.Count);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDeviceMonitorInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例CPU监控数据
|
||||
/// </summary>
|
||||
[JsonProperty("Cpu")]
|
||||
public DeviceCpuInfo Cpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例内存监控数据
|
||||
/// </summary>
|
||||
[JsonProperty("Mem")]
|
||||
public DeviceMemInfo Mem{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例网络监控数据
|
||||
/// </summary>
|
||||
[JsonProperty("Net")]
|
||||
public DeviceNetInfo Net{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例磁盘监控数据
|
||||
/// </summary>
|
||||
[JsonProperty("Disk")]
|
||||
public DeviceDiskInfo Disk{ 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.SetParamObj(map, prefix + "Cpu.", this.Cpu);
|
||||
this.SetParamObj(map, prefix + "Mem.", this.Mem);
|
||||
this.SetParamObj(map, prefix + "Net.", this.Net);
|
||||
this.SetParamObj(map, prefix + "Disk.", this.Disk);
|
||||
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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeErrorLogDataRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID 。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间戳。
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public ulong? StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间戳。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public ulong? EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要匹配的关键字列表,最多支持15个关键字。
|
||||
/// </summary>
|
||||
[JsonProperty("KeyWords")]
|
||||
public string[] KeyWords{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页的返回数量,最大为400。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,默认为0。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ 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 + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
this.SetParamArraySimple(map, prefix + "KeyWords.", this.KeyWords);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeErrorLogDataResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合条件的记录总数。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回的记录。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Items")]
|
||||
public ErrlogItem[] 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,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.Cdb.V20170320.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeInstanceParamRecordsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页偏移量。
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页大小。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? 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 + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user