lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.659 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.660

- old
+ new

@@ -348,16 +348,19 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type DeadlineDate: String # @param InstanceType: EIP绑定的实例类型。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type InstanceType: String + # @param Egress: 静态单线IP网络出口 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Egress: String # @param AntiDDoSPackageId: 高防包ID,当EIP类型为高防EIP时,返回EIP绑定的高防包ID. # @type AntiDDoSPackageId: String - attr_accessor :AddressId, :AddressName, :AddressStatus, :AddressIp, :InstanceId, :CreatedTime, :NetworkInterfaceId, :PrivateAddressIp, :IsArrears, :IsBlocked, :IsEipDirectConnection, :AddressType, :CascadeRelease, :EipAlgType, :InternetServiceProvider, :LocalBgp, :Bandwidth, :InternetChargeType, :TagSet, :DeadlineDate, :InstanceType, :AntiDDoSPackageId + attr_accessor :AddressId, :AddressName, :AddressStatus, :AddressIp, :InstanceId, :CreatedTime, :NetworkInterfaceId, :PrivateAddressIp, :IsArrears, :IsBlocked, :IsEipDirectConnection, :AddressType, :CascadeRelease, :EipAlgType, :InternetServiceProvider, :LocalBgp, :Bandwidth, :InternetChargeType, :TagSet, :DeadlineDate, :InstanceType, :Egress, :AntiDDoSPackageId - def initialize(addressid=nil, addressname=nil, addressstatus=nil, addressip=nil, instanceid=nil, createdtime=nil, networkinterfaceid=nil, privateaddressip=nil, isarrears=nil, isblocked=nil, iseipdirectconnection=nil, addresstype=nil, cascaderelease=nil, eipalgtype=nil, internetserviceprovider=nil, localbgp=nil, bandwidth=nil, internetchargetype=nil, tagset=nil, deadlinedate=nil, instancetype=nil, antiddospackageid=nil) + def initialize(addressid=nil, addressname=nil, addressstatus=nil, addressip=nil, instanceid=nil, createdtime=nil, networkinterfaceid=nil, privateaddressip=nil, isarrears=nil, isblocked=nil, iseipdirectconnection=nil, addresstype=nil, cascaderelease=nil, eipalgtype=nil, internetserviceprovider=nil, localbgp=nil, bandwidth=nil, internetchargetype=nil, tagset=nil, deadlinedate=nil, instancetype=nil, egress=nil, antiddospackageid=nil) @AddressId = addressid @AddressName = addressname @AddressStatus = addressstatus @AddressIp = addressip @InstanceId = instanceid @@ -375,10 +378,11 @@ @Bandwidth = bandwidth @InternetChargeType = internetchargetype @TagSet = tagset @DeadlineDate = deadlinedate @InstanceType = instancetype + @Egress = egress @AntiDDoSPackageId = antiddospackageid end def deserialize(params) @AddressId = params['AddressId'] @@ -410,10 +414,11 @@ @TagSet << tag_tmp end end @DeadlineDate = params['DeadlineDate'] @InstanceType = params['InstanceType'] + @Egress = params['Egress'] @AntiDDoSPackageId = params['AntiDDoSPackageId'] end end # 用于描述弹性公网IP的费用对象 @@ -669,11 +674,10 @@ # @param AddressChargePrepaid: 包月按带宽预付费EIP的计费参数。EIP为包月按带宽预付费时,该参数必传,其余场景不需传递 # @type AddressChargePrepaid: :class:`Tencentcloud::Vpc.v20170312.models.AddressChargePrepaid` # @param AddressType: EIP类型。默认值:EIP。 # <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>AnycastEIP:加速IP,可参见 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)</li></ul>注意:仅部分地域支持加速IP。</li></ul> # <ul style="margin:0"><li>已开通精品IP白名单的用户,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅部分地域支持精品IP。</li></ul> - # </ul> # <ul style="margin:0"><li>已开高防IP白名单的用户,可选值:<ul><li>AntiDDoSEIP:高防IP</li></ul>注意:仅部分地域支持高防IP。</li></ul> # @type AddressType: String # @param AnycastZone: Anycast发布域。 # <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li><li><b>[已废弃]</b> ANYCAST_ZONE_A:发布域A(已更新为全球发布域)</li><li><b>[已废弃]</b> ANYCAST_ZONE_B:发布域B(已更新为全球发布域)</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul> # @type AnycastZone: String @@ -686,11 +690,11 @@ # @type Tags: Array # @param BandwidthPackageId: BGP带宽包唯一ID参数。设定该参数且InternetChargeType为BANDWIDTH_PACKAGE,则表示创建的EIP加入该BGP带宽包并采用带宽包计费 # @type BandwidthPackageId: String # @param AddressName: EIP名称,用于申请EIP时用户自定义该EIP的个性化名称,默认值:未命名 # @type AddressName: String - # @param Egress: 网络出口,默认是:center_egress1 + # @param Egress: 静态单线IP网络出口,默认值:center_egress1 # @type Egress: String # @param AntiDDoSPackageId: 高防包ID, 申请高防IP时,该字段必传。 # @type AntiDDoSPackageId: String # @param ClientToken: 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。 # @type ClientToken: String @@ -17118,14 +17122,20 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type RestrictState: String # @param NatProductVersion: NAT网关大版本号,传统型=1,标准型=2 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NatProductVersion: Integer + # @param SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SmartScheduleMode: Boolean + # @param DedicatedClusterId: NAT实例归属的专属集群id + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type DedicatedClusterId: String - attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth, :RestrictState, :NatProductVersion + attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth, :RestrictState, :NatProductVersion, :SmartScheduleMode, :DedicatedClusterId - def initialize(natgatewayid=nil, natgatewayname=nil, createdtime=nil, state=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, publicipaddressset=nil, networkstate=nil, destinationipporttranslationnatruleset=nil, vpcid=nil, zone=nil, directconnectgatewayids=nil, subnetid=nil, tagset=nil, securitygroupset=nil, sourceiptranslationnatruleset=nil, isexclusive=nil, exclusivegatewaybandwidth=nil, restrictstate=nil, natproductversion=nil) + def initialize(natgatewayid=nil, natgatewayname=nil, createdtime=nil, state=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, publicipaddressset=nil, networkstate=nil, destinationipporttranslationnatruleset=nil, vpcid=nil, zone=nil, directconnectgatewayids=nil, subnetid=nil, tagset=nil, securitygroupset=nil, sourceiptranslationnatruleset=nil, isexclusive=nil, exclusivegatewaybandwidth=nil, restrictstate=nil, natproductversion=nil, smartschedulemode=nil, dedicatedclusterid=nil) @NatGatewayId = natgatewayid @NatGatewayName = natgatewayname @CreatedTime = createdtime @State = state @InternetMaxBandwidthOut = internetmaxbandwidthout @@ -17142,10 +17152,12 @@ @SourceIpTranslationNatRuleSet = sourceiptranslationnatruleset @IsExclusive = isexclusive @ExclusiveGatewayBandwidth = exclusivegatewaybandwidth @RestrictState = restrictstate @NatProductVersion = natproductversion + @SmartScheduleMode = smartschedulemode + @DedicatedClusterId = dedicatedclusterid end def deserialize(params) @NatGatewayId = params['NatGatewayId'] @NatGatewayName = params['NatGatewayName'] @@ -17193,10 +17205,12 @@ end @IsExclusive = params['IsExclusive'] @ExclusiveGatewayBandwidth = params['ExclusiveGatewayBandwidth'] @RestrictState = params['RestrictState'] @NatProductVersion = params['NatProductVersion'] + @SmartScheduleMode = params['SmartScheduleMode'] + @DedicatedClusterId = params['DedicatedClusterId'] end end # NAT网关绑定的弹性IP class NatGatewayAddress < TencentCloud::Common::AbstractModel @@ -17204,22 +17218,26 @@ # @type AddressId: String # @param PublicIpAddress: 外网IP地址,形如:`123.121.34.33`。 # @type PublicIpAddress: String # @param IsBlocked: 资源封堵状态。true表示弹性ip处于封堵状态,false表示弹性ip处于未封堵状态。 # @type IsBlocked: Boolean + # @param BlockType: 资源封堵类型。NORMAL表示未封禁,SECURITY表示安全封禁,USER表示用户封禁,OTHER表示其他封禁,多个原因封禁时用&连接,比如:SECURITY&USER&OTHER。 + # @type BlockType: String - attr_accessor :AddressId, :PublicIpAddress, :IsBlocked + attr_accessor :AddressId, :PublicIpAddress, :IsBlocked, :BlockType - def initialize(addressid=nil, publicipaddress=nil, isblocked=nil) + def initialize(addressid=nil, publicipaddress=nil, isblocked=nil, blocktype=nil) @AddressId = addressid @PublicIpAddress = publicipaddress @IsBlocked = isblocked + @BlockType = blocktype end def deserialize(params) @AddressId = params['AddressId'] @PublicIpAddress = params['PublicIpAddress'] @IsBlocked = params['IsBlocked'] + @BlockType = params['BlockType'] end end # NAT网关的端口转发规则 class NatGatewayDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel