lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.408 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.409

- old
+ new

@@ -15297,14 +15297,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsExclusive: Boolean # @param ExclusiveGatewayBandwidth: 独享型NAT所在的网关集群的带宽(单位:Mbps),当IsExclusive为false时无此字段。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExclusiveGatewayBandwidth: Integer + # @param RestrictState: NAT网关是否被封禁。“NORMAL”:未被封禁,“RESTRICTED”:已被封禁。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type RestrictState: String - attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth + attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth, :RestrictState - 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) + 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) @NatGatewayId = natgatewayid @NatGatewayName = natgatewayname @CreatedTime = createdtime @State = state @InternetMaxBandwidthOut = internetmaxbandwidthout @@ -15319,10 +15322,11 @@ @TagSet = tagset @SecurityGroupSet = securitygroupset @SourceIpTranslationNatRuleSet = sourceiptranslationnatruleset @IsExclusive = isexclusive @ExclusiveGatewayBandwidth = exclusivegatewaybandwidth + @RestrictState = restrictstate end def deserialize(params) @NatGatewayId = params['NatGatewayId'] @NatGatewayName = params['NatGatewayName'] @@ -15368,10 +15372,11 @@ @SourceIpTranslationNatRuleSet << sourceiptranslationnatrule_tmp end end @IsExclusive = params['IsExclusive'] @ExclusiveGatewayBandwidth = params['ExclusiveGatewayBandwidth'] + @RestrictState = params['RestrictState'] end end # NAT网关绑定的弹性IP class NatGatewayAddress < TencentCloud::Common::AbstractModel @@ -17092,10 +17097,9 @@ # NORMAL_CVM:普通云服务器; # EIP:云服务器的公网IP; # LOCAL_GATEWAY:本地网关。 # @type GatewayType: String # @param GatewayId: 下一跳地址,这里只需要指定不同下一跳类型的网关ID,系统会自动匹配到下一跳地址。 - # 特别注意:当 GatewayType 为 EIP 时,GatewayId 固定值 '0' # @type GatewayId: String # @param RouteId: 路由策略ID。IPv4路由策略ID是有意义的值,IPv6路由策略是无意义的值0。后续建议完全使用字符串唯一ID `RouteItemId`操作路由策略。 # 该字段在删除时必填,其他字段无需填写。 # @type RouteId: Integer # @param RouteDescription: 路由策略描述。