tencentcloud-sdk-privatedns 3.0.723 → 3.0.724
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: dd2e11ea977c43cc69cb0eade7c266f9843d5f22
|
4
|
+
data.tar.gz: 3e533b5934c6907ee3c66151a2713e66b4fd5c1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f17670f3dd5ce5603c5962a1d3857d813177254748caa8856a464463a7b6770586cf55175fd42ee5724d04e5bce6a20515af295a2348365e4e2157b2c97378
|
7
|
+
data.tar.gz: 7eb96a36049f14fab789b44a65066c1cda4cb958858e487d7efa093702d1fdc9af2027397e331686e075f6b1885f06f94b63b27af213d3143574192c1d5de1e3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.724
|
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
|
+
# fail 执行失败
|
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.724
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|