tencentcloud-sdk-privatedns 3.0.723 → 3.0.725
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201028/client.rb +24 -0
- data/lib/v20201028/models.rb +42 -0
- 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: 98e406b56e14fea4cd44d80b7bd7c4b6173e8b27
|
4
|
+
data.tar.gz: 467544a4420d35a36a75dc7408b848c03adbdbe2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f5c0950e4027bccc7e5615207916c950ff0a59431d44a70fa22ca509a4bba76e5b09aaf4a1d3fe6823a6e687627a572b9e7367d1cde6c5c5b9d2b5a934e5f3b
|
7
|
+
data.tar.gz: 3f29cd04b4f77433cc5adce50d916b90d9fa6b40f15bf41cfd34510541e8a215af80dfe8a36c66c09ce61d89b21bfe7ab0aff4db1932df095f17b002242ad5a1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.725
|
data/lib/v20201028/client.rb
CHANGED
@@ -581,6 +581,30 @@ module TencentCloud
|
|
581
581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
582
|
end
|
583
583
|
|
584
|
+
# 查询异步绑定vpc操作状态
|
585
|
+
|
586
|
+
# @param request: Request instance for QueryAsyncBindVpcStatus.
|
587
|
+
# @type request: :class:`Tencentcloud::privatedns::V20201028::QueryAsyncBindVpcStatusRequest`
|
588
|
+
# @rtype: :class:`Tencentcloud::privatedns::V20201028::QueryAsyncBindVpcStatusResponse`
|
589
|
+
def QueryAsyncBindVpcStatus(request)
|
590
|
+
body = send_request('QueryAsyncBindVpcStatus', request.serialize)
|
591
|
+
response = JSON.parse(body)
|
592
|
+
if response['Response'].key?('Error') == false
|
593
|
+
model = QueryAsyncBindVpcStatusResponse.new
|
594
|
+
model.deserialize(response['Response'])
|
595
|
+
model
|
596
|
+
else
|
597
|
+
code = response['Response']['Error']['Code']
|
598
|
+
message = response['Response']['Error']['Message']
|
599
|
+
reqid = response['Response']['RequestId']
|
600
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
601
|
+
end
|
602
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
603
|
+
raise e
|
604
|
+
rescue StandardError => e
|
605
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
|
+
end
|
607
|
+
|
584
608
|
# 开通私有域解析
|
585
609
|
|
586
610
|
# @param request: Request instance for SubscribePrivateZoneService.
|
data/lib/v20201028/models.rb
CHANGED
@@ -1749,6 +1749,48 @@ module TencentCloud
|
|
1749
1749
|
end
|
1750
1750
|
end
|
1751
1751
|
|
1752
|
+
# QueryAsyncBindVpcStatus请求参数结构体
|
1753
|
+
class QueryAsyncBindVpcStatusRequest < TencentCloud::Common::AbstractModel
|
1754
|
+
# @param UniqId: 唯一ID
|
1755
|
+
# @type UniqId: String
|
1756
|
+
|
1757
|
+
attr_accessor :UniqId
|
1758
|
+
|
1759
|
+
def initialize(uniqid=nil)
|
1760
|
+
@UniqId = uniqid
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
def deserialize(params)
|
1764
|
+
@UniqId = params['UniqId']
|
1765
|
+
end
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
# QueryAsyncBindVpcStatus返回参数结构体
|
1769
|
+
class QueryAsyncBindVpcStatusResponse < TencentCloud::Common::AbstractModel
|
1770
|
+
# @param Status: processing 处理中,success 执行成功,
|
1771
|
+
# failed 执行失败
|
1772
|
+
# @type Status: String
|
1773
|
+
# @param ErrorMsg: 错误信息
|
1774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1775
|
+
# @type ErrorMsg: String
|
1776
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1777
|
+
# @type RequestId: String
|
1778
|
+
|
1779
|
+
attr_accessor :Status, :ErrorMsg, :RequestId
|
1780
|
+
|
1781
|
+
def initialize(status=nil, errormsg=nil, requestid=nil)
|
1782
|
+
@Status = status
|
1783
|
+
@ErrorMsg = errormsg
|
1784
|
+
@RequestId = requestid
|
1785
|
+
end
|
1786
|
+
|
1787
|
+
def deserialize(params)
|
1788
|
+
@Status = params['Status']
|
1789
|
+
@ErrorMsg = params['ErrorMsg']
|
1790
|
+
@RequestId = params['RequestId']
|
1791
|
+
end
|
1792
|
+
end
|
1793
|
+
|
1752
1794
|
# SubscribePrivateZoneService请求参数结构体
|
1753
1795
|
class SubscribePrivateZoneServiceRequest < TencentCloud::Common::AbstractModel
|
1754
1796
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-privatedns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.725
|
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-12-
|
11
|
+
date: 2023-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|