tencentcloud-sdk-vpc 1.0.322 → 1.0.323
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +1 -1
- data/lib/v20170312/models.rb +25 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15e3ad9ed1a83eece432f40fcc6182f231cd3bf5
|
4
|
+
data.tar.gz: a67fed6860401311ed2712f421a61a2039bb40cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4e85b0a2fb54ad51d793c219a1e5ce540015b90048dc9254014f30a8cd6cc124b1d1b3babe2e7977784071d1abc5a0e74d17e47d468d91e66d5423a0de1f001
|
7
|
+
data.tar.gz: 5a08c15e6f32e3aa6e2ec3823bf497414cb2ba3113f433cd2e0f438852fac183ea5a8d01b06c0cffbe762924480497561aa8360399998f80e29498e08ad9f789
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.323
|
data/lib/v20170312/client.rb
CHANGED
@@ -1298,7 +1298,7 @@ module TencentCloud
|
|
1298
1298
|
# <li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受,即 Protocol 字段不是 TCP 或 UDP 时,Protocol 和 Port 排他关系,不允许同时输入,否则会接口报错。</li>
|
1299
1299
|
# <li>Action 字段只允许输入 ACCEPT 或 DROP。</li>
|
1300
1300
|
# <li>CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。</li>
|
1301
|
-
# <li>一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数,
|
1301
|
+
# <li>一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。如想在规则最前面插入一条,则填0即可,如果想在最后追加,该字段可不填。</li>
|
1302
1302
|
# </ul></li></ul>
|
1303
1303
|
|
1304
1304
|
# @param request: Request instance for CreateSecurityGroupPolicies.
|
data/lib/v20170312/models.rb
CHANGED
@@ -3284,10 +3284,12 @@ module TencentCloud
|
|
3284
3284
|
# @type PrivateIpAddresses: Array
|
3285
3285
|
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
|
3286
3286
|
# @type Tags: Array
|
3287
|
+
# @param TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
|
3288
|
+
# @type TrunkingFlag: String
|
3287
3289
|
|
3288
|
-
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :SecurityGroupIds, :PrivateIpAddresses, :Tags
|
3290
|
+
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :SecurityGroupIds, :PrivateIpAddresses, :Tags, :TrunkingFlag
|
3289
3291
|
|
3290
|
-
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil)
|
3292
|
+
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil, trunkingflag=nil)
|
3291
3293
|
@VpcId = vpcid
|
3292
3294
|
@NetworkInterfaceName = networkinterfacename
|
3293
3295
|
@SubnetId = subnetid
|
@@ -3296,6 +3298,7 @@ module TencentCloud
|
|
3296
3298
|
@SecurityGroupIds = securitygroupids
|
3297
3299
|
@PrivateIpAddresses = privateipaddresses
|
3298
3300
|
@Tags = tags
|
3301
|
+
@TrunkingFlag = trunkingflag
|
3299
3302
|
end
|
3300
3303
|
|
3301
3304
|
def deserialize(params)
|
@@ -3321,6 +3324,7 @@ module TencentCloud
|
|
3321
3324
|
@Tags << tag_tmp
|
3322
3325
|
end
|
3323
3326
|
end
|
3327
|
+
@TrunkingFlag = params['TrunkingFlag']
|
3324
3328
|
end
|
3325
3329
|
end
|
3326
3330
|
|
@@ -8503,16 +8507,24 @@ module TencentCloud
|
|
8503
8507
|
# @param ExtendEniPrivateIpAddressQuantity: 每个扩展型弹性网卡可以分配的IP配额
|
8504
8508
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8505
8509
|
# @type ExtendEniPrivateIpAddressQuantity: Integer
|
8510
|
+
# @param SubEniQuantity: 中继网卡配额
|
8511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8512
|
+
# @type SubEniQuantity: Integer
|
8513
|
+
# @param SubEniPrivateIpAddressQuantity: 每个中继网卡可以分配的IP配额
|
8514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8515
|
+
# @type SubEniPrivateIpAddressQuantity: Integer
|
8506
8516
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8507
8517
|
# @type RequestId: String
|
8508
8518
|
|
8509
|
-
attr_accessor :EniQuantity, :EniPrivateIpAddressQuantity, :ExtendEniQuantity, :ExtendEniPrivateIpAddressQuantity, :RequestId
|
8519
|
+
attr_accessor :EniQuantity, :EniPrivateIpAddressQuantity, :ExtendEniQuantity, :ExtendEniPrivateIpAddressQuantity, :SubEniQuantity, :SubEniPrivateIpAddressQuantity, :RequestId
|
8510
8520
|
|
8511
|
-
def initialize(eniquantity=nil, eniprivateipaddressquantity=nil, extendeniquantity=nil, extendeniprivateipaddressquantity=nil, requestid=nil)
|
8521
|
+
def initialize(eniquantity=nil, eniprivateipaddressquantity=nil, extendeniquantity=nil, extendeniprivateipaddressquantity=nil, subeniquantity=nil, subeniprivateipaddressquantity=nil, requestid=nil)
|
8512
8522
|
@EniQuantity = eniquantity
|
8513
8523
|
@EniPrivateIpAddressQuantity = eniprivateipaddressquantity
|
8514
8524
|
@ExtendEniQuantity = extendeniquantity
|
8515
8525
|
@ExtendEniPrivateIpAddressQuantity = extendeniprivateipaddressquantity
|
8526
|
+
@SubEniQuantity = subeniquantity
|
8527
|
+
@SubEniPrivateIpAddressQuantity = subeniprivateipaddressquantity
|
8516
8528
|
@RequestId = requestid
|
8517
8529
|
end
|
8518
8530
|
|
@@ -8521,6 +8533,8 @@ module TencentCloud
|
|
8521
8533
|
@EniPrivateIpAddressQuantity = params['EniPrivateIpAddressQuantity']
|
8522
8534
|
@ExtendEniQuantity = params['ExtendEniQuantity']
|
8523
8535
|
@ExtendEniPrivateIpAddressQuantity = params['ExtendEniPrivateIpAddressQuantity']
|
8536
|
+
@SubEniQuantity = params['SubEniQuantity']
|
8537
|
+
@SubEniPrivateIpAddressQuantity = params['SubEniPrivateIpAddressQuantity']
|
8524
8538
|
@RequestId = params['RequestId']
|
8525
8539
|
end
|
8526
8540
|
end
|
@@ -8542,6 +8556,7 @@ module TencentCloud
|
|
8542
8556
|
# <li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2</li>
|
8543
8557
|
# <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3。</li>
|
8544
8558
|
# <li>is-primary - Boolean - 是否必填:否 - (过滤条件)按照是否主网卡进行过滤。值为true时,仅过滤主网卡;值为false时,仅过滤辅助网卡;此过滤参数未提供时,同时过滤主网卡和辅助网卡。</li>
|
8559
|
+
# <li>eni-type - String -是否必填:否- (过滤条件)按照网卡类型进行过滤。“0”-辅助网卡,“1”-主网卡,“2”:中继网卡</li>
|
8545
8560
|
# @type Filters: Array
|
8546
8561
|
# @param Offset: 偏移量,默认为0。
|
8547
8562
|
# @type Offset: Integer
|
@@ -13966,14 +13981,17 @@ module TencentCloud
|
|
13966
13981
|
# @type NetworkInterfaceDescription: String
|
13967
13982
|
# @param SecurityGroupIds: 指定绑定的安全组,例如:['sg-1dd51d']。
|
13968
13983
|
# @type SecurityGroupIds: Array
|
13984
|
+
# @param TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
|
13985
|
+
# @type TrunkingFlag: String
|
13969
13986
|
|
13970
|
-
attr_accessor :NetworkInterfaceId, :NetworkInterfaceName, :NetworkInterfaceDescription, :SecurityGroupIds
|
13987
|
+
attr_accessor :NetworkInterfaceId, :NetworkInterfaceName, :NetworkInterfaceDescription, :SecurityGroupIds, :TrunkingFlag
|
13971
13988
|
|
13972
|
-
def initialize(networkinterfaceid=nil, networkinterfacename=nil, networkinterfacedescription=nil, securitygroupids=nil)
|
13989
|
+
def initialize(networkinterfaceid=nil, networkinterfacename=nil, networkinterfacedescription=nil, securitygroupids=nil, trunkingflag=nil)
|
13973
13990
|
@NetworkInterfaceId = networkinterfaceid
|
13974
13991
|
@NetworkInterfaceName = networkinterfacename
|
13975
13992
|
@NetworkInterfaceDescription = networkinterfacedescription
|
13976
13993
|
@SecurityGroupIds = securitygroupids
|
13994
|
+
@TrunkingFlag = trunkingflag
|
13977
13995
|
end
|
13978
13996
|
|
13979
13997
|
def deserialize(params)
|
@@ -13981,6 +13999,7 @@ module TencentCloud
|
|
13981
13999
|
@NetworkInterfaceName = params['NetworkInterfaceName']
|
13982
14000
|
@NetworkInterfaceDescription = params['NetworkInterfaceDescription']
|
13983
14001
|
@SecurityGroupIds = params['SecurityGroupIds']
|
14002
|
+
@TrunkingFlag = params['TrunkingFlag']
|
13984
14003
|
end
|
13985
14004
|
end
|
13986
14005
|
|
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: 1.0.
|
4
|
+
version: 1.0.323
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|