tencentcloud-sdk-vpc 3.0.649 → 3.0.651
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 +53 -3
- data/lib/v20170312/models.rb +119 -21
- 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: 64e75907a1462ea22648212d1b6ea4f021e8764a
|
4
|
+
data.tar.gz: 60607e63078c2f86e56825c6b805b7040ebf542f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6955d3d1769b09c11d8c84d19c84d337a2c90aaa94b6a47b0859e39b5902d7937fc7604f1c712d4900550698d5427bbadcc83d095fd4254c573dc7de2ee84b3d
|
7
|
+
data.tar.gz: 966ab596bdffcb4453eea50977a21f02f69ee1f8c348e7447efb7b029824a0d68fc90889a1d9101938d4223c13941667d14ae23573553c9fcf7011d3483ee5a1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.651
|
data/lib/v20170312/client.rb
CHANGED
@@ -1249,6 +1249,30 @@ module TencentCloud
|
|
1249
1249
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1250
1250
|
end
|
1251
1251
|
|
1252
|
+
# 本接口(CreateNetworkAclEntries)用于增量添加网络ACL三元组的入站规则和出站规则。
|
1253
|
+
|
1254
|
+
# @param request: Request instance for CreateNetworkAclEntries.
|
1255
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::CreateNetworkAclEntriesRequest`
|
1256
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::CreateNetworkAclEntriesResponse`
|
1257
|
+
def CreateNetworkAclEntries(request)
|
1258
|
+
body = send_request('CreateNetworkAclEntries', request.serialize)
|
1259
|
+
response = JSON.parse(body)
|
1260
|
+
if response['Response'].key?('Error') == false
|
1261
|
+
model = CreateNetworkAclEntriesResponse.new
|
1262
|
+
model.deserialize(response['Response'])
|
1263
|
+
model
|
1264
|
+
else
|
1265
|
+
code = response['Response']['Error']['Code']
|
1266
|
+
message = response['Response']['Error']['Message']
|
1267
|
+
reqid = response['Response']['RequestId']
|
1268
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1269
|
+
end
|
1270
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1271
|
+
raise e
|
1272
|
+
rescue StandardError => e
|
1273
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1274
|
+
end
|
1275
|
+
|
1252
1276
|
# 本接口(CreateNetworkAclQuintupleEntries)用于增量网络ACL五元组的入站规则和出站规则。
|
1253
1277
|
|
1254
1278
|
# @param request: Request instance for CreateNetworkAclQuintupleEntries.
|
@@ -1392,7 +1416,7 @@ module TencentCloud
|
|
1392
1416
|
# <li>CidrBlock 字段允许输入符合cidr格式标准的任意字符串。在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
1393
1417
|
# <li>Ipv6CidrBlock 字段允许输入符合IPv6 cidr格式标准的任意字符串。在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
1394
1418
|
# <li>SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个 ID 所关联的云服务器变化而变化,不需要重新修改。</li>
|
1395
|
-
# <li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受,即 Protocol 字段不是 TCP 或 UDP 时,Protocol 和 Port
|
1419
|
+
# <li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受,即 Protocol 字段不是 TCP 或 UDP 时,Protocol 和 Port 是排他关系,不允许同时输入,否则会接口报错。</li>
|
1396
1420
|
# <li>Action 字段只允许输入 ACCEPT 或 DROP。</li>
|
1397
1421
|
# <li>CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。IPv6CidrBlock和ICMP是排他关系,如需使用,请输入ICMPV6。</li>
|
1398
1422
|
# <li>一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。如想在规则最前面插入一条,则填0即可,如果想在最后追加,该字段可不填。</li>
|
@@ -2301,6 +2325,32 @@ module TencentCloud
|
|
2301
2325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2302
2326
|
end
|
2303
2327
|
|
2328
|
+
# 本接口(DeleteNetworkAclEntries)用于删除三元组网络ACL的入站规则和出站规则。在NetworkAclEntrySet参数中:
|
2329
|
+
# * 删除IPv4规则,需要传入NetworkAclIpv4EntryId。
|
2330
|
+
# * 删除IPv6规则,需要传入NetworkAclIpv6EntryId。
|
2331
|
+
|
2332
|
+
# @param request: Request instance for DeleteNetworkAclEntries.
|
2333
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DeleteNetworkAclEntriesRequest`
|
2334
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteNetworkAclEntriesResponse`
|
2335
|
+
def DeleteNetworkAclEntries(request)
|
2336
|
+
body = send_request('DeleteNetworkAclEntries', request.serialize)
|
2337
|
+
response = JSON.parse(body)
|
2338
|
+
if response['Response'].key?('Error') == false
|
2339
|
+
model = DeleteNetworkAclEntriesResponse.new
|
2340
|
+
model.deserialize(response['Response'])
|
2341
|
+
model
|
2342
|
+
else
|
2343
|
+
code = response['Response']['Error']['Code']
|
2344
|
+
message = response['Response']['Error']['Message']
|
2345
|
+
reqid = response['Response']['RequestId']
|
2346
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2347
|
+
end
|
2348
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2349
|
+
raise e
|
2350
|
+
rescue StandardError => e
|
2351
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2352
|
+
end
|
2353
|
+
|
2304
2354
|
# 本接口(DeleteNetworkAclQuintupleEntries)用于删除网络ACL五元组指定的入站规则和出站规则(但不是全量删除该ACL下的所有条目)。在NetworkAclQuintupleEntrySet参数中:NetworkAclQuintupleEntry需要提供NetworkAclQuintupleEntryId。
|
2305
2355
|
|
2306
2356
|
# @param request: Request instance for DeleteNetworkAclQuintupleEntries.
|
@@ -6643,8 +6693,8 @@ module TencentCloud
|
|
6643
6693
|
# <li> 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略 Egress 和 Ingress。</li>
|
6644
6694
|
# <li> 如果指定 SecurityGroupPolicySet.Version 不为0, 在添加出站和入站规则(Egress 和 Ingress)时:<ul>
|
6645
6695
|
# <li>Protocol 字段支持输入 TCP, UDP, ICMP, ICMPV6, GRE, ALL。</li>
|
6646
|
-
# <li>CidrBlock 字段允许输入符合 cidr
|
6647
|
-
# <li>Ipv6CidrBlock 字段允许输入符合 IPv6 cidr
|
6696
|
+
# <li>CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
6697
|
+
# <li>Ipv6CidrBlock 字段允许输入符合 IPv6 cidr 格式标准的任意字符串。在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
|
6648
6698
|
# <li>SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。</li>
|
6649
6699
|
# <li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受。</li>
|
6650
6700
|
# <li>Action 字段只允许输入 ACCEPT 或 DROP。</li>
|
data/lib/v20170312/models.rb
CHANGED
@@ -976,14 +976,17 @@ module TencentCloud
|
|
976
976
|
# @type SecondaryPrivateIpAddressCount: Integer
|
977
977
|
# @param QosLevel: IP服务质量等级,和SecondaryPrivateIpAddressCount配合使用,可选值:PT、AU、AG、DEFAULT,分别代表云金、云银、云铜、默认四个等级。
|
978
978
|
# @type QosLevel: String
|
979
|
+
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
980
|
+
# @type ClientToken: String
|
979
981
|
|
980
|
-
attr_accessor :NetworkInterfaceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel
|
982
|
+
attr_accessor :NetworkInterfaceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel, :ClientToken
|
981
983
|
|
982
|
-
def initialize(networkinterfaceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil)
|
984
|
+
def initialize(networkinterfaceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, clienttoken=nil)
|
983
985
|
@NetworkInterfaceId = networkinterfaceid
|
984
986
|
@PrivateIpAddresses = privateipaddresses
|
985
987
|
@SecondaryPrivateIpAddressCount = secondaryprivateipaddresscount
|
986
988
|
@QosLevel = qoslevel
|
989
|
+
@ClientToken = clienttoken
|
987
990
|
end
|
988
991
|
|
989
992
|
def deserialize(params)
|
@@ -998,6 +1001,7 @@ module TencentCloud
|
|
998
1001
|
end
|
999
1002
|
@SecondaryPrivateIpAddressCount = params['SecondaryPrivateIpAddressCount']
|
1000
1003
|
@QosLevel = params['QosLevel']
|
1004
|
+
@ClientToken = params['ClientToken']
|
1001
1005
|
end
|
1002
1006
|
end
|
1003
1007
|
|
@@ -1411,19 +1415,23 @@ module TencentCloud
|
|
1411
1415
|
# @type InstanceId: String
|
1412
1416
|
# @param AttachType: 网卡的挂载类型:0 标准型,1扩展型,默认值0。
|
1413
1417
|
# @type AttachType: Integer
|
1418
|
+
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
1419
|
+
# @type ClientToken: String
|
1414
1420
|
|
1415
|
-
attr_accessor :NetworkInterfaceId, :InstanceId, :AttachType
|
1421
|
+
attr_accessor :NetworkInterfaceId, :InstanceId, :AttachType, :ClientToken
|
1416
1422
|
|
1417
|
-
def initialize(networkinterfaceid=nil, instanceid=nil, attachtype=nil)
|
1423
|
+
def initialize(networkinterfaceid=nil, instanceid=nil, attachtype=nil, clienttoken=nil)
|
1418
1424
|
@NetworkInterfaceId = networkinterfaceid
|
1419
1425
|
@InstanceId = instanceid
|
1420
1426
|
@AttachType = attachtype
|
1427
|
+
@ClientToken = clienttoken
|
1421
1428
|
end
|
1422
1429
|
|
1423
1430
|
def deserialize(params)
|
1424
1431
|
@NetworkInterfaceId = params['NetworkInterfaceId']
|
1425
1432
|
@InstanceId = params['InstanceId']
|
1426
1433
|
@AttachType = params['AttachType']
|
1434
|
+
@ClientToken = params['ClientToken']
|
1427
1435
|
end
|
1428
1436
|
end
|
1429
1437
|
|
@@ -2585,10 +2593,12 @@ module TencentCloud
|
|
2585
2593
|
# @type Tags: Array
|
2586
2594
|
# @param AttachType: 绑定类型:0 标准型 1 扩展型。
|
2587
2595
|
# @type AttachType: Integer
|
2596
|
+
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
2597
|
+
# @type ClientToken: String
|
2588
2598
|
|
2589
|
-
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :InstanceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :NetworkInterfaceDescription, :Tags, :AttachType
|
2599
|
+
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :InstanceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :NetworkInterfaceDescription, :Tags, :AttachType, :ClientToken
|
2590
2600
|
|
2591
|
-
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, instanceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, networkinterfacedescription=nil, tags=nil, attachtype=nil)
|
2601
|
+
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, instanceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, networkinterfacedescription=nil, tags=nil, attachtype=nil, clienttoken=nil)
|
2592
2602
|
@VpcId = vpcid
|
2593
2603
|
@NetworkInterfaceName = networkinterfacename
|
2594
2604
|
@SubnetId = subnetid
|
@@ -2600,6 +2610,7 @@ module TencentCloud
|
|
2600
2610
|
@NetworkInterfaceDescription = networkinterfacedescription
|
2601
2611
|
@Tags = tags
|
2602
2612
|
@AttachType = attachtype
|
2613
|
+
@ClientToken = clienttoken
|
2603
2614
|
end
|
2604
2615
|
|
2605
2616
|
def deserialize(params)
|
@@ -2628,6 +2639,7 @@ module TencentCloud
|
|
2628
2639
|
end
|
2629
2640
|
end
|
2630
2641
|
@AttachType = params['AttachType']
|
2642
|
+
@ClientToken = params['ClientToken']
|
2631
2643
|
end
|
2632
2644
|
end
|
2633
2645
|
|
@@ -3652,6 +3664,45 @@ module TencentCloud
|
|
3652
3664
|
end
|
3653
3665
|
end
|
3654
3666
|
|
3667
|
+
# CreateNetworkAclEntries请求参数结构体
|
3668
|
+
class CreateNetworkAclEntriesRequest < TencentCloud::Common::AbstractModel
|
3669
|
+
# @param NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
|
3670
|
+
# @type NetworkAclId: String
|
3671
|
+
# @param NetworkAclEntrySet: 网络三元组ACL规则集。
|
3672
|
+
# @type NetworkAclEntrySet: :class:`Tencentcloud::Vpc.v20170312.models.NetworkAclEntrySet`
|
3673
|
+
|
3674
|
+
attr_accessor :NetworkAclId, :NetworkAclEntrySet
|
3675
|
+
|
3676
|
+
def initialize(networkaclid=nil, networkaclentryset=nil)
|
3677
|
+
@NetworkAclId = networkaclid
|
3678
|
+
@NetworkAclEntrySet = networkaclentryset
|
3679
|
+
end
|
3680
|
+
|
3681
|
+
def deserialize(params)
|
3682
|
+
@NetworkAclId = params['NetworkAclId']
|
3683
|
+
unless params['NetworkAclEntrySet'].nil?
|
3684
|
+
@NetworkAclEntrySet = NetworkAclEntrySet.new
|
3685
|
+
@NetworkAclEntrySet.deserialize(params['NetworkAclEntrySet'])
|
3686
|
+
end
|
3687
|
+
end
|
3688
|
+
end
|
3689
|
+
|
3690
|
+
# CreateNetworkAclEntries返回参数结构体
|
3691
|
+
class CreateNetworkAclEntriesResponse < TencentCloud::Common::AbstractModel
|
3692
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3693
|
+
# @type RequestId: String
|
3694
|
+
|
3695
|
+
attr_accessor :RequestId
|
3696
|
+
|
3697
|
+
def initialize(requestid=nil)
|
3698
|
+
@RequestId = requestid
|
3699
|
+
end
|
3700
|
+
|
3701
|
+
def deserialize(params)
|
3702
|
+
@RequestId = params['RequestId']
|
3703
|
+
end
|
3704
|
+
end
|
3705
|
+
|
3655
3706
|
# CreateNetworkAclQuintupleEntries请求参数结构体
|
3656
3707
|
class CreateNetworkAclQuintupleEntriesRequest < TencentCloud::Common::AbstractModel
|
3657
3708
|
# @param NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
|
@@ -3771,10 +3822,12 @@ module TencentCloud
|
|
3771
3822
|
# @type Tags: Array
|
3772
3823
|
# @param TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
|
3773
3824
|
# @type TrunkingFlag: String
|
3825
|
+
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
3826
|
+
# @type ClientToken: String
|
3774
3827
|
|
3775
|
-
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :PrivateIpAddresses, :Tags, :TrunkingFlag
|
3828
|
+
attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :PrivateIpAddresses, :Tags, :TrunkingFlag, :ClientToken
|
3776
3829
|
|
3777
|
-
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil, trunkingflag=nil)
|
3830
|
+
def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil, trunkingflag=nil, clienttoken=nil)
|
3778
3831
|
@VpcId = vpcid
|
3779
3832
|
@NetworkInterfaceName = networkinterfacename
|
3780
3833
|
@SubnetId = subnetid
|
@@ -3785,6 +3838,7 @@ module TencentCloud
|
|
3785
3838
|
@PrivateIpAddresses = privateipaddresses
|
3786
3839
|
@Tags = tags
|
3787
3840
|
@TrunkingFlag = trunkingflag
|
3841
|
+
@ClientToken = clienttoken
|
3788
3842
|
end
|
3789
3843
|
|
3790
3844
|
def deserialize(params)
|
@@ -3812,6 +3866,7 @@ module TencentCloud
|
|
3812
3866
|
end
|
3813
3867
|
end
|
3814
3868
|
@TrunkingFlag = params['TrunkingFlag']
|
3869
|
+
@ClientToken = params['ClientToken']
|
3815
3870
|
end
|
3816
3871
|
end
|
3817
3872
|
|
@@ -3952,7 +4007,7 @@ module TencentCloud
|
|
3952
4007
|
|
3953
4008
|
# CreateSecurityGroupPolicies请求参数结构体
|
3954
4009
|
class CreateSecurityGroupPoliciesRequest < TencentCloud::Common::AbstractModel
|
3955
|
-
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
4010
|
+
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
3956
4011
|
# @type SecurityGroupId: String
|
3957
4012
|
# @param SecurityGroupPolicySet: 安全组规则集合。
|
3958
4013
|
# @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
@@ -3995,7 +4050,7 @@ module TencentCloud
|
|
3995
4050
|
# @type GroupName: String
|
3996
4051
|
# @param GroupDescription: 安全组备注,最多100个字符。
|
3997
4052
|
# @type GroupDescription: String
|
3998
|
-
# @param ProjectId: 项目ID,默认0
|
4053
|
+
# @param ProjectId: 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project">控制台项目管理页面</a>查询到。
|
3999
4054
|
# @type ProjectId: String
|
4000
4055
|
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
4001
4056
|
# @type Tags: Array
|
@@ -4053,7 +4108,7 @@ module TencentCloud
|
|
4053
4108
|
# @type GroupName: String
|
4054
4109
|
# @param GroupDescription: 安全组备注,最多100个字符。
|
4055
4110
|
# @type GroupDescription: String
|
4056
|
-
# @param ProjectId: 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project"
|
4111
|
+
# @param ProjectId: 项目ID,默认0。可在<a href="https://console.cloud.tencent.com/project">控制台项目管理页面</a>查询到。
|
4057
4112
|
# @type ProjectId: String
|
4058
4113
|
# @param SecurityGroupPolicySet: 安全组规则集合。
|
4059
4114
|
# @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
@@ -5934,6 +5989,45 @@ module TencentCloud
|
|
5934
5989
|
end
|
5935
5990
|
end
|
5936
5991
|
|
5992
|
+
# DeleteNetworkAclEntries请求参数结构体
|
5993
|
+
class DeleteNetworkAclEntriesRequest < TencentCloud::Common::AbstractModel
|
5994
|
+
# @param NetworkAclId: 三元组网络ACL实例ID。例如:acl-12345678。
|
5995
|
+
# @type NetworkAclId: String
|
5996
|
+
# @param NetworkAclEntrySet: 三元组网络ACL规则集。
|
5997
|
+
# @type NetworkAclEntrySet: :class:`Tencentcloud::Vpc.v20170312.models.NetworkAclEntrySet`
|
5998
|
+
|
5999
|
+
attr_accessor :NetworkAclId, :NetworkAclEntrySet
|
6000
|
+
|
6001
|
+
def initialize(networkaclid=nil, networkaclentryset=nil)
|
6002
|
+
@NetworkAclId = networkaclid
|
6003
|
+
@NetworkAclEntrySet = networkaclentryset
|
6004
|
+
end
|
6005
|
+
|
6006
|
+
def deserialize(params)
|
6007
|
+
@NetworkAclId = params['NetworkAclId']
|
6008
|
+
unless params['NetworkAclEntrySet'].nil?
|
6009
|
+
@NetworkAclEntrySet = NetworkAclEntrySet.new
|
6010
|
+
@NetworkAclEntrySet.deserialize(params['NetworkAclEntrySet'])
|
6011
|
+
end
|
6012
|
+
end
|
6013
|
+
end
|
6014
|
+
|
6015
|
+
# DeleteNetworkAclEntries返回参数结构体
|
6016
|
+
class DeleteNetworkAclEntriesResponse < TencentCloud::Common::AbstractModel
|
6017
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6018
|
+
# @type RequestId: String
|
6019
|
+
|
6020
|
+
attr_accessor :RequestId
|
6021
|
+
|
6022
|
+
def initialize(requestid=nil)
|
6023
|
+
@RequestId = requestid
|
6024
|
+
end
|
6025
|
+
|
6026
|
+
def deserialize(params)
|
6027
|
+
@RequestId = params['RequestId']
|
6028
|
+
end
|
6029
|
+
end
|
6030
|
+
|
5937
6031
|
# DeleteNetworkAclQuintupleEntries请求参数结构体
|
5938
6032
|
class DeleteNetworkAclQuintupleEntriesRequest < TencentCloud::Common::AbstractModel
|
5939
6033
|
# @param NetworkAclId: 网络ACL实例ID。例如:acl-12345678。
|
@@ -6125,7 +6219,7 @@ module TencentCloud
|
|
6125
6219
|
|
6126
6220
|
# DeleteSecurityGroupPolicies请求参数结构体
|
6127
6221
|
class DeleteSecurityGroupPoliciesRequest < TencentCloud::Common::AbstractModel
|
6128
|
-
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
6222
|
+
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
6129
6223
|
# @type SecurityGroupId: String
|
6130
6224
|
# @param SecurityGroupPolicySet: 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
6131
6225
|
# @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
@@ -6164,7 +6258,7 @@ module TencentCloud
|
|
6164
6258
|
|
6165
6259
|
# DeleteSecurityGroup请求参数结构体
|
6166
6260
|
class DeleteSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
6167
|
-
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
6261
|
+
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
6168
6262
|
# @type SecurityGroupId: String
|
6169
6263
|
|
6170
6264
|
attr_accessor :SecurityGroupId
|
@@ -9772,7 +9866,7 @@ module TencentCloud
|
|
9772
9866
|
# @type RouteTableIds: Array
|
9773
9867
|
# @param Offset: 偏移量。
|
9774
9868
|
# @type Offset: String
|
9775
|
-
# @param Limit:
|
9869
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
9776
9870
|
# @type Limit: String
|
9777
9871
|
|
9778
9872
|
attr_accessor :Filters, :RouteTableIds, :Offset, :Limit
|
@@ -9832,7 +9926,7 @@ module TencentCloud
|
|
9832
9926
|
|
9833
9927
|
# DescribeSecurityGroupAssociationStatistics请求参数结构体
|
9834
9928
|
class DescribeSecurityGroupAssociationStatisticsRequest < TencentCloud::Common::AbstractModel
|
9835
|
-
# @param SecurityGroupIds: 安全实例ID,例如sg-33ocnj9n
|
9929
|
+
# @param SecurityGroupIds: 安全实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
9836
9930
|
# @type SecurityGroupIds: Array
|
9837
9931
|
|
9838
9932
|
attr_accessor :SecurityGroupIds
|
@@ -12193,17 +12287,21 @@ module TencentCloud
|
|
12193
12287
|
# @type NetworkInterfaceId: String
|
12194
12288
|
# @param InstanceId: CVM实例ID。形如:ins-r8hr2upy。
|
12195
12289
|
# @type InstanceId: String
|
12290
|
+
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
12291
|
+
# @type ClientToken: String
|
12196
12292
|
|
12197
|
-
attr_accessor :NetworkInterfaceId, :InstanceId
|
12293
|
+
attr_accessor :NetworkInterfaceId, :InstanceId, :ClientToken
|
12198
12294
|
|
12199
|
-
def initialize(networkinterfaceid=nil, instanceid=nil)
|
12295
|
+
def initialize(networkinterfaceid=nil, instanceid=nil, clienttoken=nil)
|
12200
12296
|
@NetworkInterfaceId = networkinterfaceid
|
12201
12297
|
@InstanceId = instanceid
|
12298
|
+
@ClientToken = clienttoken
|
12202
12299
|
end
|
12203
12300
|
|
12204
12301
|
def deserialize(params)
|
12205
12302
|
@NetworkInterfaceId = params['NetworkInterfaceId']
|
12206
12303
|
@InstanceId = params['InstanceId']
|
12304
|
+
@ClientToken = params['ClientToken']
|
12207
12305
|
end
|
12208
12306
|
end
|
12209
12307
|
|
@@ -16174,7 +16272,7 @@ module TencentCloud
|
|
16174
16272
|
|
16175
16273
|
# ModifySecurityGroupAttribute请求参数结构体
|
16176
16274
|
class ModifySecurityGroupAttributeRequest < TencentCloud::Common::AbstractModel
|
16177
|
-
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
16275
|
+
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
16178
16276
|
# @type SecurityGroupId: String
|
16179
16277
|
# @param GroupName: 安全组名称,可任意命名,但不得超过60个字符。
|
16180
16278
|
# @type GroupName: String
|
@@ -16214,7 +16312,7 @@ module TencentCloud
|
|
16214
16312
|
|
16215
16313
|
# ModifySecurityGroupPolicies请求参数结构体
|
16216
16314
|
class ModifySecurityGroupPoliciesRequest < TencentCloud::Common::AbstractModel
|
16217
|
-
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
16315
|
+
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
16218
16316
|
# @type SecurityGroupId: String
|
16219
16317
|
# @param SecurityGroupPolicySet: 安全组规则集合。 SecurityGroupPolicySet对象必须同时指定新的出(Egress)入(Ingress)站规则。 SecurityGroupPolicy对象不支持自定义索引(PolicyIndex)。
|
16220
16318
|
# @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
@@ -17193,7 +17291,7 @@ module TencentCloud
|
|
17193
17291
|
# 下一跳类型为NAT,取值Nat网关,形如:nat-12345678;
|
17194
17292
|
# 下一跳类型为NORMAL_CVM,取值云服务器IPv4地址,形如:10.0.0.12;
|
17195
17293
|
# 下一跳类型为CCN,取值云联网ID,形如:ccn-12345678;
|
17196
|
-
# 下一跳类型为NONEXTHOP
|
17294
|
+
# 下一跳类型为NONEXTHOP,指定网络探测为无下一跳的网络探测,添加和修改时,不需要指定值,查询时值为空字符串;
|
17197
17295
|
# @type NextHopDestination: String
|
17198
17296
|
# @param NextHopName: 下一跳网关名称。
|
17199
17297
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -18446,7 +18544,7 @@ module TencentCloud
|
|
18446
18544
|
|
18447
18545
|
# ReplaceSecurityGroupPolicy请求参数结构体
|
18448
18546
|
class ReplaceSecurityGroupPolicyRequest < TencentCloud::Common::AbstractModel
|
18449
|
-
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n
|
18547
|
+
# @param SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
18450
18548
|
# @type SecurityGroupId: String
|
18451
18549
|
# @param SecurityGroupPolicySet: 安全组规则集合对象。
|
18452
18550
|
# @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
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.
|
4
|
+
version: 3.0.651
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|