tencentcloud-sdk-sqlserver 3.0.970 → 3.0.971
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180328/client.rb +1 -1
- data/lib/v20180328/models.rb +73 -57
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: fe8bfc12a54704ec08494852ba9a2e36f764c624
         | 
| 4 | 
            +
              data.tar.gz: 7beeaef15bcbd80dfc5743adaa28b02a01271a95
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4e9ff7f1b08740fe80bb98de3d5ba44463bcf6dc7a5bc9680cfb47de44f537f53de0aeee8270a07d9828272ca1b3dc4d8dcf8f1dd13a6bef8b5a89f1399a8c28
         | 
| 7 | 
            +
              data.tar.gz: 43b4f775c89dfe0676e6c85f313eb92e188c0ab6afbff513f2b94e4bd4f1fec3b7d69b0a5e02c71527b0e9f42505472e3d30505c25bc02b8153384bfcaab0a9f
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.971
         | 
    
        data/lib/v20180328/client.rb
    CHANGED
    
    | @@ -1613,7 +1613,7 @@ module TencentCloud | |
| 1613 1613 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1614 1614 | 
             
                    end
         | 
| 1615 1615 |  | 
| 1616 | 
            -
                    # 本接口(DescribeInstanceTradeParameter | 
| 1616 | 
            +
                    # 本接口(DescribeInstanceTradeParameter)用于查询实例的计费参数
         | 
| 1617 1617 |  | 
| 1618 1618 | 
             
                    # @param request: Request instance for DescribeInstanceTradeParameter.
         | 
| 1619 1619 | 
             
                    # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeInstanceTradeParameterRequest`
         | 
    
        data/lib/v20180328/models.rb
    CHANGED
    
    | @@ -35,10 +35,12 @@ module TencentCloud | |
| 35 35 | 
             
                    # @type AccountType: String
         | 
| 36 36 | 
             
                    # @param IsCam: 是否开启CAM验证
         | 
| 37 37 | 
             
                    # @type IsCam: Boolean
         | 
| 38 | 
            +
                    # @param EncryptedVersion: 加密密钥版本号,0表示不使用加密
         | 
| 39 | 
            +
                    # @type EncryptedVersion: Integer
         | 
| 38 40 |  | 
| 39 | 
            -
                    attr_accessor :UserName, :Password, :DBPrivileges, :Remark, :IsAdmin, :Authentication, :AccountType, :IsCam
         | 
| 41 | 
            +
                    attr_accessor :UserName, :Password, :DBPrivileges, :Remark, :IsAdmin, :Authentication, :AccountType, :IsCam, :EncryptedVersion
         | 
| 40 42 |  | 
| 41 | 
            -
                    def initialize(username=nil, password=nil, dbprivileges=nil, remark=nil, isadmin=nil, authentication=nil, accounttype=nil, iscam=nil)
         | 
| 43 | 
            +
                    def initialize(username=nil, password=nil, dbprivileges=nil, remark=nil, isadmin=nil, authentication=nil, accounttype=nil, iscam=nil, encryptedversion=nil)
         | 
| 42 44 | 
             
                      @UserName = username
         | 
| 43 45 | 
             
                      @Password = password
         | 
| 44 46 | 
             
                      @DBPrivileges = dbprivileges
         | 
| @@ -47,6 +49,7 @@ module TencentCloud | |
| 47 49 | 
             
                      @Authentication = authentication
         | 
| 48 50 | 
             
                      @AccountType = accounttype
         | 
| 49 51 | 
             
                      @IsCam = iscam
         | 
| 52 | 
            +
                      @EncryptedVersion = encryptedversion
         | 
| 50 53 | 
             
                    end
         | 
| 51 54 |  | 
| 52 55 | 
             
                    def deserialize(params)
         | 
| @@ -65,6 +68,7 @@ module TencentCloud | |
| 65 68 | 
             
                      @Authentication = params['Authentication']
         | 
| 66 69 | 
             
                      @AccountType = params['AccountType']
         | 
| 67 70 | 
             
                      @IsCam = params['IsCam']
         | 
| 71 | 
            +
                      @EncryptedVersion = params['EncryptedVersion']
         | 
| 68 72 | 
             
                    end
         | 
| 69 73 | 
             
                  end
         | 
| 70 74 |  | 
| @@ -145,17 +149,21 @@ module TencentCloud | |
| 145 149 | 
             
                    # @type UserName: String
         | 
| 146 150 | 
             
                    # @param Password: 密码
         | 
| 147 151 | 
             
                    # @type Password: String
         | 
| 152 | 
            +
                    # @param EncryptedVersion: 加密密钥版本号,0表示不使用加密
         | 
| 153 | 
            +
                    # @type EncryptedVersion: Integer
         | 
| 148 154 |  | 
| 149 | 
            -
                    attr_accessor :UserName, :Password
         | 
| 155 | 
            +
                    attr_accessor :UserName, :Password, :EncryptedVersion
         | 
| 150 156 |  | 
| 151 | 
            -
                    def initialize(username=nil, password=nil)
         | 
| 157 | 
            +
                    def initialize(username=nil, password=nil, encryptedversion=nil)
         | 
| 152 158 | 
             
                      @UserName = username
         | 
| 153 159 | 
             
                      @Password = password
         | 
| 160 | 
            +
                      @EncryptedVersion = encryptedversion
         | 
| 154 161 | 
             
                    end
         | 
| 155 162 |  | 
| 156 163 | 
             
                    def deserialize(params)
         | 
| 157 164 | 
             
                      @UserName = params['UserName']
         | 
| 158 165 | 
             
                      @Password = params['Password']
         | 
| 166 | 
            +
                      @EncryptedVersion = params['EncryptedVersion']
         | 
| 159 167 | 
             
                    end
         | 
| 160 168 | 
             
                  end
         | 
| 161 169 |  | 
| @@ -536,7 +544,6 @@ module TencentCloud | |
| 536 544 | 
             
                  # 实例变配检查条目
         | 
| 537 545 | 
             
                  class CheckItem < TencentCloud::Common::AbstractModel
         | 
| 538 546 | 
             
                    # @param CheckName: 检查项目名称,CK_CPU-变配后CPU风险检查;CK_MASTER_STORAGE-只读副本变配下,只读副本磁盘空间不小于主实例空间检查;CK_MEMORY-变配后内存风险检查;CK_STORAGE-变配后磁盘空间风险检查;CK_UPGRATE-变配是否需要迁移检查;
         | 
| 539 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 540 547 | 
             
                    # @type CheckName: String
         | 
| 541 548 | 
             
                    # @param CurrentValue: 检查项目返回值,CK_CPU-当前CPU近7天最大的使用率(%) ;CK_MASTER_STORAGE-主实例的磁盘空间(GB);CK_MEMORY-当前内存近7天最大的使用值(GB);
         | 
| 542 549 | 
             
                    # CK_STORAGE-当前磁盘近7天最大的使用值(GB);CK_UPGRATE- 当前变配检查是否需要迁移,MIGRATE需要迁移变配,LOCAL本地变配;
         | 
| @@ -1115,10 +1122,8 @@ module TencentCloud | |
| 1115 1122 | 
             
                    # @param DealName: 订单名称
         | 
| 1116 1123 | 
             
                    # @type DealName: String
         | 
| 1117 1124 | 
             
                    # @param FlowId: 流程ID
         | 
| 1118 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 1119 1125 | 
             
                    # @type FlowId: Integer
         | 
| 1120 1126 | 
             
                    # @param InstanceIdSet: 实例ID集合
         | 
| 1121 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 1122 1127 | 
             
                    # @type InstanceIdSet: Array
         | 
| 1123 1128 | 
             
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 1124 1129 | 
             
                    # @type RequestId: String
         | 
| @@ -2230,7 +2235,7 @@ module TencentCloud | |
| 2230 2235 | 
             
                    # @type VersionName: String
         | 
| 2231 2236 | 
             
                    # @param RenewFlag: 实例续费标记,0-正常续费,1-自动续费,2-到期不续费
         | 
| 2232 2237 | 
             
                    # @type RenewFlag: Integer
         | 
| 2233 | 
            -
                    # @param Model: 实例高可用, 1-双机高可用,2-单机,3-跨可用区,4-集群跨可用区,5-集群,9-自研机房
         | 
| 2238 | 
            +
                    # @param Model: 实例高可用, 1-双机高可用,2-单机,3-跨可用区,4-集群跨可用区,5-集群,6-多节点集群,7-多节点集群跨可用区,9-自研机房
         | 
| 2234 2239 | 
             
                    # @type Model: Integer
         | 
| 2235 2240 | 
             
                    # @param Region: 实例所在地域名称,如 ap-guangzhou
         | 
| 2236 2241 | 
             
                    # @type Region: String
         | 
| @@ -2255,25 +2260,19 @@ module TencentCloud | |
| 2255 2260 | 
             
                    # @param UniqSubnetId: 实例所属子网的唯一字符串ID,格式如: subnet-xxx,基础网络时为空字符串
         | 
| 2256 2261 | 
             
                    # @type UniqSubnetId: String
         | 
| 2257 2262 | 
             
                    # @param IsolateOperator: 实例隔离操作
         | 
| 2258 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2259 2263 | 
             
                    # @type IsolateOperator: String
         | 
| 2260 2264 | 
             
                    # @param SubFlag: 发布订阅标识,SUB-订阅实例,PUB-发布实例,空值-没有发布订阅的普通实例
         | 
| 2261 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2262 2265 | 
             
                    # @type SubFlag: String
         | 
| 2263 2266 | 
             
                    # @param ROFlag: 只读标识,RO-只读实例,MASTER-有RO实例的主实例,空值-没有只读组的非RO实例
         | 
| 2264 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2265 2267 | 
             
                    # @type ROFlag: String
         | 
| 2266 2268 | 
             
                    # @param HAFlag: 容灾类型,MIRROR-镜像,ALWAYSON-AlwaysOn, SINGLE-单例
         | 
| 2267 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2268 2269 | 
             
                    # @type HAFlag: String
         | 
| 2269 2270 | 
             
                    # @param ResourceTags: 实例绑定的标签列表
         | 
| 2270 2271 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2271 2272 | 
             
                    # @type ResourceTags: Array
         | 
| 2272 2273 | 
             
                    # @param BackupModel: 备份模式,master_pkg-主节点打包备份(默认) ;master_no_pkg-主节点不打包备份;slave_pkg-从节点打包备份(always on集群有效);slave_no_pkg-从节点不打包备份(always on集群有效);只读副本对该值无效。
         | 
| 2273 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2274 2274 | 
             
                    # @type BackupModel: String
         | 
| 2275 2275 | 
             
                    # @param InstanceNote: 实例备份信息
         | 
| 2276 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2277 2276 | 
             
                    # @type InstanceNote: String
         | 
| 2278 2277 | 
             
                    # @param BackupCycle: 备份周期
         | 
| 2279 2278 | 
             
                    # @type BackupCycle: Array
         | 
| @@ -2281,7 +2280,7 @@ module TencentCloud | |
| 2281 2280 | 
             
                    # @type BackupCycleType: String
         | 
| 2282 2281 | 
             
                    # @param BackupSaveDays: 数据(日志)备份保留时间
         | 
| 2283 2282 | 
             
                    # @type BackupSaveDays: Integer
         | 
| 2284 | 
            -
                    # @param InstanceType: 实例类型 HA | 
| 2283 | 
            +
                    # @param InstanceType: 实例类型 HA-高可用,RO-只读实例,SI-基础版,BI-商业智能服务,cvmHA-云盘高可用,cvmRO-云盘只读实例,MultiHA-多节点,cvmMultiHA-云盘多节点
         | 
| 2285 2284 | 
             
                    # @type InstanceType: String
         | 
| 2286 2285 | 
             
                    # @param CrossRegions: 跨地域备份目的地域,如果为空,则表示未开启跨地域备份
         | 
| 2287 2286 | 
             
                    # @type CrossRegions: Array
         | 
| @@ -2299,19 +2298,18 @@ module TencentCloud | |
| 2299 2298 | 
             
                    # @type TimeZone: String
         | 
| 2300 2299 | 
             
                    # @param IsDrZone: 是否跨AZ
         | 
| 2301 2300 | 
             
                    # @type IsDrZone: Boolean
         | 
| 2302 | 
            -
                    # @param SlaveZones:  | 
| 2303 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2301 | 
            +
                    # @param SlaveZones: 双节点实例备可用区信息
         | 
| 2304 2302 | 
             
                    # @type SlaveZones: :class:`Tencentcloud::Sqlserver.v20180328.models.SlaveZones`
         | 
| 2305 2303 | 
             
                    # @param Architecture: 架构标识,SINGLE-单节点 DOUBLE-双节点
         | 
| 2306 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2307 2304 | 
             
                    # @type Architecture: String
         | 
| 2308 2305 | 
             
                    # @param Style: 类型标识,EXCLUSIVE-独享型,SHARED-共享型
         | 
| 2309 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2310 2306 | 
             
                    # @type Style: String
         | 
| 2307 | 
            +
                    # @param MultiSlaveZones: 多节点实例备可用区信息
         | 
| 2308 | 
            +
                    # @type MultiSlaveZones: Array
         | 
| 2311 2309 |  | 
| 2312 | 
            -
                    attr_accessor :InstanceId, :Name, :ProjectId, :RegionId, :ZoneId, :VpcId, :SubnetId, :Status, :Vip, :Vport, :CreateTime, :UpdateTime, :StartTime, :EndTime, :IsolateTime, :Memory, :UsedStorage, :Storage, :VersionName, :RenewFlag, :Model, :Region, :Zone, :BackupTime, :PayMode, :Uid, :Cpu, :Version, :Type, :Pid, :UniqVpcId, :UniqSubnetId, :IsolateOperator, :SubFlag, :ROFlag, :HAFlag, :ResourceTags, :BackupModel, :InstanceNote, :BackupCycle, :BackupCycleType, :BackupSaveDays, :InstanceType, :CrossRegions, :CrossBackupEnabled, :CrossBackupSaveDays, :DnsPodDomain, :TgwWanVPort, :Collation, :TimeZone, :IsDrZone, :SlaveZones, :Architecture, :Style
         | 
| 2310 | 
            +
                    attr_accessor :InstanceId, :Name, :ProjectId, :RegionId, :ZoneId, :VpcId, :SubnetId, :Status, :Vip, :Vport, :CreateTime, :UpdateTime, :StartTime, :EndTime, :IsolateTime, :Memory, :UsedStorage, :Storage, :VersionName, :RenewFlag, :Model, :Region, :Zone, :BackupTime, :PayMode, :Uid, :Cpu, :Version, :Type, :Pid, :UniqVpcId, :UniqSubnetId, :IsolateOperator, :SubFlag, :ROFlag, :HAFlag, :ResourceTags, :BackupModel, :InstanceNote, :BackupCycle, :BackupCycleType, :BackupSaveDays, :InstanceType, :CrossRegions, :CrossBackupEnabled, :CrossBackupSaveDays, :DnsPodDomain, :TgwWanVPort, :Collation, :TimeZone, :IsDrZone, :SlaveZones, :Architecture, :Style, :MultiSlaveZones
         | 
| 2313 2311 |  | 
| 2314 | 
            -
                    def initialize(instanceid=nil, name=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, vip=nil, vport=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, isolatetime=nil, memory=nil, usedstorage=nil, storage=nil, versionname=nil, renewflag=nil, model=nil, region=nil, zone=nil, backuptime=nil, paymode=nil, uid=nil, cpu=nil, version=nil, type=nil, pid=nil, uniqvpcid=nil, uniqsubnetid=nil, isolateoperator=nil, subflag=nil, roflag=nil, haflag=nil, resourcetags=nil, backupmodel=nil, instancenote=nil, backupcycle=nil, backupcycletype=nil, backupsavedays=nil, instancetype=nil, crossregions=nil, crossbackupenabled=nil, crossbackupsavedays=nil, dnspoddomain=nil, tgwwanvport=nil, collation=nil, timezone=nil, isdrzone=nil, slavezones=nil, architecture=nil, style=nil)
         | 
| 2312 | 
            +
                    def initialize(instanceid=nil, name=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, vip=nil, vport=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, isolatetime=nil, memory=nil, usedstorage=nil, storage=nil, versionname=nil, renewflag=nil, model=nil, region=nil, zone=nil, backuptime=nil, paymode=nil, uid=nil, cpu=nil, version=nil, type=nil, pid=nil, uniqvpcid=nil, uniqsubnetid=nil, isolateoperator=nil, subflag=nil, roflag=nil, haflag=nil, resourcetags=nil, backupmodel=nil, instancenote=nil, backupcycle=nil, backupcycletype=nil, backupsavedays=nil, instancetype=nil, crossregions=nil, crossbackupenabled=nil, crossbackupsavedays=nil, dnspoddomain=nil, tgwwanvport=nil, collation=nil, timezone=nil, isdrzone=nil, slavezones=nil, architecture=nil, style=nil, multislavezones=nil)
         | 
| 2315 2313 | 
             
                      @InstanceId = instanceid
         | 
| 2316 2314 | 
             
                      @Name = name
         | 
| 2317 2315 | 
             
                      @ProjectId = projectid
         | 
| @@ -2366,6 +2364,7 @@ module TencentCloud | |
| 2366 2364 | 
             
                      @SlaveZones = slavezones
         | 
| 2367 2365 | 
             
                      @Architecture = architecture
         | 
| 2368 2366 | 
             
                      @Style = style
         | 
| 2367 | 
            +
                      @MultiSlaveZones = multislavezones
         | 
| 2369 2368 | 
             
                    end
         | 
| 2370 2369 |  | 
| 2371 2370 | 
             
                    def deserialize(params)
         | 
| @@ -2433,6 +2432,14 @@ module TencentCloud | |
| 2433 2432 | 
             
                      end
         | 
| 2434 2433 | 
             
                      @Architecture = params['Architecture']
         | 
| 2435 2434 | 
             
                      @Style = params['Style']
         | 
| 2435 | 
            +
                      unless params['MultiSlaveZones'].nil?
         | 
| 2436 | 
            +
                        @MultiSlaveZones = []
         | 
| 2437 | 
            +
                        params['MultiSlaveZones'].each do |i|
         | 
| 2438 | 
            +
                          slavezones_tmp = SlaveZones.new
         | 
| 2439 | 
            +
                          slavezones_tmp.deserialize(i)
         | 
| 2440 | 
            +
                          @MultiSlaveZones << slavezones_tmp
         | 
| 2441 | 
            +
                        end
         | 
| 2442 | 
            +
                      end
         | 
| 2436 2443 | 
             
                    end
         | 
| 2437 2444 | 
             
                  end
         | 
| 2438 2445 |  | 
| @@ -2652,7 +2659,6 @@ module TencentCloud | |
| 2652 2659 | 
             
                    # @param CreateTime: 数据库创建时间
         | 
| 2653 2660 | 
             
                    # @type CreateTime: String
         | 
| 2654 2661 | 
             
                    # @param IsFullTextEnabled: 是否全文启用 0:否 1:是
         | 
| 2655 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 2656 2662 | 
             
                    # @type IsFullTextEnabled: String
         | 
| 2657 2663 |  | 
| 2658 2664 | 
             
                    attr_accessor :IsSubscribed, :CollationName, :IsAutoCleanupOn, :IsBrokerEnabled, :IsCdcEnabled, :IsDbChainingOn, :IsEncrypted, :IsFulltextEnabled, :IsMirroring, :IsPublished, :IsReadCommittedSnapshotOn, :IsTrustworthyOn, :MirroringState, :Name, :RecoveryModelDesc, :RetentionPeriod, :StateDesc, :UserAccessDesc, :CreateTime, :IsFullTextEnabled
         | 
| @@ -5216,7 +5222,6 @@ module TencentCloud | |
| 5216 5222 | 
             
                  # DescribeInquiryPriceParameter返回参数结构体
         | 
| 5217 5223 | 
             
                  class DescribeInquiryPriceParameterResponse < TencentCloud::Common::AbstractModel
         | 
| 5218 5224 | 
             
                    # @param Parameter: 计费参数
         | 
| 5219 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 5220 5225 | 
             
                    # @type Parameter: String
         | 
| 5221 5226 | 
             
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 5222 5227 | 
             
                    # @type RequestId: String
         | 
| @@ -5448,7 +5453,7 @@ module TencentCloud | |
| 5448 5453 | 
             
                    # @type Memory: Integer
         | 
| 5449 5454 | 
             
                    # @param Storage: 实例磁盘大小,单位GB
         | 
| 5450 5455 | 
             
                    # @type Storage: Integer
         | 
| 5451 | 
            -
                    # @param InstanceType: 购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,BI-商业智能服务,cvmHA-新版高可用,cvmRO | 
| 5456 | 
            +
                    # @param InstanceType: 购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,BI-商业智能服务,cvmHA-新版高可用,cvmRO-新版只读,MultiHA-多节点,cvmMultiHA-云盘多节点
         | 
| 5452 5457 | 
             
                    # @type InstanceType: String
         | 
| 5453 5458 | 
             
                    # @param MachineType: 购买实例的宿主机磁盘类型,CLOUD_HSSD-云服务器加强型SSD云盘,CLOUD_TSSD-云服务器极速型SSD云盘,CLOUD_BSSD-云服务器通用型SSD云盘
         | 
| 5454 5459 | 
             
                    # @type MachineType: String
         | 
| @@ -5484,10 +5489,14 @@ module TencentCloud | |
| 5484 5489 | 
             
                    # @type TimeZone: String
         | 
| 5485 5490 | 
             
                    # @param Collation: 系统字符集排序规则,默认:Chinese_PRC_CI_AS
         | 
| 5486 5491 | 
             
                    # @type Collation: String
         | 
| 5492 | 
            +
                    # @param MultiNodes: 是否多节点架构,默认值为false
         | 
| 5493 | 
            +
                    # @type MultiNodes: Boolean
         | 
| 5494 | 
            +
                    # @param DrZones: 备节点可用区,默认为空。如果是多节点架构时必传,并且当MultiZones=true时备节点可用区不能全部相同。备机可用区集合最小为2个,最大不超过5个。
         | 
| 5495 | 
            +
                    # @type DrZones: Array
         | 
| 5487 5496 |  | 
| 5488 | 
            -
                    attr_accessor :Zone, :Cpu, :Memory, :Storage, :InstanceType, :MachineType, :InstanceChargeType, :ProjectId, :GoodsNum, :DBVersion, :SubnetId, :VpcId, :Period, :SecurityGroupList, :AutoRenewFlag, :Weekly, :StartTime, :Span, :MultiZones, :ResourceTags, :TimeZone, :Collation
         | 
| 5497 | 
            +
                    attr_accessor :Zone, :Cpu, :Memory, :Storage, :InstanceType, :MachineType, :InstanceChargeType, :ProjectId, :GoodsNum, :DBVersion, :SubnetId, :VpcId, :Period, :SecurityGroupList, :AutoRenewFlag, :Weekly, :StartTime, :Span, :MultiZones, :ResourceTags, :TimeZone, :Collation, :MultiNodes, :DrZones
         | 
| 5489 5498 |  | 
| 5490 | 
            -
                    def initialize(zone=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, dbversion=nil, subnetid=nil, vpcid=nil, period=nil, securitygrouplist=nil, autorenewflag=nil, weekly=nil, starttime=nil, span=nil, multizones=nil, resourcetags=nil, timezone=nil, collation=nil)
         | 
| 5499 | 
            +
                    def initialize(zone=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, dbversion=nil, subnetid=nil, vpcid=nil, period=nil, securitygrouplist=nil, autorenewflag=nil, weekly=nil, starttime=nil, span=nil, multizones=nil, resourcetags=nil, timezone=nil, collation=nil, multinodes=nil, drzones=nil)
         | 
| 5491 5500 | 
             
                      @Zone = zone
         | 
| 5492 5501 | 
             
                      @Cpu = cpu
         | 
| 5493 5502 | 
             
                      @Memory = memory
         | 
| @@ -5510,6 +5519,8 @@ module TencentCloud | |
| 5510 5519 | 
             
                      @ResourceTags = resourcetags
         | 
| 5511 5520 | 
             
                      @TimeZone = timezone
         | 
| 5512 5521 | 
             
                      @Collation = collation
         | 
| 5522 | 
            +
                      @MultiNodes = multinodes
         | 
| 5523 | 
            +
                      @DrZones = drzones
         | 
| 5513 5524 | 
             
                    end
         | 
| 5514 5525 |  | 
| 5515 5526 | 
             
                    def deserialize(params)
         | 
| @@ -5542,13 +5553,14 @@ module TencentCloud | |
| 5542 5553 | 
             
                      end
         | 
| 5543 5554 | 
             
                      @TimeZone = params['TimeZone']
         | 
| 5544 5555 | 
             
                      @Collation = params['Collation']
         | 
| 5556 | 
            +
                      @MultiNodes = params['MultiNodes']
         | 
| 5557 | 
            +
                      @DrZones = params['DrZones']
         | 
| 5545 5558 | 
             
                    end
         | 
| 5546 5559 | 
             
                  end
         | 
| 5547 5560 |  | 
| 5548 5561 | 
             
                  # DescribeInstanceTradeParameter返回参数结构体
         | 
| 5549 5562 | 
             
                  class DescribeInstanceTradeParameterResponse < TencentCloud::Common::AbstractModel
         | 
| 5550 5563 | 
             
                    # @param Parameter: 计费参数
         | 
| 5551 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 5552 5564 | 
             
                    # @type Parameter: String
         | 
| 5553 5565 | 
             
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 5554 5566 | 
             
                    # @type RequestId: String
         | 
| @@ -7209,43 +7221,62 @@ module TencentCloud | |
| 7209 7221 |  | 
| 7210 7222 | 
             
                  # 备机只读信息
         | 
| 7211 7223 | 
             
                  class DrReadableInfo < TencentCloud::Common::AbstractModel
         | 
| 7212 | 
            -
                    # @param  | 
| 7213 | 
            -
                    #  | 
| 7224 | 
            +
                    # @param DrInstanceId: 备机资源ID
         | 
| 7225 | 
            +
                    # @type DrInstanceId: String
         | 
| 7226 | 
            +
                    # @param Zone: 备机可用区
         | 
| 7227 | 
            +
                    # @type Zone: String
         | 
| 7228 | 
            +
                    # @param SlaveStatus: 备机状态
         | 
| 7229 | 
            +
                    # DR_CREATING-备机创建中
         | 
| 7230 | 
            +
                    # DR_RUNNING-备机运行中
         | 
| 7231 | 
            +
                    # DR_UNAVAILABLE-备机不可用
         | 
| 7232 | 
            +
                    # DR_ISOLATED-备机已隔离
         | 
| 7233 | 
            +
                    # DR_RECYCLING-备机回收中
         | 
| 7234 | 
            +
                    # DR_RECYCLED-备机已回收
         | 
| 7235 | 
            +
                    # DR_JOB_RUNNING-备机执行任务中
         | 
| 7236 | 
            +
                    # DR_OFFLINE-备机已下线
         | 
| 7237 | 
            +
                    # DR_FAIL_OVER-备机只读故障转移中
         | 
| 7214 7238 | 
             
                    # @type SlaveStatus: String
         | 
| 7215 7239 | 
             
                    # @param ReadableStatus: 备机可读状态,enable-已开启,disable-已关闭
         | 
| 7216 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7217 7240 | 
             
                    # @type ReadableStatus: String
         | 
| 7218 7241 | 
             
                    # @param Vip: 备机只读vip
         | 
| 7219 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7220 7242 | 
             
                    # @type Vip: String
         | 
| 7221 7243 | 
             
                    # @param VPort: 备机只读端口
         | 
| 7222 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7223 7244 | 
             
                    # @type VPort: Integer
         | 
| 7224 7245 | 
             
                    # @param UniqVpcId: 备机所在私有网络ID
         | 
| 7225 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7226 7246 | 
             
                    # @type UniqVpcId: String
         | 
| 7227 7247 | 
             
                    # @param UniqSubnetId: 备机所在私有网络子网ID
         | 
| 7228 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7229 7248 | 
             
                    # @type UniqSubnetId: String
         | 
| 7249 | 
            +
                    # @param RoWeight: 备机只读权重
         | 
| 7250 | 
            +
                    # @type RoWeight: Integer
         | 
| 7251 | 
            +
                    # @param ReadMode: 备机只读模式,BalancedReadOnly-多备一读模式,SingleReadOnly-一备一读模式
         | 
| 7252 | 
            +
                    # @type ReadMode: String
         | 
| 7230 7253 |  | 
| 7231 | 
            -
                    attr_accessor :SlaveStatus, :ReadableStatus, :Vip, :VPort, :UniqVpcId, :UniqSubnetId
         | 
| 7254 | 
            +
                    attr_accessor :DrInstanceId, :Zone, :SlaveStatus, :ReadableStatus, :Vip, :VPort, :UniqVpcId, :UniqSubnetId, :RoWeight, :ReadMode
         | 
| 7232 7255 |  | 
| 7233 | 
            -
                    def initialize(slavestatus=nil, readablestatus=nil, vip=nil, vport=nil, uniqvpcid=nil, uniqsubnetid=nil)
         | 
| 7256 | 
            +
                    def initialize(drinstanceid=nil, zone=nil, slavestatus=nil, readablestatus=nil, vip=nil, vport=nil, uniqvpcid=nil, uniqsubnetid=nil, roweight=nil, readmode=nil)
         | 
| 7257 | 
            +
                      @DrInstanceId = drinstanceid
         | 
| 7258 | 
            +
                      @Zone = zone
         | 
| 7234 7259 | 
             
                      @SlaveStatus = slavestatus
         | 
| 7235 7260 | 
             
                      @ReadableStatus = readablestatus
         | 
| 7236 7261 | 
             
                      @Vip = vip
         | 
| 7237 7262 | 
             
                      @VPort = vport
         | 
| 7238 7263 | 
             
                      @UniqVpcId = uniqvpcid
         | 
| 7239 7264 | 
             
                      @UniqSubnetId = uniqsubnetid
         | 
| 7265 | 
            +
                      @RoWeight = roweight
         | 
| 7266 | 
            +
                      @ReadMode = readmode
         | 
| 7240 7267 | 
             
                    end
         | 
| 7241 7268 |  | 
| 7242 7269 | 
             
                    def deserialize(params)
         | 
| 7270 | 
            +
                      @DrInstanceId = params['DrInstanceId']
         | 
| 7271 | 
            +
                      @Zone = params['Zone']
         | 
| 7243 7272 | 
             
                      @SlaveStatus = params['SlaveStatus']
         | 
| 7244 7273 | 
             
                      @ReadableStatus = params['ReadableStatus']
         | 
| 7245 7274 | 
             
                      @Vip = params['Vip']
         | 
| 7246 7275 | 
             
                      @VPort = params['VPort']
         | 
| 7247 7276 | 
             
                      @UniqVpcId = params['UniqVpcId']
         | 
| 7248 7277 | 
             
                      @UniqSubnetId = params['UniqSubnetId']
         | 
| 7278 | 
            +
                      @RoWeight = params['RoWeight']
         | 
| 7279 | 
            +
                      @ReadMode = params['ReadMode']
         | 
| 7249 7280 | 
             
                    end
         | 
| 7250 7281 | 
             
                  end
         | 
| 7251 7282 |  | 
| @@ -7871,7 +7902,6 @@ module TencentCloud | |
| 7871 7902 | 
             
                    # @param MigrationId: 备份导入任务ID 或 增量导入任务ID
         | 
| 7872 7903 | 
             
                    # @type MigrationId: String
         | 
| 7873 7904 | 
             
                    # @param MigrationName: 备份导入名称,增量导入任务该字段为空
         | 
| 7874 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7875 7905 | 
             
                    # @type MigrationName: String
         | 
| 7876 7906 | 
             
                    # @param AppId: 应用ID
         | 
| 7877 7907 | 
             
                    # @type AppId: Integer
         | 
| @@ -7900,7 +7930,6 @@ module TencentCloud | |
| 7900 7930 | 
             
                    # @param Action: 当前状态允许的操作
         | 
| 7901 7931 | 
             
                    # @type Action: :class:`Tencentcloud::Sqlserver.v20180328.models.MigrationAction`
         | 
| 7902 7932 | 
             
                    # @param IsRecovery: 是否是最终恢复,全量导入任务该字段为空
         | 
| 7903 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7904 7933 | 
             
                    # @type IsRecovery: String
         | 
| 7905 7934 | 
             
                    # @param DBRename: 重命名的数据库名称集合
         | 
| 7906 7935 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| @@ -7991,7 +8020,6 @@ module TencentCloud | |
| 7991 8020 | 
             
                    # @param Progress: 总进度,如:"30"表示30%
         | 
| 7992 8021 | 
             
                    # @type Progress: Integer
         | 
| 7993 8022 | 
             
                    # @param StepInfo: 步骤信息,null表示还未开始迁移
         | 
| 7994 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7995 8023 | 
             
                    # @type StepInfo: Array
         | 
| 7996 8024 |  | 
| 7997 8025 | 
             
                    attr_accessor :StepAll, :StepNow, :Progress, :StepInfo
         | 
| @@ -9646,7 +9674,6 @@ module TencentCloud | |
| 9646 9674 | 
             
                    # @param RecycleTime: ip回收时间
         | 
| 9647 9675 | 
             
                    # @type RecycleTime: String
         | 
| 9648 9676 | 
             
                    # @param OldIpRetainTime: 旧IP保留时间小时数
         | 
| 9649 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 9650 9677 | 
             
                    # @type OldIpRetainTime: Integer
         | 
| 9651 9678 |  | 
| 9652 9679 | 
             
                    attr_accessor :Vip, :RecycleTime, :OldIpRetainTime
         | 
| @@ -9818,16 +9845,12 @@ module TencentCloud | |
| 9818 9845 | 
             
                  # 参考价格,该价格为CPU、内存规格价格,不包括磁盘用量,实际价格以询价接口为准。
         | 
| 9819 9846 | 
             
                  class Price < TencentCloud::Common::AbstractModel
         | 
| 9820 9847 | 
             
                    # @param PrepaidPrice: 包年包月参考价格,单位-分
         | 
| 9821 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 9822 9848 | 
             
                    # @type PrepaidPrice: Integer
         | 
| 9823 9849 | 
             
                    # @param PrepaidPriceUnit: 包年包月价格单位,M-月
         | 
| 9824 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 9825 9850 | 
             
                    # @type PrepaidPriceUnit: String
         | 
| 9826 9851 | 
             
                    # @param PostpaidPrice: 按量付费价格,单位-分
         | 
| 9827 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 9828 9852 | 
             
                    # @type PostpaidPrice: Integer
         | 
| 9829 9853 | 
             
                    # @param PostpaidPriceUnit: 按量付费价格单位,H-小时
         | 
| 9830 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 9831 9854 | 
             
                    # @type PostpaidPriceUnit: String
         | 
| 9832 9855 |  | 
| 9833 9856 | 
             
                    attr_accessor :PrepaidPrice, :PrepaidPriceUnit, :PostpaidPrice, :PostpaidPriceUnit
         | 
| @@ -10812,13 +10835,10 @@ module TencentCloud | |
| 10812 10835 | 
             
                    # disable_doing-关闭中
         | 
| 10813 10836 | 
             
                    # renew_doing-更新中
         | 
| 10814 10837 | 
             
                    # wait_doing-等待维护时间内执行
         | 
| 10815 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10816 10838 | 
             
                    # @type Encryption: String
         | 
| 10817 10839 | 
             
                    # @param SSLValidityPeriod: SSL证书有效期,时间格式 YYYY-MM-DD HH:MM:SS
         | 
| 10818 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10819 10840 | 
             
                    # @type SSLValidityPeriod: String
         | 
| 10820 10841 | 
             
                    # @param SSLValidity: SSL证书有效性,0-无效,1-有效
         | 
| 10821 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10822 10842 | 
             
                    # @type SSLValidity: Integer
         | 
| 10823 10843 | 
             
                    # @param IsKMS: 是否是KMS的CMK证书
         | 
| 10824 10844 | 
             
                    # @type IsKMS: Integer
         | 
| @@ -10956,17 +10976,21 @@ module TencentCloud | |
| 10956 10976 | 
             
                    # @type SlaveZone: String
         | 
| 10957 10977 | 
             
                    # @param SlaveZoneName: 备可用区
         | 
| 10958 10978 | 
             
                    # @type SlaveZoneName: String
         | 
| 10979 | 
            +
                    # @param DrInstanceId: 备机资源ID
         | 
| 10980 | 
            +
                    # @type DrInstanceId: String
         | 
| 10959 10981 |  | 
| 10960 | 
            -
                    attr_accessor :SlaveZone, :SlaveZoneName
         | 
| 10982 | 
            +
                    attr_accessor :SlaveZone, :SlaveZoneName, :DrInstanceId
         | 
| 10961 10983 |  | 
| 10962 | 
            -
                    def initialize(slavezone=nil, slavezonename=nil)
         | 
| 10984 | 
            +
                    def initialize(slavezone=nil, slavezonename=nil, drinstanceid=nil)
         | 
| 10963 10985 | 
             
                      @SlaveZone = slavezone
         | 
| 10964 10986 | 
             
                      @SlaveZoneName = slavezonename
         | 
| 10987 | 
            +
                      @DrInstanceId = drinstanceid
         | 
| 10965 10988 | 
             
                    end
         | 
| 10966 10989 |  | 
| 10967 10990 | 
             
                    def deserialize(params)
         | 
| 10968 10991 | 
             
                      @SlaveZone = params['SlaveZone']
         | 
| 10969 10992 | 
             
                      @SlaveZoneName = params['SlaveZoneName']
         | 
| 10993 | 
            +
                      @DrInstanceId = params['DrInstanceId']
         | 
| 10970 10994 | 
             
                    end
         | 
| 10971 10995 | 
             
                  end
         | 
| 10972 10996 |  | 
| @@ -10987,7 +11011,6 @@ module TencentCloud | |
| 10987 11011 | 
             
                    # @param ExternalAddr: 外网下载地址
         | 
| 10988 11012 | 
             
                    # @type ExternalAddr: String
         | 
| 10989 11013 | 
             
                    # @param Status: 状态(1成功 2失败)
         | 
| 10990 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10991 11014 | 
             
                    # @type Status: Integer
         | 
| 10992 11015 |  | 
| 10993 11016 | 
             
                    attr_accessor :Id, :StartTime, :EndTime, :Size, :Count, :InternalAddr, :ExternalAddr, :Status
         | 
| @@ -11087,7 +11110,6 @@ module TencentCloud | |
| 11087 11110 | 
             
                    # @param Pid: 此规格对应的包年包月Pid
         | 
| 11088 11111 | 
             
                    # @type Pid: Integer
         | 
| 11089 11112 | 
             
                    # @param PostPid: 此规格对应的按量计费Pid列表
         | 
| 11090 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11091 11113 | 
             
                    # @type PostPid: Array
         | 
| 11092 11114 | 
             
                    # @param PayModeStatus: 此规格下支持的付费模式,POST-仅支持按量计费 PRE-仅支持包年包月 ALL-支持所有
         | 
| 11093 11115 | 
             
                    # @type PayModeStatus: String
         | 
| @@ -11539,19 +11561,14 @@ module TencentCloud | |
| 11539 11561 | 
             
                  # 主备切换日志
         | 
| 11540 11562 | 
             
                  class SwitchLog < TencentCloud::Common::AbstractModel
         | 
| 11541 11563 | 
             
                    # @param EventId: 切换事件ID
         | 
| 11542 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11543 11564 | 
             
                    # @type EventId: String
         | 
| 11544 11565 | 
             
                    # @param SwitchType: 切换模式 0-系统自动切换,1-手动切换
         | 
| 11545 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11546 11566 | 
             
                    # @type SwitchType: Integer
         | 
| 11547 11567 | 
             
                    # @param StartTime: 切换开始时间
         | 
| 11548 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11549 11568 | 
             
                    # @type StartTime: String
         | 
| 11550 11569 | 
             
                    # @param EndTime: 切换结束时间
         | 
| 11551 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11552 11570 | 
             
                    # @type EndTime: String
         | 
| 11553 11571 | 
             
                    # @param Reason: 机器故障导致自动切换
         | 
| 11554 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11555 11572 | 
             
                    # @type Reason: String
         | 
| 11556 11573 |  | 
| 11557 11574 | 
             
                    attr_accessor :EventId, :SwitchType, :StartTime, :EndTime, :Reason
         | 
| @@ -11580,7 +11597,6 @@ module TencentCloud | |
| 11580 11597 | 
             
                    # @param CertificateAttribution: 证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书
         | 
| 11581 11598 | 
             
                    # @type CertificateAttribution: String
         | 
| 11582 11599 | 
             
                    # @param QuoteUin: 开通TDE加密时引用的其他主账号ID
         | 
| 11583 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11584 11600 | 
             
                    # @type QuoteUin: String
         | 
| 11585 11601 | 
             
                    # @param CMKId: KMS中购买的用户主密钥ID(CMK)
         | 
| 11586 11602 | 
             
                    # @type CMKId: String
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-sqlserver
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.971
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tencent Cloud
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-12- | 
| 11 | 
            +
            date: 2024-12-29 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |