lib/v20170312/models.rb in tencentcloud-sdk-vpc-1.0.203 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-1.0.204
- old
+ new
@@ -4128,26 +4128,32 @@
# @type InstanceChargeType: String
# @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
# @type InstanceChargePrepaid: :class:`Tencentcloud::Vpc.v20170312.models.InstanceChargePrepaid`
# @param Zone: 可用区,如:ap-guangzhou-2。
# @type Zone: String
- # @param Type: VPN网关类型。值“CCN”云联网类型VPN网关
+ # @param Type: VPN网关类型。值“CCN”云联网类型VPN网关,值SSL为SSL-VPN
# @type Type: String
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
# @type Tags: Array
+ # @param CdcId: CDC实例ID
+ # @type CdcId: String
+ # @param MaxConnection: SSL-VPN 最大CLIENT 连接数。可选 [5, 10, 20, 50, 100]。仅SSL-VPN 需要选这个参数。
+ # @type MaxConnection: Integer
- attr_accessor :VpcId, :VpnGatewayName, :InternetMaxBandwidthOut, :InstanceChargeType, :InstanceChargePrepaid, :Zone, :Type, :Tags
+ attr_accessor :VpcId, :VpnGatewayName, :InternetMaxBandwidthOut, :InstanceChargeType, :InstanceChargePrepaid, :Zone, :Type, :Tags, :CdcId, :MaxConnection
- def initialize(vpcid=nil, vpngatewayname=nil, internetmaxbandwidthout=nil, instancechargetype=nil, instancechargeprepaid=nil, zone=nil, type=nil, tags=nil)
+ def initialize(vpcid=nil, vpngatewayname=nil, internetmaxbandwidthout=nil, instancechargetype=nil, instancechargeprepaid=nil, zone=nil, type=nil, tags=nil, cdcid=nil, maxconnection=nil)
@VpcId = vpcid
@VpnGatewayName = vpngatewayname
@InternetMaxBandwidthOut = internetmaxbandwidthout
@InstanceChargeType = instancechargetype
@InstanceChargePrepaid = instancechargeprepaid
@Zone = zone
@Type = type
@Tags = tags
+ @CdcId = cdcid
+ @MaxConnection = maxconnection
end
def deserialize(params)
@VpcId = params['VpcId']
@VpnGatewayName = params['VpnGatewayName']
@@ -4165,10 +4171,12 @@
tag_tmp = Tag.new
tag_tmp.deserialize(i)
@Tags << tag_tmp
end
end
+ @CdcId = params['CdcId']
+ @MaxConnection = params['MaxConnection']
end
end
# CreateVpnGateway返回参数结构体
class CreateVpnGatewayResponse < TencentCloud::Common::AbstractModel
@@ -12699,20 +12707,24 @@
end
end
# ModifyIp6AddressesBandwidth返回参数结构体
class ModifyIp6AddressesBandwidthResponse < TencentCloud::Common::AbstractModel
+ # @param TaskId: 任务ID
+ # @type TaskId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :RequestId
+ attr_accessor :TaskId, :RequestId
- def initialize(requestid=nil)
+ def initialize(taskid=nil, requestid=nil)
+ @TaskId = taskid
@RequestId = requestid
end
def deserialize(params)
+ @TaskId = params['TaskId']
@RequestId = params['RequestId']
end
end
# ModifyIp6Rule请求参数结构体
@@ -17096,14 +17108,18 @@
# @type VpnGatewayQuotaSet: Array
# @param Version: 网关实例版本信息
# @type Version: String
# @param NetworkInstanceId: Type值为CCN时,该值表示云联网实例ID
# @type NetworkInstanceId: String
+ # @param CdcId: CDC 实例ID
+ # @type CdcId: String
+ # @param MaxConnection: SSL-VPN 客户端连接数。
+ # @type MaxConnection: Integer
- attr_accessor :VpnGatewayId, :VpcId, :VpnGatewayName, :Type, :State, :PublicIpAddress, :RenewFlag, :InstanceChargeType, :InternetMaxBandwidthOut, :CreatedTime, :ExpiredTime, :IsAddressBlocked, :NewPurchasePlan, :RestrictState, :Zone, :VpnGatewayQuotaSet, :Version, :NetworkInstanceId
+ attr_accessor :VpnGatewayId, :VpcId, :VpnGatewayName, :Type, :State, :PublicIpAddress, :RenewFlag, :InstanceChargeType, :InternetMaxBandwidthOut, :CreatedTime, :ExpiredTime, :IsAddressBlocked, :NewPurchasePlan, :RestrictState, :Zone, :VpnGatewayQuotaSet, :Version, :NetworkInstanceId, :CdcId, :MaxConnection
- def initialize(vpngatewayid=nil, vpcid=nil, vpngatewayname=nil, type=nil, state=nil, publicipaddress=nil, renewflag=nil, instancechargetype=nil, internetmaxbandwidthout=nil, createdtime=nil, expiredtime=nil, isaddressblocked=nil, newpurchaseplan=nil, restrictstate=nil, zone=nil, vpngatewayquotaset=nil, version=nil, networkinstanceid=nil)
+ def initialize(vpngatewayid=nil, vpcid=nil, vpngatewayname=nil, type=nil, state=nil, publicipaddress=nil, renewflag=nil, instancechargetype=nil, internetmaxbandwidthout=nil, createdtime=nil, expiredtime=nil, isaddressblocked=nil, newpurchaseplan=nil, restrictstate=nil, zone=nil, vpngatewayquotaset=nil, version=nil, networkinstanceid=nil, cdcid=nil, maxconnection=nil)
@VpnGatewayId = vpngatewayid
@VpcId = vpcid
@VpnGatewayName = vpngatewayname
@Type = type
@State = state
@@ -17118,10 +17134,12 @@
@RestrictState = restrictstate
@Zone = zone
@VpnGatewayQuotaSet = vpngatewayquotaset
@Version = version
@NetworkInstanceId = networkinstanceid
+ @CdcId = cdcid
+ @MaxConnection = maxconnection
end
def deserialize(params)
@VpnGatewayId = params['VpnGatewayId']
@VpcId = params['VpcId']
@@ -17146,9 +17164,11 @@
@VpnGatewayQuotaSet << vpngatewayquota_tmp
end
end
@Version = params['Version']
@NetworkInstanceId = params['NetworkInstanceId']
+ @CdcId = params['CdcId']
+ @MaxConnection = params['MaxConnection']
end
end
# VPN网关配额对象
class VpnGatewayQuota < TencentCloud::Common::AbstractModel