tencentcloud-sdk-cynosdb 3.0.565 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6b0296ddbb6a626d949753eb20bc0cc63a71852
4
- data.tar.gz: b92379ded42a8e1084f593c8239cd6f5188d62cf
3
+ metadata.gz: 3f31f0a5b90de54390f0051b176f07372dbe3afe
4
+ data.tar.gz: c28ebfbdaa42f2f0d395c467a5316a1116189912
5
5
  SHA512:
6
- metadata.gz: 88f047bb55b0d1bca5676f6e78bbf6f1604767e0a3257965a22442195d383c7095eef826a4aa6d2a7a017d597763a4c9843c8aa573c6ea0b11a1dfe90cc32526
7
- data.tar.gz: d9564722ff43a238a20320354828be315cf230429b1cf614e864d0705659543902126b479ea07b63353a2d66c596ae93feefc796a101d0961cf29f47861097b4
6
+ metadata.gz: e87956fc5d49f4d2fcedc2b57ad3f9e8f04c70061e88fe97e22a68c41970ef16b301b4fc7795b28595af06513034f365598915c0cc94524edca08a0aef1406ce
7
+ data.tar.gz: 8cfe16227871142cb97547af7ed1e6ddc3086f6b45b21e76daf66ff6972143db63f625ae3f393799f51434fa3a0ed9eace6b646c88ea38661be788123e926342
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.565
1
+ 3.0.566
@@ -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.
@@ -5824,6 +5824,62 @@ module TencentCloud
5824
5824
  end
5825
5825
  end
5826
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
+
5827
5883
  # 参数信息
5828
5884
  class ParamInfo < TencentCloud::Common::AbstractModel
5829
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.565
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-09 00:00:00.000000000 Z
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