tencentcloud-sdk-cynosdb 3.0.564 → 3.0.566
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/v20190107/client.rb +24 -0
 - data/lib/v20190107/models.rb +63 -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: 3f31f0a5b90de54390f0051b176f07372dbe3afe
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c28ebfbdaa42f2f0d395c467a5316a1116189912
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: e87956fc5d49f4d2fcedc2b57ad3f9e8f04c70061e88fe97e22a68c41970ef16b301b4fc7795b28595af06513034f365598915c0cc94524edca08a0aef1406ce
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 8cfe16227871142cb97547af7ed1e6ddc3086f6b45b21e76daf66ff6972143db63f625ae3f393799f51434fa3a0ed9eace6b646c88ea38661be788123e926342
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.566
         
     | 
    
        data/lib/v20190107/client.rb
    CHANGED
    
    | 
         @@ -1613,6 +1613,30 @@ module TencentCloud 
     | 
|
| 
       1613 
1613 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       1614 
1614 
     | 
    
         
             
                    end
         
     | 
| 
       1615 
1615 
     | 
    
         | 
| 
      
 1616 
     | 
    
         
            +
                    # 开通只读实例独有访问接入组
         
     | 
| 
      
 1617 
     | 
    
         
            +
             
     | 
| 
      
 1618 
     | 
    
         
            +
                    # @param request: Request instance for OpenReadOnlyInstanceExclusiveAccess.
         
     | 
| 
      
 1619 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::cynosdb::V20190107::OpenReadOnlyInstanceExclusiveAccessRequest`
         
     | 
| 
      
 1620 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::cynosdb::V20190107::OpenReadOnlyInstanceExclusiveAccessResponse`
         
     | 
| 
      
 1621 
     | 
    
         
            +
                    def OpenReadOnlyInstanceExclusiveAccess(request)
         
     | 
| 
      
 1622 
     | 
    
         
            +
                      body = send_request('OpenReadOnlyInstanceExclusiveAccess', request.serialize)
         
     | 
| 
      
 1623 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 1624 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 1625 
     | 
    
         
            +
                        model = OpenReadOnlyInstanceExclusiveAccessResponse.new
         
     | 
| 
      
 1626 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 1627 
     | 
    
         
            +
                        model
         
     | 
| 
      
 1628 
     | 
    
         
            +
                      else
         
     | 
| 
      
 1629 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 1630 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 1631 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 1632 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 1633 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1634 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 1635 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 1636 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 1637 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 1638 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1639 
     | 
    
         
            +
             
     | 
| 
       1616 
1640 
     | 
    
         
             
                    # 暂停serverless集群
         
     | 
| 
       1617 
1641 
     | 
    
         | 
| 
       1618 
1642 
     | 
    
         
             
                    # @param request: Request instance for PauseServerless.
         
     | 
    
        data/lib/v20190107/models.rb
    CHANGED
    
    | 
         @@ -5562,10 +5562,13 @@ module TencentCloud 
     | 
|
| 
       5562 
5562 
     | 
    
         
             
                    # @param WanStatus: 外网状态
         
     | 
| 
       5563 
5563 
     | 
    
         
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       5564 
5564 
     | 
    
         
             
                    # @type WanStatus: String
         
     | 
| 
      
 5565 
     | 
    
         
            +
                    # @param InstanceGroupId: 实例组ID
         
     | 
| 
      
 5566 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 5567 
     | 
    
         
            +
                    # @type InstanceGroupId: String
         
     | 
| 
       5565 
5568 
     | 
    
         | 
| 
       5566 
     | 
    
         
            -
                    attr_accessor :Vip, :Vport, :WanDomain, :WanPort, :NetType, :UniqSubnetId, :UniqVpcId, :Description, :WanIP, :WanStatus
         
     | 
| 
      
 5569 
     | 
    
         
            +
                    attr_accessor :Vip, :Vport, :WanDomain, :WanPort, :NetType, :UniqSubnetId, :UniqVpcId, :Description, :WanIP, :WanStatus, :InstanceGroupId
         
     | 
| 
       5567 
5570 
     | 
    
         | 
| 
       5568 
     | 
    
         
            -
                    def initialize(vip=nil, vport=nil, wandomain=nil, wanport=nil, nettype=nil, uniqsubnetid=nil, uniqvpcid=nil, description=nil, wanip=nil, wanstatus=nil)
         
     | 
| 
      
 5571 
     | 
    
         
            +
                    def initialize(vip=nil, vport=nil, wandomain=nil, wanport=nil, nettype=nil, uniqsubnetid=nil, uniqvpcid=nil, description=nil, wanip=nil, wanstatus=nil, instancegroupid=nil)
         
     | 
| 
       5569 
5572 
     | 
    
         
             
                      @Vip = vip
         
     | 
| 
       5570 
5573 
     | 
    
         
             
                      @Vport = vport
         
     | 
| 
       5571 
5574 
     | 
    
         
             
                      @WanDomain = wandomain
         
     | 
| 
         @@ -5576,6 +5579,7 @@ module TencentCloud 
     | 
|
| 
       5576 
5579 
     | 
    
         
             
                      @Description = description
         
     | 
| 
       5577 
5580 
     | 
    
         
             
                      @WanIP = wanip
         
     | 
| 
       5578 
5581 
     | 
    
         
             
                      @WanStatus = wanstatus
         
     | 
| 
      
 5582 
     | 
    
         
            +
                      @InstanceGroupId = instancegroupid
         
     | 
| 
       5579 
5583 
     | 
    
         
             
                    end
         
     | 
| 
       5580 
5584 
     | 
    
         | 
| 
       5581 
5585 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
         @@ -5589,6 +5593,7 @@ module TencentCloud 
     | 
|
| 
       5589 
5593 
     | 
    
         
             
                      @Description = params['Description']
         
     | 
| 
       5590 
5594 
     | 
    
         
             
                      @WanIP = params['WanIP']
         
     | 
| 
       5591 
5595 
     | 
    
         
             
                      @WanStatus = params['WanStatus']
         
     | 
| 
      
 5596 
     | 
    
         
            +
                      @InstanceGroupId = params['InstanceGroupId']
         
     | 
| 
       5592 
5597 
     | 
    
         
             
                    end
         
     | 
| 
       5593 
5598 
     | 
    
         
             
                  end
         
     | 
| 
       5594 
5599 
     | 
    
         | 
| 
         @@ -5819,6 +5824,62 @@ module TencentCloud 
     | 
|
| 
       5819 
5824 
     | 
    
         
             
                    end
         
     | 
| 
       5820 
5825 
     | 
    
         
             
                  end
         
     | 
| 
       5821 
5826 
     | 
    
         | 
| 
      
 5827 
     | 
    
         
            +
                  # OpenReadOnlyInstanceExclusiveAccess请求参数结构体
         
     | 
| 
      
 5828 
     | 
    
         
            +
                  class OpenReadOnlyInstanceExclusiveAccessRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 5829 
     | 
    
         
            +
                    # @param ClusterId: 集群ID
         
     | 
| 
      
 5830 
     | 
    
         
            +
                    # @type ClusterId: String
         
     | 
| 
      
 5831 
     | 
    
         
            +
                    # @param InstanceId: 需要开通独有访问的只读实例ID
         
     | 
| 
      
 5832 
     | 
    
         
            +
                    # @type InstanceId: String
         
     | 
| 
      
 5833 
     | 
    
         
            +
                    # @param VpcId: 指定的vpc ID
         
     | 
| 
      
 5834 
     | 
    
         
            +
                    # @type VpcId: String
         
     | 
| 
      
 5835 
     | 
    
         
            +
                    # @param SubnetId: 指定的子网ID
         
     | 
| 
      
 5836 
     | 
    
         
            +
                    # @type SubnetId: String
         
     | 
| 
      
 5837 
     | 
    
         
            +
                    # @param Port: 端口
         
     | 
| 
      
 5838 
     | 
    
         
            +
                    # @type Port: Integer
         
     | 
| 
      
 5839 
     | 
    
         
            +
                    # @param SecurityGroupIds: 安全组
         
     | 
| 
      
 5840 
     | 
    
         
            +
                    # @type SecurityGroupIds: Array
         
     | 
| 
      
 5841 
     | 
    
         
            +
             
     | 
| 
      
 5842 
     | 
    
         
            +
                    attr_accessor :ClusterId, :InstanceId, :VpcId, :SubnetId, :Port, :SecurityGroupIds
         
     | 
| 
      
 5843 
     | 
    
         
            +
                    
         
     | 
| 
      
 5844 
     | 
    
         
            +
                    def initialize(clusterid=nil, instanceid=nil, vpcid=nil, subnetid=nil, port=nil, securitygroupids=nil)
         
     | 
| 
      
 5845 
     | 
    
         
            +
                      @ClusterId = clusterid
         
     | 
| 
      
 5846 
     | 
    
         
            +
                      @InstanceId = instanceid
         
     | 
| 
      
 5847 
     | 
    
         
            +
                      @VpcId = vpcid
         
     | 
| 
      
 5848 
     | 
    
         
            +
                      @SubnetId = subnetid
         
     | 
| 
      
 5849 
     | 
    
         
            +
                      @Port = port
         
     | 
| 
      
 5850 
     | 
    
         
            +
                      @SecurityGroupIds = securitygroupids
         
     | 
| 
      
 5851 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5852 
     | 
    
         
            +
             
     | 
| 
      
 5853 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 5854 
     | 
    
         
            +
                      @ClusterId = params['ClusterId']
         
     | 
| 
      
 5855 
     | 
    
         
            +
                      @InstanceId = params['InstanceId']
         
     | 
| 
      
 5856 
     | 
    
         
            +
                      @VpcId = params['VpcId']
         
     | 
| 
      
 5857 
     | 
    
         
            +
                      @SubnetId = params['SubnetId']
         
     | 
| 
      
 5858 
     | 
    
         
            +
                      @Port = params['Port']
         
     | 
| 
      
 5859 
     | 
    
         
            +
                      @SecurityGroupIds = params['SecurityGroupIds']
         
     | 
| 
      
 5860 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5861 
     | 
    
         
            +
                  end
         
     | 
| 
      
 5862 
     | 
    
         
            +
             
     | 
| 
      
 5863 
     | 
    
         
            +
                  # OpenReadOnlyInstanceExclusiveAccess返回参数结构体
         
     | 
| 
      
 5864 
     | 
    
         
            +
                  class OpenReadOnlyInstanceExclusiveAccessResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 5865 
     | 
    
         
            +
                    # @param FlowId: 开通流程ID
         
     | 
| 
      
 5866 
     | 
    
         
            +
                    # @type FlowId: Integer
         
     | 
| 
      
 5867 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 5868 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 5869 
     | 
    
         
            +
             
     | 
| 
      
 5870 
     | 
    
         
            +
                    attr_accessor :FlowId, :RequestId
         
     | 
| 
      
 5871 
     | 
    
         
            +
                    
         
     | 
| 
      
 5872 
     | 
    
         
            +
                    def initialize(flowid=nil, requestid=nil)
         
     | 
| 
      
 5873 
     | 
    
         
            +
                      @FlowId = flowid
         
     | 
| 
      
 5874 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 5875 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5876 
     | 
    
         
            +
             
     | 
| 
      
 5877 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 5878 
     | 
    
         
            +
                      @FlowId = params['FlowId']
         
     | 
| 
      
 5879 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 5880 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5881 
     | 
    
         
            +
                  end
         
     | 
| 
      
 5882 
     | 
    
         
            +
             
     | 
| 
       5822 
5883 
     | 
    
         
             
                  # 参数信息
         
     | 
| 
       5823 
5884 
     | 
    
         
             
                  class ParamInfo < TencentCloud::Common::AbstractModel
         
     | 
| 
       5824 
5885 
     | 
    
         
             
                    # @param CurrentValue: 当前值
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-cynosdb
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.566
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Tencent Cloud
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2023-05- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-05-10 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |