lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.931 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.932
- old
+ new
@@ -6929,21 +6929,25 @@
class DeleteDirectConnectGatewayCcnRoutesRequest < TencentCloud::Common::AbstractModel
# @param DirectConnectGatewayId: 专线网关ID,形如:dcg-prpqlmg1
# @type DirectConnectGatewayId: String
# @param RouteIds: 路由ID。形如:ccnr-f49l6u0z。
# @type RouteIds: Array
+ # @param AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
+ # @type AddressType: String
- attr_accessor :DirectConnectGatewayId, :RouteIds
+ attr_accessor :DirectConnectGatewayId, :RouteIds, :AddressType
- def initialize(directconnectgatewayid=nil, routeids=nil)
+ def initialize(directconnectgatewayid=nil, routeids=nil, addresstype=nil)
@DirectConnectGatewayId = directconnectgatewayid
@RouteIds = routeids
+ @AddressType = addresstype
end
def deserialize(params)
@DirectConnectGatewayId = params['DirectConnectGatewayId']
@RouteIds = params['RouteIds']
+ @AddressType = params['AddressType']
end
end
# DeleteDirectConnectGatewayCcnRoutes返回参数结构体
class DeleteDirectConnectGatewayCcnRoutesResponse < TencentCloud::Common::AbstractModel
@@ -9993,27 +9997,31 @@
# @type DirectConnectGatewayId: String
# @param CcnRouteType: 云联网路由学习类型,可选值:
# <li>`BGP` - 自动学习。</li>
# <li>`STATIC` - 静态,即用户配置,默认值。</li>
# @type CcnRouteType: String
+ # @param AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
+ # @type AddressType: String
# @param Offset: 偏移量。
# @type Offset: Integer
# @param Limit: 返回数量。
# @type Limit: Integer
- attr_accessor :DirectConnectGatewayId, :CcnRouteType, :Offset, :Limit
+ attr_accessor :DirectConnectGatewayId, :CcnRouteType, :AddressType, :Offset, :Limit
- def initialize(directconnectgatewayid=nil, ccnroutetype=nil, offset=nil, limit=nil)
+ def initialize(directconnectgatewayid=nil, ccnroutetype=nil, addresstype=nil, offset=nil, limit=nil)
@DirectConnectGatewayId = directconnectgatewayid
@CcnRouteType = ccnroutetype
+ @AddressType = addresstype
@Offset = offset
@Limit = limit
end
def deserialize(params)
@DirectConnectGatewayId = params['DirectConnectGatewayId']
@CcnRouteType = params['CcnRouteType']
+ @AddressType = params['AddressType']
@Offset = params['Offset']
@Limit = params['Limit']
end
end
@@ -18184,10 +18192,46 @@
@TaskId = params['TaskId']
@RequestId = params['RequestId']
end
end
+ # ModifyAddressesRenewFlag请求参数结构体
+ class ModifyAddressesRenewFlagRequest < TencentCloud::Common::AbstractModel
+ # @param AddressIds: EIP唯一标识ID列表,形如'eip-xxxx'
+ # @type AddressIds: Array
+ # @param RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 示例值:NOTIFY_AND_AUTO_RENEW
+ # @type RenewFlag: String
+
+ attr_accessor :AddressIds, :RenewFlag
+
+ def initialize(addressids=nil, renewflag=nil)
+ @AddressIds = addressids
+ @RenewFlag = renewflag
+ end
+
+ def deserialize(params)
+ @AddressIds = params['AddressIds']
+ @RenewFlag = params['RenewFlag']
+ end
+ end
+
+ # ModifyAddressesRenewFlag返回参数结构体
+ class ModifyAddressesRenewFlagResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @RequestId = params['RequestId']
+ end
+ end
+
# ModifyAssistantCidr请求参数结构体
class ModifyAssistantCidrRequest < TencentCloud::Common::AbstractModel
# @param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。
# @type VpcId: String
# @param NewCidrBlocks: 待添加的辅助CIDR。CIDR数组,格式如["10.0.0.0/16", "172.16.0.0/16"],入参NewCidrBlocks和OldCidrBlocks至少需要其一。
@@ -20918,11 +20962,11 @@
# NAT网关的端口转发规则
class NatGatewayDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
# @param IpProtocol: 网络协议,可选值:`TCP`、`UDP`。
# @type IpProtocol: String
- # @param PublicIpAddress: 弹性IP。
+ # @param PublicIpAddress: 弹性公网IP。
# @type PublicIpAddress: String
# @param PublicPort: 公网端口。
# @type PublicPort: Integer
# @param PrivateIpAddress: 内网地址。
# @type PrivateIpAddress: String
@@ -22496,16 +22540,19 @@
class ReplaceDirectConnectGatewayCcnRoutesRequest < TencentCloud::Common::AbstractModel
# @param DirectConnectGatewayId: 专线网关ID,形如:dcg-prpqlmg1
# @type DirectConnectGatewayId: String
# @param Routes: 需要连通的IDC网段列表
# @type Routes: Array
+ # @param AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
+ # @type AddressType: String
- attr_accessor :DirectConnectGatewayId, :Routes
+ attr_accessor :DirectConnectGatewayId, :Routes, :AddressType
- def initialize(directconnectgatewayid=nil, routes=nil)
+ def initialize(directconnectgatewayid=nil, routes=nil, addresstype=nil)
@DirectConnectGatewayId = directconnectgatewayid
@Routes = routes
+ @AddressType = addresstype
end
def deserialize(params)
@DirectConnectGatewayId = params['DirectConnectGatewayId']
unless params['Routes'].nil?
@@ -22514,10 +22561,11 @@
directconnectgatewayccnroute_tmp = DirectConnectGatewayCcnRoute.new
directconnectgatewayccnroute_tmp.deserialize(i)
@Routes << directconnectgatewayccnroute_tmp
end
end
+ @AddressType = params['AddressType']
end
end
# ReplaceDirectConnectGatewayCcnRoutes返回参数结构体
class ReplaceDirectConnectGatewayCcnRoutesResponse < TencentCloud::Common::AbstractModel
@@ -23873,10 +23921,10 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AddressTemplate: :class:`Tencentcloud::Vpc.v20170312.models.AddressTemplateSpecification`
# @param Action: ACCEPT 或 DROP。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Action: String
- # @param PolicyDescription: 安全组规则描述。
+ # @param PolicyDescription: 安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type PolicyDescription: String
# @param ModifyTime: 安全组最近修改时间。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ModifyTime: String