lib/v20190725/models.rb in tencentcloud-sdk-mongodb-3.0.590 vs lib/v20190725/models.rb in tencentcloud-sdk-mongodb-3.0.591

- old
+ new

@@ -23,11 +23,11 @@ # @type InstanceIds: Array # @param ProjectId: 项目ID,用户已创建项目的唯一ID,非自定义 # @type ProjectId: Integer attr_accessor :InstanceIds, :ProjectId - + def initialize(instanceids=nil, projectid=nil) @InstanceIds = instanceids @ProjectId = projectid end @@ -43,11 +43,11 @@ # @type FlowIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FlowIds, :RequestId - + def initialize(flowids=nil, requestid=nil) @FlowIds = flowids @RequestId = requestid end @@ -64,11 +64,11 @@ # @param NameSpace: 指具有当前账号权限的数据库名。 # <ul><li>* :表示所有数据库。</li><li>db.name:表示特定name的数据库。</li></ul> # @type NameSpace: String attr_accessor :Mask, :NameSpace - + def initialize(mask=nil, namespace=nil) @Mask = mask @NameSpace = namespace end @@ -101,11 +101,11 @@ # @param BackupDesc: 发起备份时指定的备注信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BackupDesc: String attr_accessor :CreateTime, :BackupName, :ReplicaSetId, :BackupSize, :Status, :Percent, :TimeSpend, :Url, :BackupMethod, :BackupDesc - + def initialize(createtime=nil, backupname=nil, replicasetid=nil, backupsize=nil, status=nil, percent=nil, timespend=nil, url=nil, backupmethod=nil, backupdesc=nil) @CreateTime = createtime @BackupName = backupname @ReplicaSetId = replicasetid @BackupSize = backupsize @@ -137,11 +137,11 @@ # @type ReplicaSetId: String # @param Status: 任务当前状态。0-等待执行,1-正在下载,2-下载完成,3-下载失败,4-等待重试 # @type Status: Integer attr_accessor :ReplicaSetId, :Status - + def initialize(replicasetid=nil, status=nil) @ReplicaSetId = replicasetid @Status = status end @@ -175,11 +175,11 @@ # @type Status: Integer # @param BackupMethod: 备份方法,0-逻辑备份,1-物理备份 # @type BackupMethod: Integer attr_accessor :InstanceId, :BackupType, :BackupName, :BackupDesc, :BackupSize, :StartTime, :EndTime, :Status, :BackupMethod - + def initialize(instanceid=nil, backuptype=nil, backupname=nil, backupdesc=nil, backupsize=nil, starttime=nil, endtime=nil, status=nil, backupmethod=nil) @InstanceId = instanceid @BackupType = backuptype @BackupName = backupname @BackupDesc = backupdesc @@ -211,11 +211,11 @@ # @type Count: Integer # @param InternalService: 是否为内部ip # @type InternalService: Boolean attr_accessor :IP, :Count, :InternalService - + def initialize(ip=nil, count=nil, internalservice=nil) @IP = ip @Count = count @InternalService = internalservice end @@ -241,11 +241,11 @@ # @type UserDesc: String # @param AuthRole: 账号的读写权限信息。 # @type AuthRole: Array attr_accessor :InstanceId, :UserName, :Password, :MongoUserPassword, :UserDesc, :AuthRole - + def initialize(instanceid=nil, username=nil, password=nil, mongouserpassword=nil, userdesc=nil, authrole=nil) @InstanceId = instanceid @UserName = username @Password = password @MongoUserPassword = mongouserpassword @@ -276,11 +276,11 @@ # @type FlowId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FlowId, :RequestId - + def initialize(flowid=nil, requestid=nil) @FlowId = flowid @RequestId = requestid end @@ -300,11 +300,11 @@ # @type BackupMethod: Integer # @param BackupRemark: 备份备注信息。 # @type BackupRemark: String attr_accessor :InstanceId, :BackupMethod, :BackupRemark - + def initialize(instanceid=nil, backupmethod=nil, backupremark=nil) @InstanceId = instanceid @BackupMethod = backupmethod @BackupRemark = backupremark end @@ -322,11 +322,11 @@ # @type AsyncRequestId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AsyncRequestId, :RequestId - + def initialize(asyncrequestid=nil, requestid=nil) @AsyncRequestId = asyncrequestid @RequestId = requestid end @@ -346,11 +346,11 @@ # 如副本集cmgo-p8vnipr5,示例(固定取值):BackupSets.0=cmgo-p8vnipr5_0,可下载全量数据。 # 如分片集群cmgo-p8vnipr5,示例:BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1,即下载分片0和分片1的数据,分片集群如需全量下载,请按示例方式传入全部分片名称。 # @type BackupSets: Array attr_accessor :InstanceId, :BackupName, :BackupSets - + def initialize(instanceid=nil, backupname=nil, backupsets=nil) @InstanceId = instanceid @BackupName = backupname @BackupSets = backupsets end @@ -375,11 +375,11 @@ # @type Tasks: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Tasks, :RequestId - + def initialize(tasks=nil, requestid=nil) @Tasks = tasks @RequestId = requestid end @@ -477,11 +477,11 @@ # @type ReadonlyNodeAvailabilityZoneList: Array # @param HiddenZone: Hidden节点所属可用区。跨可用区部署实例,必须配置该参数。 # @type HiddenZone: String attr_accessor :Memory, :Volume, :ReplicateSetNum, :NodeNum, :MongoVersion, :MachineCode, :GoodsNum, :Zone, :ClusterType, :VpcId, :SubnetId, :Password, :ProjectId, :Tags, :Clone, :Father, :SecurityGroup, :RestoreTime, :InstanceName, :AvailabilityZoneList, :MongosCpu, :MongosMemory, :MongosNodeNum, :ReadonlyNodeNum, :ReadonlyNodeAvailabilityZoneList, :HiddenZone - + def initialize(memory=nil, volume=nil, replicatesetnum=nil, nodenum=nil, mongoversion=nil, machinecode=nil, goodsnum=nil, zone=nil, clustertype=nil, vpcid=nil, subnetid=nil, password=nil, projectid=nil, tags=nil, clone=nil, father=nil, securitygroup=nil, restoretime=nil, instancename=nil, availabilityzonelist=nil, mongoscpu=nil, mongosmemory=nil, mongosnodenum=nil, readonlynodenum=nil, readonlynodeavailabilityzonelist=nil, hiddenzone=nil) @Memory = memory @Volume = volume @ReplicateSetNum = replicatesetnum @NodeNum = nodenum @@ -554,11 +554,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 @@ -630,11 +630,11 @@ # @type ReadonlyNodeAvailabilityZoneList: Array # @param HiddenZone: Hidden节点所在的可用区,跨可用区实例必传 # @type HiddenZone: String attr_accessor :NodeNum, :Memory, :Volume, :MongoVersion, :GoodsNum, :Zone, :Period, :MachineCode, :ClusterType, :ReplicateSetNum, :ProjectId, :VpcId, :SubnetId, :Password, :Tags, :AutoRenewFlag, :AutoVoucher, :Clone, :Father, :SecurityGroup, :RestoreTime, :InstanceName, :AvailabilityZoneList, :MongosCpu, :MongosMemory, :MongosNodeNum, :ReadonlyNodeNum, :ReadonlyNodeAvailabilityZoneList, :HiddenZone - + def initialize(nodenum=nil, memory=nil, volume=nil, mongoversion=nil, goodsnum=nil, zone=nil, period=nil, machinecode=nil, clustertype=nil, replicatesetnum=nil, projectid=nil, vpcid=nil, subnetid=nil, password=nil, tags=nil, autorenewflag=nil, autovoucher=nil, clone=nil, father=nil, securitygroup=nil, restoretime=nil, instancename=nil, availabilityzonelist=nil, mongoscpu=nil, mongosmemory=nil, mongosnodenum=nil, readonlynodenum=nil, readonlynodeavailabilityzonelist=nil, hiddenzone=nil) @NodeNum = nodenum @Memory = memory @Volume = volume @MongoVersion = mongoversion @@ -713,11 +713,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 @@ -756,11 +756,11 @@ # @param MicrosecsRunning: 操作已执行时间(ms) # 注意:此字段可能返回 null,表示取不到有效值。 # @type MicrosecsRunning: Integer attr_accessor :OpId, :Ns, :Query, :Op, :ReplicaSetName, :State, :Operation, :NodeName, :MicrosecsRunning - + def initialize(opid=nil, ns=nil, query=nil, op=nil, replicasetname=nil, state=nil, operation=nil, nodename=nil, microsecsrunning=nil) @OpId = opid @Ns = ns @Query = query @Op = op @@ -790,11 +790,11 @@ # @type InstanceId: String # @param Region: 地域信息 # @type Region: String attr_accessor :InstanceId, :Region - + def initialize(instanceid=nil, region=nil) @InstanceId = instanceid @Region = region end @@ -813,11 +813,11 @@ # @type OriginalPrice: Float # @param DiscountPrice: 折扣加 # @type DiscountPrice: Float attr_accessor :UnitPrice, :OriginalPrice, :DiscountPrice - + def initialize(unitprice=nil, originalprice=nil, discountprice=nil) @UnitPrice = unitprice @OriginalPrice = originalprice @DiscountPrice = discountprice end @@ -837,11 +837,11 @@ # @type UserName: String # @param MongoUserPassword: 配置 mongouser 对应的密码。mongouser为系统默认账号,输入其对应的密码。 # @type MongoUserPassword: String attr_accessor :InstanceId, :UserName, :MongoUserPassword - + def initialize(instanceid=nil, username=nil, mongouserpassword=nil) @InstanceId = instanceid @UserName = username @MongoUserPassword = mongouserpassword end @@ -859,11 +859,11 @@ # @type FlowId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FlowId, :RequestId - + def initialize(flowid=nil, requestid=nil) @FlowId = flowid @RequestId = requestid end @@ -877,11 +877,11 @@ class DescribeAccountUsersRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 指定待获取账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -895,11 +895,11 @@ # @type Users: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Users, :RequestId - + def initialize(users=nil, requestid=nil) @Users = users @RequestId = requestid end @@ -920,11 +920,11 @@ class DescribeAsyncRequestInfoRequest < TencentCloud::Common::AbstractModel # @param AsyncRequestId: 异步请求Id,涉及到异步流程的接口返回,如CreateBackupDBInstance # @type AsyncRequestId: String attr_accessor :AsyncRequestId - + def initialize(asyncrequestid=nil) @AsyncRequestId = asyncrequestid end def deserialize(params) @@ -938,11 +938,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 @@ -972,11 +972,11 @@ # @type OrderByType: String # @param Status: 根据任务状态过滤。0-等待执行,1-正在下载,2-下载完成,3-下载失败,4-等待重试。不填默认返回所有类型 # @type Status: Array attr_accessor :InstanceId, :BackupName, :StartTime, :EndTime, :Limit, :Offset, :OrderBy, :OrderByType, :Status - + def initialize(instanceid=nil, backupname=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, orderby=nil, orderbytype=nil, status=nil) @InstanceId = instanceid @BackupName = backupname @StartTime = starttime @EndTime = endtime @@ -1008,11 +1008,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 @@ -1039,11 +1039,11 @@ # @type Limit: Integer # @param Offset: 偏移量,默认值为0。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 @@ -1063,11 +1063,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Clients, :TotalCount, :RequestId - + def initialize(clients=nil, totalcount=nil, requestid=nil) @Clients = clients @TotalCount = totalcount @RequestId = requestid end @@ -1109,11 +1109,11 @@ # @type OrderBy: String # @param OrderByType: 返回结果集排序方式,可能的取值:"ASC"/"asc"或"DESC"/"desc" # @type OrderByType: String attr_accessor :InstanceId, :Ns, :MillisecondRunning, :Op, :ReplicaSetName, :State, :Limit, :Offset, :OrderBy, :OrderByType - + def initialize(instanceid=nil, ns=nil, millisecondrunning=nil, op=nil, replicasetname=nil, state=nil, limit=nil, offset=nil, orderby=nil, orderbytype=nil) @InstanceId = instanceid @Ns = ns @MillisecondRunning = millisecondrunning @Op = op @@ -1147,11 +1147,11 @@ # @type CurrentOps: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :CurrentOps, :RequestId - + def initialize(totalcount=nil, currentops=nil, requestid=nil) @TotalCount = totalcount @CurrentOps = currentops @RequestId = requestid end @@ -1180,11 +1180,11 @@ # @type Limit: Integer # @param Offset: 分页偏移量,最小值为0,默认值为0。 # @type Offset: Integer attr_accessor :InstanceId, :BackupMethod, :Limit, :Offset - + def initialize(instanceid=nil, backupmethod=nil, limit=nil, offset=nil) @InstanceId = instanceid @BackupMethod = backupmethod @Limit = limit @Offset = offset @@ -1206,11 +1206,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :BackupList, :TotalCount, :RequestId - + def initialize(backuplist=nil, totalcount=nil, requestid=nil) @BackupList = backuplist @TotalCount = totalcount @RequestId = requestid end @@ -1233,11 +1233,11 @@ class DescribeDBInstanceDealRequest < TencentCloud::Common::AbstractModel # @param DealId: 订单ID,通过CreateDBInstance等接口返回 # @type DealId: String attr_accessor :DealId - + def initialize(dealid=nil) @DealId = dealid end def deserialize(params) @@ -1257,11 +1257,11 @@ # @type Action: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Status, :OriginalPrice, :DiscountPrice, :Action, :RequestId - + def initialize(status=nil, originalprice=nil, discountprice=nil, action=nil, requestid=nil) @Status = status @OriginalPrice = originalprice @DiscountPrice = discountprice @Action = action @@ -1295,11 +1295,11 @@ # @type Votes: Integer # @param Tags: 节点标签。 # @type Tags: Array attr_accessor :InstanceId, :NodeIds, :Roles, :OnlyHidden, :Priority, :Votes, :Tags - + def initialize(instanceid=nil, nodeids=nil, roles=nil, onlyhidden=nil, priority=nil, votes=nil, tags=nil) @InstanceId = instanceid @NodeIds = nodeids @Roles = roles @OnlyHidden = onlyhidden @@ -1335,11 +1335,11 @@ # @type ReplicateSets: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Mongos, :ReplicateSets, :RequestId - + def initialize(mongos=nil, replicatesets=nil, requestid=nil) @Mongos = mongos @ReplicateSets = replicatesets @RequestId = requestid end @@ -1401,11 +1401,11 @@ # @type SearchKey: String # @param Tags: 标签信息,包含标签键与标签值。 # @type Tags: Array attr_accessor :InstanceIds, :InstanceType, :ClusterType, :Status, :VpcId, :SubnetId, :PayMode, :Limit, :Offset, :OrderBy, :OrderByType, :ProjectIds, :SearchKey, :Tags - + def initialize(instanceids=nil, instancetype=nil, clustertype=nil, status=nil, vpcid=nil, subnetid=nil, paymode=nil, limit=nil, offset=nil, orderby=nil, orderbytype=nil, projectids=nil, searchkey=nil, tags=nil) @InstanceIds = instanceids @InstanceType = instancetype @ClusterType = clustertype @Status = status @@ -1454,11 +1454,11 @@ # @type InstanceDetails: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceDetails, :RequestId - + def initialize(totalcount=nil, instancedetails=nil, requestid=nil) @TotalCount = totalcount @InstanceDetails = instancedetails @RequestId = requestid end @@ -1481,11 +1481,11 @@ class DescribeInstanceParamsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 指定待查询参数列表的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1507,11 +1507,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceEnumParam, :InstanceIntegerParam, :InstanceTextParam, :InstanceMultiParam, :TotalCount, :RequestId - + def initialize(instanceenumparam=nil, instanceintegerparam=nil, instancetextparam=nil, instancemultiparam=nil, totalcount=nil, requestid=nil) @InstanceEnumParam = instanceenumparam @InstanceIntegerParam = instanceintegerparam @InstanceTextParam = instancetextparam @InstanceMultiParam = instancemultiparam @@ -1561,11 +1561,11 @@ class DescribeSecurityGroupRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例 ID。例如:cmgo-p8vn****。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1579,11 +1579,11 @@ # @type Groups: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Groups, :RequestId - + def initialize(groups=nil, requestid=nil) @Groups = groups @RequestId = requestid end @@ -1616,11 +1616,11 @@ # @type Limit: Integer # @param Format: 慢日志返回格式,可设置为json,不传默认返回原生慢日志格式。 # @type Format: String attr_accessor :InstanceId, :StartTime, :EndTime, :SlowMS, :Offset, :Limit, :Format - + def initialize(instanceid=nil, starttime=nil, endtime=nil, slowms=nil, offset=nil, limit=nil, format=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime @SlowMS = slowms @@ -1648,11 +1648,11 @@ # @type SlowLogPatterns: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Count, :SlowLogPatterns, :RequestId - + def initialize(count=nil, slowlogpatterns=nil, requestid=nil) @Count = count @SlowLogPatterns = slowlogpatterns @RequestId = requestid end @@ -1687,11 +1687,11 @@ # @type Limit: Integer # @param Format: 慢日志返回格式。默认返回原生慢日志格式,4.4及以上版本可设置为json。 # @type Format: String attr_accessor :InstanceId, :StartTime, :EndTime, :SlowMS, :Offset, :Limit, :Format - + def initialize(instanceid=nil, starttime=nil, endtime=nil, slowms=nil, offset=nil, limit=nil, format=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime @SlowMS = slowms @@ -1720,11 +1720,11 @@ # @type SlowLogs: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Count, :SlowLogs, :RequestId - + def initialize(count=nil, slowlogs=nil, requestid=nil) @Count = count @SlowLogs = slowlogs @RequestId = requestid end @@ -1740,11 +1740,11 @@ class DescribeSpecInfoRequest < TencentCloud::Common::AbstractModel # @param Zone: 待查询可用区 # @type Zone: String attr_accessor :Zone - + def initialize(zone=nil) @Zone = zone end def deserialize(params) @@ -1758,11 +1758,11 @@ # @type SpecInfoList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SpecInfoList, :RequestId - + def initialize(specinfolist=nil, requestid=nil) @SpecInfoList = specinfolist @RequestId = requestid end @@ -1783,11 +1783,11 @@ class FlushInstanceRouterConfigRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1799,11 +1799,11 @@ class FlushInstanceRouterConfigResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -1847,11 +1847,11 @@ # @type ConfigServerMemory: Integer # @param ConfigServerVolume: 分片实例询价必填参数,指 ConfigServer 磁盘大小,取值为 20,单位:GB。 # @type ConfigServerVolume: Integer attr_accessor :Zone, :NodeNum, :Memory, :Volume, :MongoVersion, :MachineCode, :GoodsNum, :ClusterType, :ReplicateSetNum, :Period, :InstanceChargeType, :MongosCpu, :MongosMemory, :MongosNum, :ConfigServerCpu, :ConfigServerMemory, :ConfigServerVolume - + def initialize(zone=nil, nodenum=nil, memory=nil, volume=nil, mongoversion=nil, machinecode=nil, goodsnum=nil, clustertype=nil, replicatesetnum=nil, period=nil, instancechargetype=nil, mongoscpu=nil, mongosmemory=nil, mongosnum=nil, configservercpu=nil, configservermemory=nil, configservervolume=nil) @Zone = zone @NodeNum = nodenum @Memory = memory @Volume = volume @@ -1897,11 +1897,11 @@ # @type Price: :class:`Tencentcloud::Mongodb.v20190725.models.DBInstancePrice` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Price, :RequestId - + def initialize(price=nil, requestid=nil) @Price = price @RequestId = requestid end @@ -1926,11 +1926,11 @@ # @type NodeNum: Integer # @param ReplicateSetNum: 实例分片数。默认为不变更分片数,暂不支持变更。 # @type ReplicateSetNum: Integer attr_accessor :InstanceId, :Memory, :Volume, :NodeNum, :ReplicateSetNum - + def initialize(instanceid=nil, memory=nil, volume=nil, nodenum=nil, replicatesetnum=nil) @InstanceId = instanceid @Memory = memory @Volume = volume @NodeNum = nodenum @@ -1952,11 +1952,11 @@ # @type Price: :class:`Tencentcloud::Mongodb.v20190725.models.DBInstancePrice` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Price, :RequestId - + def initialize(price=nil, requestid=nil) @Price = price @RequestId = requestid end @@ -1975,11 +1975,11 @@ # @type InstanceIds: Array # @param InstanceChargePrepaid: 预付费模式(即包年包月)相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。 # @type InstanceChargePrepaid: :class:`Tencentcloud::Mongodb.v20190725.models.InstanceChargePrepaid` attr_accessor :InstanceIds, :InstanceChargePrepaid - + def initialize(instanceids=nil, instancechargeprepaid=nil) @InstanceIds = instanceids @InstanceChargePrepaid = instancechargeprepaid end @@ -1998,11 +1998,11 @@ # @type Price: :class:`Tencentcloud::Mongodb.v20190725.models.DBInstancePrice` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Price, :RequestId - + def initialize(price=nil, requestid=nil) @Price = price @RequestId = requestid end @@ -2028,11 +2028,11 @@ # 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 # (InquirePriceRenewDBInstances,RenewDBInstances调用时必填) # @type RenewFlag: String attr_accessor :Period, :RenewFlag - + def initialize(period=nil, renewflag=nil) @Period = period @RenewFlag = renewflag end @@ -2144,11 +2144,11 @@ # @param ReadonlyNodeNum: readonly节点个数。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ReadonlyNodeNum: Integer attr_accessor :InstanceId, :InstanceName, :PayMode, :ProjectId, :ClusterType, :Region, :Zone, :NetType, :VpcId, :SubnetId, :Status, :Vip, :Vport, :CreateTime, :DeadLine, :MongoVersion, :Memory, :Volume, :CpuNum, :MachineType, :SecondaryNum, :ReplicationSetNum, :AutoRenewFlag, :UsedVolume, :MaintenanceStart, :MaintenanceEnd, :ReplicaSets, :ReadonlyInstances, :StandbyInstances, :CloneInstances, :RelatedInstance, :Tags, :InstanceVer, :ClusterVer, :Protocol, :InstanceType, :InstanceStatusDesc, :RealInstanceId, :MongosNodeNum, :MongosMemory, :MongosCpuNum, :ConfigServerNodeNum, :ConfigServerMemory, :ConfigServerVolume, :ConfigServerCpuNum, :ReadonlyNodeNum - + def initialize(instanceid=nil, instancename=nil, paymode=nil, projectid=nil, clustertype=nil, region=nil, zone=nil, nettype=nil, vpcid=nil, subnetid=nil, status=nil, vip=nil, vport=nil, createtime=nil, deadline=nil, mongoversion=nil, memory=nil, volume=nil, cpunum=nil, machinetype=nil, secondarynum=nil, replicationsetnum=nil, autorenewflag=nil, usedvolume=nil, maintenancestart=nil, maintenanceend=nil, replicasets=nil, readonlyinstances=nil, standbyinstances=nil, cloneinstances=nil, relatedinstance=nil, tags=nil, instancever=nil, clusterver=nil, protocol=nil, instancetype=nil, instancestatusdesc=nil, realinstanceid=nil, mongosnodenum=nil, mongosmemory=nil, mongoscpunum=nil, configservernodenum=nil, configservermemory=nil, configservervolume=nil, configservercpunum=nil, readonlynodenum=nil) @InstanceId = instanceid @InstanceName = instancename @PayMode = paymode @ProjectId = projectid @@ -2306,11 +2306,11 @@ # - 1:运行中参数值。 # - 0:非运行中参数值。 # @type Status: Integer attr_accessor :CurrentValue, :DefaultValue, :EnumValue, :NeedRestart, :ParamName, :Tips, :ValueType, :Status - + def initialize(currentvalue=nil, defaultvalue=nil, enumvalue=nil, needrestart=nil, paramname=nil, tips=nil, valuetype=nil, status=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @EnumValue = enumvalue @NeedRestart = needrestart @@ -2358,11 +2358,11 @@ # @type Status: Integer # @param Unit: 冗余字段,可忽略。 # @type Unit: String attr_accessor :CurrentValue, :DefaultValue, :Max, :Min, :NeedRestart, :ParamName, :Tips, :ValueType, :Status, :Unit - + def initialize(currentvalue=nil, defaultvalue=nil, max=nil, min=nil, needrestart=nil, paramname=nil, tips=nil, valuetype=nil, status=nil, unit=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @Max = max @Min = min @@ -2410,11 +2410,11 @@ # @type Tips: Array # @param ValueType: 当前值的类型描述,默认为multi。 # @type ValueType: String attr_accessor :CurrentValue, :DefaultValue, :EnumValue, :NeedRestart, :ParamName, :Status, :Tips, :ValueType - + def initialize(currentvalue=nil, defaultvalue=nil, enumvalue=nil, needrestart=nil, paramname=nil, status=nil, tips=nil, valuetype=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @EnumValue = enumvalue @NeedRestart = needrestart @@ -2456,11 +2456,11 @@ # - 1:运行中参数值。 # - 0:非运行中参数值。 # @type Status: String attr_accessor :CurrentValue, :DefaultValue, :NeedRestart, :ParamName, :TextValue, :Tips, :ValueType, :Status - + def initialize(currentvalue=nil, defaultvalue=nil, needrestart=nil, paramname=nil, textvalue=nil, tips=nil, valuetype=nil, status=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @NeedRestart = needrestart @ParamName = paramname @@ -2486,11 +2486,11 @@ class IsolateDBInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -2504,11 +2504,11 @@ # @type AsyncRequestId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AsyncRequestId, :RequestId - + def initialize(asyncrequestid=nil, requestid=nil) @AsyncRequestId = asyncrequestid @RequestId = requestid end @@ -2524,11 +2524,11 @@ # @type InstanceId: String # @param Operations: 待终止的操作 # @type Operations: Array attr_accessor :InstanceId, :Operations - + def initialize(instanceid=nil, operations=nil) @InstanceId = instanceid @Operations = operations end @@ -2549,11 +2549,11 @@ class KillOpsResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -2573,11 +2573,11 @@ # @type NewUniqSubnetId: String # @param NetworkAddresses: 待修改IP信息 # @type NetworkAddresses: Array attr_accessor :InstanceId, :OldIpExpiredTime, :NewUniqVpcId, :NewUniqSubnetId, :NetworkAddresses - + def initialize(instanceid=nil, oldipexpiredtime=nil, newuniqvpcid=nil, newuniqsubnetid=nil, networkaddresses=nil) @InstanceId = instanceid @OldIpExpiredTime = oldipexpiredtime @NewUniqVpcId = newuniqvpcid @NewUniqSubnetId = newuniqsubnetid @@ -2604,11 +2604,11 @@ class ModifyDBInstanceNetworkAddressResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -2622,11 +2622,11 @@ # @type InstanceId: String # @param SecurityGroupIds: 目标安全组 ID。请通过接口[DescribeSecurityGroup](https://cloud.tencent.com/document/product/240/55675)查看具体的安全组 ID。 # @type SecurityGroupIds: Array attr_accessor :InstanceId, :SecurityGroupIds - + def initialize(instanceid=nil, securitygroupids=nil) @InstanceId = instanceid @SecurityGroupIds = securitygroupids end @@ -2640,11 +2640,11 @@ class ModifyDBInstanceSecurityGroupResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -2668,11 +2668,11 @@ # @type ReplicateSetNum: Integer # @param InMaintenance: 实例配置变更的切换时间,参数为:0(默认)、1。0-调整完成时,1-维护时间内。注:调整节点数和分片数不支持在【维护时间内】变更。 # @type InMaintenance: Integer attr_accessor :InstanceId, :Memory, :Volume, :OplogSize, :NodeNum, :ReplicateSetNum, :InMaintenance - + def initialize(instanceid=nil, memory=nil, volume=nil, oplogsize=nil, nodenum=nil, replicatesetnum=nil, inmaintenance=nil) @InstanceId = instanceid @Memory = memory @Volume = volume @OplogSize = oplogsize @@ -2698,11 +2698,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 @@ -2718,11 +2718,11 @@ # @type NewIPAddress: String # @param OldIpAddress: 原IP地址。 # @type OldIpAddress: String attr_accessor :NewIPAddress, :OldIpAddress - + def initialize(newipaddress=nil, oldipaddress=nil) @NewIPAddress = newipaddress @OldIpAddress = oldipaddress end @@ -2767,11 +2767,11 @@ # @param ReplicateSetId: 副本集Id。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ReplicateSetId: String attr_accessor :Zone, :NodeName, :Address, :Role, :Hidden, :Status, :SlaveDelay, :Priority, :Votes, :Tags, :ReplicateSetId - + def initialize(zone=nil, nodename=nil, address=nil, role=nil, hidden=nil, status=nil, slavedelay=nil, priority=nil, votes=nil, tags=nil, replicatesetid=nil) @Zone = zone @NodeName = nodename @Address = address @Role = role @@ -2814,11 +2814,11 @@ # @param TagValue: 节点Tag Value # 注意:此字段可能返回 null,表示取不到有效值。 # @type TagValue: String attr_accessor :TagKey, :TagValue - + def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end @@ -2832,11 +2832,11 @@ class OfflineIsolatedDBInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -2850,11 +2850,11 @@ # @type AsyncRequestId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AsyncRequestId, :RequestId - + def initialize(asyncrequestid=nil, requestid=nil) @AsyncRequestId = asyncrequestid @RequestId = requestid end @@ -2872,11 +2872,11 @@ # @type NodeName: String # @param OpId: 操作序号 # @type OpId: Integer attr_accessor :ReplicaSetName, :NodeName, :OpId - + def initialize(replicasetname=nil, nodename=nil, opid=nil) @ReplicaSetName = replicasetname @NodeName = nodename @OpId = opid end @@ -2894,11 +2894,11 @@ # @type InstanceId: String # @param NewName: 自定义实例名称,名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符 - # @type NewName: String attr_accessor :InstanceId, :NewName - + def initialize(instanceid=nil, newname=nil) @InstanceId = instanceid @NewName = newname end @@ -2912,11 +2912,11 @@ class RenameInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -2930,11 +2930,11 @@ # @type InstanceIds: Array # @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。包年包月实例该参数为必传参数。 # @type InstanceChargePrepaid: :class:`Tencentcloud::Mongodb.v20190725.models.InstanceChargePrepaid` attr_accessor :InstanceIds, :InstanceChargePrepaid - + def initialize(instanceids=nil, instancechargeprepaid=nil) @InstanceIds = instanceids @InstanceChargePrepaid = instancechargeprepaid end @@ -2951,11 +2951,11 @@ class RenewDBInstancesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -2967,11 +2967,11 @@ class ReplicaSetInfo < TencentCloud::Common::AbstractModel # @param ReplicaSetId: 副本集ID # @type ReplicaSetId: String attr_accessor :ReplicaSetId - + def initialize(replicasetid=nil) @ReplicaSetId = replicasetid end def deserialize(params) @@ -2984,11 +2984,11 @@ # @param Nodes: 节点属性 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Nodes: Array attr_accessor :Nodes - + def initialize(nodes=nil) @Nodes = nodes end def deserialize(params) @@ -3011,11 +3011,11 @@ # @type UserName: String # @param Password: 新密码,新密码长度不能少于8位 # @type Password: String attr_accessor :InstanceId, :UserName, :Password - + def initialize(instanceid=nil, username=nil, password=nil) @InstanceId = instanceid @UserName = username @Password = password end @@ -3033,11 +3033,11 @@ # @type AsyncRequestId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AsyncRequestId, :RequestId - + def initialize(asyncrequestid=nil, requestid=nil) @AsyncRequestId = asyncrequestid @RequestId = requestid end @@ -3063,11 +3063,11 @@ # @type SecurityGroupName: String # @param SecurityGroupRemark: 安全组备注 # @type SecurityGroupRemark: String attr_accessor :ProjectId, :CreateTime, :Inbound, :Outbound, :SecurityGroupId, :SecurityGroupName, :SecurityGroupRemark - + def initialize(projectid=nil, createtime=nil, inbound=nil, outbound=nil, securitygroupid=nil, securitygroupname=nil, securitygroupremark=nil) @ProjectId = projectid @CreateTime = createtime @Inbound = inbound @Outbound = outbound @@ -3119,11 +3119,11 @@ # @type ServiceModule: String # @param Desc: 描述 # @type Desc: String attr_accessor :Action, :CidrIp, :PortRange, :IpProtocol, :Id, :AddressModule, :ServiceModule, :Desc - + def initialize(action=nil, cidrip=nil, portrange=nil, ipprotocol=nil, id=nil, addressmodule=nil, servicemodule=nil, desc=nil) @Action = action @CidrIp = cidrip @PortRange = portrange @IpProtocol = ipprotocol @@ -3153,11 +3153,11 @@ # @type UserName: String # @param AuthRole: 设置权限信息。 # @type AuthRole: Array attr_accessor :InstanceId, :UserName, :AuthRole - + def initialize(instanceid=nil, username=nil, authrole=nil) @InstanceId = instanceid @UserName = username @AuthRole = authrole end @@ -3182,11 +3182,11 @@ # @type FlowId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FlowId, :RequestId - + def initialize(flowid=nil, requestid=nil) @FlowId = flowid @RequestId = requestid end @@ -3214,11 +3214,11 @@ # @type SecondaryNum: Integer # @param RealReplicaSetId: 分片物理id # @type RealReplicaSetId: String attr_accessor :UsedVolume, :ReplicaSetId, :ReplicaSetName, :Memory, :Volume, :OplogSize, :SecondaryNum, :RealReplicaSetId - + def initialize(usedvolume=nil, replicasetid=nil, replicasetname=nil, memory=nil, volume=nil, oplogsize=nil, secondarynum=nil, realreplicasetid=nil) @UsedVolume = usedvolume @ReplicaSetId = replicasetid @ReplicaSetName = replicasetname @Memory = memory @@ -3250,11 +3250,11 @@ # @type AverageTime: Integer # @param Total: 该模式慢日志条数 # @type Total: Integer attr_accessor :Pattern, :MaxTime, :AverageTime, :Total - + def initialize(pattern=nil, maxtime=nil, averagetime=nil, total=nil) @Pattern = pattern @MaxTime = maxtime @AverageTime = averagetime @Total = total @@ -3312,11 +3312,11 @@ # @type MaxReplicateSetNodeNum: Integer # @param MachineType: 机器类型,取值:0-HIO,4-HIO10G # @type MachineType: String attr_accessor :SpecCode, :Status, :Cpu, :Memory, :DefaultStorage, :MaxStorage, :MinStorage, :Qps, :Conns, :MongoVersionCode, :MongoVersionValue, :Version, :EngineName, :ClusterType, :MinNodeNum, :MaxNodeNum, :MinReplicateSetNum, :MaxReplicateSetNum, :MinReplicateSetNodeNum, :MaxReplicateSetNodeNum, :MachineType - + def initialize(speccode=nil, status=nil, cpu=nil, memory=nil, defaultstorage=nil, maxstorage=nil, minstorage=nil, qps=nil, conns=nil, mongoversioncode=nil, mongoversionvalue=nil, version=nil, enginename=nil, clustertype=nil, minnodenum=nil, maxnodenum=nil, minreplicatesetnum=nil, maxreplicatesetnum=nil, minreplicatesetnodenum=nil, maxreplicatesetnodenum=nil, machinetype=nil) @SpecCode = speccode @Status = status @Cpu = cpu @Memory = memory @@ -3374,11 +3374,11 @@ # @type SpecItems: Array # @param SupportMultiAZ: 是否支持跨可用区部署 1-支持,0-不支持 # @type SupportMultiAZ: Integer attr_accessor :Region, :Zone, :SpecItems, :SupportMultiAZ - + def initialize(region=nil, zone=nil, specitems=nil, supportmultiaz=nil) @Region = region @Zone = zone @SpecItems = specitems @SupportMultiAZ = supportmultiaz @@ -3405,11 +3405,11 @@ # @type TagKey: String # @param TagValue: 标签值 # @type TagValue: String attr_accessor :TagKey, :TagValue - + def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end @@ -3423,11 +3423,11 @@ class TerminateDBInstancesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 指定预隔离实例ID。格式如:cmgo-p8vnipr5。 # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -3439,11 +3439,11 @@ class TerminateDBInstancesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -3463,10 +3463,10 @@ # @type UpdateTime: String # @param UserDesc: 备注信息。 # @type UserDesc: String attr_accessor :UserName, :AuthRole, :CreateTime, :UpdateTime, :UserDesc - + def initialize(username=nil, authrole=nil, createtime=nil, updatetime=nil, userdesc=nil) @UserName = username @AuthRole = authrole @CreateTime = createtime @UpdateTime = updatetime