tencentcloud-sdk-vpc 3.0.686 → 3.0.687
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/v20170312/client.rb +24 -0
- data/lib/v20170312/models.rb +76 -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: 7640485fd7f57c5a48a991156dcee3bbb82dd87b
|
4
|
+
data.tar.gz: dc1e5a629e9b67548e0d3ef928afaa347fc88cb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0930c789d34e805cfce489273bcae1079b6a8d5840877888331459d68f5ad52e2fe6bb704b78af85edaadb01913ddccbfe66495e75a5b215f0f9956f11aff175
|
7
|
+
data.tar.gz: ba7aab9ebc0f1cafda8db9533b0aeca6136f469b714f02f301904c1da0a6406a20de4beb77bddf15814b5ac69ceba6c32d9a49cdb8ca08850a82400fe17ccd9d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.687
|
data/lib/v20170312/client.rb
CHANGED
@@ -7061,6 +7061,30 @@ module TencentCloud
|
|
7061
7061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7062
7062
|
end
|
7063
7063
|
|
7064
|
+
# 本接口用于修改 SSL-VPN 服务端属性
|
7065
|
+
|
7066
|
+
# @param request: Request instance for ModifyVpnGatewaySslServer.
|
7067
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ModifyVpnGatewaySslServerRequest`
|
7068
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyVpnGatewaySslServerResponse`
|
7069
|
+
def ModifyVpnGatewaySslServer(request)
|
7070
|
+
body = send_request('ModifyVpnGatewaySslServer', request.serialize)
|
7071
|
+
response = JSON.parse(body)
|
7072
|
+
if response['Response'].key?('Error') == false
|
7073
|
+
model = ModifyVpnGatewaySslServerResponse.new
|
7074
|
+
model.deserialize(response['Response'])
|
7075
|
+
model
|
7076
|
+
else
|
7077
|
+
code = response['Response']['Error']['Code']
|
7078
|
+
message = response['Response']['Error']['Message']
|
7079
|
+
reqid = response['Response']['RequestId']
|
7080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7081
|
+
end
|
7082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7083
|
+
raise e
|
7084
|
+
rescue StandardError => e
|
7085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7086
|
+
end
|
7087
|
+
|
7064
7088
|
# 本接口(NotifyRoutes)用于路由表列表页操作增加“发布到云联网”,发布路由到云联网。
|
7065
7089
|
|
7066
7090
|
# @param request: Request instance for NotifyRoutes.
|
data/lib/v20170312/models.rb
CHANGED
@@ -17137,6 +17137,82 @@ module TencentCloud
|
|
17137
17137
|
end
|
17138
17138
|
end
|
17139
17139
|
|
17140
|
+
# ModifyVpnGatewaySslServer请求参数结构体
|
17141
|
+
class ModifyVpnGatewaySslServerRequest < TencentCloud::Common::AbstractModel
|
17142
|
+
# @param SslVpnServerId: SSL-VPN SERVER 实例ID
|
17143
|
+
# @type SslVpnServerId: String
|
17144
|
+
# @param SslVpnServerName: SSL-VPN SERVER NAME
|
17145
|
+
# @type SslVpnServerName: String
|
17146
|
+
# @param LocalAddress: 本端地址
|
17147
|
+
# @type LocalAddress: Array
|
17148
|
+
# @param RemoteAddress: 客户端地址
|
17149
|
+
# @type RemoteAddress: String
|
17150
|
+
# @param SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP。默认UDP
|
17151
|
+
# @type SslVpnProtocol: String
|
17152
|
+
# @param SslVpnPort: SSL VPN服务端监听协议端口。
|
17153
|
+
# @type SslVpnPort: Integer
|
17154
|
+
# @param EncryptAlgorithm: 加密算法。可选 'AES-128-CBC', 'AES-192-CBC', 'AES-256-CBC', 'NONE'。默认NONE
|
17155
|
+
# @type EncryptAlgorithm: String
|
17156
|
+
# @param IntegrityAlgorithm: 认证算法。可选 'SHA1', 'MD5', 'NONE'。默认NONE
|
17157
|
+
# @type IntegrityAlgorithm: String
|
17158
|
+
# @param Compress: 是否支持压缩。当前仅支持不支持压缩。默认False
|
17159
|
+
# @type Compress: Boolean
|
17160
|
+
# @param SsoEnabled: 是否开启SSO认证,默认False
|
17161
|
+
# @type SsoEnabled: Boolean
|
17162
|
+
# @param SamlData: SAML-DATA
|
17163
|
+
# @type SamlData: String
|
17164
|
+
|
17165
|
+
attr_accessor :SslVpnServerId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :SslVpnProtocol, :SslVpnPort, :EncryptAlgorithm, :IntegrityAlgorithm, :Compress, :SsoEnabled, :SamlData
|
17166
|
+
|
17167
|
+
def initialize(sslvpnserverid=nil, sslvpnservername=nil, localaddress=nil, remoteaddress=nil, sslvpnprotocol=nil, sslvpnport=nil, encryptalgorithm=nil, integrityalgorithm=nil, compress=nil, ssoenabled=nil, samldata=nil)
|
17168
|
+
@SslVpnServerId = sslvpnserverid
|
17169
|
+
@SslVpnServerName = sslvpnservername
|
17170
|
+
@LocalAddress = localaddress
|
17171
|
+
@RemoteAddress = remoteaddress
|
17172
|
+
@SslVpnProtocol = sslvpnprotocol
|
17173
|
+
@SslVpnPort = sslvpnport
|
17174
|
+
@EncryptAlgorithm = encryptalgorithm
|
17175
|
+
@IntegrityAlgorithm = integrityalgorithm
|
17176
|
+
@Compress = compress
|
17177
|
+
@SsoEnabled = ssoenabled
|
17178
|
+
@SamlData = samldata
|
17179
|
+
end
|
17180
|
+
|
17181
|
+
def deserialize(params)
|
17182
|
+
@SslVpnServerId = params['SslVpnServerId']
|
17183
|
+
@SslVpnServerName = params['SslVpnServerName']
|
17184
|
+
@LocalAddress = params['LocalAddress']
|
17185
|
+
@RemoteAddress = params['RemoteAddress']
|
17186
|
+
@SslVpnProtocol = params['SslVpnProtocol']
|
17187
|
+
@SslVpnPort = params['SslVpnPort']
|
17188
|
+
@EncryptAlgorithm = params['EncryptAlgorithm']
|
17189
|
+
@IntegrityAlgorithm = params['IntegrityAlgorithm']
|
17190
|
+
@Compress = params['Compress']
|
17191
|
+
@SsoEnabled = params['SsoEnabled']
|
17192
|
+
@SamlData = params['SamlData']
|
17193
|
+
end
|
17194
|
+
end
|
17195
|
+
|
17196
|
+
# ModifyVpnGatewaySslServer返回参数结构体
|
17197
|
+
class ModifyVpnGatewaySslServerResponse < TencentCloud::Common::AbstractModel
|
17198
|
+
# @param TaskId: 异步任务TASKID
|
17199
|
+
# @type TaskId: Integer
|
17200
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17201
|
+
# @type RequestId: String
|
17202
|
+
|
17203
|
+
attr_accessor :TaskId, :RequestId
|
17204
|
+
|
17205
|
+
def initialize(taskid=nil, requestid=nil)
|
17206
|
+
@TaskId = taskid
|
17207
|
+
@RequestId = requestid
|
17208
|
+
end
|
17209
|
+
|
17210
|
+
def deserialize(params)
|
17211
|
+
@TaskId = params['TaskId']
|
17212
|
+
@RequestId = params['RequestId']
|
17213
|
+
end
|
17214
|
+
end
|
17215
|
+
|
17140
17216
|
# 查询nat路由的返回路由对象
|
17141
17217
|
class NatDirectConnectGatewayRoute < TencentCloud::Common::AbstractModel
|
17142
17218
|
# @param DestinationCidrBlock: 子网的 `IPv4` `CIDR`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.687
|
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-10-
|
11
|
+
date: 2023-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|