tencentcloud-sdk-vpc 1.0.337 → 1.0.340
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/v20170312/client.rb +24 -0
- data/lib/v20170312/models.rb +181 -15
- 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: 49aed70384613fd3be406cc6cc85363af516cafa
|
|
4
|
+
data.tar.gz: 8957efff831ece9fe4e681d88734226b770d185a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7af597fd7d8f1c6c7be54ebd0e5f1acaa728138eef325b1169fa557b8c8786aeb6c740be8cc3b62bd8ff034a2a3f3b61ae93ebae8b464eba2aca597b71942e0
|
|
7
|
+
data.tar.gz: e0b7e49f42f208bfa45ccf017fddc60609295077019602b272d2855efda43739857b3f857c6fe6121eb1a65e6532699f4f3721c5d1cd803c1df6748b62b27be2
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.340
|
data/lib/v20170312/client.rb
CHANGED
|
@@ -127,6 +127,30 @@ module TencentCloud
|
|
|
127
127
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
+
# 本接口 (AdjustPublicAddress) 用于更换IP地址,支持更换CVM实例的普通公网IP和包月带宽的EIP。
|
|
131
|
+
|
|
132
|
+
# @param request: Request instance for AdjustPublicAddress.
|
|
133
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::AdjustPublicAddressRequest`
|
|
134
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::AdjustPublicAddressResponse`
|
|
135
|
+
def AdjustPublicAddress(request)
|
|
136
|
+
body = send_request('AdjustPublicAddress', request.serialize)
|
|
137
|
+
response = JSON.parse(body)
|
|
138
|
+
if response['Response'].key?('Error') == false
|
|
139
|
+
model = AdjustPublicAddressResponse.new
|
|
140
|
+
model.deserialize(response['Response'])
|
|
141
|
+
model
|
|
142
|
+
else
|
|
143
|
+
code = response['Response']['Error']['Code']
|
|
144
|
+
message = response['Response']['Error']['Message']
|
|
145
|
+
reqid = response['Response']['RequestId']
|
|
146
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
147
|
+
end
|
|
148
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
149
|
+
raise e
|
|
150
|
+
rescue StandardError => e
|
|
151
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
152
|
+
end
|
|
153
|
+
|
|
130
154
|
# 本接口 (AllocateAddresses) 用于申请一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
|
|
131
155
|
# * EIP 是专为动态云计算设计的静态 IP 地址。借助 EIP,您可以快速将 EIP 重新映射到您的另一个实例上,从而屏蔽实例故障。
|
|
132
156
|
# * 您的 EIP 与腾讯云账户相关联,而不是与某个实例相关联。在您选择显式释放该地址,或欠费超过24小时之前,它会一直与您的腾讯云账户保持关联。
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -60,6 +60,38 @@ module TencentCloud
|
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
+
# 策略信息
|
|
64
|
+
class AccessPolicy < TencentCloud::Common::AbstractModel
|
|
65
|
+
# @param TargetCidr: 目的CIDR
|
|
66
|
+
# @type TargetCidr: String
|
|
67
|
+
# @param VpnGatewayIdSslAccessPolicyId: 策略ID
|
|
68
|
+
# @type VpnGatewayIdSslAccessPolicyId: String
|
|
69
|
+
# @param ForAllClient: 是否对所有用户都生效。1 生效 0不生效
|
|
70
|
+
# @type ForAllClient: Integer
|
|
71
|
+
# @param UserGroupIds: 用户组ID
|
|
72
|
+
# @type UserGroupIds: Array
|
|
73
|
+
# @param UpdateTime: 更新时间
|
|
74
|
+
# @type UpdateTime: String
|
|
75
|
+
|
|
76
|
+
attr_accessor :TargetCidr, :VpnGatewayIdSslAccessPolicyId, :ForAllClient, :UserGroupIds, :UpdateTime
|
|
77
|
+
|
|
78
|
+
def initialize(targetcidr=nil, vpngatewayidsslaccesspolicyid=nil, forallclient=nil, usergroupids=nil, updatetime=nil)
|
|
79
|
+
@TargetCidr = targetcidr
|
|
80
|
+
@VpnGatewayIdSslAccessPolicyId = vpngatewayidsslaccesspolicyid
|
|
81
|
+
@ForAllClient = forallclient
|
|
82
|
+
@UserGroupIds = usergroupids
|
|
83
|
+
@UpdateTime = updatetime
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def deserialize(params)
|
|
87
|
+
@TargetCidr = params['TargetCidr']
|
|
88
|
+
@VpnGatewayIdSslAccessPolicyId = params['VpnGatewayIdSslAccessPolicyId']
|
|
89
|
+
@ForAllClient = params['ForAllClient']
|
|
90
|
+
@UserGroupIds = params['UserGroupIds']
|
|
91
|
+
@UpdateTime = params['UpdateTime']
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
63
95
|
# 账户属性对象
|
|
64
96
|
class AccountAttribute < TencentCloud::Common::AbstractModel
|
|
65
97
|
# @param AttributeName: 属性名
|
|
@@ -492,6 +524,46 @@ module TencentCloud
|
|
|
492
524
|
end
|
|
493
525
|
end
|
|
494
526
|
|
|
527
|
+
# AdjustPublicAddress请求参数结构体
|
|
528
|
+
class AdjustPublicAddressRequest < TencentCloud::Common::AbstractModel
|
|
529
|
+
# @param InstanceId: 标识CVM实例的唯一 ID。CVM 唯一 ID 形如:`ins-11112222`。
|
|
530
|
+
# @type InstanceId: String
|
|
531
|
+
# @param AddressId: 标识EIP实例的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。
|
|
532
|
+
# @type AddressId: String
|
|
533
|
+
|
|
534
|
+
attr_accessor :InstanceId, :AddressId
|
|
535
|
+
|
|
536
|
+
def initialize(instanceid=nil, addressid=nil)
|
|
537
|
+
@InstanceId = instanceid
|
|
538
|
+
@AddressId = addressid
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
def deserialize(params)
|
|
542
|
+
@InstanceId = params['InstanceId']
|
|
543
|
+
@AddressId = params['AddressId']
|
|
544
|
+
end
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
# AdjustPublicAddress返回参数结构体
|
|
548
|
+
class AdjustPublicAddressResponse < TencentCloud::Common::AbstractModel
|
|
549
|
+
# @param TaskId: 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
|
|
550
|
+
# @type TaskId: Integer
|
|
551
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
552
|
+
# @type RequestId: String
|
|
553
|
+
|
|
554
|
+
attr_accessor :TaskId, :RequestId
|
|
555
|
+
|
|
556
|
+
def initialize(taskid=nil, requestid=nil)
|
|
557
|
+
@TaskId = taskid
|
|
558
|
+
@RequestId = requestid
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
def deserialize(params)
|
|
562
|
+
@TaskId = params['TaskId']
|
|
563
|
+
@RequestId = params['RequestId']
|
|
564
|
+
end
|
|
565
|
+
end
|
|
566
|
+
|
|
495
567
|
# ALG协议类型
|
|
496
568
|
class AlgType < TencentCloud::Common::AbstractModel
|
|
497
569
|
# @param Ftp: Ftp协议Alg功能是否开启
|
|
@@ -4397,10 +4469,16 @@ module TencentCloud
|
|
|
4397
4469
|
# @type EncryptAlgorithm: String
|
|
4398
4470
|
# @param Compress: 是否支持压缩。当前仅支持不支持压缩。默认False
|
|
4399
4471
|
# @type Compress: Boolean
|
|
4472
|
+
# @param SsoEnabled: 是否开启SSO认证
|
|
4473
|
+
# @type SsoEnabled: Boolean
|
|
4474
|
+
# @param AccessPolicyEnabled: 是否开启策略访问控制
|
|
4475
|
+
# @type AccessPolicyEnabled: Boolean
|
|
4476
|
+
# @param SamlData: SAML-DATA
|
|
4477
|
+
# @type SamlData: String
|
|
4400
4478
|
|
|
4401
|
-
attr_accessor :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :SslVpnProtocol, :SslVpnPort, :IntegrityAlgorithm, :EncryptAlgorithm, :Compress
|
|
4479
|
+
attr_accessor :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :SslVpnProtocol, :SslVpnPort, :IntegrityAlgorithm, :EncryptAlgorithm, :Compress, :SsoEnabled, :AccessPolicyEnabled, :SamlData
|
|
4402
4480
|
|
|
4403
|
-
def initialize(vpngatewayid=nil, sslvpnservername=nil, localaddress=nil, remoteaddress=nil, sslvpnprotocol=nil, sslvpnport=nil, integrityalgorithm=nil, encryptalgorithm=nil, compress=nil)
|
|
4481
|
+
def initialize(vpngatewayid=nil, sslvpnservername=nil, localaddress=nil, remoteaddress=nil, sslvpnprotocol=nil, sslvpnport=nil, integrityalgorithm=nil, encryptalgorithm=nil, compress=nil, ssoenabled=nil, accesspolicyenabled=nil, samldata=nil)
|
|
4404
4482
|
@VpnGatewayId = vpngatewayid
|
|
4405
4483
|
@SslVpnServerName = sslvpnservername
|
|
4406
4484
|
@LocalAddress = localaddress
|
|
@@ -4410,6 +4488,9 @@ module TencentCloud
|
|
|
4410
4488
|
@IntegrityAlgorithm = integrityalgorithm
|
|
4411
4489
|
@EncryptAlgorithm = encryptalgorithm
|
|
4412
4490
|
@Compress = compress
|
|
4491
|
+
@SsoEnabled = ssoenabled
|
|
4492
|
+
@AccessPolicyEnabled = accesspolicyenabled
|
|
4493
|
+
@SamlData = samldata
|
|
4413
4494
|
end
|
|
4414
4495
|
|
|
4415
4496
|
def deserialize(params)
|
|
@@ -4422,6 +4503,9 @@ module TencentCloud
|
|
|
4422
4503
|
@IntegrityAlgorithm = params['IntegrityAlgorithm']
|
|
4423
4504
|
@EncryptAlgorithm = params['EncryptAlgorithm']
|
|
4424
4505
|
@Compress = params['Compress']
|
|
4506
|
+
@SsoEnabled = params['SsoEnabled']
|
|
4507
|
+
@AccessPolicyEnabled = params['AccessPolicyEnabled']
|
|
4508
|
+
@SamlData = params['SamlData']
|
|
4425
4509
|
end
|
|
4426
4510
|
end
|
|
4427
4511
|
|
|
@@ -10131,14 +10215,17 @@ module TencentCloud
|
|
|
10131
10215
|
# @type Limit: Integer
|
|
10132
10216
|
# @param SslVpnClientIds: SSL-VPN-CLIENT实例ID。形如:vpngwSslClient-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定SslVpnClientIds和Filters。
|
|
10133
10217
|
# @type SslVpnClientIds: Array
|
|
10218
|
+
# @param IsVpnPortal: VPN门户网站使用。默认是False。
|
|
10219
|
+
# @type IsVpnPortal: Boolean
|
|
10134
10220
|
|
|
10135
|
-
attr_accessor :Filters, :Offset, :Limit, :SslVpnClientIds
|
|
10221
|
+
attr_accessor :Filters, :Offset, :Limit, :SslVpnClientIds, :IsVpnPortal
|
|
10136
10222
|
|
|
10137
|
-
def initialize(filters=nil, offset=nil, limit=nil, sslvpnclientids=nil)
|
|
10223
|
+
def initialize(filters=nil, offset=nil, limit=nil, sslvpnclientids=nil, isvpnportal=nil)
|
|
10138
10224
|
@Filters = filters
|
|
10139
10225
|
@Offset = offset
|
|
10140
10226
|
@Limit = limit
|
|
10141
10227
|
@SslVpnClientIds = sslvpnclientids
|
|
10228
|
+
@IsVpnPortal = isvpnportal
|
|
10142
10229
|
end
|
|
10143
10230
|
|
|
10144
10231
|
def deserialize(params)
|
|
@@ -10153,6 +10240,7 @@ module TencentCloud
|
|
|
10153
10240
|
@Offset = params['Offset']
|
|
10154
10241
|
@Limit = params['Limit']
|
|
10155
10242
|
@SslVpnClientIds = params['SslVpnClientIds']
|
|
10243
|
+
@IsVpnPortal = params['IsVpnPortal']
|
|
10156
10244
|
end
|
|
10157
10245
|
end
|
|
10158
10246
|
|
|
@@ -10202,14 +10290,17 @@ module TencentCloud
|
|
|
10202
10290
|
# <li>ssl-vpn-server-name - String - (过滤条件)SSL-VPN-SERVER实例名称。</li>
|
|
10203
10291
|
# <li>ssl-vpn-server-id - String - (过滤条件)SSL-VPN-SERVER实例ID形如:vpngwSslServer-123456。</li>
|
|
10204
10292
|
# @type Filters: Array
|
|
10293
|
+
# @param IsVpnPortal: vpn门户使用。 默认Flase
|
|
10294
|
+
# @type IsVpnPortal: Boolean
|
|
10205
10295
|
|
|
10206
|
-
attr_accessor :Offset, :Limit, :SslVpnServerIds, :Filters
|
|
10296
|
+
attr_accessor :Offset, :Limit, :SslVpnServerIds, :Filters, :IsVpnPortal
|
|
10207
10297
|
|
|
10208
|
-
def initialize(offset=nil, limit=nil, sslvpnserverids=nil, filters=nil)
|
|
10298
|
+
def initialize(offset=nil, limit=nil, sslvpnserverids=nil, filters=nil, isvpnportal=nil)
|
|
10209
10299
|
@Offset = offset
|
|
10210
10300
|
@Limit = limit
|
|
10211
10301
|
@SslVpnServerIds = sslvpnserverids
|
|
10212
10302
|
@Filters = filters
|
|
10303
|
+
@IsVpnPortal = isvpnportal
|
|
10213
10304
|
end
|
|
10214
10305
|
|
|
10215
10306
|
def deserialize(params)
|
|
@@ -10224,6 +10315,7 @@ module TencentCloud
|
|
|
10224
10315
|
@Filters << filterobject_tmp
|
|
10225
10316
|
end
|
|
10226
10317
|
end
|
|
10318
|
+
@IsVpnPortal = params['IsVpnPortal']
|
|
10227
10319
|
end
|
|
10228
10320
|
end
|
|
10229
10321
|
|
|
@@ -11204,34 +11296,57 @@ module TencentCloud
|
|
|
11204
11296
|
class DownloadVpnGatewaySslClientCertRequest < TencentCloud::Common::AbstractModel
|
|
11205
11297
|
# @param SslVpnClientId: SSL-VPN-CLIENT 实例ID。
|
|
11206
11298
|
# @type SslVpnClientId: String
|
|
11299
|
+
# @param SamlToken: SAML-TOKEN
|
|
11300
|
+
# @type SamlToken: String
|
|
11301
|
+
# @param IsVpnPortal: VPN门户网站使用。默认Flase
|
|
11302
|
+
# @type IsVpnPortal: Boolean
|
|
11207
11303
|
|
|
11208
|
-
attr_accessor :SslVpnClientId
|
|
11304
|
+
attr_accessor :SslVpnClientId, :SamlToken, :IsVpnPortal
|
|
11209
11305
|
|
|
11210
|
-
def initialize(sslvpnclientid=nil)
|
|
11306
|
+
def initialize(sslvpnclientid=nil, samltoken=nil, isvpnportal=nil)
|
|
11211
11307
|
@SslVpnClientId = sslvpnclientid
|
|
11308
|
+
@SamlToken = samltoken
|
|
11309
|
+
@IsVpnPortal = isvpnportal
|
|
11212
11310
|
end
|
|
11213
11311
|
|
|
11214
11312
|
def deserialize(params)
|
|
11215
11313
|
@SslVpnClientId = params['SslVpnClientId']
|
|
11314
|
+
@SamlToken = params['SamlToken']
|
|
11315
|
+
@IsVpnPortal = params['IsVpnPortal']
|
|
11216
11316
|
end
|
|
11217
11317
|
end
|
|
11218
11318
|
|
|
11219
11319
|
# DownloadVpnGatewaySslClientCert返回参数结构体
|
|
11220
11320
|
class DownloadVpnGatewaySslClientCertResponse < TencentCloud::Common::AbstractModel
|
|
11221
|
-
# @param SslClientConfigsSet:
|
|
11321
|
+
# @param SslClientConfigsSet: 无
|
|
11222
11322
|
# @type SslClientConfigsSet: String
|
|
11323
|
+
# @param SslClientConfig: SSL-VPN client配置
|
|
11324
|
+
# @type SslClientConfig: Array
|
|
11325
|
+
# @param Authenticated: 是否鉴权成功 只有传入SamlToken 才生效
|
|
11326
|
+
# @type Authenticated: Integer
|
|
11223
11327
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11224
11328
|
# @type RequestId: String
|
|
11225
11329
|
|
|
11226
|
-
attr_accessor :SslClientConfigsSet, :RequestId
|
|
11330
|
+
attr_accessor :SslClientConfigsSet, :SslClientConfig, :Authenticated, :RequestId
|
|
11227
11331
|
|
|
11228
|
-
def initialize(sslclientconfigsset=nil, requestid=nil)
|
|
11332
|
+
def initialize(sslclientconfigsset=nil, sslclientconfig=nil, authenticated=nil, requestid=nil)
|
|
11229
11333
|
@SslClientConfigsSet = sslclientconfigsset
|
|
11334
|
+
@SslClientConfig = sslclientconfig
|
|
11335
|
+
@Authenticated = authenticated
|
|
11230
11336
|
@RequestId = requestid
|
|
11231
11337
|
end
|
|
11232
11338
|
|
|
11233
11339
|
def deserialize(params)
|
|
11234
11340
|
@SslClientConfigsSet = params['SslClientConfigsSet']
|
|
11341
|
+
unless params['SslClientConfig'].nil?
|
|
11342
|
+
@SslClientConfig = []
|
|
11343
|
+
params['SslClientConfig'].each do |i|
|
|
11344
|
+
sslclientconfig_tmp = SslClientConfig.new
|
|
11345
|
+
sslclientconfig_tmp.deserialize(i)
|
|
11346
|
+
@SslClientConfig << sslclientconfig_tmp
|
|
11347
|
+
end
|
|
11348
|
+
end
|
|
11349
|
+
@Authenticated = params['Authenticated']
|
|
11235
11350
|
@RequestId = params['RequestId']
|
|
11236
11351
|
end
|
|
11237
11352
|
end
|
|
@@ -17253,6 +17368,34 @@ module TencentCloud
|
|
|
17253
17368
|
end
|
|
17254
17369
|
end
|
|
17255
17370
|
|
|
17371
|
+
# DownloadVpnGatewaySslClientCert 使用
|
|
17372
|
+
class SslClientConfig < TencentCloud::Common::AbstractModel
|
|
17373
|
+
# @param SslVpnClientConfiguration: 客户端配置
|
|
17374
|
+
# @type SslVpnClientConfiguration: String
|
|
17375
|
+
# @param SslVpnRootCert: 更证书
|
|
17376
|
+
# @type SslVpnRootCert: String
|
|
17377
|
+
# @param SslVpnKey: 客户端密钥
|
|
17378
|
+
# @type SslVpnKey: String
|
|
17379
|
+
# @param SslVpnCert: 客户端证书
|
|
17380
|
+
# @type SslVpnCert: String
|
|
17381
|
+
|
|
17382
|
+
attr_accessor :SslVpnClientConfiguration, :SslVpnRootCert, :SslVpnKey, :SslVpnCert
|
|
17383
|
+
|
|
17384
|
+
def initialize(sslvpnclientconfiguration=nil, sslvpnrootcert=nil, sslvpnkey=nil, sslvpncert=nil)
|
|
17385
|
+
@SslVpnClientConfiguration = sslvpnclientconfiguration
|
|
17386
|
+
@SslVpnRootCert = sslvpnrootcert
|
|
17387
|
+
@SslVpnKey = sslvpnkey
|
|
17388
|
+
@SslVpnCert = sslvpncert
|
|
17389
|
+
end
|
|
17390
|
+
|
|
17391
|
+
def deserialize(params)
|
|
17392
|
+
@SslVpnClientConfiguration = params['SslVpnClientConfiguration']
|
|
17393
|
+
@SslVpnRootCert = params['SslVpnRootCert']
|
|
17394
|
+
@SslVpnKey = params['SslVpnKey']
|
|
17395
|
+
@SslVpnCert = params['SslVpnCert']
|
|
17396
|
+
end
|
|
17397
|
+
end
|
|
17398
|
+
|
|
17256
17399
|
# SSL-VPN-CLIENT 出参
|
|
17257
17400
|
class SslVpnClient < TencentCloud::Common::AbstractModel
|
|
17258
17401
|
# @param VpcId: VPC实例ID
|
|
@@ -17351,10 +17494,18 @@ module TencentCloud
|
|
|
17351
17494
|
# 6 已连通
|
|
17352
17495
|
# 7 未知
|
|
17353
17496
|
# @type State: Integer
|
|
17354
|
-
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17497
|
+
# @param SsoEnabled: 是否开启SSO认证。1:开启 0: 不开启
|
|
17498
|
+
# @type SsoEnabled: Integer
|
|
17499
|
+
# @param EiamApplicationId: EIAM应用ID
|
|
17500
|
+
# @type EiamApplicationId: String
|
|
17501
|
+
# @param AccessPolicyEnabled: 是否开启策略控制。0:不开启 1: 开启
|
|
17502
|
+
# @type AccessPolicyEnabled: Integer
|
|
17503
|
+
# @param AccessPolicy: 策略信息
|
|
17504
|
+
# @type AccessPolicy: Array
|
|
17505
|
+
|
|
17506
|
+
attr_accessor :VpcId, :SslVpnServerId, :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :MaxConnection, :WanIp, :SslVpnProtocol, :SslVpnPort, :EncryptAlgorithm, :IntegrityAlgorithm, :Compress, :CreateTime, :State, :SsoEnabled, :EiamApplicationId, :AccessPolicyEnabled, :AccessPolicy
|
|
17507
|
+
|
|
17508
|
+
def initialize(vpcid=nil, sslvpnserverid=nil, vpngatewayid=nil, sslvpnservername=nil, localaddress=nil, remoteaddress=nil, maxconnection=nil, wanip=nil, sslvpnprotocol=nil, sslvpnport=nil, encryptalgorithm=nil, integrityalgorithm=nil, compress=nil, createtime=nil, state=nil, ssoenabled=nil, eiamapplicationid=nil, accesspolicyenabled=nil, accesspolicy=nil)
|
|
17358
17509
|
@VpcId = vpcid
|
|
17359
17510
|
@SslVpnServerId = sslvpnserverid
|
|
17360
17511
|
@VpnGatewayId = vpngatewayid
|
|
@@ -17370,6 +17521,10 @@ module TencentCloud
|
|
|
17370
17521
|
@Compress = compress
|
|
17371
17522
|
@CreateTime = createtime
|
|
17372
17523
|
@State = state
|
|
17524
|
+
@SsoEnabled = ssoenabled
|
|
17525
|
+
@EiamApplicationId = eiamapplicationid
|
|
17526
|
+
@AccessPolicyEnabled = accesspolicyenabled
|
|
17527
|
+
@AccessPolicy = accesspolicy
|
|
17373
17528
|
end
|
|
17374
17529
|
|
|
17375
17530
|
def deserialize(params)
|
|
@@ -17388,6 +17543,17 @@ module TencentCloud
|
|
|
17388
17543
|
@Compress = params['Compress']
|
|
17389
17544
|
@CreateTime = params['CreateTime']
|
|
17390
17545
|
@State = params['State']
|
|
17546
|
+
@SsoEnabled = params['SsoEnabled']
|
|
17547
|
+
@EiamApplicationId = params['EiamApplicationId']
|
|
17548
|
+
@AccessPolicyEnabled = params['AccessPolicyEnabled']
|
|
17549
|
+
unless params['AccessPolicy'].nil?
|
|
17550
|
+
@AccessPolicy = []
|
|
17551
|
+
params['AccessPolicy'].each do |i|
|
|
17552
|
+
accesspolicy_tmp = AccessPolicy.new
|
|
17553
|
+
accesspolicy_tmp.deserialize(i)
|
|
17554
|
+
@AccessPolicy << accesspolicy_tmp
|
|
17555
|
+
end
|
|
17556
|
+
end
|
|
17391
17557
|
end
|
|
17392
17558
|
end
|
|
17393
17559
|
|
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: 1.0.
|
|
4
|
+
version: 1.0.340
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-06-
|
|
11
|
+
date: 2022-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|