tencentcloud-sdk-cbs 1.0.223 → 1.0.227
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/v20170312/models.rb +33 -2
- 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: d78d71999864fe66748967e15cc2c6c20f96c8c4
         | 
| 4 | 
            +
              data.tar.gz: b83a2b24a02af563187e2eef4abc9bce8fe7813f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ab65caed17d0a0352b8673bdb77804378fcf11fb09203c454916dc8405e24753b3621a7a72412f18279a18fe58ae28035d8e4e284ddb9911ea7aabe237427be1
         | 
| 7 | 
            +
              data.tar.gz: edcde50de76f4b90580a15dcc422daf1f69d8722594ade80b0a84606004d8e921e62ea196e2d9c83cac9f993138285dad6e4e2649a71607db86e5fdedac96578
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1.0. | 
| 1 | 
            +
            1.0.227
         | 
    
        data/lib/v20170312/models.rb
    CHANGED
    
    | @@ -121,6 +121,30 @@ module TencentCloud | |
| 121 121 | 
             
                    end
         | 
| 122 122 | 
             
                  end
         | 
| 123 123 |  | 
| 124 | 
            +
                  # 自动初始化、挂载云盘时指定配置。
         | 
| 125 | 
            +
                  class AutoMountConfiguration < TencentCloud::Common::AbstractModel
         | 
| 126 | 
            +
                    # @param InstanceId: 要挂载到的实例ID。
         | 
| 127 | 
            +
                    # @type InstanceId: Array
         | 
| 128 | 
            +
                    # @param MountPoint: 子机内的挂载点。
         | 
| 129 | 
            +
                    # @type MountPoint: Array
         | 
| 130 | 
            +
                    # @param FileSystemType: 文件系统类型,支持的有 ext4、xfs。
         | 
| 131 | 
            +
                    # @type FileSystemType: String
         | 
| 132 | 
            +
             | 
| 133 | 
            +
                    attr_accessor :InstanceId, :MountPoint, :FileSystemType
         | 
| 134 | 
            +
                    
         | 
| 135 | 
            +
                    def initialize(instanceid=nil, mountpoint=nil, filesystemtype=nil)
         | 
| 136 | 
            +
                      @InstanceId = instanceid
         | 
| 137 | 
            +
                      @MountPoint = mountpoint
         | 
| 138 | 
            +
                      @FileSystemType = filesystemtype
         | 
| 139 | 
            +
                    end
         | 
| 140 | 
            +
             | 
| 141 | 
            +
                    def deserialize(params)
         | 
| 142 | 
            +
                      @InstanceId = params['InstanceId']
         | 
| 143 | 
            +
                      @MountPoint = params['MountPoint']
         | 
| 144 | 
            +
                      @FileSystemType = params['FileSystemType']
         | 
| 145 | 
            +
                    end
         | 
| 146 | 
            +
                  end
         | 
| 147 | 
            +
             | 
| 124 148 | 
             
                  # 描述了定期快照策略的详细信息
         | 
| 125 149 | 
             
                  class AutoSnapshotPolicy < TencentCloud::Common::AbstractModel
         | 
| 126 150 | 
             
                    # @param AutoSnapshotPolicyId: 定期快照策略ID。
         | 
| @@ -383,10 +407,12 @@ module TencentCloud | |
| 383 407 | 
             
                    # @type DiskChargePrepaid: :class:`Tencentcloud::Cbs.v20170312.models.DiskChargePrepaid`
         | 
| 384 408 | 
             
                    # @param DeleteSnapshot: 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,true表示永久快照,false表示非永久快照。
         | 
| 385 409 | 
             
                    # @type DeleteSnapshot: Integer
         | 
| 410 | 
            +
                    # @param AutoMountConfiguration: 创建云盘时指定自动挂载并初始化该数据盘。
         | 
| 411 | 
            +
                    # @type AutoMountConfiguration: :class:`Tencentcloud::Cbs.v20170312.models.AutoMountConfiguration`
         | 
| 386 412 |  | 
| 387 | 
            -
                    attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot
         | 
| 413 | 
            +
                    attr_accessor :Placement, :DiskChargeType, :DiskType, :DiskName, :Tags, :SnapshotId, :DiskCount, :ThroughputPerformance, :DiskSize, :Shareable, :ClientToken, :Encrypt, :DiskChargePrepaid, :DeleteSnapshot, :AutoMountConfiguration
         | 
| 388 414 |  | 
| 389 | 
            -
                    def initialize(placement=nil, diskchargetype=nil, disktype=nil, diskname=nil, tags=nil, snapshotid=nil, diskcount=nil, throughputperformance=nil, disksize=nil, shareable=nil, clienttoken=nil, encrypt=nil, diskchargeprepaid=nil, deletesnapshot=nil)
         | 
| 415 | 
            +
                    def initialize(placement=nil, diskchargetype=nil, disktype=nil, diskname=nil, tags=nil, snapshotid=nil, diskcount=nil, throughputperformance=nil, disksize=nil, shareable=nil, clienttoken=nil, encrypt=nil, diskchargeprepaid=nil, deletesnapshot=nil, automountconfiguration=nil)
         | 
| 390 416 | 
             
                      @Placement = placement
         | 
| 391 417 | 
             
                      @DiskChargeType = diskchargetype
         | 
| 392 418 | 
             
                      @DiskType = disktype
         | 
| @@ -401,6 +427,7 @@ module TencentCloud | |
| 401 427 | 
             
                      @Encrypt = encrypt
         | 
| 402 428 | 
             
                      @DiskChargePrepaid = diskchargeprepaid
         | 
| 403 429 | 
             
                      @DeleteSnapshot = deletesnapshot
         | 
| 430 | 
            +
                      @AutoMountConfiguration = automountconfiguration
         | 
| 404 431 | 
             
                    end
         | 
| 405 432 |  | 
| 406 433 | 
             
                    def deserialize(params)
         | 
| @@ -431,6 +458,10 @@ module TencentCloud | |
| 431 458 | 
             
                        @DiskChargePrepaid.deserialize(params['DiskChargePrepaid'])
         | 
| 432 459 | 
             
                      end
         | 
| 433 460 | 
             
                      @DeleteSnapshot = params['DeleteSnapshot']
         | 
| 461 | 
            +
                      unless params['AutoMountConfiguration'].nil?
         | 
| 462 | 
            +
                        @AutoMountConfiguration = AutoMountConfiguration.new
         | 
| 463 | 
            +
                        @AutoMountConfiguration.deserialize(params['AutoMountConfiguration'])
         | 
| 464 | 
            +
                      end
         | 
| 434 465 | 
             
                    end
         | 
| 435 466 | 
             
                  end
         | 
| 436 467 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-cbs
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.227
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tencent Cloud
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021-12- | 
| 11 | 
            +
            date: 2021-12-20 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |