首次推送

This commit is contained in:
lym
2026-03-09 00:13:46 +08:00
commit b19613bb31
13974 changed files with 2767735 additions and 0 deletions

View File

@@ -0,0 +1,84 @@
/*
* 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Account : AbstractModel
{
/// <summary>
/// 实例ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 账号名称如果是主账号名称为root
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("AccountName")]
public string AccountName{ get; set; }
/// <summary>
/// 账号描述信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Remark")]
public string Remark{ get; set; }
/// <summary>
/// 读写策略r-只读w-只写rw-读写
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Privilege")]
public string Privilege{ get; set; }
/// <summary>
/// 路由策略master-主节点replication-从节点
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ReadonlyPolicy")]
public string[] ReadonlyPolicy{ get; set; }
/// <summary>
/// 子账号状态1-账号变更中2-账号有效,-4-账号已删除
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "AccountName", this.AccountName);
this.SetParamSimple(map, prefix + "Remark", this.Remark);
this.SetParamSimple(map, prefix + "Privilege", this.Privilege);
this.SetParamArraySimple(map, prefix + "ReadonlyPolicy.", this.ReadonlyPolicy);
this.SetParamSimple(map, prefix + "Status", this.Status);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateSecurityGroupsRequest : AbstractModel
{
/// <summary>
/// 数据库引擎名称mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
/// </summary>
[JsonProperty("Product")]
public string Product{ get; set; }
/// <summary>
/// 要绑定的安全组ID类似sg-efil73jd。
/// </summary>
[JsonProperty("SecurityGroupId")]
public string SecurityGroupId{ get; set; }
/// <summary>
/// 被绑定的实例ID类似ins-lesecurk支持指定多个实例。
/// </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 + "Product", this.Product);
this.SetParamSimple(map, prefix + "SecurityGroupId", this.SecurityGroupId);
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
}
}
}

View 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.Redis.V20180412.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);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BigKeyInfo : AbstractModel
{
/// <summary>
/// 所属的database
/// </summary>
[JsonProperty("DB")]
public long? DB{ get; set; }
/// <summary>
/// 大Key
/// </summary>
[JsonProperty("Key")]
public string Key{ get; set; }
/// <summary>
/// 类型
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 大小
/// </summary>
[JsonProperty("Size")]
public long? Size{ get; set; }
/// <summary>
/// 数据时间戳
/// </summary>
[JsonProperty("Updatetime")]
public long? Updatetime{ 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 + "Key", this.Key);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "Size", this.Size);
this.SetParamSimple(map, prefix + "Updatetime", this.Updatetime);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BigKeyTypeInfo : AbstractModel
{
/// <summary>
/// 类型
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 数量
/// </summary>
[JsonProperty("Count")]
public long? Count{ get; set; }
/// <summary>
/// 大小
/// </summary>
[JsonProperty("Size")]
public long? Size{ get; set; }
/// <summary>
/// 时间戳
/// </summary>
[JsonProperty("Updatetime")]
public long? Updatetime{ 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 + "Type", this.Type);
this.SetParamSimple(map, prefix + "Count", this.Count);
this.SetParamSimple(map, prefix + "Size", this.Size);
this.SetParamSimple(map, prefix + "Updatetime", this.Updatetime);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CleanUpInstanceRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CleanUpInstanceResponse : AbstractModel
{
/// <summary>
/// 任务ID
/// </summary>
[JsonProperty("TaskId")]
public long? TaskId{ 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ClearInstanceRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// redis的实例密码免密实例不需要传密码非免密实例必传
/// </summary>
[JsonProperty("Password")]
public string Password{ 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 + "Password", this.Password);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ClearInstanceResponse : AbstractModel
{
/// <summary>
/// 任务ID
/// </summary>
[JsonProperty("TaskId")]
public long? TaskId{ 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CommandTake : AbstractModel
{
/// <summary>
/// 命令
/// </summary>
[JsonProperty("Cmd")]
public string Cmd{ get; set; }
/// <summary>
/// 耗时
/// </summary>
[JsonProperty("Took")]
public long? Took{ 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 + "Cmd", this.Cmd);
this.SetParamSimple(map, prefix + "Took", this.Took);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateInstanceAccountRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 子账号名称
/// </summary>
[JsonProperty("AccountName")]
public string AccountName{ get; set; }
/// <summary>
/// 子账号密码
/// </summary>
[JsonProperty("AccountPassword")]
public string AccountPassword{ get; set; }
/// <summary>
/// 路由策略填写master或者replication表示主节点或者从节点
/// </summary>
[JsonProperty("ReadonlyPolicy")]
public string[] ReadonlyPolicy{ get; set; }
/// <summary>
/// 读写策略填写r、w、rw表示只读、只写、读写
/// </summary>
[JsonProperty("Privilege")]
public string Privilege{ get; set; }
/// <summary>
/// 子账号描述信息
/// </summary>
[JsonProperty("Remark")]
public string Remark{ 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 + "AccountName", this.AccountName);
this.SetParamSimple(map, prefix + "AccountPassword", this.AccountPassword);
this.SetParamArraySimple(map, prefix + "ReadonlyPolicy.", this.ReadonlyPolicy);
this.SetParamSimple(map, prefix + "Privilege", this.Privilege);
this.SetParamSimple(map, prefix + "Remark", this.Remark);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateInstanceAccountResponse : AbstractModel
{
/// <summary>
/// 任务ID
/// </summary>
[JsonProperty("TaskId")]
public long? TaskId{ 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,162 @@
/*
* 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateInstancesRequest : AbstractModel
{
/// <summary>
/// 实例所属的可用区ID
/// </summary>
[JsonProperty("ZoneId")]
public ulong? ZoneId{ get; set; }
/// <summary>
/// 实例类型2 Redis2.8主从版3 Redis3.2主从版(CKV主从版)4 Redis3.2集群版(CKV集群版)5-Redis2.8单机版6 Redis4.0主从版7 Redis4.0集群版8 Redis5.0主从版9 Redis5.0集群版,
/// </summary>
[JsonProperty("TypeId")]
public ulong? TypeId{ get; set; }
/// <summary>
/// 实例容量单位MB 取值大小以 查询售卖规格接口返回的规格为准
/// </summary>
[JsonProperty("MemSize")]
public ulong? MemSize{ get; set; }
/// <summary>
/// 实例数量,单次购买实例数量以 查询售卖规格接口返回的规格为准
/// </summary>
[JsonProperty("GoodsNum")]
public ulong? GoodsNum{ get; set; }
/// <summary>
/// 购买时长在创建包年包月实例的时候需要填写按量计费实例填1即可单位取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]
/// </summary>
[JsonProperty("Period")]
public ulong? Period{ get; set; }
/// <summary>
/// 付费方式:0-按量计费1-包年包月。
/// </summary>
[JsonProperty("BillingMode")]
public long? BillingMode{ get; set; }
/// <summary>
/// 实例密码密码规则1.长度为8-16个字符2:至少包含字母、数字和字符!@^*()中的两种(创建免密实例时,可不传入该字段,该字段内容会忽略)
/// </summary>
[JsonProperty("Password")]
public string Password{ get; set; }
/// <summary>
/// 私有网络ID如果不传则默认选择基础网络请使用私有网络列表查询vpc-sad23jfdfk
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 基础网络下, subnetId无效 vpc子网下取值以查询子网列表subnet-fdj24n34j2
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 项目id取值以用户账户>用户账户相关接口查询>项目列表返回的projectId为准
/// </summary>
[JsonProperty("ProjectId")]
public long? ProjectId{ get; set; }
/// <summary>
/// 自动续费标识。0 - 默认状态手动续费1 - 自动续费2 - 明确不自动续费
/// </summary>
[JsonProperty("AutoRenew")]
public ulong? AutoRenew{ get; set; }
/// <summary>
/// 安全组id数组
/// </summary>
[JsonProperty("SecurityGroupIdList")]
public string[] SecurityGroupIdList{ get; set; }
/// <summary>
/// 用户自定义的端口 不填则默认为6379范围[1024,65535]
/// </summary>
[JsonProperty("VPort")]
public ulong? VPort{ get; set; }
/// <summary>
/// 实例分片数量Redis2.8主从版、CKV主从版和Redis2.8单机版、Redis4.0主从版不需要填写
/// </summary>
[JsonProperty("RedisShardNum")]
public long? RedisShardNum{ get; set; }
/// <summary>
/// 实例副本数量Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
/// </summary>
[JsonProperty("RedisReplicasNum")]
public long? RedisReplicasNum{ get; set; }
/// <summary>
/// 是否支持副本只读Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
/// </summary>
[JsonProperty("ReplicasReadonly")]
public bool? ReplicasReadonly{ get; set; }
/// <summary>
/// 实例名称
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 是否支持免密true-免密实例false-非免密实例,默认为非免密实例
/// </summary>
[JsonProperty("NoAuth")]
public bool? NoAuth{ 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 + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "TypeId", this.TypeId);
this.SetParamSimple(map, prefix + "MemSize", this.MemSize);
this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum);
this.SetParamSimple(map, prefix + "Period", this.Period);
this.SetParamSimple(map, prefix + "BillingMode", this.BillingMode);
this.SetParamSimple(map, prefix + "Password", this.Password);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "AutoRenew", this.AutoRenew);
this.SetParamArraySimple(map, prefix + "SecurityGroupIdList.", this.SecurityGroupIdList);
this.SetParamSimple(map, prefix + "VPort", this.VPort);
this.SetParamSimple(map, prefix + "RedisShardNum", this.RedisShardNum);
this.SetParamSimple(map, prefix + "RedisReplicasNum", this.RedisReplicasNum);
this.SetParamSimple(map, prefix + "ReplicasReadonly", this.ReplicasReadonly);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "NoAuth", this.NoAuth);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateInstancesResponse : AbstractModel
{
/// <summary>
/// 交易的ID
/// </summary>
[JsonProperty("DealId")]
public string DealId{ 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.SetParamSimple(map, prefix + "DealId", this.DealId);
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DelayDistribution : AbstractModel
{
/// <summary>
/// 分布阶梯
/// </summary>
[JsonProperty("Ladder")]
public long? Ladder{ get; set; }
/// <summary>
/// 大小
/// </summary>
[JsonProperty("Size")]
public long? Size{ 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 + "Ladder", this.Ladder);
this.SetParamSimple(map, prefix + "Size", this.Size);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteInstanceAccountRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 子账号名称
/// </summary>
[JsonProperty("AccountName")]
public string AccountName{ 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 + "AccountName", this.AccountName);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteInstanceAccountResponse : AbstractModel
{
/// <summary>
/// 任务ID
/// </summary>
[JsonProperty("TaskId")]
public long? TaskId{ 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAutoBackupConfigRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAutoBackupConfigResponse : AbstractModel
{
/// <summary>
/// 备份类型。自动备份类型: 1 “定时回档”
/// </summary>
[JsonProperty("AutoBackupType")]
public long? AutoBackupType{ get; set; }
/// <summary>
/// MondayTuesdayWednesdayThursdayFridaySaturdaySunday。
/// </summary>
[JsonProperty("WeekDays")]
public string[] WeekDays{ get; set; }
/// <summary>
/// 时间段。
/// </summary>
[JsonProperty("TimePeriod")]
public string TimePeriod{ 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 + "AutoBackupType", this.AutoBackupType);
this.SetParamArraySimple(map, prefix + "WeekDays.", this.WeekDays);
this.SetParamSimple(map, prefix + "TimePeriod", this.TimePeriod);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeBackupUrlRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 备份ID通过DescribeInstanceBackups接口可查
/// </summary>
[JsonProperty("BackupId")]
public string 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);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeBackupUrlResponse : AbstractModel
{
/// <summary>
/// 外网下载地址6小时
/// </summary>
[JsonProperty("DownloadUrl")]
public string[] DownloadUrl{ get; set; }
/// <summary>
/// 内网下载地址6小时
/// </summary>
[JsonProperty("InnerDownloadUrl")]
public string[] InnerDownloadUrl{ 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 + "DownloadUrl.", this.DownloadUrl);
this.SetParamArraySimple(map, prefix + "InnerDownloadUrl.", this.InnerDownloadUrl);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDBSecurityGroupsRequest : AbstractModel
{
/// <summary>
/// 数据库引擎名称mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
/// </summary>
[JsonProperty("Product")]
public string Product{ get; set; }
/// <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 + "Product", this.Product);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.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);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceAccountRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 分页大小
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 分页偏移量
/// </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 + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
}
}
}

View File

@@ -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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceAccountResponse : AbstractModel
{
/// <summary>
/// 账号详细信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Accounts")]
public Account[] Accounts{ get; set; }
/// <summary>
/// 账号个数
/// 注意:此字段可能返回 null表示取不到有效值。
/// </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 + "Accounts.", this.Accounts);
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceBackupsRequest : AbstractModel
{
/// <summary>
/// 待操作的实例ID可通过 DescribeInstance 接口返回值中的 InstanceId 获取。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 实例列表大小默认大小20
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 偏移量取Limit整数倍
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 开始时间格式如2017-02-08 16:46:34。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表。
/// </summary>
[JsonProperty("BeginTime")]
public string BeginTime{ get; set; }
/// <summary>
/// 结束时间格式如2017-02-08 19:09:26。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表。
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 1备份在流程中2备份正常3备份转RDB文件处理中4已完成RDB转换-1备份已过期-2备份已删除。
/// </summary>
[JsonProperty("Status")]
public long?[] Status{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "BeginTime", this.BeginTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamArraySimple(map, prefix + "Status.", this.Status);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceBackupsResponse : AbstractModel
{
/// <summary>
/// 备份总数
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 实例的备份数组
/// </summary>
[JsonProperty("BackupSet")]
public RedisBackupSet[] BackupSet{ 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 + "BackupSet.", this.BackupSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceDTSInfoRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View File

@@ -0,0 +1,107 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceDTSInfoResponse : AbstractModel
{
/// <summary>
/// DTS任务ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("JobId")]
public string JobId{ get; set; }
/// <summary>
/// DTS任务名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("JobName")]
public string JobName{ get; set; }
/// <summary>
/// 任务状态,取值为1-创建中(Creating),3-校验中(Checking)4-校验通过(CheckPass),5-校验不通过CheckNotPass,7-任务运行(Running),8-准备完成ReadyComplete,9-任务成功Success,10-任务失败Failed,11-撤销中Stopping,12-完成中Completing
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 状态描述
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("StatusDesc")]
public string StatusDesc{ get; set; }
/// <summary>
/// 同步时延,单位:字节
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 断开时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CutDownTime")]
public string CutDownTime{ get; set; }
/// <summary>
/// 源实例信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SrcInfo")]
public DescribeInstanceDTSInstanceInfo SrcInfo{ get; set; }
/// <summary>
/// 目标实例信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DstInfo")]
public DescribeInstanceDTSInstanceInfo DstInfo{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "JobId", this.JobId);
this.SetParamSimple(map, prefix + "JobName", this.JobName);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "StatusDesc", this.StatusDesc);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "CutDownTime", this.CutDownTime);
this.SetParamObj(map, prefix + "SrcInfo.", this.SrcInfo);
this.SetParamObj(map, prefix + "DstInfo.", this.DstInfo);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,100 @@
/*
* 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceDTSInstanceInfo : AbstractModel
{
/// <summary>
/// 地域ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RegionId")]
public long? RegionId{ get; set; }
/// <summary>
/// 实例ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 仓库ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SetId")]
public long? SetId{ get; set; }
/// <summary>
/// 可用区ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
/// <summary>
/// 实例类型
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Type")]
public long? Type{ get; set; }
/// <summary>
/// 实例名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 实例访问地址
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// 状态
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "SetId", this.SetId);
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "Vip", this.Vip);
this.SetParamSimple(map, prefix + "Status", this.Status);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceDealDetailRequest : AbstractModel
{
/// <summary>
/// 订单ID数组
/// </summary>
[JsonProperty("DealIds")]
public string[] DealIds{ 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);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceDealDetailResponse : AbstractModel
{
/// <summary>
/// 订单详细信息
/// </summary>
[JsonProperty("DealDetails")]
public TradeDealDetail[] DealDetails{ 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 + "DealDetails.", this.DealDetails);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorBigKeyRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 请求类型1——string类型2——所有类型
/// </summary>
[JsonProperty("ReqType")]
public long? ReqType{ get; set; }
/// <summary>
/// 时间;例如:"20190219"
/// </summary>
[JsonProperty("Date")]
public string Date{ 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 + "ReqType", this.ReqType);
this.SetParamSimple(map, prefix + "Date", this.Date);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorBigKeyResponse : AbstractModel
{
/// <summary>
/// 大Key详细信息
/// </summary>
[JsonProperty("Data")]
public BigKeyInfo[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorBigKeySizeDistRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 时间;例如:"20190219"
/// </summary>
[JsonProperty("Date")]
public string Date{ 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 + "Date", this.Date);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorBigKeySizeDistResponse : AbstractModel
{
/// <summary>
/// 大Key大小分布详情
/// </summary>
[JsonProperty("Data")]
public DelayDistribution[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorBigKeyTypeDistRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 时间;例如:"20190219"
/// </summary>
[JsonProperty("Date")]
public string Date{ 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 + "Date", this.Date);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorBigKeyTypeDistResponse : AbstractModel
{
/// <summary>
/// 大Key类型分布详细信息
/// </summary>
[JsonProperty("Data")]
public BigKeyTypeInfo[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorHotKeyRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 时间范围1——实时2——近30分钟3——近6小时4——近24小时
/// </summary>
[JsonProperty("SpanType")]
public long? SpanType{ 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 + "SpanType", this.SpanType);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorHotKeyResponse : AbstractModel
{
/// <summary>
/// 热Key详细信息
/// </summary>
[JsonProperty("Data")]
public HotKeyInfo[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorSIPRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorSIPResponse : AbstractModel
{
/// <summary>
/// 访问来源信息
/// </summary>
[JsonProperty("Data")]
public SourceInfo[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorTookDistRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 时间;例如:"20190219"
/// </summary>
[JsonProperty("Date")]
public string Date{ get; set; }
/// <summary>
/// 请求类型1——string类型2——所有类型
/// </summary>
[JsonProperty("SpanType")]
public long? SpanType{ 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 + "Date", this.Date);
this.SetParamSimple(map, prefix + "SpanType", this.SpanType);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorTookDistResponse : AbstractModel
{
/// <summary>
/// 时延分布信息
/// </summary>
[JsonProperty("Data")]
public DelayDistribution[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorTopNCmdRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 时间范围1——实时2——近30分钟3——近6小时4——近24小时
/// </summary>
[JsonProperty("SpanType")]
public long? SpanType{ 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 + "SpanType", this.SpanType);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorTopNCmdResponse : AbstractModel
{
/// <summary>
/// 访问命令信息
/// </summary>
[JsonProperty("Data")]
public SourceCommand[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorTopNCmdTookRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 时间范围1——实时2——近30分钟3——近6小时4——近24小时
/// </summary>
[JsonProperty("SpanType")]
public long? SpanType{ 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 + "SpanType", this.SpanType);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceMonitorTopNCmdTookResponse : AbstractModel
{
/// <summary>
/// 耗时详细信息
/// </summary>
[JsonProperty("Data")]
public CommandTake[] Data{ 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 + "Data.", this.Data);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceParamRecordsRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 分页大小
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量取Limit整数倍
/// </summary>
[JsonProperty("Offset")]
public ulong? 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 + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceParamRecordsResponse : AbstractModel
{
/// <summary>
/// 总的修改历史记录数。
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 修改历史记录信息。
/// </summary>
[JsonProperty("InstanceParamHistory")]
public InstanceParamHistory[] InstanceParamHistory{ 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 + "InstanceParamHistory.", this.InstanceParamHistory);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceParamsRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceParamsResponse : AbstractModel
{
/// <summary>
/// 实例参数个数
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 实例枚举类型参数
/// </summary>
[JsonProperty("InstanceEnumParam")]
public InstanceEnumParam[] InstanceEnumParam{ get; set; }
/// <summary>
/// 实例整型参数
/// </summary>
[JsonProperty("InstanceIntegerParam")]
public InstanceIntegerParam[] InstanceIntegerParam{ get; set; }
/// <summary>
/// 实例字符型参数
/// </summary>
[JsonProperty("InstanceTextParam")]
public InstanceTextParam[] InstanceTextParam{ get; set; }
/// <summary>
/// 实例多选项型参数
/// </summary>
[JsonProperty("InstanceMultiParam")]
public InstanceMultiParam[] InstanceMultiParam{ 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 + "InstanceEnumParam.", this.InstanceEnumParam);
this.SetParamArrayObj(map, prefix + "InstanceIntegerParam.", this.InstanceIntegerParam);
this.SetParamArrayObj(map, prefix + "InstanceTextParam.", this.InstanceTextParam);
this.SetParamArrayObj(map, prefix + "InstanceMultiParam.", this.InstanceMultiParam);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceSecurityGroupRequest : AbstractModel
{
/// <summary>
/// 实例列表
/// </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);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceSecurityGroupResponse : AbstractModel
{
/// <summary>
/// 实例安全组信息
/// </summary>
[JsonProperty("InstanceSecurityGroupsDetail")]
public InstanceSecurityGroupDetail[] InstanceSecurityGroupsDetail{ 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 + "InstanceSecurityGroupsDetail.", this.InstanceSecurityGroupsDetail);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceShardsRequest : AbstractModel
{
/// <summary>
/// 实例id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 是否过滤掉从节信息
/// </summary>
[JsonProperty("FilterSlave")]
public bool? FilterSlave{ 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 + "FilterSlave", this.FilterSlave);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceShardsResponse : AbstractModel
{
/// <summary>
/// 实例分片列表信息
/// </summary>
[JsonProperty("InstanceShards")]
public InstanceClusterShard[] InstanceShards{ 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 + "InstanceShards.", this.InstanceShards);
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,183 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstancesRequest : AbstractModel
{
/// <summary>
/// 实例列表的大小参数默认值20
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量取Limit整数倍
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 实例Idcrs-6ubhgouj
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 枚举范围: projectId,createtime,instancename,type,curDeadline
/// </summary>
[JsonProperty("OrderBy")]
public string OrderBy{ get; set; }
/// <summary>
/// 1倒序0顺序默认倒序
/// </summary>
[JsonProperty("OrderType")]
public long? OrderType{ get; set; }
/// <summary>
/// 私有网络ID数组数组下标从0开始如果不传则默认选择基础网络47525
/// </summary>
[JsonProperty("VpcIds")]
public string[] VpcIds{ get; set; }
/// <summary>
/// 子网ID数组数组下标从0开始56854
/// </summary>
[JsonProperty("SubnetIds")]
public string[] SubnetIds{ get; set; }
/// <summary>
/// 项目ID 组成的数组数组下标从0开始
/// </summary>
[JsonProperty("ProjectIds")]
public long?[] ProjectIds{ get; set; }
/// <summary>
/// 查找实例的ID。
/// </summary>
[JsonProperty("SearchKey")]
public string SearchKey{ get; set; }
/// <summary>
/// 实例名称
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 私有网络ID数组数组下标从0开始如果不传则默认选择基础网络vpc-sad23jfdfk
/// </summary>
[JsonProperty("UniqVpcIds")]
public string[] UniqVpcIds{ get; set; }
/// <summary>
/// 子网ID数组数组下标从0开始subnet-fdj24n34j2
/// </summary>
[JsonProperty("UniqSubnetIds")]
public string[] UniqSubnetIds{ get; set; }
/// <summary>
/// 地域ID已经弃用可通过公共参数Region查询对应地域
/// </summary>
[JsonProperty("RegionIds")]
public long?[] RegionIds{ get; set; }
/// <summary>
/// 实例状态0-待初始化1-流程中2-运行中,-2-已隔离,-3-待删除
/// </summary>
[JsonProperty("Status")]
public long?[] Status{ get; set; }
/// <summary>
/// 类型版本1-单机版,2-主从版,3-集群版
/// </summary>
[JsonProperty("TypeVersion")]
public long? TypeVersion{ get; set; }
/// <summary>
/// 引擎信息Redis-2.8Redis-4.0CKV
/// </summary>
[JsonProperty("EngineName")]
public string EngineName{ get; set; }
/// <summary>
/// 续费模式0 - 默认状态手动续费1 - 自动续费2 - 明确不自动续费
/// </summary>
[JsonProperty("AutoRenew")]
public long?[] AutoRenew{ get; set; }
/// <summary>
/// 计费模式postpaid-按量计费prepaid-包年包月
/// </summary>
[JsonProperty("BillingMode")]
public string BillingMode{ get; set; }
/// <summary>
/// 实例类型1-Redis老集群版2-Redis 2.8主从版3-CKV主从版4-CKV集群版5-Redis 2.8单机版6-Redis 4.0主从版7-Redis 4.0集群版8 Redis5.0主从版9 Redis5.0集群版,
/// </summary>
[JsonProperty("Type")]
public long? Type{ get; set; }
/// <summary>
/// 搜索关键词支持实例Id、实例名称、完整IP
/// </summary>
[JsonProperty("SearchKeys")]
public string[] SearchKeys{ get; set; }
/// <summary>
/// 内部参数,用户可忽略
/// </summary>
[JsonProperty("TypeList")]
public long?[] TypeList{ 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 + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
this.SetParamArraySimple(map, prefix + "VpcIds.", this.VpcIds);
this.SetParamArraySimple(map, prefix + "SubnetIds.", this.SubnetIds);
this.SetParamArraySimple(map, prefix + "ProjectIds.", this.ProjectIds);
this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamArraySimple(map, prefix + "UniqVpcIds.", this.UniqVpcIds);
this.SetParamArraySimple(map, prefix + "UniqSubnetIds.", this.UniqSubnetIds);
this.SetParamArraySimple(map, prefix + "RegionIds.", this.RegionIds);
this.SetParamArraySimple(map, prefix + "Status.", this.Status);
this.SetParamSimple(map, prefix + "TypeVersion", this.TypeVersion);
this.SetParamSimple(map, prefix + "EngineName", this.EngineName);
this.SetParamArraySimple(map, prefix + "AutoRenew.", this.AutoRenew);
this.SetParamSimple(map, prefix + "BillingMode", this.BillingMode);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamArraySimple(map, prefix + "SearchKeys.", this.SearchKeys);
this.SetParamArraySimple(map, prefix + "TypeList.", this.TypeList);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstancesResponse : AbstractModel
{
/// <summary>
/// 实例数
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 实例详细信息列表
/// </summary>
[JsonProperty("InstanceSet")]
public InstanceSet[] InstanceSet{ 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 + "InstanceSet.", this.InstanceSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeProductInfoRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeProductInfoResponse : AbstractModel
{
/// <summary>
/// 地域售卖信息
/// </summary>
[JsonProperty("RegionSet")]
public RegionConf[] RegionSet{ 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 + "RegionSet.", this.RegionSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeProjectSecurityGroupRequest : AbstractModel
{
/// <summary>
/// 0:默认项目;-1 所有项目; >0: 特定项目
/// </summary>
[JsonProperty("ProjectId")]
public long? ProjectId{ get; set; }
/// <summary>
/// 安全组Id
/// </summary>
[JsonProperty("SecurityGroupId")]
public string SecurityGroupId{ 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.SetParamSimple(map, prefix + "SecurityGroupId", this.SecurityGroupId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeProjectSecurityGroupResponse : AbstractModel
{
/// <summary>
/// 项目安全组
/// </summary>
[JsonProperty("SecurityGroupDetails")]
public SecurityGroupDetail[] SecurityGroupDetails{ 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 + "SecurityGroupDetails.", this.SecurityGroupDetails);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeProjectSecurityGroupsRequest : AbstractModel
{
/// <summary>
/// 数据库引擎名称mariadb,cdb,cynosdb,dcdb,redis,mongodb
/// </summary>
[JsonProperty("Product")]
public string Product{ get; set; }
/// <summary>
/// 项目Id。
/// </summary>
[JsonProperty("ProjectId")]
public ulong? ProjectId{ get; set; }
/// <summary>
/// 偏移量。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 拉取数量限制。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 搜索条件支持安全组id或者安全组名称。
/// </summary>
[JsonProperty("SearchKey")]
public string SearchKey{ 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 + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeProjectSecurityGroupsResponse : AbstractModel
{
/// <summary>
/// 安全组规则。
/// </summary>
[JsonProperty("Groups")]
public SecurityGroup[] Groups{ get; set; }
/// <summary>
/// 符合条件的安全组总数量。
/// </summary>
[JsonProperty("Total")]
public ulong? Total{ 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 + "Total", this.Total);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSlowLogRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 开始时间
/// </summary>
[JsonProperty("BeginTime")]
public string BeginTime{ get; set; }
/// <summary>
/// 结束时间
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 慢查询阈值(单位:微秒)
/// </summary>
[JsonProperty("MinQueryTime")]
public long? MinQueryTime{ get; set; }
/// <summary>
/// 页面大小
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 偏移量取Limit整数倍
/// </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 + "BeginTime", this.BeginTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamSimple(map, prefix + "MinQueryTime", this.MinQueryTime);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSlowLogResponse : AbstractModel
{
/// <summary>
/// 慢查询总数
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 慢查询详情
/// </summary>
[JsonProperty("InstanceSlowlogDetail")]
public InstanceSlowlogDetail[] InstanceSlowlogDetail{ 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 + "InstanceSlowlogDetail.", this.InstanceSlowlogDetail);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTaskInfoRequest : AbstractModel
{
/// <summary>
/// 任务ID
/// </summary>
[JsonProperty("TaskId")]
public ulong? TaskId{ 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 + "TaskId", this.TaskId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTaskInfoResponse : AbstractModel
{
/// <summary>
/// 任务状态preparing:待执行running执行中succeed成功failed失败error 执行出错
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 任务开始时间
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 任务类型
/// </summary>
[JsonProperty("TaskType")]
public string TaskType{ get; set; }
/// <summary>
/// 实例的ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 任务信息,错误时显示错误信息。执行中与成功则为空
/// </summary>
[JsonProperty("TaskMessage")]
public string TaskMessage{ 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 + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "TaskType", this.TaskType);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "TaskMessage", this.TaskMessage);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTaskListRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 实例名称
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 分页大小
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 偏移量取Limit整数倍自动向下取整
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 项目Id
/// </summary>
[JsonProperty("ProjectIds")]
public long?[] ProjectIds{ get; set; }
/// <summary>
/// 任务类型
/// </summary>
[JsonProperty("TaskTypes")]
public string[] TaskTypes{ get; set; }
/// <summary>
/// 起始时间
/// </summary>
[JsonProperty("BeginTime")]
public string BeginTime{ get; set; }
/// <summary>
/// 终止时间
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 任务状态
/// </summary>
[JsonProperty("TaskStatus")]
public long?[] TaskStatus{ 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 + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamArraySimple(map, prefix + "ProjectIds.", this.ProjectIds);
this.SetParamArraySimple(map, prefix + "TaskTypes.", this.TaskTypes);
this.SetParamSimple(map, prefix + "BeginTime", this.BeginTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamArraySimple(map, prefix + "TaskStatus.", this.TaskStatus);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTaskListResponse : AbstractModel
{
/// <summary>
/// 任务总数
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 任务详细信息
/// </summary>
[JsonProperty("Tasks")]
public TaskInfoDetail[] Tasks{ 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 + "Tasks.", this.Tasks);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyPostpaidInstanceRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyPostpaidInstanceResponse : AbstractModel
{
/// <summary>
/// 任务Id
/// </summary>
[JsonProperty("TaskId")]
public long? TaskId{ 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyPrepaidInstanceRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyPrepaidInstanceResponse : AbstractModel
{
/// <summary>
/// 订单Id
/// </summary>
[JsonProperty("DealId")]
public string DealId{ 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 + "DealId", this.DealId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DisableReplicaReadonlyRequest : AbstractModel
{
/// <summary>
/// 实例序号ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DisableReplicaReadonlyResponse : AbstractModel
{
/// <summary>
/// 失败:ERROR成功:OK
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DisassociateSecurityGroupsRequest : AbstractModel
{
/// <summary>
/// 数据库引擎名称mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。
/// </summary>
[JsonProperty("Product")]
public string Product{ get; set; }
/// <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 + "Product", this.Product);
this.SetParamSimple(map, prefix + "SecurityGroupId", this.SecurityGroupId);
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DisassociateSecurityGroupsResponse : 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);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EnableReplicaReadonlyRequest : AbstractModel
{
/// <summary>
/// 实例序号ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 账号路由策略填写master或者replication表示路由主节点从节点不填路由策略默认为写主节点读从节点
/// </summary>
[JsonProperty("ReadonlyPolicy")]
public string[] ReadonlyPolicy{ 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 + "ReadonlyPolicy.", this.ReadonlyPolicy);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EnableReplicaReadonlyResponse : AbstractModel
{
/// <summary>
/// 错误ERROR正确OK。
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class HotKeyInfo : AbstractModel
{
/// <summary>
/// 热Key
/// </summary>
[JsonProperty("Key")]
public string Key{ get; set; }
/// <summary>
/// 类型
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 数量
/// </summary>
[JsonProperty("Count")]
public long? 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 + "Key", this.Key);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "Count", this.Count);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Inbound : AbstractModel
{
/// <summary>
/// 策略ACCEPT或者DROP。
/// </summary>
[JsonProperty("Action")]
public string Action{ get; set; }
/// <summary>
/// 地址组id代表的地址集合。
/// </summary>
[JsonProperty("AddressModule")]
public string AddressModule{ get; set; }
/// <summary>
/// 来源Ip或Ip段例如192.168.0.0/16。
/// </summary>
[JsonProperty("CidrIp")]
public string CidrIp{ get; set; }
/// <summary>
/// 描述。
/// </summary>
[JsonProperty("Desc")]
public string Desc{ get; set; }
/// <summary>
/// 网络协议支持udp、tcp等。
/// </summary>
[JsonProperty("IpProtocol")]
public string IpProtocol{ get; set; }
/// <summary>
/// 端口。
/// </summary>
[JsonProperty("PortRange")]
public string PortRange{ get; set; }
/// <summary>
/// 服务组id代表的协议和端口集合。
/// </summary>
[JsonProperty("ServiceModule")]
public string ServiceModule{ get; set; }
/// <summary>
/// 安全组id代表的地址集合。
/// </summary>
[JsonProperty("Id")]
public string Id{ 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 + "Action", this.Action);
this.SetParamSimple(map, prefix + "AddressModule", this.AddressModule);
this.SetParamSimple(map, prefix + "CidrIp", this.CidrIp);
this.SetParamSimple(map, prefix + "Desc", this.Desc);
this.SetParamSimple(map, prefix + "IpProtocol", this.IpProtocol);
this.SetParamSimple(map, prefix + "PortRange", this.PortRange);
this.SetParamSimple(map, prefix + "ServiceModule", this.ServiceModule);
this.SetParamSimple(map, prefix + "Id", this.Id);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceCreateInstanceRequest : AbstractModel
{
/// <summary>
/// 实例所属的可用区id
/// </summary>
[JsonProperty("ZoneId")]
public ulong? ZoneId{ get; set; }
/// <summary>
/// 实例类型2 Redis2.8主从版3 Redis3.2主从版(CKV主从版)4 Redis3.2集群版(CKV集群版)5-Redis2.8单机版6 Redis4.0主从版7 Redis4.0集群版,
/// </summary>
[JsonProperty("TypeId")]
public ulong? TypeId{ get; set; }
/// <summary>
/// 实例容量单位MB 取值大小以 查询售卖规格接口返回的规格为准
/// </summary>
[JsonProperty("MemSize")]
public ulong? MemSize{ get; set; }
/// <summary>
/// 实例数量,单次购买实例数量以 查询售卖规格接口返回的规格为准
/// </summary>
[JsonProperty("GoodsNum")]
public ulong? GoodsNum{ get; set; }
/// <summary>
/// 购买时长在创建包年包月实例的时候需要填写按量计费实例填1即可单位取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]
/// </summary>
[JsonProperty("Period")]
public ulong? Period{ get; set; }
/// <summary>
/// 付费方式:0-按量计费1-包年包月。
/// </summary>
[JsonProperty("BillingMode")]
public long? BillingMode{ get; set; }
/// <summary>
/// 实例分片数量Redis2.8主从版、CKV主从版和Redis2.8单机版、Redis4.0主从版不需要填写
/// </summary>
[JsonProperty("RedisShardNum")]
public long? RedisShardNum{ get; set; }
/// <summary>
/// 实例副本数量Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
/// </summary>
[JsonProperty("RedisReplicasNum")]
public long? RedisReplicasNum{ get; set; }
/// <summary>
/// 是否支持副本只读Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
/// </summary>
[JsonProperty("ReplicasReadonly")]
public bool? ReplicasReadonly{ 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 + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "TypeId", this.TypeId);
this.SetParamSimple(map, prefix + "MemSize", this.MemSize);
this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum);
this.SetParamSimple(map, prefix + "Period", this.Period);
this.SetParamSimple(map, prefix + "BillingMode", this.BillingMode);
this.SetParamSimple(map, prefix + "RedisShardNum", this.RedisShardNum);
this.SetParamSimple(map, prefix + "RedisReplicasNum", this.RedisReplicasNum);
this.SetParamSimple(map, prefix + "ReplicasReadonly", this.ReplicasReadonly);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceCreateInstanceResponse : AbstractModel
{
/// <summary>
/// 价格,单位:分
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Price")]
public float? Price{ 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 + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceRenewInstanceRequest : AbstractModel
{
/// <summary>
/// 购买时长,单位:月
/// </summary>
[JsonProperty("Period")]
public ulong? Period{ get; set; }
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Period", this.Period);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceRenewInstanceResponse : AbstractModel
{
/// <summary>
/// 价格,单位:分
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Price")]
public float? Price{ 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 + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceUpgradeInstanceRequest : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 分片大小 单位 MB
/// </summary>
[JsonProperty("MemSize")]
public ulong? MemSize{ get; set; }
/// <summary>
/// 分片数量Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
/// </summary>
[JsonProperty("RedisShardNum")]
public ulong? RedisShardNum{ get; set; }
/// <summary>
/// 副本数量Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
/// </summary>
[JsonProperty("RedisReplicasNum")]
public ulong? RedisReplicasNum{ 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 + "MemSize", this.MemSize);
this.SetParamSimple(map, prefix + "RedisShardNum", this.RedisShardNum);
this.SetParamSimple(map, prefix + "RedisReplicasNum", this.RedisReplicasNum);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceUpgradeInstanceResponse : AbstractModel
{
/// <summary>
/// 价格,单位:分
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Price")]
public float? Price{ 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 + "RequestId", this.RequestId);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceClusterNode : AbstractModel
{
/// <summary>
/// 节点名称
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 实例运行时节点Id
/// </summary>
[JsonProperty("RunId")]
public string RunId{ get; set; }
/// <summary>
/// 集群角色0-master1-slave
/// </summary>
[JsonProperty("Role")]
public long? Role{ get; set; }
/// <summary>
/// 节点状态0-readwrite, 1-read, 2-backup
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 服务状态0-down1-on
/// </summary>
[JsonProperty("Connected")]
public long? Connected{ get; set; }
/// <summary>
/// 节点创建时间
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 节点下线时间
/// </summary>
[JsonProperty("DownTime")]
public string DownTime{ get; set; }
/// <summary>
/// 节点slot分布
/// </summary>
[JsonProperty("Slots")]
public string Slots{ get; set; }
/// <summary>
/// 节点key分布
/// </summary>
[JsonProperty("Keys")]
public long? Keys{ get; set; }
/// <summary>
/// 节点qps
/// </summary>
[JsonProperty("Qps")]
public long? Qps{ get; set; }
/// <summary>
/// 节点qps倾斜度
/// </summary>
[JsonProperty("QpsSlope")]
public float? QpsSlope{ get; set; }
/// <summary>
/// 节点存储
/// </summary>
[JsonProperty("Storage")]
public long? Storage{ get; set; }
/// <summary>
/// 节点存储倾斜度
/// </summary>
[JsonProperty("StorageSlope")]
public float? StorageSlope{ 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 + "RunId", this.RunId);
this.SetParamSimple(map, prefix + "Role", this.Role);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "Connected", this.Connected);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "DownTime", this.DownTime);
this.SetParamSimple(map, prefix + "Slots", this.Slots);
this.SetParamSimple(map, prefix + "Keys", this.Keys);
this.SetParamSimple(map, prefix + "Qps", this.Qps);
this.SetParamSimple(map, prefix + "QpsSlope", this.QpsSlope);
this.SetParamSimple(map, prefix + "Storage", this.Storage);
this.SetParamSimple(map, prefix + "StorageSlope", this.StorageSlope);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceClusterShard : AbstractModel
{
/// <summary>
/// 分片节点名称
/// </summary>
[JsonProperty("ShardName")]
public string ShardName{ get; set; }
/// <summary>
/// 分片节点Id
/// </summary>
[JsonProperty("ShardId")]
public string ShardId{ get; set; }
/// <summary>
/// 角色
/// </summary>
[JsonProperty("Role")]
public long? Role{ get; set; }
/// <summary>
/// Key数量
/// </summary>
[JsonProperty("Keys")]
public long? Keys{ get; set; }
/// <summary>
/// slot信息
/// </summary>
[JsonProperty("Slots")]
public string Slots{ get; set; }
/// <summary>
/// 使用容量
/// </summary>
[JsonProperty("Storage")]
public long? Storage{ get; set; }
/// <summary>
/// 容量倾斜率
/// </summary>
[JsonProperty("StorageSlope")]
public float? StorageSlope{ get; set; }
/// <summary>
/// 实例运行时节点Id
/// </summary>
[JsonProperty("Runid")]
public string Runid{ get; set; }
/// <summary>
/// 服务状态0-down1-on
/// </summary>
[JsonProperty("Connected")]
public long? Connected{ 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 + "ShardName", this.ShardName);
this.SetParamSimple(map, prefix + "ShardId", this.ShardId);
this.SetParamSimple(map, prefix + "Role", this.Role);
this.SetParamSimple(map, prefix + "Keys", this.Keys);
this.SetParamSimple(map, prefix + "Slots", this.Slots);
this.SetParamSimple(map, prefix + "Storage", this.Storage);
this.SetParamSimple(map, prefix + "StorageSlope", this.StorageSlope);
this.SetParamSimple(map, prefix + "Runid", this.Runid);
this.SetParamSimple(map, prefix + "Connected", this.Connected);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceEnumParam : AbstractModel
{
/// <summary>
/// 参数名
/// </summary>
[JsonProperty("ParamName")]
public string ParamName{ get; set; }
/// <summary>
/// 参数类型enum
/// </summary>
[JsonProperty("ValueType")]
public string ValueType{ get; set; }
/// <summary>
/// 修改后是否需要重启truefalse
/// </summary>
[JsonProperty("NeedRestart")]
public string NeedRestart{ get; set; }
/// <summary>
/// 参数默认值
/// </summary>
[JsonProperty("DefaultValue")]
public string DefaultValue{ get; set; }
/// <summary>
/// 当前运行参数值
/// </summary>
[JsonProperty("CurrentValue")]
public string CurrentValue{ get; set; }
/// <summary>
/// 参数说明
/// </summary>
[JsonProperty("Tips")]
public string Tips{ get; set; }
/// <summary>
/// 参数可取值
/// </summary>
[JsonProperty("EnumValue")]
public string[] EnumValue{ get; set; }
/// <summary>
/// 参数状态, 1: 修改中, 2修改完成
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ParamName", this.ParamName);
this.SetParamSimple(map, prefix + "ValueType", this.ValueType);
this.SetParamSimple(map, prefix + "NeedRestart", this.NeedRestart);
this.SetParamSimple(map, prefix + "DefaultValue", this.DefaultValue);
this.SetParamSimple(map, prefix + "CurrentValue", this.CurrentValue);
this.SetParamSimple(map, prefix + "Tips", this.Tips);
this.SetParamArraySimple(map, prefix + "EnumValue.", this.EnumValue);
this.SetParamSimple(map, prefix + "Status", this.Status);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceIntegerParam : AbstractModel
{
/// <summary>
/// 参数名
/// </summary>
[JsonProperty("ParamName")]
public string ParamName{ get; set; }
/// <summary>
/// 参数类型integer
/// </summary>
[JsonProperty("ValueType")]
public string ValueType{ get; set; }
/// <summary>
/// 修改后是否需要重启truefalse
/// </summary>
[JsonProperty("NeedRestart")]
public string NeedRestart{ get; set; }
/// <summary>
/// 参数默认值
/// </summary>
[JsonProperty("DefaultValue")]
public string DefaultValue{ get; set; }
/// <summary>
/// 当前运行参数值
/// </summary>
[JsonProperty("CurrentValue")]
public string CurrentValue{ get; set; }
/// <summary>
/// 参数说明
/// </summary>
[JsonProperty("Tips")]
public string Tips{ get; set; }
/// <summary>
/// 参数最小值
/// </summary>
[JsonProperty("Min")]
public string Min{ get; set; }
/// <summary>
/// 参数最大值
/// </summary>
[JsonProperty("Max")]
public string Max{ get; set; }
/// <summary>
/// 参数状态, 1: 修改中, 2修改完成
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ParamName", this.ParamName);
this.SetParamSimple(map, prefix + "ValueType", this.ValueType);
this.SetParamSimple(map, prefix + "NeedRestart", this.NeedRestart);
this.SetParamSimple(map, prefix + "DefaultValue", this.DefaultValue);
this.SetParamSimple(map, prefix + "CurrentValue", this.CurrentValue);
this.SetParamSimple(map, prefix + "Tips", this.Tips);
this.SetParamSimple(map, prefix + "Min", this.Min);
this.SetParamSimple(map, prefix + "Max", this.Max);
this.SetParamSimple(map, prefix + "Status", this.Status);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceMultiParam : AbstractModel
{
/// <summary>
/// 参数名
/// </summary>
[JsonProperty("ParamName")]
public string ParamName{ get; set; }
/// <summary>
/// 参数类型multi
/// </summary>
[JsonProperty("ValueType")]
public string ValueType{ get; set; }
/// <summary>
/// 修改后是否需要重启truefalse
/// </summary>
[JsonProperty("NeedRestart")]
public string NeedRestart{ get; set; }
/// <summary>
/// 参数默认值
/// </summary>
[JsonProperty("DefaultValue")]
public string DefaultValue{ get; set; }
/// <summary>
/// 当前运行参数值
/// </summary>
[JsonProperty("CurrentValue")]
public string CurrentValue{ get; set; }
/// <summary>
/// 参数说明
/// </summary>
[JsonProperty("Tips")]
public string Tips{ get; set; }
/// <summary>
/// 参数说明
/// </summary>
[JsonProperty("EnumValue")]
public string[] EnumValue{ get; set; }
/// <summary>
/// 参数状态, 1: 修改中, 2修改完成
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ParamName", this.ParamName);
this.SetParamSimple(map, prefix + "ValueType", this.ValueType);
this.SetParamSimple(map, prefix + "NeedRestart", this.NeedRestart);
this.SetParamSimple(map, prefix + "DefaultValue", this.DefaultValue);
this.SetParamSimple(map, prefix + "CurrentValue", this.CurrentValue);
this.SetParamSimple(map, prefix + "Tips", this.Tips);
this.SetParamArraySimple(map, prefix + "EnumValue.", this.EnumValue);
this.SetParamSimple(map, prefix + "Status", this.Status);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceNode : AbstractModel
{
/// <summary>
/// Id
/// </summary>
[JsonProperty("Id")]
public long? Id{ get; set; }
/// <summary>
/// 节点详细信息
/// </summary>
[JsonProperty("InstanceClusterNode")]
public InstanceClusterNode[] InstanceClusterNode{ 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 + "Id", this.Id);
this.SetParamArrayObj(map, prefix + "InstanceClusterNode.", this.InstanceClusterNode);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceParam : AbstractModel
{
/// <summary>
/// 设置参数的名字
/// </summary>
[JsonProperty("Key")]
public string Key{ get; set; }
/// <summary>
/// 设置参数的值
/// </summary>
[JsonProperty("Value")]
public string Value{ 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 + "Key", this.Key);
this.SetParamSimple(map, prefix + "Value", this.Value);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceParamHistory : AbstractModel
{
/// <summary>
/// 参数名称
/// </summary>
[JsonProperty("ParamName")]
public string ParamName{ get; set; }
/// <summary>
/// 修改前值
/// </summary>
[JsonProperty("PreValue")]
public string PreValue{ get; set; }
/// <summary>
/// 修改后值
/// </summary>
[JsonProperty("NewValue")]
public string NewValue{ get; set; }
/// <summary>
/// 状态1-参数配置修改中2-参数配置修改成功3-参数配置修改失败
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 修改时间
/// </summary>
[JsonProperty("ModifyTime")]
public string ModifyTime{ 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 + "ParamName", this.ParamName);
this.SetParamSimple(map, prefix + "PreValue", this.PreValue);
this.SetParamSimple(map, prefix + "NewValue", this.NewValue);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceSecurityGroupDetail : AbstractModel
{
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 安全组信息
/// </summary>
[JsonProperty("SecurityGroupDetails")]
public SecurityGroupDetail[] SecurityGroupDetails{ 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 + "SecurityGroupDetails.", this.SecurityGroupDetails);
}
}
}

View File

@@ -0,0 +1,347 @@
/*
* 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceSet : AbstractModel
{
/// <summary>
/// 实例名称
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 实例Id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 用户的Appid
/// </summary>
[JsonProperty("Appid")]
public long? Appid{ get; set; }
/// <summary>
/// 项目Id
/// </summary>
[JsonProperty("ProjectId")]
public long? ProjectId{ get; set; }
/// <summary>
/// 地域id 1--广州 4--上海 5-- 中国香港 6--多伦多 7--上海金融 8--北京 9-- 新加坡 11--深圳金融 15--美西硅谷16--成都 17--德国 18--韩国 19--重庆 21--印度 22--美东弗吉尼亚23--泰国 24--俄罗斯 25--日本
/// </summary>
[JsonProperty("RegionId")]
public long? RegionId{ get; set; }
/// <summary>
/// 区域id
/// </summary>
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
/// <summary>
/// vpc网络id 如75101
/// </summary>
[JsonProperty("VpcId")]
public long? VpcId{ get; set; }
/// <summary>
/// vpc网络下子网id 如46315
/// </summary>
[JsonProperty("SubnetId")]
public long? SubnetId{ get; set; }
/// <summary>
/// 实例当前状态0待初始化1实例在流程中2实例运行中-2实例已隔离-3实例待删除
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 实例vip
/// </summary>
[JsonProperty("WanIp")]
public string WanIp{ get; set; }
/// <summary>
/// 实例端口号
/// </summary>
[JsonProperty("Port")]
public long? Port{ get; set; }
/// <summary>
/// 实例创建时间
/// </summary>
[JsonProperty("Createtime")]
public string Createtime{ get; set; }
/// <summary>
/// 实例容量大小单位MB
/// </summary>
[JsonProperty("Size")]
public float? Size{ get; set; }
/// <summary>
/// 该字段已废弃
/// </summary>
[JsonProperty("SizeUsed")]
public float? SizeUsed{ get; set; }
/// <summary>
/// 实例类型1Redis2.8集群版2Redis2.8主从版3CKV主从版Redis3.24CKV集群版Redis3.25Redis2.8单机版6Redis4.0主从版7Redis4.0集群版;
/// </summary>
[JsonProperty("Type")]
public long? Type{ get; set; }
/// <summary>
/// 实例是否设置自动续费标识1设置自动续费0未设置自动续费
/// </summary>
[JsonProperty("AutoRenewFlag")]
public long? AutoRenewFlag{ get; set; }
/// <summary>
/// 实例到期时间
/// </summary>
[JsonProperty("DeadlineTime")]
public string DeadlineTime{ get; set; }
/// <summary>
/// 引擎社区版Redis、腾讯云CKV
/// </summary>
[JsonProperty("Engine")]
public string Engine{ get; set; }
/// <summary>
/// 产品类型Redis2.8集群版、Redis2.8主从版、Redis3.2主从版CKV主从版、Redis3.2集群版CKV集群版、Redis2.8单机版、Redis4.0集群版
/// </summary>
[JsonProperty("ProductType")]
public string ProductType{ get; set; }
/// <summary>
/// vpc网络id 如vpc-fk33jsf43kgv
/// </summary>
[JsonProperty("UniqVpcId")]
public string UniqVpcId{ get; set; }
/// <summary>
/// vpc网络下子网id 如subnet-fd3j6l35mm0
/// </summary>
[JsonProperty("UniqSubnetId")]
public string UniqSubnetId{ get; set; }
/// <summary>
/// 计费模式0-按量计费1-包年包月
/// </summary>
[JsonProperty("BillingMode")]
public long? BillingMode{ get; set; }
/// <summary>
/// 实例运行状态描述:如”实例运行中“
/// </summary>
[JsonProperty("InstanceTitle")]
public string InstanceTitle{ get; set; }
/// <summary>
/// 计划下线时间
/// </summary>
[JsonProperty("OfflineTime")]
public string OfflineTime{ get; set; }
/// <summary>
/// 流程中的实例,返回子状态
/// </summary>
[JsonProperty("SubStatus")]
public long? SubStatus{ get; set; }
/// <summary>
/// 反亲和性标签
/// </summary>
[JsonProperty("Tags")]
public string[] Tags{ get; set; }
/// <summary>
/// 实例节点信息
/// </summary>
[JsonProperty("InstanceNode")]
public InstanceNode[] InstanceNode{ get; set; }
/// <summary>
/// 分片大小
/// </summary>
[JsonProperty("RedisShardSize")]
public long? RedisShardSize{ get; set; }
/// <summary>
/// 分片数量
/// </summary>
[JsonProperty("RedisShardNum")]
public long? RedisShardNum{ get; set; }
/// <summary>
/// 副本数量
/// </summary>
[JsonProperty("RedisReplicasNum")]
public long? RedisReplicasNum{ get; set; }
/// <summary>
/// 计费Id
/// </summary>
[JsonProperty("PriceId")]
public long? PriceId{ get; set; }
/// <summary>
/// 隔离时间
/// </summary>
[JsonProperty("CloseTime")]
public string CloseTime{ get; set; }
/// <summary>
/// 从节点读取权重
/// </summary>
[JsonProperty("SlaveReadWeight")]
public long? SlaveReadWeight{ get; set; }
/// <summary>
/// 实例关联的标签信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceTags")]
public InstanceTagInfo[] InstanceTags{ get; set; }
/// <summary>
/// 项目名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ProjectName")]
public string ProjectName{ get; set; }
/// <summary>
/// 是否为免密实例true-免密实例false-非免密实例
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NoAuth")]
public bool? NoAuth{ get; set; }
/// <summary>
/// 客户端连接数
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ClientLimit")]
public long? ClientLimit{ get; set; }
/// <summary>
/// DTS状态内部参数用户可忽略
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DtsStatus")]
public long? DtsStatus{ get; set; }
/// <summary>
/// 分片带宽上限单位MB
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NetLimit")]
public long? NetLimit{ get; set; }
/// <summary>
/// 免密实例标识(内部参数,用户可忽略)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PasswordFree")]
public long? PasswordFree{ get; set; }
/// <summary>
/// 实例只读标识(内部参数,用户可忽略)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ReadOnly")]
public long? ReadOnly{ get; set; }
/// <summary>
/// 内部参数,用户可忽略
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Vip6")]
public string Vip6{ get; set; }
/// <summary>
/// 内部参数,用户可忽略
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RemainBandwidthDuration")]
public string RemainBandwidthDuration{ 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 + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "Appid", this.Appid);
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "WanIp", this.WanIp);
this.SetParamSimple(map, prefix + "Port", this.Port);
this.SetParamSimple(map, prefix + "Createtime", this.Createtime);
this.SetParamSimple(map, prefix + "Size", this.Size);
this.SetParamSimple(map, prefix + "SizeUsed", this.SizeUsed);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "AutoRenewFlag", this.AutoRenewFlag);
this.SetParamSimple(map, prefix + "DeadlineTime", this.DeadlineTime);
this.SetParamSimple(map, prefix + "Engine", this.Engine);
this.SetParamSimple(map, prefix + "ProductType", this.ProductType);
this.SetParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
this.SetParamSimple(map, prefix + "UniqSubnetId", this.UniqSubnetId);
this.SetParamSimple(map, prefix + "BillingMode", this.BillingMode);
this.SetParamSimple(map, prefix + "InstanceTitle", this.InstanceTitle);
this.SetParamSimple(map, prefix + "OfflineTime", this.OfflineTime);
this.SetParamSimple(map, prefix + "SubStatus", this.SubStatus);
this.SetParamArraySimple(map, prefix + "Tags.", this.Tags);
this.SetParamArrayObj(map, prefix + "InstanceNode.", this.InstanceNode);
this.SetParamSimple(map, prefix + "RedisShardSize", this.RedisShardSize);
this.SetParamSimple(map, prefix + "RedisShardNum", this.RedisShardNum);
this.SetParamSimple(map, prefix + "RedisReplicasNum", this.RedisReplicasNum);
this.SetParamSimple(map, prefix + "PriceId", this.PriceId);
this.SetParamSimple(map, prefix + "CloseTime", this.CloseTime);
this.SetParamSimple(map, prefix + "SlaveReadWeight", this.SlaveReadWeight);
this.SetParamArrayObj(map, prefix + "InstanceTags.", this.InstanceTags);
this.SetParamSimple(map, prefix + "ProjectName", this.ProjectName);
this.SetParamSimple(map, prefix + "NoAuth", this.NoAuth);
this.SetParamSimple(map, prefix + "ClientLimit", this.ClientLimit);
this.SetParamSimple(map, prefix + "DtsStatus", this.DtsStatus);
this.SetParamSimple(map, prefix + "NetLimit", this.NetLimit);
this.SetParamSimple(map, prefix + "PasswordFree", this.PasswordFree);
this.SetParamSimple(map, prefix + "ReadOnly", this.ReadOnly);
this.SetParamSimple(map, prefix + "Vip6", this.Vip6);
this.SetParamSimple(map, prefix + "RemainBandwidthDuration", this.RemainBandwidthDuration);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceSlowlogDetail : AbstractModel
{
/// <summary>
/// 慢查询耗时
/// </summary>
[JsonProperty("Duration")]
public long? Duration{ get; set; }
/// <summary>
/// 客户端地址
/// </summary>
[JsonProperty("Client")]
public string Client{ get; set; }
/// <summary>
/// 命令
/// </summary>
[JsonProperty("Command")]
public string Command{ get; set; }
/// <summary>
/// 详细命令行信息
/// </summary>
[JsonProperty("CommandLine")]
public string CommandLine{ get; set; }
/// <summary>
/// 执行时间
/// </summary>
[JsonProperty("ExecuteTime")]
public string ExecuteTime{ 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 + "Duration", this.Duration);
this.SetParamSimple(map, prefix + "Client", this.Client);
this.SetParamSimple(map, prefix + "Command", this.Command);
this.SetParamSimple(map, prefix + "CommandLine", this.CommandLine);
this.SetParamSimple(map, prefix + "ExecuteTime", this.ExecuteTime);
}
}
}

View 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceTagInfo : AbstractModel
{
/// <summary>
/// 标签键
/// </summary>
[JsonProperty("TagKey")]
public string TagKey{ get; set; }
/// <summary>
/// 标签值
/// </summary>
[JsonProperty("TagValue")]
public string TagValue{ 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 + "TagKey", this.TagKey);
this.SetParamSimple(map, prefix + "TagValue", this.TagValue);
}
}
}

Some files were not shown because too many files have changed in this diff Show More