tencentcloud-sdk-vpc 3.0.931 → 3.0.932

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea57599cd0965ca97bac77b19c0462a0be351f0d
4
- data.tar.gz: b725e67311d06509547ec713eb1f3eff283ff2bb
3
+ metadata.gz: 9ddc8ec63515a9c5d9d0b38862c32de23bd189b0
4
+ data.tar.gz: 4f4c05287bce7ad644b14ad88677c705d65dad79
5
5
  SHA512:
6
- metadata.gz: c88bed74e681c328dc2604fd6a852a6d674914094b0b7f6d8f2c2b888c88652e3bb43ba46a4b7350bbfd135afaf2ce98547f34556dcf977f741bd6ee6e617d68
7
- data.tar.gz: 9ab4f084b0b5b310241fda8a1d41f4dbe97d3acb0a2a71a78e4b1200bdb2d5f64f50d00ef4bfdfa0a1c3610862e829674725879ca4c6aefc1e560d50cd9c883b
6
+ metadata.gz: 984462e7340c6e2dea7d1b67e2ee3ac61ba207a71d48c50daa870aa41ec7f3d67ec7bbead851efad34095ef5e928c3db43725c8de50b86d6c7b8f33f2087f542
7
+ data.tar.gz: f713294ebe907b933144740e5f93bac6d9a6a30a75845f3c65e6a59901a51f260bfee921c802a8ebafb358c2d5b8cd5bdb02f3fa7242c2bd069662dc82da24a4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.931
1
+ 3.0.932
@@ -6912,6 +6912,30 @@ module TencentCloud
6912
6912
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
6913
6913
  end
6914
6914
 
6915
+ # 调整EIP续费标识
6916
+
6917
+ # @param request: Request instance for ModifyAddressesRenewFlag.
6918
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ModifyAddressesRenewFlagRequest`
6919
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyAddressesRenewFlagResponse`
6920
+ def ModifyAddressesRenewFlag(request)
6921
+ body = send_request('ModifyAddressesRenewFlag', request.serialize)
6922
+ response = JSON.parse(body)
6923
+ if response['Response'].key?('Error') == false
6924
+ model = ModifyAddressesRenewFlagResponse.new
6925
+ model.deserialize(response['Response'])
6926
+ model
6927
+ else
6928
+ code = response['Response']['Error']['Code']
6929
+ message = response['Response']['Error']['Message']
6930
+ reqid = response['Response']['RequestId']
6931
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
6932
+ end
6933
+ rescue TencentCloud::Common::TencentCloudSDKException => e
6934
+ raise e
6935
+ rescue StandardError => e
6936
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
6937
+ end
6938
+
6915
6939
  # 本接口(ModifyAssistantCidr)用于批量修改辅助CIDR,支持新增和删除。
6916
6940
 
6917
6941
  # @param request: Request instance for ModifyAssistantCidr.
@@ -6931,17 +6931,21 @@ module TencentCloud
6931
6931
  # @type DirectConnectGatewayId: String
6932
6932
  # @param RouteIds: 路由ID。形如:ccnr-f49l6u0z。
6933
6933
  # @type RouteIds: Array
6934
+ # @param AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
6935
+ # @type AddressType: String
6934
6936
 
6935
- attr_accessor :DirectConnectGatewayId, :RouteIds
6937
+ attr_accessor :DirectConnectGatewayId, :RouteIds, :AddressType
6936
6938
 
6937
- def initialize(directconnectgatewayid=nil, routeids=nil)
6939
+ def initialize(directconnectgatewayid=nil, routeids=nil, addresstype=nil)
6938
6940
  @DirectConnectGatewayId = directconnectgatewayid
6939
6941
  @RouteIds = routeids
6942
+ @AddressType = addresstype
6940
6943
  end
6941
6944
 
6942
6945
  def deserialize(params)
6943
6946
  @DirectConnectGatewayId = params['DirectConnectGatewayId']
6944
6947
  @RouteIds = params['RouteIds']
6948
+ @AddressType = params['AddressType']
6945
6949
  end
6946
6950
  end
6947
6951
 
@@ -9995,16 +9999,19 @@ module TencentCloud
9995
9999
  # <li>`BGP` - 自动学习。</li>
9996
10000
  # <li>`STATIC` - 静态,即用户配置,默认值。</li>
9997
10001
  # @type CcnRouteType: String
10002
+ # @param AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
10003
+ # @type AddressType: String
9998
10004
  # @param Offset: 偏移量。
9999
10005
  # @type Offset: Integer
10000
10006
  # @param Limit: 返回数量。
10001
10007
  # @type Limit: Integer
10002
10008
 
10003
- attr_accessor :DirectConnectGatewayId, :CcnRouteType, :Offset, :Limit
10009
+ attr_accessor :DirectConnectGatewayId, :CcnRouteType, :AddressType, :Offset, :Limit
10004
10010
 
10005
- def initialize(directconnectgatewayid=nil, ccnroutetype=nil, offset=nil, limit=nil)
10011
+ def initialize(directconnectgatewayid=nil, ccnroutetype=nil, addresstype=nil, offset=nil, limit=nil)
10006
10012
  @DirectConnectGatewayId = directconnectgatewayid
10007
10013
  @CcnRouteType = ccnroutetype
10014
+ @AddressType = addresstype
10008
10015
  @Offset = offset
10009
10016
  @Limit = limit
10010
10017
  end
@@ -10012,6 +10019,7 @@ module TencentCloud
10012
10019
  def deserialize(params)
10013
10020
  @DirectConnectGatewayId = params['DirectConnectGatewayId']
10014
10021
  @CcnRouteType = params['CcnRouteType']
10022
+ @AddressType = params['AddressType']
10015
10023
  @Offset = params['Offset']
10016
10024
  @Limit = params['Limit']
10017
10025
  end
@@ -18186,6 +18194,42 @@ module TencentCloud
18186
18194
  end
18187
18195
  end
18188
18196
 
18197
+ # ModifyAddressesRenewFlag请求参数结构体
18198
+ class ModifyAddressesRenewFlagRequest < TencentCloud::Common::AbstractModel
18199
+ # @param AddressIds: EIP唯一标识ID列表,形如'eip-xxxx'
18200
+ # @type AddressIds: Array
18201
+ # @param RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 示例值:NOTIFY_AND_AUTO_RENEW
18202
+ # @type RenewFlag: String
18203
+
18204
+ attr_accessor :AddressIds, :RenewFlag
18205
+
18206
+ def initialize(addressids=nil, renewflag=nil)
18207
+ @AddressIds = addressids
18208
+ @RenewFlag = renewflag
18209
+ end
18210
+
18211
+ def deserialize(params)
18212
+ @AddressIds = params['AddressIds']
18213
+ @RenewFlag = params['RenewFlag']
18214
+ end
18215
+ end
18216
+
18217
+ # ModifyAddressesRenewFlag返回参数结构体
18218
+ class ModifyAddressesRenewFlagResponse < TencentCloud::Common::AbstractModel
18219
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18220
+ # @type RequestId: String
18221
+
18222
+ attr_accessor :RequestId
18223
+
18224
+ def initialize(requestid=nil)
18225
+ @RequestId = requestid
18226
+ end
18227
+
18228
+ def deserialize(params)
18229
+ @RequestId = params['RequestId']
18230
+ end
18231
+ end
18232
+
18189
18233
  # ModifyAssistantCidr请求参数结构体
18190
18234
  class ModifyAssistantCidrRequest < TencentCloud::Common::AbstractModel
18191
18235
  # @param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`。
@@ -20920,7 +20964,7 @@ module TencentCloud
20920
20964
  class NatGatewayDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
20921
20965
  # @param IpProtocol: 网络协议,可选值:`TCP`、`UDP`。
20922
20966
  # @type IpProtocol: String
20923
- # @param PublicIpAddress: 弹性IP。
20967
+ # @param PublicIpAddress: 弹性公网IP。
20924
20968
  # @type PublicIpAddress: String
20925
20969
  # @param PublicPort: 公网端口。
20926
20970
  # @type PublicPort: Integer
@@ -22498,12 +22542,15 @@ module TencentCloud
22498
22542
  # @type DirectConnectGatewayId: String
22499
22543
  # @param Routes: 需要连通的IDC网段列表
22500
22544
  # @type Routes: Array
22545
+ # @param AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
22546
+ # @type AddressType: String
22501
22547
 
22502
- attr_accessor :DirectConnectGatewayId, :Routes
22548
+ attr_accessor :DirectConnectGatewayId, :Routes, :AddressType
22503
22549
 
22504
- def initialize(directconnectgatewayid=nil, routes=nil)
22550
+ def initialize(directconnectgatewayid=nil, routes=nil, addresstype=nil)
22505
22551
  @DirectConnectGatewayId = directconnectgatewayid
22506
22552
  @Routes = routes
22553
+ @AddressType = addresstype
22507
22554
  end
22508
22555
 
22509
22556
  def deserialize(params)
@@ -22516,6 +22563,7 @@ module TencentCloud
22516
22563
  @Routes << directconnectgatewayccnroute_tmp
22517
22564
  end
22518
22565
  end
22566
+ @AddressType = params['AddressType']
22519
22567
  end
22520
22568
  end
22521
22569
 
@@ -23875,7 +23923,7 @@ module TencentCloud
23875
23923
  # @param Action: ACCEPT 或 DROP。
23876
23924
  # 注意:此字段可能返回 null,表示取不到有效值。
23877
23925
  # @type Action: String
23878
- # @param PolicyDescription: 安全组规则描述。
23926
+ # @param PolicyDescription: 安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。
23879
23927
  # 注意:此字段可能返回 null,表示取不到有效值。
23880
23928
  # @type PolicyDescription: String
23881
23929
  # @param ModifyTime: 安全组最近修改时间。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.931
4
+ version: 3.0.932
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common