lib/v20220308/models.rb in tencentcloud-sdk-keewidb-3.0.590 vs lib/v20220308/models.rb in tencentcloud-sdk-keewidb-3.0.591

- old
+ new

@@ -25,11 +25,11 @@ # @type SecurityGroupId: String # @param InstanceIds: 实例 ID,格式如:kee-c1nl9***,支持指定多个实例。 # @type InstanceIds: Array attr_accessor :Product, :SecurityGroupId, :InstanceIds - + def initialize(product=nil, securitygroupid=nil, instanceids=nil) @Product = product @SecurityGroupId = securitygroupid @InstanceIds = instanceids end @@ -45,11 +45,11 @@ class AssociateSecurityGroupsResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -71,11 +71,11 @@ # @type Status: Integer # @param Locked: 备份是否被锁定。<ul><li>0:未被锁定。</li><li>1:已被锁定。</li></ul> # @type Locked: Integer attr_accessor :StartTime, :BackupId, :BackupType, :Remark, :Status, :Locked - + def initialize(starttime=nil, backupid=nil, backuptype=nil, remark=nil, status=nil, locked=nil) @StartTime = starttime @BackupId = backupid @BackupType = backuptype @Remark = remark @@ -106,11 +106,11 @@ # @param FileSize: 备份文件大小,单位:Byte。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FileSize: Integer attr_accessor :StartTime, :EndTime, :BackupId, :Filename, :FileSize - + def initialize(starttime=nil, endtime=nil, backupid=nil, filename=nil, filesize=nil) @StartTime = starttime @EndTime = endtime @BackupId = backupid @Filename = filename @@ -132,11 +132,11 @@ # @type InstanceId: String # @param NodeId: 副本节点 ID。 # @type NodeId: String attr_accessor :InstanceId, :NodeId - + def initialize(instanceid=nil, nodeid=nil) @InstanceId = instanceid @NodeId = nodeid end @@ -152,11 +152,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId - + def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end @@ -170,11 +170,11 @@ class CleanUpInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID,如:kee-6ubh****。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -188,11 +188,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId - + def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end @@ -209,11 +209,11 @@ # @param Password: 实例访问密码。 # 实例为免密访问,则无需设置该参数。 # @type Password: String attr_accessor :InstanceId, :Password - + def initialize(instanceid=nil, password=nil) @InstanceId = instanceid @Password = password end @@ -229,11 +229,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId - + def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end @@ -251,11 +251,11 @@ # @type Remark: String # @param StorageDays: 备份文件保存天数。0代表指定默认保留时间 # @type StorageDays: Integer attr_accessor :InstanceId, :Remark, :StorageDays - + def initialize(instanceid=nil, remark=nil, storagedays=nil) @InstanceId = instanceid @Remark = remark @StorageDays = storagedays end @@ -273,11 +273,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId - + def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end @@ -341,11 +341,11 @@ # @type DiskSize: Integer # @param ProjectId: 项目id,取值以用户账户>用户账户相关接口查询>项目列表返回的projectId为准。 # @type ProjectId: Integer attr_accessor :TypeId, :UniqVpcId, :UniqSubnetId, :BillingMode, :GoodsNum, :Period, :ShardNum, :ReplicasNum, :MachineCpu, :MachineMemory, :ZoneId, :ZoneName, :InstanceName, :NoAuth, :Password, :VPort, :AutoRenew, :SecurityGroupIdList, :ResourceTags, :MemSize, :DiskSize, :ProjectId - + def initialize(typeid=nil, uniqvpcid=nil, uniqsubnetid=nil, billingmode=nil, goodsnum=nil, period=nil, shardnum=nil, replicasnum=nil, machinecpu=nil, machinememory=nil, zoneid=nil, zonename=nil, instancename=nil, noauth=nil, password=nil, vport=nil, autorenew=nil, securitygroupidlist=nil, resourcetags=nil, memsize=nil, disksize=nil, projectid=nil) @TypeId = typeid @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @BillingMode = billingmode @@ -410,11 +410,11 @@ # @type InstanceIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealId, :InstanceIds, :RequestId - + def initialize(dealid=nil, instanceids=nil, requestid=nil) @DealId = dealid @InstanceIds = instanceids @RequestId = requestid end @@ -430,11 +430,11 @@ class DescribeAutoBackupConfigRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -454,11 +454,11 @@ # @type BinlogStorageDays: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :WeekDays, :TimePeriod, :BackupStorageDays, :BinlogStorageDays, :RequestId - + def initialize(weekdays=nil, timeperiod=nil, backupstoragedays=nil, binlogstoragedays=nil, requestid=nil) @WeekDays = weekdays @TimePeriod = timeperiod @BackupStorageDays = backupstoragedays @BinlogStorageDays = binlogstoragedays @@ -478,11 +478,11 @@ class DescribeConnectionConfigRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID,如:kee-6ubh****。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -500,11 +500,11 @@ # @type ClientLimit: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InNetLimit, :OutNetLimit, :ClientLimit, :RequestId - + def initialize(innetlimit=nil, outnetlimit=nil, clientlimit=nil, requestid=nil) @InNetLimit = innetlimit @OutNetLimit = outnetlimit @ClientLimit = clientlimit @RequestId = requestid @@ -524,11 +524,11 @@ # @type Product: String # @param InstanceId: 实例ID,格式如:kee-c1nl9***。 # @type InstanceId: String attr_accessor :Product, :InstanceId - + def initialize(product=nil, instanceid=nil) @Product = product @InstanceId = instanceid end @@ -548,11 +548,11 @@ # @type VPort: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Groups, :VIP, :VPort, :RequestId - + def initialize(groups=nil, vip=nil, vport=nil, requestid=nil) @Groups = groups @VIP = vip @VPort = vport @RequestId = requestid @@ -588,11 +588,11 @@ # @type EndTime: String # @param Status: 备份任务状态。<ul><li>1:备份在流程中。</li><li>2:备份正常。</li><li>3:备份转RDB文件处理中。</li><li>4:已完成RDB转换。</li><li>-1:备份已过期。</li><li>-2:备份已删除。</li></ul> # @type Status: Array attr_accessor :InstanceId, :Limit, :Offset, :BeginTime, :EndTime, :Status - + def initialize(instanceid=nil, limit=nil, offset=nil, begintime=nil, endtime=nil, status=nil) @InstanceId = instanceid @Limit = limit @Offset = offset @BeginTime = begintime @@ -621,11 +621,11 @@ # @type BackupRecord: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :BackupSet, :BackupRecord, :RequestId - + def initialize(totalcount=nil, backupset=nil, backuprecord=nil, requestid=nil) @TotalCount = totalcount @BackupSet = backupset @BackupRecord = backuprecord @RequestId = requestid @@ -665,11 +665,11 @@ # @type BeginTime: String # @param EndTime: 结束时间,格式如:2017-02-08 19:09:26。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表。 # @type EndTime: String attr_accessor :InstanceId, :Limit, :Offset, :BeginTime, :EndTime - + def initialize(instanceid=nil, limit=nil, offset=nil, begintime=nil, endtime=nil) @InstanceId = instanceid @Limit = limit @Offset = offset @BeginTime = begintime @@ -693,11 +693,11 @@ # @type BackupSet: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :BackupSet, :RequestId - + def initialize(totalcount=nil, backupset=nil, requestid=nil) @TotalCount = totalcount @BackupSet = backupset @RequestId = requestid end @@ -720,11 +720,11 @@ class DescribeInstanceDealDetailRequest < TencentCloud::Common::AbstractModel # @param DealIds: 订单交易ID数组,即 [CreateInstances](https://cloud.tencent.com/document/api/1520/86207) 的输出参数DealId。 # @type DealIds: Array attr_accessor :DealIds - + def initialize(dealids=nil) @DealIds = dealids end def deserialize(params) @@ -738,11 +738,11 @@ # @type DealDetails: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealDetails, :RequestId - + def initialize(dealdetails=nil, requestid=nil) @DealDetails = dealdetails @RequestId = requestid end @@ -767,11 +767,11 @@ # @type Limit: Integer # @param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。 # @type Offset: Integer attr_accessor :InstanceId, :Limit, :Offset - + def initialize(instanceid=nil, limit=nil, offset=nil) @InstanceId = instanceid @Limit = limit @Offset = offset end @@ -808,11 +808,11 @@ # @type KeeWiDB: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ProxyCount, :Proxy, :RedisCount, :Redis, :TendisCount, :Tendis, :KeeWiDBCount, :KeeWiDB, :RequestId - + def initialize(proxycount=nil, proxy=nil, rediscount=nil, redis=nil, tendiscount=nil, tendis=nil, keewidbcount=nil, keewidb=nil, requestid=nil) @ProxyCount = proxycount @Proxy = proxy @RedisCount = rediscount @Redis = redis @@ -872,11 +872,11 @@ # @type Limit: Integer # @param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。 # @type Offset: Integer attr_accessor :InstanceId, :Limit, :Offset - + def initialize(instanceid=nil, limit=nil, offset=nil) @InstanceId = instanceid @Limit = limit @Offset = offset end @@ -896,11 +896,11 @@ # @type InstanceParamHistory: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceParamHistory, :RequestId - + def initialize(totalcount=nil, instanceparamhistory=nil, requestid=nil) @TotalCount = totalcount @InstanceParamHistory = instanceparamhistory @RequestId = requestid end @@ -923,11 +923,11 @@ class DescribeInstanceParamsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID,如:kee-6ubh****。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -949,11 +949,11 @@ # @type InstanceMultiParam: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceEnumParam, :InstanceIntegerParam, :InstanceTextParam, :InstanceMultiParam, :RequestId - + def initialize(totalcount=nil, instanceenumparam=nil, instanceintegerparam=nil, instancetextparam=nil, instancemultiparam=nil, requestid=nil) @TotalCount = totalcount @InstanceEnumParam = instanceenumparam @InstanceIntegerParam = instanceintegerparam @InstanceTextParam = instancetextparam @@ -1003,11 +1003,11 @@ class DescribeInstanceReplicasRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID,如:kee-6ubh****。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1023,11 +1023,11 @@ # @type ReplicaGroups: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :ReplicaGroups, :RequestId - + def initialize(totalcount=nil, replicagroups=nil, requestid=nil) @TotalCount = totalcount @ReplicaGroups = replicagroups @RequestId = requestid end @@ -1091,11 +1091,11 @@ # @type InstanceTags: :class:`Tencentcloud::Keewidb.v20220308.models.InstanceTagInfo` # @param TagKeys: 根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。 # @type TagKeys: Array attr_accessor :Limit, :Offset, :InstanceId, :OrderBy, :OrderType, :VpcIds, :SubnetIds, :ProjectIds, :SearchKey, :InstanceName, :UniqVpcIds, :UniqSubnetIds, :Status, :AutoRenew, :BillingMode, :Type, :SearchKeys, :TypeList, :MonitorVersion, :InstanceTags, :TagKeys - + def initialize(limit=nil, offset=nil, instanceid=nil, orderby=nil, ordertype=nil, vpcids=nil, subnetids=nil, projectids=nil, searchkey=nil, instancename=nil, uniqvpcids=nil, uniqsubnetids=nil, status=nil, autorenew=nil, billingmode=nil, type=nil, searchkeys=nil, typelist=nil, monitorversion=nil, instancetags=nil, tagkeys=nil) @Limit = limit @Offset = offset @InstanceId = instanceid @OrderBy = orderby @@ -1154,11 +1154,11 @@ # @type InstanceSet: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceSet, :RequestId - + def initialize(totalcount=nil, instanceset=nil, requestid=nil) @TotalCount = totalcount @InstanceSet = instanceset @RequestId = requestid end @@ -1181,11 +1181,11 @@ class DescribeMaintenanceWindowRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID,如:kee-6ubhg***。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1201,11 +1201,11 @@ # @type EndTime: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :StartTime, :EndTime, :RequestId - + def initialize(starttime=nil, endtime=nil, requestid=nil) @StartTime = starttime @EndTime = endtime @RequestId = requestid end @@ -1218,11 +1218,11 @@ end # DescribeProductInfo请求参数结构体 class DescribeProductInfoRequest < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -1234,11 +1234,11 @@ # @type RegionSet: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RegionSet, :RequestId - + def initialize(regionset=nil, requestid=nil) @RegionSet = regionset @RequestId = requestid end @@ -1268,11 +1268,11 @@ # @type Limit: Integer # @param SearchKey: 搜索关键词,支持根据安全组 ID 或者安全组名称搜索。 # @type SearchKey: String attr_accessor :Product, :ProjectId, :Offset, :Limit, :SearchKey - + def initialize(product=nil, projectid=nil, offset=nil, limit=nil, searchkey=nil) @Product = product @ProjectId = projectid @Offset = offset @Limit = limit @@ -1296,11 +1296,11 @@ # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Groups, :Total, :RequestId - + def initialize(groups=nil, total=nil, requestid=nil) @Groups = groups @Total = total @RequestId = requestid end @@ -1333,11 +1333,11 @@ # @type Limit: Integer # @param Offset: 页面偏移量,取Limit整数倍,计算公式:offset=limit*(页码-1)。 # @type Offset: Integer attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset - + def initialize(instanceid=nil, begintime=nil, endtime=nil, minquerytime=nil, limit=nil, offset=nil) @InstanceId = instanceid @BeginTime = begintime @EndTime = endtime @MinQueryTime = minquerytime @@ -1363,11 +1363,11 @@ # @type InstanceProxySlowLogDetail: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceProxySlowLogDetail, :RequestId - + def initialize(totalcount=nil, instanceproxyslowlogdetail=nil, requestid=nil) @TotalCount = totalcount @InstanceProxySlowLogDetail = instanceproxyslowlogdetail @RequestId = requestid end @@ -1390,11 +1390,11 @@ class DescribeTaskInfoRequest < TencentCloud::Common::AbstractModel # @param TaskId: 任务 ID。 # @type TaskId: Integer attr_accessor :TaskId - + def initialize(taskid=nil) @TaskId = taskid end def deserialize(params) @@ -1416,11 +1416,11 @@ # @type TaskMessage: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :StartTime, :TaskType, :InstanceId, :TaskMessage, :RequestId - + def initialize(status=nil, starttime=nil, tasktype=nil, instanceid=nil, taskmessage=nil, requestid=nil) @Status = status @StartTime = starttime @TaskType = tasktype @InstanceId = instanceid @@ -1458,11 +1458,11 @@ # @type EndTime: String # @param TaskStatus: 任务状态。 # @type TaskStatus: Array attr_accessor :InstanceId, :InstanceName, :Limit, :Offset, :ProjectIds, :TaskTypes, :BeginTime, :EndTime, :TaskStatus - + def initialize(instanceid=nil, instancename=nil, limit=nil, offset=nil, projectids=nil, tasktypes=nil, begintime=nil, endtime=nil, taskstatus=nil) @InstanceId = instanceid @InstanceName = instancename @Limit = limit @Offset = offset @@ -1494,11 +1494,11 @@ # @type Tasks: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :Tasks, :RequestId - + def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end @@ -1531,11 +1531,11 @@ # @type Limit: Integer # @param Offset: 页面偏移量,取Limit整数倍,计算公式:offset=limit*(页码-1)。 # @type Offset: Integer attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset - + def initialize(instanceid=nil, begintime=nil, endtime=nil, minquerytime=nil, limit=nil, offset=nil) @InstanceId = instanceid @BeginTime = begintime @EndTime = endtime @MinQueryTime = minquerytime @@ -1561,11 +1561,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TendisSlowLogDetail, :TotalCount, :RequestId - + def initialize(tendisslowlogdetail=nil, totalcount=nil, requestid=nil) @TendisSlowLogDetail = tendisslowlogdetail @TotalCount = totalcount @RequestId = requestid end @@ -1588,11 +1588,11 @@ class DestroyPostpaidInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1606,11 +1606,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId - + def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end @@ -1624,11 +1624,11 @@ class DestroyPrepaidInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1642,11 +1642,11 @@ # @type DealId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealId, :RequestId - + def initialize(dealid=nil, requestid=nil) @DealId = dealid @RequestId = requestid end @@ -1664,11 +1664,11 @@ # @type SecurityGroupId: String # @param InstanceIds: 实例 ID,格式如:kee-c1nl****,支持指定多个实例。 # @type InstanceIds: Array attr_accessor :Product, :SecurityGroupId, :InstanceIds - + def initialize(product=nil, securitygroupid=nil, instanceids=nil) @Product = product @SecurityGroupId = securitygroupid @InstanceIds = instanceids end @@ -1684,11 +1684,11 @@ class DisassociateSecurityGroupsResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -1714,11 +1714,11 @@ # @type ServiceModule: String # @param Id: 安全组id代表的地址集合。 # @type Id: String attr_accessor :Action, :AddressModule, :CidrIp, :Desc, :IpProtocol, :PortRange, :ServiceModule, :Id - + def initialize(action=nil, addressmodule=nil, cidrip=nil, desc=nil, ipprotocol=nil, portrange=nil, servicemodule=nil, id=nil) @Action = action @AddressModule = addressmodule @CidrIp = cidrip @Desc = desc @@ -1758,11 +1758,11 @@ # @type EnumValue: Array # @param Status: 参数状态, 1: 修改中, 2:修改完成 # @type Status: Integer attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :EnumValue, :Status - + def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, enumvalue=nil, status=nil) @ParamName = paramname @ValueType = valuetype @NeedRestart = needrestart @DefaultValue = defaultvalue @@ -1905,11 +1905,11 @@ # @type DiskShardNum: Integer # @param DiskReplicasNum: 1 # @type DiskReplicasNum: Integer attr_accessor :InstanceName, :InstanceId, :Appid, :ProjectId, :RegionId, :ZoneId, :VpcId, :Status, :SubnetId, :WanIp, :Port, :Createtime, :Size, :Type, :AutoRenewFlag, :DeadlineTime, :Engine, :ProductType, :UniqVpcId, :UniqSubnetId, :BillingMode, :InstanceTitle, :OfflineTime, :SubStatus, :Tags, :RedisShardSize, :RedisShardNum, :RedisReplicasNum, :PriceId, :CloseTime, :SlaveReadWeight, :InstanceTags, :ProjectName, :NoAuth, :ClientLimit, :DtsStatus, :NetLimit, :PasswordFree, :ReadOnly, :Vip6, :RemainBandwidthDuration, :DiskSize, :MonitorVersion, :ClientLimitMin, :ClientLimitMax, :NodeSet, :Region, :MachineMemory, :DiskShardSize, :DiskShardNum, :DiskReplicasNum - + def initialize(instancename=nil, instanceid=nil, appid=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, status=nil, subnetid=nil, wanip=nil, port=nil, createtime=nil, size=nil, type=nil, autorenewflag=nil, deadlinetime=nil, engine=nil, producttype=nil, uniqvpcid=nil, uniqsubnetid=nil, billingmode=nil, instancetitle=nil, offlinetime=nil, substatus=nil, tags=nil, redisshardsize=nil, redisshardnum=nil, redisreplicasnum=nil, priceid=nil, closetime=nil, slavereadweight=nil, instancetags=nil, projectname=nil, noauth=nil, clientlimit=nil, dtsstatus=nil, netlimit=nil, passwordfree=nil, readonly=nil, vip6=nil, remainbandwidthduration=nil, disksize=nil, monitorversion=nil, clientlimitmin=nil, clientlimitmax=nil, nodeset=nil, region=nil, machinememory=nil, diskshardsize=nil, diskshardnum=nil, diskreplicasnum=nil) @InstanceName = instancename @InstanceId = instanceid @Appid = appid @ProjectId = projectid @@ -2054,11 +2054,11 @@ # @param Unit: 参数单位 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Unit: String attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :Min, :Max, :Status, :Unit - + def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, min=nil, max=nil, status=nil, unit=nil) @ParamName = paramname @ValueType = valuetype @NeedRestart = needrestart @DefaultValue = defaultvalue @@ -2102,11 +2102,11 @@ # @type EnumValue: Array # @param Status: 参数状态, 1: 修改中, 2:修改完成 # @type Status: Integer attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :EnumValue, :Status - + def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, enumvalue=nil, status=nil) @ParamName = paramname @ValueType = valuetype @NeedRestart = needrestart @DefaultValue = defaultvalue @@ -2134,11 +2134,11 @@ # @type NodeId: String # @param NodeRole: 节点角色 # @type NodeRole: String attr_accessor :NodeId, :NodeRole - + def initialize(nodeid=nil, noderole=nil) @NodeId = nodeid @NodeRole = noderole end @@ -2154,11 +2154,11 @@ # @type Key: String # @param Value: 设置参数的值 # @type Value: String attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -2180,11 +2180,11 @@ # @type Status: Integer # @param ModifyTime: 修改时间 # @type ModifyTime: String attr_accessor :ParamName, :PreValue, :NewValue, :Status, :ModifyTime - + def initialize(paramname=nil, prevalue=nil, newvalue=nil, status=nil, modifytime=nil) @ParamName = paramname @PreValue = prevalue @NewValue = newvalue @Status = status @@ -2212,11 +2212,11 @@ # @type CommandLine: String # @param ExecuteTime: 执行时间 # @type ExecuteTime: String attr_accessor :Duration, :Client, :Command, :CommandLine, :ExecuteTime - + def initialize(duration=nil, client=nil, command=nil, commandline=nil, executetime=nil) @Duration = duration @Client = client @Command = command @CommandLine = commandline @@ -2238,11 +2238,11 @@ # @type TagKey: String # @param TagValue: 标签值 # @type TagValue: String attr_accessor :TagKey, :TagValue - + def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end @@ -2270,11 +2270,11 @@ # @type TextValue: Array # @param Status: 参数状态, 1: 修改中, 2:修改完成 # @type Status: Integer attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :TextValue, :Status - + def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, textvalue=nil, status=nil) @ParamName = paramname @ValueType = valuetype @NeedRestart = needrestart @DefaultValue = defaultvalue @@ -2304,11 +2304,11 @@ # @type Status: String # @param Role: 节点角色。 # @type Role: String attr_accessor :NodeId, :Status, :Role - + def initialize(nodeid=nil, status=nil, role=nil) @NodeId = nodeid @Status = status @Role = role end @@ -2329,11 +2329,11 @@ # @param TimePeriod: 备份任务执行时间段。 # 可设置的格式为一个整点到下一个整点。例如:00:00-01:00、01:00-02:00、21:00-22:00、23:00-00:00等。 # @type TimePeriod: String attr_accessor :InstanceId, :WeekDays, :TimePeriod - + def initialize(instanceid=nil, weekdays=nil, timeperiod=nil) @InstanceId = instanceid @WeekDays = weekdays @TimePeriod = timeperiod end @@ -2357,11 +2357,11 @@ # @type WeekDays: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :BackupStorageDays, :BinlogStorageDays, :TimePeriod, :WeekDays, :RequestId - + def initialize(backupstoragedays=nil, binlogstoragedays=nil, timeperiod=nil, weekdays=nil, requestid=nil) @BackupStorageDays = backupstoragedays @BinlogStorageDays = binlogstoragedays @TimePeriod = timeperiod @WeekDays = weekdays @@ -2388,11 +2388,11 @@ # <ul>默认为10000,整个实例的最大连接数为单个分片的最大连接数 x 分片数量。标准架构分片数量为1。 # <li>关闭副本只读:每个分片的最大连接数的取值范围为[10000,40000]。</li><li>开启副本只读:每个分片的最大连接数的取值范围为 [10000,10000 x (副本数 + 3)]。</li></ul> # @type ClientLimit: Integer attr_accessor :InstanceId, :Bandwidth, :ClientLimit - + def initialize(instanceid=nil, bandwidth=nil, clientlimit=nil) @InstanceId = instanceid @Bandwidth = bandwidth @ClientLimit = clientlimit end @@ -2410,11 +2410,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId - + def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end @@ -2432,11 +2432,11 @@ # @type SecurityGroupIds: Array # @param InstanceId: 实例ID,格式如:kee-c1nl****。 # @type InstanceId: String attr_accessor :Product, :SecurityGroupIds, :InstanceId - + def initialize(product=nil, securitygroupids=nil, instanceid=nil) @Product = product @SecurityGroupIds = securitygroupids @InstanceId = instanceid end @@ -2452,11 +2452,11 @@ class ModifyDBInstanceSecurityGroupsResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -2470,11 +2470,11 @@ # @type InstanceId: String # @param InstanceParams: 实例修改的参数列表。 # @type InstanceParams: Array attr_accessor :InstanceId, :InstanceParams - + def initialize(instanceid=nil, instanceparams=nil) @InstanceId = instanceid @InstanceParams = instanceparams end @@ -2499,11 +2499,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Changed, :TaskId, :RequestId - + def initialize(changed=nil, taskid=nil, requestid=nil) @Changed = changed @TaskId = taskid @RequestId = requestid end @@ -2527,11 +2527,11 @@ # @type ProjectId: Integer # @param AutoRenews: 包年包月计费的续费模式。<b>InstanceIds</b>数组和<b>AutoRenews</b>数组中的修改值对应。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul> # @type AutoRenews: Array attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews - + def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil) @Operation = operation @InstanceIds = instanceids @InstanceNames = instancenames @ProjectId = projectid @@ -2551,11 +2551,11 @@ class ModifyInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -2571,11 +2571,11 @@ # @type StartTime: String # @param EndTime: 维护时间窗结束时间,如:06:00。 # @type EndTime: String attr_accessor :InstanceId, :StartTime, :EndTime - + def initialize(instanceid=nil, starttime=nil, endtime=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime end @@ -2593,11 +2593,11 @@ # @type Status: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :RequestId - + def initialize(status=nil, requestid=nil) @Status = status @RequestId = requestid end @@ -2625,11 +2625,11 @@ # @param Recycle: 原 VIP 保留时长。 # 单位:天。取值范围:0、1、2、3、7、15。 # @type Recycle: Integer attr_accessor :InstanceId, :Operation, :Vip, :VpcId, :SubnetId, :Recycle - + def initialize(instanceid=nil, operation=nil, vip=nil, vpcid=nil, subnetid=nil, recycle=nil) @InstanceId = instanceid @Operation = operation @Vip = vip @VpcId = vpcid @@ -2659,11 +2659,11 @@ # @type Vip: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :SubnetId, :VpcId, :Vip, :RequestId - + def initialize(status=nil, subnetid=nil, vpcid=nil, vip=nil, requestid=nil) @Status = status @SubnetId = subnetid @VpcId = vpcid @Vip = vip @@ -2689,11 +2689,11 @@ # @type ZoneId: Integer # @param ZoneName: 主节点或者副本节点的可用区名称 # @type ZoneName: String attr_accessor :NodeType, :NodeId, :ZoneId, :ZoneName - + def initialize(nodetype=nil, nodeid=nil, zoneid=nil, zonename=nil) @NodeType = nodetype @NodeId = nodeid @ZoneId = zoneid @ZoneName = zonename @@ -2725,11 +2725,11 @@ # @type ServiceModule: String # @param Id: 安全组id代表的地址集合。 # @type Id: String attr_accessor :Action, :AddressModule, :CidrIp, :Desc, :IpProtocol, :PortRange, :ServiceModule, :Id - + def initialize(action=nil, addressmodule=nil, cidrip=nil, desc=nil, ipprotocol=nil, portrange=nil, servicemodule=nil, id=nil) @Action = action @AddressModule = addressmodule @CidrIp = cidrip @Desc = desc @@ -2771,11 +2771,11 @@ # @type ReplicaNum: Array # @param PayMode: 支持的计费模式,1-包年包月,0-按量计费 # @type PayMode: String attr_accessor :Type, :TypeName, :MinBuyNum, :MaxBuyNum, :Saleout, :Engine, :Version, :ReplicaNum, :PayMode - + def initialize(type=nil, typename=nil, minbuynum=nil, maxbuynum=nil, saleout=nil, engine=nil, version=nil, replicanum=nil, paymode=nil) @Type = type @TypeName = typename @MinBuyNum = minbuynum @MaxBuyNum = maxbuynum @@ -2804,11 +2804,11 @@ # @param NodeId: 节点ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type NodeId: String attr_accessor :NodeId - + def initialize(nodeid=nil) @NodeId = nodeid end def deserialize(params) @@ -2826,11 +2826,11 @@ # @type ClusterId: Integer # @param ZoneId: 可用区ID # @type ZoneId: Integer attr_accessor :NodeId, :NodeRole, :ClusterId, :ZoneId - + def initialize(nodeid=nil, noderole=nil, clusterid=nil, zoneid=nil) @NodeId = nodeid @NodeRole = noderole @ClusterId = clusterid @ZoneId = zoneid @@ -2856,11 +2856,11 @@ # @type Area: String # @param ZoneSet: 可用区信息 # @type ZoneSet: Array attr_accessor :RegionId, :RegionName, :RegionShortName, :Area, :ZoneSet - + def initialize(regionid=nil, regionname=nil, regionshortname=nil, area=nil, zoneset=nil) @RegionId = regionid @RegionName = regionname @RegionShortName = regionshortname @Area = area @@ -2889,11 +2889,11 @@ # @type InstanceId: String # @param Period: 购买时长。单位:月。取值为 [1,2,3,4,5,6,7,8,9,10,11,12,24,36,48,60]。 # @type Period: Integer attr_accessor :InstanceId, :Period - + def initialize(instanceid=nil, period=nil) @InstanceId = instanceid @Period = period end @@ -2909,11 +2909,11 @@ # @type DealId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealId, :RequestId - + def initialize(dealid=nil, requestid=nil) @DealId = dealid @RequestId = requestid end @@ -2935,11 +2935,11 @@ # @type Role: String # @param KeeWiDBNodes: 节点组节点列表。 # @type KeeWiDBNodes: Array attr_accessor :GroupId, :GroupName, :ZoneId, :Role, :KeeWiDBNodes - + def initialize(groupid=nil, groupname=nil, zoneid=nil, role=nil, keewidbnodes=nil) @GroupId = groupid @GroupName = groupname @ZoneId = zoneid @Role = role @@ -2971,11 +2971,11 @@ # @type Password: String # @param NoAuth: 标识实例是否切换免密认证。<ul><li>false:由免密码认证方式切换为密码认证实例。默认为false。</li><li>true:由密码认证方式切换为免密码认证的方式。</li></ul> # @type NoAuth: Boolean attr_accessor :InstanceId, :Password, :NoAuth - + def initialize(instanceid=nil, password=nil, noauth=nil) @InstanceId = instanceid @Password = password @NoAuth = noauth end @@ -2994,11 +2994,11 @@ # @type TaskId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId - + def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end @@ -3014,11 +3014,11 @@ # @type TagKey: String # @param TagValue: 标签 Value。 # @type TagValue: String attr_accessor :TagKey, :TagValue - + def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end @@ -3044,11 +3044,11 @@ # @type Outbound: Array # @param Inbound: 入站规则。 # @type Inbound: Array attr_accessor :CreateTime, :ProjectId, :SecurityGroupId, :SecurityGroupName, :SecurityGroupRemark, :Outbound, :Inbound - + def initialize(createtime=nil, projectid=nil, securitygroupid=nil, securitygroupname=nil, securitygroupremark=nil, outbound=nil, inbound=nil) @CreateTime = createtime @ProjectId = projectid @SecurityGroupId = securitygroupid @SecurityGroupName = securitygroupname @@ -3086,11 +3086,11 @@ class StartUpInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -3102,11 +3102,11 @@ class StartUpInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -3146,11 +3146,11 @@ # @param OperatorUin: 操作者用户uin # 注意:此字段可能返回 null,表示取不到有效值。 # @type OperatorUin: String attr_accessor :TaskId, :StartTime, :TaskType, :InstanceName, :InstanceId, :ProjectId, :Progress, :EndTime, :Result, :OperatorUin - + def initialize(taskid=nil, starttime=nil, tasktype=nil, instancename=nil, instanceid=nil, projectid=nil, progress=nil, endtime=nil, result=nil, operatoruin=nil) @TaskId = taskid @StartTime = starttime @TaskType = tasktype @InstanceName = instancename @@ -3188,11 +3188,11 @@ # @type CommandLine: String # @param Node: 节点ID # @type Node: String attr_accessor :ExecuteTime, :Duration, :Command, :CommandLine, :Node - + def initialize(executetime=nil, duration=nil, command=nil, commandline=nil, node=nil) @ExecuteTime = executetime @Duration = duration @Command = command @CommandLine = commandline @@ -3234,11 +3234,11 @@ # @type Price: Float # @param InstanceIds: 实例ID # @type InstanceIds: Array attr_accessor :DealId, :DealName, :ZoneId, :GoodsNum, :Creater, :CreatTime, :OverdueTime, :EndTime, :Status, :Description, :Price, :InstanceIds - + def initialize(dealid=nil, dealname=nil, zoneid=nil, goodsnum=nil, creater=nil, creattime=nil, overduetime=nil, endtime=nil, status=nil, description=nil, price=nil, instanceids=nil) @DealId = dealid @DealName = dealname @ZoneId = zoneid @GoodsNum = goodsnum @@ -3286,11 +3286,11 @@ # @param DiskSize: 配置变更后,每个分片硬盘的容量。单位:GB。 # <ul><li>每一缓存分片容量,对应的磁盘容量范围不同。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。</li><li>变更实例内存、持久化内存与磁盘、变更实例的分片数量,每次只能变更一项。</li></ul> # @type DiskSize: Integer attr_accessor :InstanceId, :MemSize, :MachineCpu, :MachineMemory, :ShardNum, :DiskSize - + def initialize(instanceid=nil, memsize=nil, machinecpu=nil, machinememory=nil, shardnum=nil, disksize=nil) @InstanceId = instanceid @MemSize = memsize @MachineCpu = machinecpu @MachineMemory = machinememory @@ -3314,11 +3314,11 @@ # @type DealId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealId, :RequestId - + def initialize(dealid=nil, requestid=nil) @DealId = dealid @RequestId = requestid end @@ -3344,10 +3344,10 @@ # @type ProductSet: Array # @param OldZoneId: Int类型可用区ID # @type OldZoneId: Integer attr_accessor :ZoneId, :ZoneName, :IsSaleout, :IsDefault, :NetWorkType, :ProductSet, :OldZoneId - + def initialize(zoneid=nil, zonename=nil, issaleout=nil, isdefault=nil, networktype=nil, productset=nil, oldzoneid=nil) @ZoneId = zoneid @ZoneName = zonename @IsSaleout = issaleout @IsDefault = isdefault