tencentcloud-sdk-vpc 3.0.854 → 3.0.856
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 +432 -0
- data/lib/v20170312/models.rb +1429 -21
- metadata +2 -2
data/lib/v20170312/models.rb
CHANGED
@@ -3997,6 +3997,233 @@ module TencentCloud
|
|
3997
3997
|
end
|
3998
3998
|
end
|
3999
3999
|
|
4000
|
+
# CreatePrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
4001
|
+
class CreatePrivateNatGatewayDestinationIpPortTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
|
4002
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
4003
|
+
# @type NatGatewayId: String
|
4004
|
+
# @param LocalDestinationIpPortTranslationNatRules: 目的端口转换规则列表。
|
4005
|
+
# @type LocalDestinationIpPortTranslationNatRules: Array
|
4006
|
+
|
4007
|
+
attr_accessor :NatGatewayId, :LocalDestinationIpPortTranslationNatRules
|
4008
|
+
|
4009
|
+
def initialize(natgatewayid=nil, localdestinationipporttranslationnatrules=nil)
|
4010
|
+
@NatGatewayId = natgatewayid
|
4011
|
+
@LocalDestinationIpPortTranslationNatRules = localdestinationipporttranslationnatrules
|
4012
|
+
end
|
4013
|
+
|
4014
|
+
def deserialize(params)
|
4015
|
+
@NatGatewayId = params['NatGatewayId']
|
4016
|
+
unless params['LocalDestinationIpPortTranslationNatRules'].nil?
|
4017
|
+
@LocalDestinationIpPortTranslationNatRules = []
|
4018
|
+
params['LocalDestinationIpPortTranslationNatRules'].each do |i|
|
4019
|
+
localdestinationipporttranslationnatrule_tmp = LocalDestinationIpPortTranslationNatRule.new
|
4020
|
+
localdestinationipporttranslationnatrule_tmp.deserialize(i)
|
4021
|
+
@LocalDestinationIpPortTranslationNatRules << localdestinationipporttranslationnatrule_tmp
|
4022
|
+
end
|
4023
|
+
end
|
4024
|
+
end
|
4025
|
+
end
|
4026
|
+
|
4027
|
+
# CreatePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
4028
|
+
class CreatePrivateNatGatewayDestinationIpPortTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
|
4029
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4030
|
+
# @type RequestId: String
|
4031
|
+
|
4032
|
+
attr_accessor :RequestId
|
4033
|
+
|
4034
|
+
def initialize(requestid=nil)
|
4035
|
+
@RequestId = requestid
|
4036
|
+
end
|
4037
|
+
|
4038
|
+
def deserialize(params)
|
4039
|
+
@RequestId = params['RequestId']
|
4040
|
+
end
|
4041
|
+
end
|
4042
|
+
|
4043
|
+
# CreatePrivateNatGateway请求参数结构体
|
4044
|
+
class CreatePrivateNatGatewayRequest < TencentCloud::Common::AbstractModel
|
4045
|
+
# @param NatGatewayName: 私网网关名称
|
4046
|
+
# @type NatGatewayName: String
|
4047
|
+
# @param VpcId: 私有网络实例ID。当创建VPC类型私网NAT网关或者专线网关类型私网NAT网关时,此参数必填。
|
4048
|
+
# @type VpcId: String
|
4049
|
+
# @param CrossDomain: 跨域参数。仅当取值为True时,才会支持跨域绑定VPC。
|
4050
|
+
# @type CrossDomain: Boolean
|
4051
|
+
# @param Tags: 实例标签
|
4052
|
+
# @type Tags: Array
|
4053
|
+
# @param VpcType: VPC类型私网NAT网关。仅当取值为True时,才会创建VPC类型私网NAT网关。
|
4054
|
+
# @type VpcType: Boolean
|
4055
|
+
# @param CcnId: 云联网类型私网NAT网关需要绑定的云联网实例ID。
|
4056
|
+
# @type CcnId: String
|
4057
|
+
|
4058
|
+
attr_accessor :NatGatewayName, :VpcId, :CrossDomain, :Tags, :VpcType, :CcnId
|
4059
|
+
|
4060
|
+
def initialize(natgatewayname=nil, vpcid=nil, crossdomain=nil, tags=nil, vpctype=nil, ccnid=nil)
|
4061
|
+
@NatGatewayName = natgatewayname
|
4062
|
+
@VpcId = vpcid
|
4063
|
+
@CrossDomain = crossdomain
|
4064
|
+
@Tags = tags
|
4065
|
+
@VpcType = vpctype
|
4066
|
+
@CcnId = ccnid
|
4067
|
+
end
|
4068
|
+
|
4069
|
+
def deserialize(params)
|
4070
|
+
@NatGatewayName = params['NatGatewayName']
|
4071
|
+
@VpcId = params['VpcId']
|
4072
|
+
@CrossDomain = params['CrossDomain']
|
4073
|
+
unless params['Tags'].nil?
|
4074
|
+
@Tags = []
|
4075
|
+
params['Tags'].each do |i|
|
4076
|
+
tag_tmp = Tag.new
|
4077
|
+
tag_tmp.deserialize(i)
|
4078
|
+
@Tags << tag_tmp
|
4079
|
+
end
|
4080
|
+
end
|
4081
|
+
@VpcType = params['VpcType']
|
4082
|
+
@CcnId = params['CcnId']
|
4083
|
+
end
|
4084
|
+
end
|
4085
|
+
|
4086
|
+
# CreatePrivateNatGateway返回参数结构体
|
4087
|
+
class CreatePrivateNatGatewayResponse < TencentCloud::Common::AbstractModel
|
4088
|
+
# @param PrivateNatGatewaySet: 私网网关对象。
|
4089
|
+
# @type PrivateNatGatewaySet: Array
|
4090
|
+
# @param TotalCount: 创建实例个数
|
4091
|
+
# @type TotalCount: Integer
|
4092
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4093
|
+
# @type RequestId: String
|
4094
|
+
|
4095
|
+
attr_accessor :PrivateNatGatewaySet, :TotalCount, :RequestId
|
4096
|
+
|
4097
|
+
def initialize(privatenatgatewayset=nil, totalcount=nil, requestid=nil)
|
4098
|
+
@PrivateNatGatewaySet = privatenatgatewayset
|
4099
|
+
@TotalCount = totalcount
|
4100
|
+
@RequestId = requestid
|
4101
|
+
end
|
4102
|
+
|
4103
|
+
def deserialize(params)
|
4104
|
+
unless params['PrivateNatGatewaySet'].nil?
|
4105
|
+
@PrivateNatGatewaySet = []
|
4106
|
+
params['PrivateNatGatewaySet'].each do |i|
|
4107
|
+
privatenatgateway_tmp = PrivateNatGateway.new
|
4108
|
+
privatenatgateway_tmp.deserialize(i)
|
4109
|
+
@PrivateNatGatewaySet << privatenatgateway_tmp
|
4110
|
+
end
|
4111
|
+
end
|
4112
|
+
@TotalCount = params['TotalCount']
|
4113
|
+
@RequestId = params['RequestId']
|
4114
|
+
end
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
# CreatePrivateNatGatewayTranslationAclRule请求参数结构体
|
4118
|
+
class CreatePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
|
4119
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
4120
|
+
# @type NatGatewayId: String
|
4121
|
+
# @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
4122
|
+
# @type TranslationDirection: String
|
4123
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
4124
|
+
# @type TranslationType: String
|
4125
|
+
# @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
4126
|
+
# @type TranslationIp: String
|
4127
|
+
# @param TranslationAclRules: 访问控制列表。
|
4128
|
+
# @type TranslationAclRules: Array
|
4129
|
+
# @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
4130
|
+
# @type OriginalIp: String
|
4131
|
+
|
4132
|
+
attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :TranslationAclRules, :OriginalIp
|
4133
|
+
|
4134
|
+
def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, translationaclrules=nil, originalip=nil)
|
4135
|
+
@NatGatewayId = natgatewayid
|
4136
|
+
@TranslationDirection = translationdirection
|
4137
|
+
@TranslationType = translationtype
|
4138
|
+
@TranslationIp = translationip
|
4139
|
+
@TranslationAclRules = translationaclrules
|
4140
|
+
@OriginalIp = originalip
|
4141
|
+
end
|
4142
|
+
|
4143
|
+
def deserialize(params)
|
4144
|
+
@NatGatewayId = params['NatGatewayId']
|
4145
|
+
@TranslationDirection = params['TranslationDirection']
|
4146
|
+
@TranslationType = params['TranslationType']
|
4147
|
+
@TranslationIp = params['TranslationIp']
|
4148
|
+
unless params['TranslationAclRules'].nil?
|
4149
|
+
@TranslationAclRules = []
|
4150
|
+
params['TranslationAclRules'].each do |i|
|
4151
|
+
translationaclrule_tmp = TranslationAclRule.new
|
4152
|
+
translationaclrule_tmp.deserialize(i)
|
4153
|
+
@TranslationAclRules << translationaclrule_tmp
|
4154
|
+
end
|
4155
|
+
end
|
4156
|
+
@OriginalIp = params['OriginalIp']
|
4157
|
+
end
|
4158
|
+
end
|
4159
|
+
|
4160
|
+
# CreatePrivateNatGatewayTranslationAclRule返回参数结构体
|
4161
|
+
class CreatePrivateNatGatewayTranslationAclRuleResponse < TencentCloud::Common::AbstractModel
|
4162
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4163
|
+
# @type RequestId: String
|
4164
|
+
|
4165
|
+
attr_accessor :RequestId
|
4166
|
+
|
4167
|
+
def initialize(requestid=nil)
|
4168
|
+
@RequestId = requestid
|
4169
|
+
end
|
4170
|
+
|
4171
|
+
def deserialize(params)
|
4172
|
+
@RequestId = params['RequestId']
|
4173
|
+
end
|
4174
|
+
end
|
4175
|
+
|
4176
|
+
# CreatePrivateNatGatewayTranslationNatRule请求参数结构体
|
4177
|
+
class CreatePrivateNatGatewayTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
|
4178
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
4179
|
+
# @type NatGatewayId: String
|
4180
|
+
# @param TranslationNatRules: 转换规则对象数组。
|
4181
|
+
# @type TranslationNatRules: Array
|
4182
|
+
# @param CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
4183
|
+
# @type CrossDomain: Boolean
|
4184
|
+
|
4185
|
+
attr_accessor :NatGatewayId, :TranslationNatRules, :CrossDomain
|
4186
|
+
|
4187
|
+
def initialize(natgatewayid=nil, translationnatrules=nil, crossdomain=nil)
|
4188
|
+
@NatGatewayId = natgatewayid
|
4189
|
+
@TranslationNatRules = translationnatrules
|
4190
|
+
@CrossDomain = crossdomain
|
4191
|
+
end
|
4192
|
+
|
4193
|
+
def deserialize(params)
|
4194
|
+
@NatGatewayId = params['NatGatewayId']
|
4195
|
+
unless params['TranslationNatRules'].nil?
|
4196
|
+
@TranslationNatRules = []
|
4197
|
+
params['TranslationNatRules'].each do |i|
|
4198
|
+
translationnatruleinput_tmp = TranslationNatRuleInput.new
|
4199
|
+
translationnatruleinput_tmp.deserialize(i)
|
4200
|
+
@TranslationNatRules << translationnatruleinput_tmp
|
4201
|
+
end
|
4202
|
+
end
|
4203
|
+
@CrossDomain = params['CrossDomain']
|
4204
|
+
end
|
4205
|
+
end
|
4206
|
+
|
4207
|
+
# CreatePrivateNatGatewayTranslationNatRule返回参数结构体
|
4208
|
+
class CreatePrivateNatGatewayTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
|
4209
|
+
# @param NatGatewayId: 私网网关唯一`ID`。
|
4210
|
+
# @type NatGatewayId: String
|
4211
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4212
|
+
# @type RequestId: String
|
4213
|
+
|
4214
|
+
attr_accessor :NatGatewayId, :RequestId
|
4215
|
+
|
4216
|
+
def initialize(natgatewayid=nil, requestid=nil)
|
4217
|
+
@NatGatewayId = natgatewayid
|
4218
|
+
@RequestId = requestid
|
4219
|
+
end
|
4220
|
+
|
4221
|
+
def deserialize(params)
|
4222
|
+
@NatGatewayId = params['NatGatewayId']
|
4223
|
+
@RequestId = params['RequestId']
|
4224
|
+
end
|
4225
|
+
end
|
4226
|
+
|
4000
4227
|
# CreateRouteTable请求参数结构体
|
4001
4228
|
class CreateRouteTableRequest < TencentCloud::Common::AbstractModel
|
4002
4229
|
# @param VpcId: 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
@@ -4950,10 +5177,12 @@ module TencentCloud
|
|
4950
5177
|
# @type Route: :class:`Tencentcloud::Vpc.v20170312.models.CreateVpnConnRoute`
|
4951
5178
|
# @param BgpConfig: BGP配置。
|
4952
5179
|
# @type BgpConfig: :class:`Tencentcloud::Vpc.v20170312.models.BgpConfig`
|
5180
|
+
# @param HealthCheckConfig: 健康检查NQA配置。
|
5181
|
+
# @type HealthCheckConfig: :class:`Tencentcloud::Vpc.v20170312.models.HealthCheckConfig`
|
4953
5182
|
|
4954
|
-
attr_accessor :VpnGatewayId, :CustomerGatewayId, :VpnConnectionName, :PreShareKey, :VpcId, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :Tags, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :RouteType, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction, :Route, :BgpConfig
|
5183
|
+
attr_accessor :VpnGatewayId, :CustomerGatewayId, :VpnConnectionName, :PreShareKey, :VpcId, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :Tags, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :RouteType, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction, :Route, :BgpConfig, :HealthCheckConfig
|
4955
5184
|
|
4956
|
-
def initialize(vpngatewayid=nil, customergatewayid=nil, vpnconnectionname=nil, presharekey=nil, vpcid=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, tags=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, routetype=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, route=nil, bgpconfig=nil)
|
5185
|
+
def initialize(vpngatewayid=nil, customergatewayid=nil, vpnconnectionname=nil, presharekey=nil, vpcid=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, tags=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, routetype=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, route=nil, bgpconfig=nil, healthcheckconfig=nil)
|
4957
5186
|
@VpnGatewayId = vpngatewayid
|
4958
5187
|
@CustomerGatewayId = customergatewayid
|
4959
5188
|
@VpnConnectionName = vpnconnectionname
|
@@ -4973,6 +5202,7 @@ module TencentCloud
|
|
4973
5202
|
@DpdAction = dpdaction
|
4974
5203
|
@Route = route
|
4975
5204
|
@BgpConfig = bgpconfig
|
5205
|
+
@HealthCheckConfig = healthcheckconfig
|
4976
5206
|
end
|
4977
5207
|
|
4978
5208
|
def deserialize(params)
|
@@ -5021,6 +5251,10 @@ module TencentCloud
|
|
5021
5251
|
@BgpConfig = BgpConfig.new
|
5022
5252
|
@BgpConfig.deserialize(params['BgpConfig'])
|
5023
5253
|
end
|
5254
|
+
unless params['HealthCheckConfig'].nil?
|
5255
|
+
@HealthCheckConfig = HealthCheckConfig.new
|
5256
|
+
@HealthCheckConfig.deserialize(params['HealthCheckConfig'])
|
5257
|
+
end
|
5024
5258
|
end
|
5025
5259
|
end
|
5026
5260
|
|
@@ -6315,6 +6549,184 @@ module TencentCloud
|
|
6315
6549
|
end
|
6316
6550
|
end
|
6317
6551
|
|
6552
|
+
# DeletePrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
6553
|
+
class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
|
6554
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
6555
|
+
# @type NatGatewayId: String
|
6556
|
+
# @param LocalDestinationIpPortTranslationNatRules: 目的端口转换规则数组。
|
6557
|
+
# @type LocalDestinationIpPortTranslationNatRules: Array
|
6558
|
+
|
6559
|
+
attr_accessor :NatGatewayId, :LocalDestinationIpPortTranslationNatRules
|
6560
|
+
|
6561
|
+
def initialize(natgatewayid=nil, localdestinationipporttranslationnatrules=nil)
|
6562
|
+
@NatGatewayId = natgatewayid
|
6563
|
+
@LocalDestinationIpPortTranslationNatRules = localdestinationipporttranslationnatrules
|
6564
|
+
end
|
6565
|
+
|
6566
|
+
def deserialize(params)
|
6567
|
+
@NatGatewayId = params['NatGatewayId']
|
6568
|
+
unless params['LocalDestinationIpPortTranslationNatRules'].nil?
|
6569
|
+
@LocalDestinationIpPortTranslationNatRules = []
|
6570
|
+
params['LocalDestinationIpPortTranslationNatRules'].each do |i|
|
6571
|
+
localdestinationipporttranslationnatrule_tmp = LocalDestinationIpPortTranslationNatRule.new
|
6572
|
+
localdestinationipporttranslationnatrule_tmp.deserialize(i)
|
6573
|
+
@LocalDestinationIpPortTranslationNatRules << localdestinationipporttranslationnatrule_tmp
|
6574
|
+
end
|
6575
|
+
end
|
6576
|
+
end
|
6577
|
+
end
|
6578
|
+
|
6579
|
+
# DeletePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
6580
|
+
class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
|
6581
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6582
|
+
# @type RequestId: String
|
6583
|
+
|
6584
|
+
attr_accessor :RequestId
|
6585
|
+
|
6586
|
+
def initialize(requestid=nil)
|
6587
|
+
@RequestId = requestid
|
6588
|
+
end
|
6589
|
+
|
6590
|
+
def deserialize(params)
|
6591
|
+
@RequestId = params['RequestId']
|
6592
|
+
end
|
6593
|
+
end
|
6594
|
+
|
6595
|
+
# DeletePrivateNatGateway请求参数结构体
|
6596
|
+
class DeletePrivateNatGatewayRequest < TencentCloud::Common::AbstractModel
|
6597
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx"。
|
6598
|
+
# @type NatGatewayId: String
|
6599
|
+
|
6600
|
+
attr_accessor :NatGatewayId
|
6601
|
+
|
6602
|
+
def initialize(natgatewayid=nil)
|
6603
|
+
@NatGatewayId = natgatewayid
|
6604
|
+
end
|
6605
|
+
|
6606
|
+
def deserialize(params)
|
6607
|
+
@NatGatewayId = params['NatGatewayId']
|
6608
|
+
end
|
6609
|
+
end
|
6610
|
+
|
6611
|
+
# DeletePrivateNatGateway返回参数结构体
|
6612
|
+
class DeletePrivateNatGatewayResponse < TencentCloud::Common::AbstractModel
|
6613
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6614
|
+
# @type RequestId: String
|
6615
|
+
|
6616
|
+
attr_accessor :RequestId
|
6617
|
+
|
6618
|
+
def initialize(requestid=nil)
|
6619
|
+
@RequestId = requestid
|
6620
|
+
end
|
6621
|
+
|
6622
|
+
def deserialize(params)
|
6623
|
+
@RequestId = params['RequestId']
|
6624
|
+
end
|
6625
|
+
end
|
6626
|
+
|
6627
|
+
# DeletePrivateNatGatewayTranslationAclRule请求参数结构体
|
6628
|
+
class DeletePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
|
6629
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
6630
|
+
# @type NatGatewayId: String
|
6631
|
+
# @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
6632
|
+
# @type TranslationDirection: String
|
6633
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
6634
|
+
# @type TranslationType: String
|
6635
|
+
# @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
|
6636
|
+
# @type TranslationIp: String
|
6637
|
+
# @param AclRuleIds: 访问控制规则对应`ID`
|
6638
|
+
# @type AclRuleIds: Array
|
6639
|
+
# @param OriginalIp: 源`IP`,当转换规则类型为三层时有效
|
6640
|
+
# @type OriginalIp: String
|
6641
|
+
|
6642
|
+
attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :AclRuleIds, :OriginalIp
|
6643
|
+
|
6644
|
+
def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, aclruleids=nil, originalip=nil)
|
6645
|
+
@NatGatewayId = natgatewayid
|
6646
|
+
@TranslationDirection = translationdirection
|
6647
|
+
@TranslationType = translationtype
|
6648
|
+
@TranslationIp = translationip
|
6649
|
+
@AclRuleIds = aclruleids
|
6650
|
+
@OriginalIp = originalip
|
6651
|
+
end
|
6652
|
+
|
6653
|
+
def deserialize(params)
|
6654
|
+
@NatGatewayId = params['NatGatewayId']
|
6655
|
+
@TranslationDirection = params['TranslationDirection']
|
6656
|
+
@TranslationType = params['TranslationType']
|
6657
|
+
@TranslationIp = params['TranslationIp']
|
6658
|
+
@AclRuleIds = params['AclRuleIds']
|
6659
|
+
@OriginalIp = params['OriginalIp']
|
6660
|
+
end
|
6661
|
+
end
|
6662
|
+
|
6663
|
+
# DeletePrivateNatGatewayTranslationAclRule返回参数结构体
|
6664
|
+
class DeletePrivateNatGatewayTranslationAclRuleResponse < TencentCloud::Common::AbstractModel
|
6665
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6666
|
+
# @type RequestId: String
|
6667
|
+
|
6668
|
+
attr_accessor :RequestId
|
6669
|
+
|
6670
|
+
def initialize(requestid=nil)
|
6671
|
+
@RequestId = requestid
|
6672
|
+
end
|
6673
|
+
|
6674
|
+
def deserialize(params)
|
6675
|
+
@RequestId = params['RequestId']
|
6676
|
+
end
|
6677
|
+
end
|
6678
|
+
|
6679
|
+
# DeletePrivateNatGatewayTranslationNatRule请求参数结构体
|
6680
|
+
class DeletePrivateNatGatewayTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
|
6681
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
6682
|
+
# @type NatGatewayId: String
|
6683
|
+
# @param TranslationNatRules: 转换规则对象数组。
|
6684
|
+
# @type TranslationNatRules: Array
|
6685
|
+
# @param CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
6686
|
+
# @type CrossDomain: Boolean
|
6687
|
+
|
6688
|
+
attr_accessor :NatGatewayId, :TranslationNatRules, :CrossDomain
|
6689
|
+
|
6690
|
+
def initialize(natgatewayid=nil, translationnatrules=nil, crossdomain=nil)
|
6691
|
+
@NatGatewayId = natgatewayid
|
6692
|
+
@TranslationNatRules = translationnatrules
|
6693
|
+
@CrossDomain = crossdomain
|
6694
|
+
end
|
6695
|
+
|
6696
|
+
def deserialize(params)
|
6697
|
+
@NatGatewayId = params['NatGatewayId']
|
6698
|
+
unless params['TranslationNatRules'].nil?
|
6699
|
+
@TranslationNatRules = []
|
6700
|
+
params['TranslationNatRules'].each do |i|
|
6701
|
+
translationnatrule_tmp = TranslationNatRule.new
|
6702
|
+
translationnatrule_tmp.deserialize(i)
|
6703
|
+
@TranslationNatRules << translationnatrule_tmp
|
6704
|
+
end
|
6705
|
+
end
|
6706
|
+
@CrossDomain = params['CrossDomain']
|
6707
|
+
end
|
6708
|
+
end
|
6709
|
+
|
6710
|
+
# DeletePrivateNatGatewayTranslationNatRule返回参数结构体
|
6711
|
+
class DeletePrivateNatGatewayTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
|
6712
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
6713
|
+
# @type NatGatewayId: String
|
6714
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6715
|
+
# @type RequestId: String
|
6716
|
+
|
6717
|
+
attr_accessor :NatGatewayId, :RequestId
|
6718
|
+
|
6719
|
+
def initialize(natgatewayid=nil, requestid=nil)
|
6720
|
+
@NatGatewayId = natgatewayid
|
6721
|
+
@RequestId = requestid
|
6722
|
+
end
|
6723
|
+
|
6724
|
+
def deserialize(params)
|
6725
|
+
@NatGatewayId = params['NatGatewayId']
|
6726
|
+
@RequestId = params['RequestId']
|
6727
|
+
end
|
6728
|
+
end
|
6729
|
+
|
6318
6730
|
# DeleteRouteTable请求参数结构体
|
6319
6731
|
class DeleteRouteTableRequest < TencentCloud::Common::AbstractModel
|
6320
6732
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
@@ -9948,26 +10360,416 @@ module TencentCloud
|
|
9948
10360
|
end
|
9949
10361
|
end
|
9950
10362
|
|
9951
|
-
#
|
9952
|
-
class
|
9953
|
-
# @param
|
9954
|
-
# @type
|
10363
|
+
# DescribePrivateNatGatewayDestinationIpPortTranslationNatRules请求参数结构体
|
10364
|
+
class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest < TencentCloud::Common::AbstractModel
|
10365
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
|
10366
|
+
# @type NatGatewayId: String
|
10367
|
+
# @param Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
|
10368
|
+
# @type Filters: Array
|
10369
|
+
# @param Offset: 偏移量,默认值为0。
|
10370
|
+
# @type Offset: Integer
|
10371
|
+
# @param Limit: 返回数目,默认值为20。
|
10372
|
+
# @type Limit: Integer
|
9955
10373
|
|
9956
|
-
attr_accessor :
|
10374
|
+
attr_accessor :NatGatewayId, :Filters, :Offset, :Limit
|
9957
10375
|
|
9958
|
-
def initialize(
|
9959
|
-
@
|
10376
|
+
def initialize(natgatewayid=nil, filters=nil, offset=nil, limit=nil)
|
10377
|
+
@NatGatewayId = natgatewayid
|
10378
|
+
@Filters = filters
|
10379
|
+
@Offset = offset
|
10380
|
+
@Limit = limit
|
9960
10381
|
end
|
9961
10382
|
|
9962
10383
|
def deserialize(params)
|
9963
|
-
@
|
9964
|
-
|
9965
|
-
|
9966
|
-
|
9967
|
-
|
9968
|
-
|
9969
|
-
|
9970
|
-
|
10384
|
+
@NatGatewayId = params['NatGatewayId']
|
10385
|
+
unless params['Filters'].nil?
|
10386
|
+
@Filters = []
|
10387
|
+
params['Filters'].each do |i|
|
10388
|
+
filter_tmp = Filter.new
|
10389
|
+
filter_tmp.deserialize(i)
|
10390
|
+
@Filters << filter_tmp
|
10391
|
+
end
|
10392
|
+
end
|
10393
|
+
@Offset = params['Offset']
|
10394
|
+
@Limit = params['Limit']
|
10395
|
+
end
|
10396
|
+
end
|
10397
|
+
|
10398
|
+
# DescribePrivateNatGatewayDestinationIpPortTranslationNatRules返回参数结构体
|
10399
|
+
class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesResponse < TencentCloud::Common::AbstractModel
|
10400
|
+
# @param TotalCount: 总规则数目。
|
10401
|
+
# @type TotalCount: Integer
|
10402
|
+
# @param LocalDestinationIpPortTranslationNatRuleSet: 目的端口转换规则数组。
|
10403
|
+
# @type LocalDestinationIpPortTranslationNatRuleSet: Array
|
10404
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10405
|
+
# @type RequestId: String
|
10406
|
+
|
10407
|
+
attr_accessor :TotalCount, :LocalDestinationIpPortTranslationNatRuleSet, :RequestId
|
10408
|
+
|
10409
|
+
def initialize(totalcount=nil, localdestinationipporttranslationnatruleset=nil, requestid=nil)
|
10410
|
+
@TotalCount = totalcount
|
10411
|
+
@LocalDestinationIpPortTranslationNatRuleSet = localdestinationipporttranslationnatruleset
|
10412
|
+
@RequestId = requestid
|
10413
|
+
end
|
10414
|
+
|
10415
|
+
def deserialize(params)
|
10416
|
+
@TotalCount = params['TotalCount']
|
10417
|
+
unless params['LocalDestinationIpPortTranslationNatRuleSet'].nil?
|
10418
|
+
@LocalDestinationIpPortTranslationNatRuleSet = []
|
10419
|
+
params['LocalDestinationIpPortTranslationNatRuleSet'].each do |i|
|
10420
|
+
privatenatdestinationipporttranslationnatrule_tmp = PrivateNatDestinationIpPortTranslationNatRule.new
|
10421
|
+
privatenatdestinationipporttranslationnatrule_tmp.deserialize(i)
|
10422
|
+
@LocalDestinationIpPortTranslationNatRuleSet << privatenatdestinationipporttranslationnatrule_tmp
|
10423
|
+
end
|
10424
|
+
end
|
10425
|
+
@RequestId = params['RequestId']
|
10426
|
+
end
|
10427
|
+
end
|
10428
|
+
|
10429
|
+
# DescribePrivateNatGatewayLimits请求参数结构体
|
10430
|
+
class DescribePrivateNatGatewayLimitsRequest < TencentCloud::Common::AbstractModel
|
10431
|
+
# @param Filters: 查询VPC下可创建的私网网关配额数量,可选值:
|
10432
|
+
# <li>VpcId - String - 所在VpcId</li>
|
10433
|
+
# @type Filters: Array
|
10434
|
+
# @param Offset: 偏移量,默认值为0。
|
10435
|
+
# @type Offset: Integer
|
10436
|
+
# @param Limit: 返回数目,默认值为20。
|
10437
|
+
# @type Limit: Integer
|
10438
|
+
|
10439
|
+
attr_accessor :Filters, :Offset, :Limit
|
10440
|
+
|
10441
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
10442
|
+
@Filters = filters
|
10443
|
+
@Offset = offset
|
10444
|
+
@Limit = limit
|
10445
|
+
end
|
10446
|
+
|
10447
|
+
def deserialize(params)
|
10448
|
+
unless params['Filters'].nil?
|
10449
|
+
@Filters = []
|
10450
|
+
params['Filters'].each do |i|
|
10451
|
+
filter_tmp = Filter.new
|
10452
|
+
filter_tmp.deserialize(i)
|
10453
|
+
@Filters << filter_tmp
|
10454
|
+
end
|
10455
|
+
end
|
10456
|
+
@Offset = params['Offset']
|
10457
|
+
@Limit = params['Limit']
|
10458
|
+
end
|
10459
|
+
end
|
10460
|
+
|
10461
|
+
# DescribePrivateNatGatewayLimits返回参数结构体
|
10462
|
+
class DescribePrivateNatGatewayLimitsResponse < TencentCloud::Common::AbstractModel
|
10463
|
+
# @param TotalCount: 查询返回结果个数。
|
10464
|
+
# @type TotalCount: Integer
|
10465
|
+
# @param PrivateNatGatewayLimitSet: 私网网关配额。
|
10466
|
+
# @type PrivateNatGatewayLimitSet: Array
|
10467
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10468
|
+
# @type RequestId: String
|
10469
|
+
|
10470
|
+
attr_accessor :TotalCount, :PrivateNatGatewayLimitSet, :RequestId
|
10471
|
+
|
10472
|
+
def initialize(totalcount=nil, privatenatgatewaylimitset=nil, requestid=nil)
|
10473
|
+
@TotalCount = totalcount
|
10474
|
+
@PrivateNatGatewayLimitSet = privatenatgatewaylimitset
|
10475
|
+
@RequestId = requestid
|
10476
|
+
end
|
10477
|
+
|
10478
|
+
def deserialize(params)
|
10479
|
+
@TotalCount = params['TotalCount']
|
10480
|
+
unless params['PrivateNatGatewayLimitSet'].nil?
|
10481
|
+
@PrivateNatGatewayLimitSet = []
|
10482
|
+
params['PrivateNatGatewayLimitSet'].each do |i|
|
10483
|
+
privatenatgatewaylimit_tmp = PrivateNatGatewayLimit.new
|
10484
|
+
privatenatgatewaylimit_tmp.deserialize(i)
|
10485
|
+
@PrivateNatGatewayLimitSet << privatenatgatewaylimit_tmp
|
10486
|
+
end
|
10487
|
+
end
|
10488
|
+
@RequestId = params['RequestId']
|
10489
|
+
end
|
10490
|
+
end
|
10491
|
+
|
10492
|
+
# DescribePrivateNatGatewayRegions请求参数结构体
|
10493
|
+
class DescribePrivateNatGatewayRegionsRequest < TencentCloud::Common::AbstractModel
|
10494
|
+
|
10495
|
+
|
10496
|
+
def initialize()
|
10497
|
+
end
|
10498
|
+
|
10499
|
+
def deserialize(params)
|
10500
|
+
end
|
10501
|
+
end
|
10502
|
+
|
10503
|
+
# DescribePrivateNatGatewayRegions返回参数结构体
|
10504
|
+
class DescribePrivateNatGatewayRegionsResponse < TencentCloud::Common::AbstractModel
|
10505
|
+
# @param RegionSet: 地域对象
|
10506
|
+
# @type RegionSet: Array
|
10507
|
+
# @param TotalCount: 返回可支持地域总数
|
10508
|
+
# @type TotalCount: Integer
|
10509
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10510
|
+
# @type RequestId: String
|
10511
|
+
|
10512
|
+
attr_accessor :RegionSet, :TotalCount, :RequestId
|
10513
|
+
|
10514
|
+
def initialize(regionset=nil, totalcount=nil, requestid=nil)
|
10515
|
+
@RegionSet = regionset
|
10516
|
+
@TotalCount = totalcount
|
10517
|
+
@RequestId = requestid
|
10518
|
+
end
|
10519
|
+
|
10520
|
+
def deserialize(params)
|
10521
|
+
unless params['RegionSet'].nil?
|
10522
|
+
@RegionSet = []
|
10523
|
+
params['RegionSet'].each do |i|
|
10524
|
+
natregioninfowitharea_tmp = NatRegionInfoWithArea.new
|
10525
|
+
natregioninfowitharea_tmp.deserialize(i)
|
10526
|
+
@RegionSet << natregioninfowitharea_tmp
|
10527
|
+
end
|
10528
|
+
end
|
10529
|
+
@TotalCount = params['TotalCount']
|
10530
|
+
@RequestId = params['RequestId']
|
10531
|
+
end
|
10532
|
+
end
|
10533
|
+
|
10534
|
+
# DescribePrivateNatGatewayTranslationAclRules请求参数结构体
|
10535
|
+
class DescribePrivateNatGatewayTranslationAclRulesRequest < TencentCloud::Common::AbstractModel
|
10536
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
10537
|
+
# @type NatGatewayId: String
|
10538
|
+
# @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
10539
|
+
# @type TranslationDirection: String
|
10540
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
10541
|
+
# @type TranslationType: String
|
10542
|
+
# @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
10543
|
+
# @type TranslationIp: String
|
10544
|
+
# @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
10545
|
+
# @type OriginalIp: String
|
10546
|
+
# @param Offset: 偏移量。默认值为0。
|
10547
|
+
# @type Offset: Integer
|
10548
|
+
# @param Limit: 返回数目,默认值为20。
|
10549
|
+
# @type Limit: Integer
|
10550
|
+
|
10551
|
+
attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :OriginalIp, :Offset, :Limit
|
10552
|
+
|
10553
|
+
def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, originalip=nil, offset=nil, limit=nil)
|
10554
|
+
@NatGatewayId = natgatewayid
|
10555
|
+
@TranslationDirection = translationdirection
|
10556
|
+
@TranslationType = translationtype
|
10557
|
+
@TranslationIp = translationip
|
10558
|
+
@OriginalIp = originalip
|
10559
|
+
@Offset = offset
|
10560
|
+
@Limit = limit
|
10561
|
+
end
|
10562
|
+
|
10563
|
+
def deserialize(params)
|
10564
|
+
@NatGatewayId = params['NatGatewayId']
|
10565
|
+
@TranslationDirection = params['TranslationDirection']
|
10566
|
+
@TranslationType = params['TranslationType']
|
10567
|
+
@TranslationIp = params['TranslationIp']
|
10568
|
+
@OriginalIp = params['OriginalIp']
|
10569
|
+
@Offset = params['Offset']
|
10570
|
+
@Limit = params['Limit']
|
10571
|
+
end
|
10572
|
+
end
|
10573
|
+
|
10574
|
+
# DescribePrivateNatGatewayTranslationAclRules返回参数结构体
|
10575
|
+
class DescribePrivateNatGatewayTranslationAclRulesResponse < TencentCloud::Common::AbstractModel
|
10576
|
+
# @param TotalCount: 返回个数。
|
10577
|
+
# @type TotalCount: Integer
|
10578
|
+
# @param TranslationAclRuleSet: 访问控制规则列表。
|
10579
|
+
# @type TranslationAclRuleSet: Array
|
10580
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10581
|
+
# @type RequestId: String
|
10582
|
+
|
10583
|
+
attr_accessor :TotalCount, :TranslationAclRuleSet, :RequestId
|
10584
|
+
|
10585
|
+
def initialize(totalcount=nil, translationaclruleset=nil, requestid=nil)
|
10586
|
+
@TotalCount = totalcount
|
10587
|
+
@TranslationAclRuleSet = translationaclruleset
|
10588
|
+
@RequestId = requestid
|
10589
|
+
end
|
10590
|
+
|
10591
|
+
def deserialize(params)
|
10592
|
+
@TotalCount = params['TotalCount']
|
10593
|
+
unless params['TranslationAclRuleSet'].nil?
|
10594
|
+
@TranslationAclRuleSet = []
|
10595
|
+
params['TranslationAclRuleSet'].each do |i|
|
10596
|
+
translationaclrule_tmp = TranslationAclRule.new
|
10597
|
+
translationaclrule_tmp.deserialize(i)
|
10598
|
+
@TranslationAclRuleSet << translationaclrule_tmp
|
10599
|
+
end
|
10600
|
+
end
|
10601
|
+
@RequestId = params['RequestId']
|
10602
|
+
end
|
10603
|
+
end
|
10604
|
+
|
10605
|
+
# DescribePrivateNatGatewayTranslationNatRules请求参数结构体
|
10606
|
+
class DescribePrivateNatGatewayTranslationNatRulesRequest < TencentCloud::Common::AbstractModel
|
10607
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
10608
|
+
# @type NatGatewayId: String
|
10609
|
+
# @param Filters: 过滤条件。
|
10610
|
+
# <li>OriginalIp - String - 转换规则源`IP`。</li>
|
10611
|
+
# <li>TranslationIp - String - 转换`IP`。</li>
|
10612
|
+
# <li>VpcId - String - 私网网关所在`VpcId`。</li>
|
10613
|
+
# <li>Description - String - 转换规则描述</li>
|
10614
|
+
# @type Filters: Array
|
10615
|
+
# @param Offset: 偏移量。默认值为0。
|
10616
|
+
# @type Offset: Integer
|
10617
|
+
# @param Limit: 返回数量。默认值为20。
|
10618
|
+
# @type Limit: Integer
|
10619
|
+
|
10620
|
+
attr_accessor :NatGatewayId, :Filters, :Offset, :Limit
|
10621
|
+
|
10622
|
+
def initialize(natgatewayid=nil, filters=nil, offset=nil, limit=nil)
|
10623
|
+
@NatGatewayId = natgatewayid
|
10624
|
+
@Filters = filters
|
10625
|
+
@Offset = offset
|
10626
|
+
@Limit = limit
|
10627
|
+
end
|
10628
|
+
|
10629
|
+
def deserialize(params)
|
10630
|
+
@NatGatewayId = params['NatGatewayId']
|
10631
|
+
unless params['Filters'].nil?
|
10632
|
+
@Filters = []
|
10633
|
+
params['Filters'].each do |i|
|
10634
|
+
filter_tmp = Filter.new
|
10635
|
+
filter_tmp.deserialize(i)
|
10636
|
+
@Filters << filter_tmp
|
10637
|
+
end
|
10638
|
+
end
|
10639
|
+
@Offset = params['Offset']
|
10640
|
+
@Limit = params['Limit']
|
10641
|
+
end
|
10642
|
+
end
|
10643
|
+
|
10644
|
+
# DescribePrivateNatGatewayTranslationNatRules返回参数结构体
|
10645
|
+
class DescribePrivateNatGatewayTranslationNatRulesResponse < TencentCloud::Common::AbstractModel
|
10646
|
+
# @param TotalCount: 对象数目。
|
10647
|
+
# @type TotalCount: Integer
|
10648
|
+
# @param TranslationNatRuleSet: 转换规则详情数组。
|
10649
|
+
# @type TranslationNatRuleSet: Array
|
10650
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10651
|
+
# @type RequestId: String
|
10652
|
+
|
10653
|
+
attr_accessor :TotalCount, :TranslationNatRuleSet, :RequestId
|
10654
|
+
|
10655
|
+
def initialize(totalcount=nil, translationnatruleset=nil, requestid=nil)
|
10656
|
+
@TotalCount = totalcount
|
10657
|
+
@TranslationNatRuleSet = translationnatruleset
|
10658
|
+
@RequestId = requestid
|
10659
|
+
end
|
10660
|
+
|
10661
|
+
def deserialize(params)
|
10662
|
+
@TotalCount = params['TotalCount']
|
10663
|
+
unless params['TranslationNatRuleSet'].nil?
|
10664
|
+
@TranslationNatRuleSet = []
|
10665
|
+
params['TranslationNatRuleSet'].each do |i|
|
10666
|
+
translationnatrule_tmp = TranslationNatRule.new
|
10667
|
+
translationnatrule_tmp.deserialize(i)
|
10668
|
+
@TranslationNatRuleSet << translationnatrule_tmp
|
10669
|
+
end
|
10670
|
+
end
|
10671
|
+
@RequestId = params['RequestId']
|
10672
|
+
end
|
10673
|
+
end
|
10674
|
+
|
10675
|
+
# DescribePrivateNatGateways请求参数结构体
|
10676
|
+
class DescribePrivateNatGatewaysRequest < TencentCloud::Common::AbstractModel
|
10677
|
+
# @param NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
10678
|
+
# @type NatGatewayIds: Array
|
10679
|
+
# @param Filters: 过滤条件。
|
10680
|
+
# <li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li>
|
10681
|
+
# <li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li>
|
10682
|
+
# <li>VpcId - String - 私网网关所在`VpcId`。</li>
|
10683
|
+
# <li>TagKey - Tag数组 - 私网网关标签键值对数组</li>
|
10684
|
+
# @type Filters: Array
|
10685
|
+
# @param Offset: 偏移量,默认为0。
|
10686
|
+
# @type Offset: Integer
|
10687
|
+
# @param Limit: 返回数量,默认为20。
|
10688
|
+
# @type Limit: Integer
|
10689
|
+
# @param OrderField: 排序字段。可选值:"NatGatewayId"、"NatGatewayName"、"CreatedTime"
|
10690
|
+
# @type OrderField: String
|
10691
|
+
# @param OrderDirection: 排序方式。可选值:"ASC"、"DESC"。
|
10692
|
+
# @type OrderDirection: String
|
10693
|
+
|
10694
|
+
attr_accessor :NatGatewayIds, :Filters, :Offset, :Limit, :OrderField, :OrderDirection
|
10695
|
+
|
10696
|
+
def initialize(natgatewayids=nil, filters=nil, offset=nil, limit=nil, orderfield=nil, orderdirection=nil)
|
10697
|
+
@NatGatewayIds = natgatewayids
|
10698
|
+
@Filters = filters
|
10699
|
+
@Offset = offset
|
10700
|
+
@Limit = limit
|
10701
|
+
@OrderField = orderfield
|
10702
|
+
@OrderDirection = orderdirection
|
10703
|
+
end
|
10704
|
+
|
10705
|
+
def deserialize(params)
|
10706
|
+
@NatGatewayIds = params['NatGatewayIds']
|
10707
|
+
unless params['Filters'].nil?
|
10708
|
+
@Filters = []
|
10709
|
+
params['Filters'].each do |i|
|
10710
|
+
filter_tmp = Filter.new
|
10711
|
+
filter_tmp.deserialize(i)
|
10712
|
+
@Filters << filter_tmp
|
10713
|
+
end
|
10714
|
+
end
|
10715
|
+
@Offset = params['Offset']
|
10716
|
+
@Limit = params['Limit']
|
10717
|
+
@OrderField = params['OrderField']
|
10718
|
+
@OrderDirection = params['OrderDirection']
|
10719
|
+
end
|
10720
|
+
end
|
10721
|
+
|
10722
|
+
# DescribePrivateNatGateways返回参数结构体
|
10723
|
+
class DescribePrivateNatGatewaysResponse < TencentCloud::Common::AbstractModel
|
10724
|
+
# @param TotalCount: 符合条件的对象数。
|
10725
|
+
# @type TotalCount: Integer
|
10726
|
+
# @param PrivateNatGatewaySet: 私网网关对象数组。
|
10727
|
+
# @type PrivateNatGatewaySet: Array
|
10728
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10729
|
+
# @type RequestId: String
|
10730
|
+
|
10731
|
+
attr_accessor :TotalCount, :PrivateNatGatewaySet, :RequestId
|
10732
|
+
|
10733
|
+
def initialize(totalcount=nil, privatenatgatewayset=nil, requestid=nil)
|
10734
|
+
@TotalCount = totalcount
|
10735
|
+
@PrivateNatGatewaySet = privatenatgatewayset
|
10736
|
+
@RequestId = requestid
|
10737
|
+
end
|
10738
|
+
|
10739
|
+
def deserialize(params)
|
10740
|
+
@TotalCount = params['TotalCount']
|
10741
|
+
unless params['PrivateNatGatewaySet'].nil?
|
10742
|
+
@PrivateNatGatewaySet = []
|
10743
|
+
params['PrivateNatGatewaySet'].each do |i|
|
10744
|
+
privatenatgateway_tmp = PrivateNatGateway.new
|
10745
|
+
privatenatgateway_tmp.deserialize(i)
|
10746
|
+
@PrivateNatGatewaySet << privatenatgateway_tmp
|
10747
|
+
end
|
10748
|
+
end
|
10749
|
+
@RequestId = params['RequestId']
|
10750
|
+
end
|
10751
|
+
end
|
10752
|
+
|
10753
|
+
# DescribeProductQuota请求参数结构体
|
10754
|
+
class DescribeProductQuotaRequest < TencentCloud::Common::AbstractModel
|
10755
|
+
# @param Product: 查询的网络产品名称,可查询的产品有:vpc、ccn、vpn、dc、dfw、clb、eip。
|
10756
|
+
# @type Product: String
|
10757
|
+
|
10758
|
+
attr_accessor :Product
|
10759
|
+
|
10760
|
+
def initialize(product=nil)
|
10761
|
+
@Product = product
|
10762
|
+
end
|
10763
|
+
|
10764
|
+
def deserialize(params)
|
10765
|
+
@Product = params['Product']
|
10766
|
+
end
|
10767
|
+
end
|
10768
|
+
|
10769
|
+
# DescribeProductQuota返回参数结构体
|
10770
|
+
class DescribeProductQuotaResponse < TencentCloud::Common::AbstractModel
|
10771
|
+
# @param ProductQuotaSet: ProductQuota对象数组。
|
10772
|
+
# @type ProductQuotaSet: Array
|
9971
10773
|
# @param TotalCount: 符合条件的产品类型个数。
|
9972
10774
|
# @type TotalCount: Integer
|
9973
10775
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -12440,6 +13242,62 @@ module TencentCloud
|
|
12440
13242
|
end
|
12441
13243
|
end
|
12442
13244
|
|
13245
|
+
# 本端目的IP端口转换复杂结构
|
13246
|
+
class DestinationIpPortTranslationNatRuleDiff < TencentCloud::Common::AbstractModel
|
13247
|
+
# @param Protocol: 协议
|
13248
|
+
# @type Protocol: String
|
13249
|
+
# @param OriginalPort: 源端口
|
13250
|
+
# @type OriginalPort: Integer
|
13251
|
+
# @param OriginalIp: 源IP
|
13252
|
+
# @type OriginalIp: String
|
13253
|
+
# @param TranslationPort: 目的端口
|
13254
|
+
# @type TranslationPort: Integer
|
13255
|
+
# @param TranslationIp: 目的IP
|
13256
|
+
# @type TranslationIp: String
|
13257
|
+
# @param OldProtocol: 旧协议。
|
13258
|
+
# @type OldProtocol: String
|
13259
|
+
# @param OldOriginalPort: 旧源端口
|
13260
|
+
# @type OldOriginalPort: Integer
|
13261
|
+
# @param OldOriginalIp: 旧源IP
|
13262
|
+
# @type OldOriginalIp: String
|
13263
|
+
# @param OldTranslationPort: 旧目的端口
|
13264
|
+
# @type OldTranslationPort: Integer
|
13265
|
+
# @param OldTranslationIp: 旧目的IP
|
13266
|
+
# @type OldTranslationIp: String
|
13267
|
+
# @param Description: 描述
|
13268
|
+
# @type Description: String
|
13269
|
+
|
13270
|
+
attr_accessor :Protocol, :OriginalPort, :OriginalIp, :TranslationPort, :TranslationIp, :OldProtocol, :OldOriginalPort, :OldOriginalIp, :OldTranslationPort, :OldTranslationIp, :Description
|
13271
|
+
|
13272
|
+
def initialize(protocol=nil, originalport=nil, originalip=nil, translationport=nil, translationip=nil, oldprotocol=nil, oldoriginalport=nil, oldoriginalip=nil, oldtranslationport=nil, oldtranslationip=nil, description=nil)
|
13273
|
+
@Protocol = protocol
|
13274
|
+
@OriginalPort = originalport
|
13275
|
+
@OriginalIp = originalip
|
13276
|
+
@TranslationPort = translationport
|
13277
|
+
@TranslationIp = translationip
|
13278
|
+
@OldProtocol = oldprotocol
|
13279
|
+
@OldOriginalPort = oldoriginalport
|
13280
|
+
@OldOriginalIp = oldoriginalip
|
13281
|
+
@OldTranslationPort = oldtranslationport
|
13282
|
+
@OldTranslationIp = oldtranslationip
|
13283
|
+
@Description = description
|
13284
|
+
end
|
13285
|
+
|
13286
|
+
def deserialize(params)
|
13287
|
+
@Protocol = params['Protocol']
|
13288
|
+
@OriginalPort = params['OriginalPort']
|
13289
|
+
@OriginalIp = params['OriginalIp']
|
13290
|
+
@TranslationPort = params['TranslationPort']
|
13291
|
+
@TranslationIp = params['TranslationIp']
|
13292
|
+
@OldProtocol = params['OldProtocol']
|
13293
|
+
@OldOriginalPort = params['OldOriginalPort']
|
13294
|
+
@OldOriginalIp = params['OldOriginalIp']
|
13295
|
+
@OldTranslationPort = params['OldTranslationPort']
|
13296
|
+
@OldTranslationIp = params['OldTranslationIp']
|
13297
|
+
@Description = params['Description']
|
13298
|
+
end
|
13299
|
+
end
|
13300
|
+
|
12443
13301
|
# DetachCcnInstances请求参数结构体
|
12444
13302
|
class DetachCcnInstancesRequest < TencentCloud::Common::AbstractModel
|
12445
13303
|
# @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
@@ -14273,6 +15131,38 @@ module TencentCloud
|
|
14273
15131
|
end
|
14274
15132
|
end
|
14275
15133
|
|
15134
|
+
# VPN通道健康检查配置
|
15135
|
+
class HealthCheckConfig < TencentCloud::Common::AbstractModel
|
15136
|
+
# @param ProbeType: 探测模式,默认值NQA,不可修改。
|
15137
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15138
|
+
# @type ProbeType: String
|
15139
|
+
# @param ProbeInterval: 探测间隔,腾讯云两次健康检查间隔时间,范围【1000-5000】,单位ms。
|
15140
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15141
|
+
# @type ProbeInterval: Integer
|
15142
|
+
# @param ProbeThreshold: 探测次数,连续N次健康检查失败后执行路由切换,范围【3-8】,单位次。
|
15143
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15144
|
+
# @type ProbeThreshold: Integer
|
15145
|
+
# @param ProbeTimeout: 探测超时时间,范围【10-5000】,单位ms。
|
15146
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15147
|
+
# @type ProbeTimeout: Integer
|
15148
|
+
|
15149
|
+
attr_accessor :ProbeType, :ProbeInterval, :ProbeThreshold, :ProbeTimeout
|
15150
|
+
|
15151
|
+
def initialize(probetype=nil, probeinterval=nil, probethreshold=nil, probetimeout=nil)
|
15152
|
+
@ProbeType = probetype
|
15153
|
+
@ProbeInterval = probeinterval
|
15154
|
+
@ProbeThreshold = probethreshold
|
15155
|
+
@ProbeTimeout = probetimeout
|
15156
|
+
end
|
15157
|
+
|
15158
|
+
def deserialize(params)
|
15159
|
+
@ProbeType = params['ProbeType']
|
15160
|
+
@ProbeInterval = params['ProbeInterval']
|
15161
|
+
@ProbeThreshold = params['ProbeThreshold']
|
15162
|
+
@ProbeTimeout = params['ProbeTimeout']
|
15163
|
+
end
|
15164
|
+
end
|
15165
|
+
|
14276
15166
|
# IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议
|
14277
15167
|
class IKEOptionsSpecification < TencentCloud::Common::AbstractModel
|
14278
15168
|
# @param PropoEncryAlgorithm: 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBC
|
@@ -14962,6 +15852,42 @@ module TencentCloud
|
|
14962
15852
|
end
|
14963
15853
|
end
|
14964
15854
|
|
15855
|
+
# 本端目的IP端口转换复杂结构
|
15856
|
+
class LocalDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
|
15857
|
+
# @param Protocol: 协议
|
15858
|
+
# @type Protocol: String
|
15859
|
+
# @param OriginalPort: 源端口
|
15860
|
+
# @type OriginalPort: Integer
|
15861
|
+
# @param OriginalIp: 源IP
|
15862
|
+
# @type OriginalIp: String
|
15863
|
+
# @param TranslationPort: 目的端口
|
15864
|
+
# @type TranslationPort: Integer
|
15865
|
+
# @param TranslationIp: 目的IP
|
15866
|
+
# @type TranslationIp: String
|
15867
|
+
# @param Description: 描述
|
15868
|
+
# @type Description: String
|
15869
|
+
|
15870
|
+
attr_accessor :Protocol, :OriginalPort, :OriginalIp, :TranslationPort, :TranslationIp, :Description
|
15871
|
+
|
15872
|
+
def initialize(protocol=nil, originalport=nil, originalip=nil, translationport=nil, translationip=nil, description=nil)
|
15873
|
+
@Protocol = protocol
|
15874
|
+
@OriginalPort = originalport
|
15875
|
+
@OriginalIp = originalip
|
15876
|
+
@TranslationPort = translationport
|
15877
|
+
@TranslationIp = translationip
|
15878
|
+
@Description = description
|
15879
|
+
end
|
15880
|
+
|
15881
|
+
def deserialize(params)
|
15882
|
+
@Protocol = params['Protocol']
|
15883
|
+
@OriginalPort = params['OriginalPort']
|
15884
|
+
@OriginalIp = params['OriginalIp']
|
15885
|
+
@TranslationPort = params['TranslationPort']
|
15886
|
+
@TranslationIp = params['TranslationIp']
|
15887
|
+
@Description = params['Description']
|
15888
|
+
end
|
15889
|
+
end
|
15890
|
+
|
14965
15891
|
# 本地网关信息
|
14966
15892
|
class LocalGateway < TencentCloud::Common::AbstractModel
|
14967
15893
|
# @param CdcId: CDC实例ID
|
@@ -16527,6 +17453,191 @@ module TencentCloud
|
|
16527
17453
|
end
|
16528
17454
|
end
|
16529
17455
|
|
17456
|
+
# ModifyPrivateNatGatewayAttribute请求参数结构体
|
17457
|
+
class ModifyPrivateNatGatewayAttributeRequest < TencentCloud::Common::AbstractModel
|
17458
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
17459
|
+
# @type NatGatewayId: String
|
17460
|
+
# @param NatGatewayName: 私网网关名称,可任意命名,但不得超过60个字符。
|
17461
|
+
# @type NatGatewayName: String
|
17462
|
+
|
17463
|
+
attr_accessor :NatGatewayId, :NatGatewayName
|
17464
|
+
|
17465
|
+
def initialize(natgatewayid=nil, natgatewayname=nil)
|
17466
|
+
@NatGatewayId = natgatewayid
|
17467
|
+
@NatGatewayName = natgatewayname
|
17468
|
+
end
|
17469
|
+
|
17470
|
+
def deserialize(params)
|
17471
|
+
@NatGatewayId = params['NatGatewayId']
|
17472
|
+
@NatGatewayName = params['NatGatewayName']
|
17473
|
+
end
|
17474
|
+
end
|
17475
|
+
|
17476
|
+
# ModifyPrivateNatGatewayAttribute返回参数结构体
|
17477
|
+
class ModifyPrivateNatGatewayAttributeResponse < TencentCloud::Common::AbstractModel
|
17478
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17479
|
+
# @type RequestId: String
|
17480
|
+
|
17481
|
+
attr_accessor :RequestId
|
17482
|
+
|
17483
|
+
def initialize(requestid=nil)
|
17484
|
+
@RequestId = requestid
|
17485
|
+
end
|
17486
|
+
|
17487
|
+
def deserialize(params)
|
17488
|
+
@RequestId = params['RequestId']
|
17489
|
+
end
|
17490
|
+
end
|
17491
|
+
|
17492
|
+
# ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
|
17493
|
+
class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
|
17494
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
17495
|
+
# @type NatGatewayId: String
|
17496
|
+
# @param LocalDestinationIpPortTranslationNatRules: 目的端口转换规则列表。
|
17497
|
+
# @type LocalDestinationIpPortTranslationNatRules: Array
|
17498
|
+
|
17499
|
+
attr_accessor :NatGatewayId, :LocalDestinationIpPortTranslationNatRules
|
17500
|
+
|
17501
|
+
def initialize(natgatewayid=nil, localdestinationipporttranslationnatrules=nil)
|
17502
|
+
@NatGatewayId = natgatewayid
|
17503
|
+
@LocalDestinationIpPortTranslationNatRules = localdestinationipporttranslationnatrules
|
17504
|
+
end
|
17505
|
+
|
17506
|
+
def deserialize(params)
|
17507
|
+
@NatGatewayId = params['NatGatewayId']
|
17508
|
+
unless params['LocalDestinationIpPortTranslationNatRules'].nil?
|
17509
|
+
@LocalDestinationIpPortTranslationNatRules = []
|
17510
|
+
params['LocalDestinationIpPortTranslationNatRules'].each do |i|
|
17511
|
+
destinationipporttranslationnatrulediff_tmp = DestinationIpPortTranslationNatRuleDiff.new
|
17512
|
+
destinationipporttranslationnatrulediff_tmp.deserialize(i)
|
17513
|
+
@LocalDestinationIpPortTranslationNatRules << destinationipporttranslationnatrulediff_tmp
|
17514
|
+
end
|
17515
|
+
end
|
17516
|
+
end
|
17517
|
+
end
|
17518
|
+
|
17519
|
+
# ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
|
17520
|
+
class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
|
17521
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17522
|
+
# @type RequestId: String
|
17523
|
+
|
17524
|
+
attr_accessor :RequestId
|
17525
|
+
|
17526
|
+
def initialize(requestid=nil)
|
17527
|
+
@RequestId = requestid
|
17528
|
+
end
|
17529
|
+
|
17530
|
+
def deserialize(params)
|
17531
|
+
@RequestId = params['RequestId']
|
17532
|
+
end
|
17533
|
+
end
|
17534
|
+
|
17535
|
+
# ModifyPrivateNatGatewayTranslationAclRule请求参数结构体
|
17536
|
+
class ModifyPrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
|
17537
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
17538
|
+
# @type NatGatewayId: String
|
17539
|
+
# @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
|
17540
|
+
# @type TranslationDirection: String
|
17541
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
17542
|
+
# @type TranslationType: String
|
17543
|
+
# @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
|
17544
|
+
# @type TranslationIp: String
|
17545
|
+
# @param TranslationAclRules: 访问控制列表,需要附带AclRuleId参数。
|
17546
|
+
# @type TranslationAclRules: Array
|
17547
|
+
# @param OriginalIp: 源`IP`,当转换规则类型为三层时有效
|
17548
|
+
# @type OriginalIp: String
|
17549
|
+
|
17550
|
+
attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :TranslationAclRules, :OriginalIp
|
17551
|
+
|
17552
|
+
def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, translationaclrules=nil, originalip=nil)
|
17553
|
+
@NatGatewayId = natgatewayid
|
17554
|
+
@TranslationDirection = translationdirection
|
17555
|
+
@TranslationType = translationtype
|
17556
|
+
@TranslationIp = translationip
|
17557
|
+
@TranslationAclRules = translationaclrules
|
17558
|
+
@OriginalIp = originalip
|
17559
|
+
end
|
17560
|
+
|
17561
|
+
def deserialize(params)
|
17562
|
+
@NatGatewayId = params['NatGatewayId']
|
17563
|
+
@TranslationDirection = params['TranslationDirection']
|
17564
|
+
@TranslationType = params['TranslationType']
|
17565
|
+
@TranslationIp = params['TranslationIp']
|
17566
|
+
unless params['TranslationAclRules'].nil?
|
17567
|
+
@TranslationAclRules = []
|
17568
|
+
params['TranslationAclRules'].each do |i|
|
17569
|
+
translationaclrule_tmp = TranslationAclRule.new
|
17570
|
+
translationaclrule_tmp.deserialize(i)
|
17571
|
+
@TranslationAclRules << translationaclrule_tmp
|
17572
|
+
end
|
17573
|
+
end
|
17574
|
+
@OriginalIp = params['OriginalIp']
|
17575
|
+
end
|
17576
|
+
end
|
17577
|
+
|
17578
|
+
# ModifyPrivateNatGatewayTranslationAclRule返回参数结构体
|
17579
|
+
class ModifyPrivateNatGatewayTranslationAclRuleResponse < TencentCloud::Common::AbstractModel
|
17580
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17581
|
+
# @type RequestId: String
|
17582
|
+
|
17583
|
+
attr_accessor :RequestId
|
17584
|
+
|
17585
|
+
def initialize(requestid=nil)
|
17586
|
+
@RequestId = requestid
|
17587
|
+
end
|
17588
|
+
|
17589
|
+
def deserialize(params)
|
17590
|
+
@RequestId = params['RequestId']
|
17591
|
+
end
|
17592
|
+
end
|
17593
|
+
|
17594
|
+
# ModifyPrivateNatGatewayTranslationNatRule请求参数结构体
|
17595
|
+
class ModifyPrivateNatGatewayTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
|
17596
|
+
# @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
|
17597
|
+
# @type NatGatewayId: String
|
17598
|
+
# @param TranslationNatRules: 转换规则对象数组。仅支持修改单个转换规则
|
17599
|
+
# @type TranslationNatRules: Array
|
17600
|
+
# @param CrossDomain: 跨域参数,当VPC为跨域时填写为True。
|
17601
|
+
# @type CrossDomain: Boolean
|
17602
|
+
|
17603
|
+
attr_accessor :NatGatewayId, :TranslationNatRules, :CrossDomain
|
17604
|
+
|
17605
|
+
def initialize(natgatewayid=nil, translationnatrules=nil, crossdomain=nil)
|
17606
|
+
@NatGatewayId = natgatewayid
|
17607
|
+
@TranslationNatRules = translationnatrules
|
17608
|
+
@CrossDomain = crossdomain
|
17609
|
+
end
|
17610
|
+
|
17611
|
+
def deserialize(params)
|
17612
|
+
@NatGatewayId = params['NatGatewayId']
|
17613
|
+
unless params['TranslationNatRules'].nil?
|
17614
|
+
@TranslationNatRules = []
|
17615
|
+
params['TranslationNatRules'].each do |i|
|
17616
|
+
translationnatrulediff_tmp = TranslationNatRuleDiff.new
|
17617
|
+
translationnatrulediff_tmp.deserialize(i)
|
17618
|
+
@TranslationNatRules << translationnatrulediff_tmp
|
17619
|
+
end
|
17620
|
+
end
|
17621
|
+
@CrossDomain = params['CrossDomain']
|
17622
|
+
end
|
17623
|
+
end
|
17624
|
+
|
17625
|
+
# ModifyPrivateNatGatewayTranslationNatRule返回参数结构体
|
17626
|
+
class ModifyPrivateNatGatewayTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
|
17627
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17628
|
+
# @type RequestId: String
|
17629
|
+
|
17630
|
+
attr_accessor :RequestId
|
17631
|
+
|
17632
|
+
def initialize(requestid=nil)
|
17633
|
+
@RequestId = requestid
|
17634
|
+
end
|
17635
|
+
|
17636
|
+
def deserialize(params)
|
17637
|
+
@RequestId = params['RequestId']
|
17638
|
+
end
|
17639
|
+
end
|
17640
|
+
|
16530
17641
|
# ModifyRouteTableAttribute请求参数结构体
|
16531
17642
|
class ModifyRouteTableAttributeRequest < TencentCloud::Common::AbstractModel
|
16532
17643
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
@@ -17124,10 +18235,12 @@ module TencentCloud
|
|
17124
18235
|
# @type DpdAction: String
|
17125
18236
|
# @param CustomerGatewayId: 对端网关ID,4.0及以上网关下的通道支持更新。
|
17126
18237
|
# @type CustomerGatewayId: String
|
18238
|
+
# @param HealthCheckConfig: 健康检查配置
|
18239
|
+
# @type HealthCheckConfig: :class:`Tencentcloud::Vpc.v20170312.models.HealthCheckConfig`
|
17127
18240
|
|
17128
|
-
attr_accessor :VpnConnectionId, :VpnConnectionName, :PreShareKey, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction, :CustomerGatewayId
|
18241
|
+
attr_accessor :VpnConnectionId, :VpnConnectionName, :PreShareKey, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction, :CustomerGatewayId, :HealthCheckConfig
|
17129
18242
|
|
17130
|
-
def initialize(vpnconnectionid=nil, vpnconnectionname=nil, presharekey=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, customergatewayid=nil)
|
18243
|
+
def initialize(vpnconnectionid=nil, vpnconnectionname=nil, presharekey=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, customergatewayid=nil, healthcheckconfig=nil)
|
17131
18244
|
@VpnConnectionId = vpnconnectionid
|
17132
18245
|
@VpnConnectionName = vpnconnectionname
|
17133
18246
|
@PreShareKey = presharekey
|
@@ -17142,6 +18255,7 @@ module TencentCloud
|
|
17142
18255
|
@DpdTimeout = dpdtimeout
|
17143
18256
|
@DpdAction = dpdaction
|
17144
18257
|
@CustomerGatewayId = customergatewayid
|
18258
|
+
@HealthCheckConfig = healthcheckconfig
|
17145
18259
|
end
|
17146
18260
|
|
17147
18261
|
def deserialize(params)
|
@@ -17172,6 +18286,10 @@ module TencentCloud
|
|
17172
18286
|
@DpdTimeout = params['DpdTimeout']
|
17173
18287
|
@DpdAction = params['DpdAction']
|
17174
18288
|
@CustomerGatewayId = params['CustomerGatewayId']
|
18289
|
+
unless params['HealthCheckConfig'].nil?
|
18290
|
+
@HealthCheckConfig = HealthCheckConfig.new
|
18291
|
+
@HealthCheckConfig.deserialize(params['HealthCheckConfig'])
|
18292
|
+
end
|
17175
18293
|
end
|
17176
18294
|
end
|
17177
18295
|
|
@@ -17661,6 +18779,17 @@ module TencentCloud
|
|
17661
18779
|
end
|
17662
18780
|
end
|
17663
18781
|
|
18782
|
+
# NAT地域地区对象
|
18783
|
+
class NatRegionInfoWithArea < TencentCloud::Common::AbstractModel
|
18784
|
+
|
18785
|
+
|
18786
|
+
def initialize()
|
18787
|
+
end
|
18788
|
+
|
18789
|
+
def deserialize(params)
|
18790
|
+
end
|
18791
|
+
end
|
18792
|
+
|
17664
18793
|
# 网络探测对象。
|
17665
18794
|
class NetDetect < TencentCloud::Common::AbstractModel
|
17666
18795
|
# @param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
|
@@ -18422,6 +19551,123 @@ module TencentCloud
|
|
18422
19551
|
end
|
18423
19552
|
end
|
18424
19553
|
|
19554
|
+
# 本端目的IP端口转换复杂结构
|
19555
|
+
class PrivateNatDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
|
19556
|
+
# @param Protocol: 协议
|
19557
|
+
# @type Protocol: String
|
19558
|
+
# @param OriginalPort: 原端口
|
19559
|
+
# @type OriginalPort: Integer
|
19560
|
+
# @param OriginalIp: 原IP
|
19561
|
+
# @type OriginalIp: String
|
19562
|
+
# @param TranslationPort: 映射端口
|
19563
|
+
# @type TranslationPort: Integer
|
19564
|
+
# @param TranslationIp: 映射IP
|
19565
|
+
# @type TranslationIp: String
|
19566
|
+
# @param Description: 描述
|
19567
|
+
# @type Description: String
|
19568
|
+
# @param CreateTime: 创建时间。
|
19569
|
+
# @type CreateTime: String
|
19570
|
+
# @param UpdateTime: 更新时间。
|
19571
|
+
# @type UpdateTime: String
|
19572
|
+
|
19573
|
+
attr_accessor :Protocol, :OriginalPort, :OriginalIp, :TranslationPort, :TranslationIp, :Description, :CreateTime, :UpdateTime
|
19574
|
+
|
19575
|
+
def initialize(protocol=nil, originalport=nil, originalip=nil, translationport=nil, translationip=nil, description=nil, createtime=nil, updatetime=nil)
|
19576
|
+
@Protocol = protocol
|
19577
|
+
@OriginalPort = originalport
|
19578
|
+
@OriginalIp = originalip
|
19579
|
+
@TranslationPort = translationport
|
19580
|
+
@TranslationIp = translationip
|
19581
|
+
@Description = description
|
19582
|
+
@CreateTime = createtime
|
19583
|
+
@UpdateTime = updatetime
|
19584
|
+
end
|
19585
|
+
|
19586
|
+
def deserialize(params)
|
19587
|
+
@Protocol = params['Protocol']
|
19588
|
+
@OriginalPort = params['OriginalPort']
|
19589
|
+
@OriginalIp = params['OriginalIp']
|
19590
|
+
@TranslationPort = params['TranslationPort']
|
19591
|
+
@TranslationIp = params['TranslationIp']
|
19592
|
+
@Description = params['Description']
|
19593
|
+
@CreateTime = params['CreateTime']
|
19594
|
+
@UpdateTime = params['UpdateTime']
|
19595
|
+
end
|
19596
|
+
end
|
19597
|
+
|
19598
|
+
# 私网网关对象
|
19599
|
+
class PrivateNatGateway < TencentCloud::Common::AbstractModel
|
19600
|
+
# @param NatGatewayId: 私网网关`ID`。
|
19601
|
+
# @type NatGatewayId: String
|
19602
|
+
# @param NatGatewayName: 私网网关名称。
|
19603
|
+
# @type NatGatewayName: String
|
19604
|
+
# @param VpcId: 私网网关关联`VPC`实例`ID`。
|
19605
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19606
|
+
# @type VpcId: String
|
19607
|
+
# @param Status: 私网网关当前状态。
|
19608
|
+
# @type Status: String
|
19609
|
+
# @param CrossDomain: 私网网关跨域标志。
|
19610
|
+
# @type CrossDomain: Boolean
|
19611
|
+
# @param CreatedTime: 创建时间
|
19612
|
+
# @type CreatedTime: String
|
19613
|
+
# @param TagSet: 标签键值对。
|
19614
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19615
|
+
# @type TagSet: Array
|
19616
|
+
|
19617
|
+
attr_accessor :NatGatewayId, :NatGatewayName, :VpcId, :Status, :CrossDomain, :CreatedTime, :TagSet
|
19618
|
+
|
19619
|
+
def initialize(natgatewayid=nil, natgatewayname=nil, vpcid=nil, status=nil, crossdomain=nil, createdtime=nil, tagset=nil)
|
19620
|
+
@NatGatewayId = natgatewayid
|
19621
|
+
@NatGatewayName = natgatewayname
|
19622
|
+
@VpcId = vpcid
|
19623
|
+
@Status = status
|
19624
|
+
@CrossDomain = crossdomain
|
19625
|
+
@CreatedTime = createdtime
|
19626
|
+
@TagSet = tagset
|
19627
|
+
end
|
19628
|
+
|
19629
|
+
def deserialize(params)
|
19630
|
+
@NatGatewayId = params['NatGatewayId']
|
19631
|
+
@NatGatewayName = params['NatGatewayName']
|
19632
|
+
@VpcId = params['VpcId']
|
19633
|
+
@Status = params['Status']
|
19634
|
+
@CrossDomain = params['CrossDomain']
|
19635
|
+
@CreatedTime = params['CreatedTime']
|
19636
|
+
unless params['TagSet'].nil?
|
19637
|
+
@TagSet = []
|
19638
|
+
params['TagSet'].each do |i|
|
19639
|
+
tag_tmp = Tag.new
|
19640
|
+
tag_tmp.deserialize(i)
|
19641
|
+
@TagSet << tag_tmp
|
19642
|
+
end
|
19643
|
+
end
|
19644
|
+
end
|
19645
|
+
end
|
19646
|
+
|
19647
|
+
# 可创建的私网网关配额数量
|
19648
|
+
class PrivateNatGatewayLimit < TencentCloud::Common::AbstractModel
|
19649
|
+
# @param UniqVpcId: 私有网络唯一`ID`。
|
19650
|
+
# @type UniqVpcId: String
|
19651
|
+
# @param TotalLimit: Vpc下总计可创建私网网关数量。
|
19652
|
+
# @type TotalLimit: Integer
|
19653
|
+
# @param Available: 可创建私网网关数量。
|
19654
|
+
# @type Available: Integer
|
19655
|
+
|
19656
|
+
attr_accessor :UniqVpcId, :TotalLimit, :Available
|
19657
|
+
|
19658
|
+
def initialize(uniqvpcid=nil, totallimit=nil, available=nil)
|
19659
|
+
@UniqVpcId = uniqvpcid
|
19660
|
+
@TotalLimit = totallimit
|
19661
|
+
@Available = available
|
19662
|
+
end
|
19663
|
+
|
19664
|
+
def deserialize(params)
|
19665
|
+
@UniqVpcId = params['UniqVpcId']
|
19666
|
+
@TotalLimit = params['TotalLimit']
|
19667
|
+
@Available = params['Available']
|
19668
|
+
end
|
19669
|
+
end
|
19670
|
+
|
18425
19671
|
# 描述网络中心每个产品的配额信息
|
18426
19672
|
class ProductQuota < TencentCloud::Common::AbstractModel
|
18427
19673
|
# @param QuotaId: 产品配额ID
|
@@ -20984,6 +22230,160 @@ module TencentCloud
|
|
20984
22230
|
end
|
20985
22231
|
end
|
20986
22232
|
|
22233
|
+
# 私网网关转发规则匹配ACL
|
22234
|
+
class TranslationAclRule < TencentCloud::Common::AbstractModel
|
22235
|
+
# @param Protocol: ACL协议类型,可选值:"ALL","TCP","UDP"
|
22236
|
+
# @type Protocol: String
|
22237
|
+
# @param SourcePort: 源端口。
|
22238
|
+
# @type SourcePort: String
|
22239
|
+
# @param SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
|
22240
|
+
# @type SourceCidr: String
|
22241
|
+
# @param DestinationPort: 目的端口。
|
22242
|
+
# @type DestinationPort: String
|
22243
|
+
# @param DestinationCidr: 目的地址。
|
22244
|
+
# @type DestinationCidr: String
|
22245
|
+
# @param AclRuleId: ACL规则`ID`。
|
22246
|
+
# @type AclRuleId: Integer
|
22247
|
+
# @param Action: 是否匹配。
|
22248
|
+
# @type Action: Integer
|
22249
|
+
|
22250
|
+
attr_accessor :Protocol, :SourcePort, :SourceCidr, :DestinationPort, :DestinationCidr, :AclRuleId, :Action
|
22251
|
+
|
22252
|
+
def initialize(protocol=nil, sourceport=nil, sourcecidr=nil, destinationport=nil, destinationcidr=nil, aclruleid=nil, action=nil)
|
22253
|
+
@Protocol = protocol
|
22254
|
+
@SourcePort = sourceport
|
22255
|
+
@SourceCidr = sourcecidr
|
22256
|
+
@DestinationPort = destinationport
|
22257
|
+
@DestinationCidr = destinationcidr
|
22258
|
+
@AclRuleId = aclruleid
|
22259
|
+
@Action = action
|
22260
|
+
end
|
22261
|
+
|
22262
|
+
def deserialize(params)
|
22263
|
+
@Protocol = params['Protocol']
|
22264
|
+
@SourcePort = params['SourcePort']
|
22265
|
+
@SourceCidr = params['SourceCidr']
|
22266
|
+
@DestinationPort = params['DestinationPort']
|
22267
|
+
@DestinationCidr = params['DestinationCidr']
|
22268
|
+
@AclRuleId = params['AclRuleId']
|
22269
|
+
@Action = params['Action']
|
22270
|
+
end
|
22271
|
+
end
|
22272
|
+
|
22273
|
+
# 私网网关Snat转发规则
|
22274
|
+
class TranslationNatRule < TencentCloud::Common::AbstractModel
|
22275
|
+
# @param TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
22276
|
+
# @type TranslationDirection: String
|
22277
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
22278
|
+
# @type TranslationType: String
|
22279
|
+
# @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
22280
|
+
# @type TranslationIp: String
|
22281
|
+
# @param Description: 转换规则描述。
|
22282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22283
|
+
# @type Description: String
|
22284
|
+
# @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
22285
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22286
|
+
# @type OriginalIp: String
|
22287
|
+
# @param CreateTime: 创建时间。
|
22288
|
+
# @type CreateTime: String
|
22289
|
+
# @param UpdateTime: 更新时间。
|
22290
|
+
# @type UpdateTime: String
|
22291
|
+
|
22292
|
+
attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :Description, :OriginalIp, :CreateTime, :UpdateTime
|
22293
|
+
|
22294
|
+
def initialize(translationdirection=nil, translationtype=nil, translationip=nil, description=nil, originalip=nil, createtime=nil, updatetime=nil)
|
22295
|
+
@TranslationDirection = translationdirection
|
22296
|
+
@TranslationType = translationtype
|
22297
|
+
@TranslationIp = translationip
|
22298
|
+
@Description = description
|
22299
|
+
@OriginalIp = originalip
|
22300
|
+
@CreateTime = createtime
|
22301
|
+
@UpdateTime = updatetime
|
22302
|
+
end
|
22303
|
+
|
22304
|
+
def deserialize(params)
|
22305
|
+
@TranslationDirection = params['TranslationDirection']
|
22306
|
+
@TranslationType = params['TranslationType']
|
22307
|
+
@TranslationIp = params['TranslationIp']
|
22308
|
+
@Description = params['Description']
|
22309
|
+
@OriginalIp = params['OriginalIp']
|
22310
|
+
@CreateTime = params['CreateTime']
|
22311
|
+
@UpdateTime = params['UpdateTime']
|
22312
|
+
end
|
22313
|
+
end
|
22314
|
+
|
22315
|
+
# 私网网关Snat转发规则修改
|
22316
|
+
class TranslationNatRuleDiff < TencentCloud::Common::AbstractModel
|
22317
|
+
# @param TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
|
22318
|
+
# @type TranslationDirection: String
|
22319
|
+
# @param TranslationType: 转发规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
22320
|
+
# @type TranslationType: String
|
22321
|
+
# @param TranslationIp: 转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
22322
|
+
# @type TranslationIp: String
|
22323
|
+
# @param Description: 转发规则描述。
|
22324
|
+
# @type Description: String
|
22325
|
+
# @param OldTranslationIp: 旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
22326
|
+
# @type OldTranslationIp: String
|
22327
|
+
# @param OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
|
22328
|
+
# @type OriginalIp: String
|
22329
|
+
# @param OldOriginalIp: 旧转发规则源`IP`,当转发规则类型为三层时有效
|
22330
|
+
# @type OldOriginalIp: String
|
22331
|
+
|
22332
|
+
attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :Description, :OldTranslationIp, :OriginalIp, :OldOriginalIp
|
22333
|
+
|
22334
|
+
def initialize(translationdirection=nil, translationtype=nil, translationip=nil, description=nil, oldtranslationip=nil, originalip=nil, oldoriginalip=nil)
|
22335
|
+
@TranslationDirection = translationdirection
|
22336
|
+
@TranslationType = translationtype
|
22337
|
+
@TranslationIp = translationip
|
22338
|
+
@Description = description
|
22339
|
+
@OldTranslationIp = oldtranslationip
|
22340
|
+
@OriginalIp = originalip
|
22341
|
+
@OldOriginalIp = oldoriginalip
|
22342
|
+
end
|
22343
|
+
|
22344
|
+
def deserialize(params)
|
22345
|
+
@TranslationDirection = params['TranslationDirection']
|
22346
|
+
@TranslationType = params['TranslationType']
|
22347
|
+
@TranslationIp = params['TranslationIp']
|
22348
|
+
@Description = params['Description']
|
22349
|
+
@OldTranslationIp = params['OldTranslationIp']
|
22350
|
+
@OriginalIp = params['OriginalIp']
|
22351
|
+
@OldOriginalIp = params['OldOriginalIp']
|
22352
|
+
end
|
22353
|
+
end
|
22354
|
+
|
22355
|
+
# 私网网关Snat转发规则入参
|
22356
|
+
class TranslationNatRuleInput < TencentCloud::Common::AbstractModel
|
22357
|
+
# @param TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
22358
|
+
# @type TranslationDirection: String
|
22359
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
|
22360
|
+
# @type TranslationType: String
|
22361
|
+
# @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
|
22362
|
+
# @type TranslationIp: String
|
22363
|
+
# @param Description: 转换规则描述。
|
22364
|
+
# @type Description: String
|
22365
|
+
# @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
|
22366
|
+
# @type OriginalIp: String
|
22367
|
+
|
22368
|
+
attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :Description, :OriginalIp
|
22369
|
+
|
22370
|
+
def initialize(translationdirection=nil, translationtype=nil, translationip=nil, description=nil, originalip=nil)
|
22371
|
+
@TranslationDirection = translationdirection
|
22372
|
+
@TranslationType = translationtype
|
22373
|
+
@TranslationIp = translationip
|
22374
|
+
@Description = description
|
22375
|
+
@OriginalIp = originalip
|
22376
|
+
end
|
22377
|
+
|
22378
|
+
def deserialize(params)
|
22379
|
+
@TranslationDirection = params['TranslationDirection']
|
22380
|
+
@TranslationType = params['TranslationType']
|
22381
|
+
@TranslationIp = params['TranslationIp']
|
22382
|
+
@Description = params['Description']
|
22383
|
+
@OriginalIp = params['OriginalIp']
|
22384
|
+
end
|
22385
|
+
end
|
22386
|
+
|
20987
22387
|
# UnassignIpv6Addresses请求参数结构体
|
20988
22388
|
class UnassignIpv6AddressesRequest < TencentCloud::Common::AbstractModel
|
20989
22389
|
# @param NetworkInterfaceId: 弹性网卡实例`ID`,形如:`eni-m6dyj72l`。
|
@@ -21547,10 +22947,13 @@ module TencentCloud
|
|
21547
22947
|
# @param BgpConfig: Bgp配置信息
|
21548
22948
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21549
22949
|
# @type BgpConfig: :class:`Tencentcloud::Vpc.v20170312.models.BgpConfigAndAsn`
|
22950
|
+
# @param HealthCheckConfig: Nqa配置信息
|
22951
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22952
|
+
# @type HealthCheckConfig: :class:`Tencentcloud::Vpc.v20170312.models.HealthCheckConfig`
|
21550
22953
|
|
21551
|
-
attr_accessor :VpnConnectionId, :VpnConnectionName, :VpcId, :VpnGatewayId, :CustomerGatewayId, :PreShareKey, :VpnProto, :EncryptProto, :RouteType, :CreatedTime, :State, :NetStatus, :SecurityPolicyDatabaseSet, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :HealthCheckStatus, :DpdEnable, :DpdTimeout, :DpdAction, :TagSet, :NegotiationType, :BgpConfig
|
22954
|
+
attr_accessor :VpnConnectionId, :VpnConnectionName, :VpcId, :VpnGatewayId, :CustomerGatewayId, :PreShareKey, :VpnProto, :EncryptProto, :RouteType, :CreatedTime, :State, :NetStatus, :SecurityPolicyDatabaseSet, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :HealthCheckStatus, :DpdEnable, :DpdTimeout, :DpdAction, :TagSet, :NegotiationType, :BgpConfig, :HealthCheckConfig
|
21552
22955
|
|
21553
|
-
def initialize(vpnconnectionid=nil, vpnconnectionname=nil, vpcid=nil, vpngatewayid=nil, customergatewayid=nil, presharekey=nil, vpnproto=nil, encryptproto=nil, routetype=nil, createdtime=nil, state=nil, netstatus=nil, securitypolicydatabaseset=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, healthcheckstatus=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, tagset=nil, negotiationtype=nil, bgpconfig=nil)
|
22956
|
+
def initialize(vpnconnectionid=nil, vpnconnectionname=nil, vpcid=nil, vpngatewayid=nil, customergatewayid=nil, presharekey=nil, vpnproto=nil, encryptproto=nil, routetype=nil, createdtime=nil, state=nil, netstatus=nil, securitypolicydatabaseset=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, healthcheckstatus=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, tagset=nil, negotiationtype=nil, bgpconfig=nil, healthcheckconfig=nil)
|
21554
22957
|
@VpnConnectionId = vpnconnectionid
|
21555
22958
|
@VpnConnectionName = vpnconnectionname
|
21556
22959
|
@VpcId = vpcid
|
@@ -21576,6 +22979,7 @@ module TencentCloud
|
|
21576
22979
|
@TagSet = tagset
|
21577
22980
|
@NegotiationType = negotiationtype
|
21578
22981
|
@BgpConfig = bgpconfig
|
22982
|
+
@HealthCheckConfig = healthcheckconfig
|
21579
22983
|
end
|
21580
22984
|
|
21581
22985
|
def deserialize(params)
|
@@ -21627,6 +23031,10 @@ module TencentCloud
|
|
21627
23031
|
@BgpConfig = BgpConfigAndAsn.new
|
21628
23032
|
@BgpConfig.deserialize(params['BgpConfig'])
|
21629
23033
|
end
|
23034
|
+
unless params['HealthCheckConfig'].nil?
|
23035
|
+
@HealthCheckConfig = HealthCheckConfig.new
|
23036
|
+
@HealthCheckConfig.deserialize(params['HealthCheckConfig'])
|
23037
|
+
end
|
21630
23038
|
end
|
21631
23039
|
end
|
21632
23040
|
|