tencentcloud-sdk-vpc 1.0.223 → 1.0.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +112 -16
- 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: cda1cc82dfde8a330d92964320b96b3f40af1468
|
|
4
|
+
data.tar.gz: 3c0533bd0496cbe8eaf57306cd726fe9ac6a10e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9dfbd36b905f09833cb19bec04086ba8551a3088c1645ef74fdce4d8aff70f10e478f7c9770474ca72e2494262797c1883c02edf6d35d5a509e0a99cef921a68
|
|
7
|
+
data.tar.gz: 2a121b77619de3cd08789ddf57e14143d82003d5c99b92433034eb26c695c4eb90311db934ef932b53debbcd6776b627a2b36a51b2b9ac40ad8d3221b01d8c78
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.227
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -2657,16 +2657,19 @@ module TencentCloud
|
|
|
2657
2657
|
# @type ModeType: String
|
|
2658
2658
|
# @param Zone: 专线网关可用区
|
|
2659
2659
|
# @type Zone: String
|
|
2660
|
+
# @param HaZoneGroupId: 专线网关高可用区容灾组ID
|
|
2661
|
+
# @type HaZoneGroupId: String
|
|
2660
2662
|
|
|
2661
|
-
attr_accessor :DirectConnectGatewayName, :NetworkType, :NetworkInstanceId, :GatewayType, :ModeType, :Zone
|
|
2663
|
+
attr_accessor :DirectConnectGatewayName, :NetworkType, :NetworkInstanceId, :GatewayType, :ModeType, :Zone, :HaZoneGroupId
|
|
2662
2664
|
|
|
2663
|
-
def initialize(directconnectgatewayname=nil, networktype=nil, networkinstanceid=nil, gatewaytype=nil, modetype=nil, zone=nil)
|
|
2665
|
+
def initialize(directconnectgatewayname=nil, networktype=nil, networkinstanceid=nil, gatewaytype=nil, modetype=nil, zone=nil, hazonegroupid=nil)
|
|
2664
2666
|
@DirectConnectGatewayName = directconnectgatewayname
|
|
2665
2667
|
@NetworkType = networktype
|
|
2666
2668
|
@NetworkInstanceId = networkinstanceid
|
|
2667
2669
|
@GatewayType = gatewaytype
|
|
2668
2670
|
@ModeType = modetype
|
|
2669
2671
|
@Zone = zone
|
|
2672
|
+
@HaZoneGroupId = hazonegroupid
|
|
2670
2673
|
end
|
|
2671
2674
|
|
|
2672
2675
|
def deserialize(params)
|
|
@@ -2676,6 +2679,7 @@ module TencentCloud
|
|
|
2676
2679
|
@GatewayType = params['GatewayType']
|
|
2677
2680
|
@ModeType = params['ModeType']
|
|
2678
2681
|
@Zone = params['Zone']
|
|
2682
|
+
@HaZoneGroupId = params['HaZoneGroupId']
|
|
2679
2683
|
end
|
|
2680
2684
|
end
|
|
2681
2685
|
|
|
@@ -4037,10 +4041,18 @@ module TencentCloud
|
|
|
4037
4041
|
# @type HealthCheckRemoteIp: String
|
|
4038
4042
|
# @param RouteType: 通道类型, 例如:["STATIC", "StaticRoute", "Policy"]
|
|
4039
4043
|
# @type RouteType: String
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
+
# @param NegotiationType: 协商类型,默认为active(主动协商)。可选值:active(主动协商),passive(被动协商),flowTrigger(流量协商)
|
|
4045
|
+
# @type NegotiationType: String
|
|
4046
|
+
# @param DpdEnable: DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1(开启)
|
|
4047
|
+
# @type DpdEnable: Integer
|
|
4048
|
+
# @param DpdTimeout: DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。默认30,单位为秒
|
|
4049
|
+
# @type DpdTimeout: String
|
|
4050
|
+
# @param DpdAction: DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)
|
|
4051
|
+
# @type DpdAction: String
|
|
4052
|
+
|
|
4053
|
+
attr_accessor :VpnGatewayId, :CustomerGatewayId, :VpnConnectionName, :PreShareKey, :VpcId, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :Tags, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :RouteType, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction
|
|
4054
|
+
|
|
4055
|
+
def initialize(vpngatewayid=nil, customergatewayid=nil, vpnconnectionname=nil, presharekey=nil, vpcid=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, tags=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, routetype=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil)
|
|
4044
4056
|
@VpnGatewayId = vpngatewayid
|
|
4045
4057
|
@CustomerGatewayId = customergatewayid
|
|
4046
4058
|
@VpnConnectionName = vpnconnectionname
|
|
@@ -4054,6 +4066,10 @@ module TencentCloud
|
|
|
4054
4066
|
@HealthCheckLocalIp = healthchecklocalip
|
|
4055
4067
|
@HealthCheckRemoteIp = healthcheckremoteip
|
|
4056
4068
|
@RouteType = routetype
|
|
4069
|
+
@NegotiationType = negotiationtype
|
|
4070
|
+
@DpdEnable = dpdenable
|
|
4071
|
+
@DpdTimeout = dpdtimeout
|
|
4072
|
+
@DpdAction = dpdaction
|
|
4057
4073
|
end
|
|
4058
4074
|
|
|
4059
4075
|
def deserialize(params)
|
|
@@ -4090,6 +4106,10 @@ module TencentCloud
|
|
|
4090
4106
|
@HealthCheckLocalIp = params['HealthCheckLocalIp']
|
|
4091
4107
|
@HealthCheckRemoteIp = params['HealthCheckRemoteIp']
|
|
4092
4108
|
@RouteType = params['RouteType']
|
|
4109
|
+
@NegotiationType = params['NegotiationType']
|
|
4110
|
+
@DpdEnable = params['DpdEnable']
|
|
4111
|
+
@DpdTimeout = params['DpdTimeout']
|
|
4112
|
+
@DpdAction = params['DpdAction']
|
|
4093
4113
|
end
|
|
4094
4114
|
end
|
|
4095
4115
|
|
|
@@ -8565,15 +8585,35 @@ module TencentCloud
|
|
|
8565
8585
|
class DescribeSecurityGroupPoliciesRequest < TencentCloud::Common::AbstractModel
|
|
8566
8586
|
# @param SecurityGroupId: 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。
|
|
8567
8587
|
# @type SecurityGroupId: String
|
|
8588
|
+
# @param Filters: 过滤条件,不支持同时指定SecurityGroupId和Filters参数。
|
|
8589
|
+
# <li>security-group-id - String - 安全组ID。</li>
|
|
8590
|
+
# <li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
|
|
8591
|
+
# <li>address-module - String - IP地址模板或IP地址组模板ID。</li>
|
|
8592
|
+
# <li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
|
|
8593
|
+
# <li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
|
|
8594
|
+
# <li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
|
|
8595
|
+
# <li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
|
|
8596
|
+
# <li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
|
|
8597
|
+
# <li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
|
|
8598
|
+
# @type Filters: Array
|
|
8568
8599
|
|
|
8569
|
-
attr_accessor :SecurityGroupId
|
|
8600
|
+
attr_accessor :SecurityGroupId, :Filters
|
|
8570
8601
|
|
|
8571
|
-
def initialize(securitygroupid=nil)
|
|
8602
|
+
def initialize(securitygroupid=nil, filters=nil)
|
|
8572
8603
|
@SecurityGroupId = securitygroupid
|
|
8604
|
+
@Filters = filters
|
|
8573
8605
|
end
|
|
8574
8606
|
|
|
8575
8607
|
def deserialize(params)
|
|
8576
8608
|
@SecurityGroupId = params['SecurityGroupId']
|
|
8609
|
+
unless params['Filters'].nil?
|
|
8610
|
+
@Filters = []
|
|
8611
|
+
params['Filters'].each do |i|
|
|
8612
|
+
filter_tmp = Filter.new
|
|
8613
|
+
filter_tmp.deserialize(i)
|
|
8614
|
+
@Filters << filter_tmp
|
|
8615
|
+
end
|
|
8616
|
+
end
|
|
8577
8617
|
end
|
|
8578
8618
|
end
|
|
8579
8619
|
|
|
@@ -10089,10 +10129,32 @@ module TencentCloud
|
|
|
10089
10129
|
# @param Zone: 专线网关所在可用区
|
|
10090
10130
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10091
10131
|
# @type Zone: String
|
|
10132
|
+
# @param EnableFlowDetails: 网关流控明细启用状态:
|
|
10133
|
+
# 0:关闭
|
|
10134
|
+
# 1:开启
|
|
10135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10136
|
+
# @type EnableFlowDetails: Integer
|
|
10137
|
+
# @param FlowDetailsUpdateTime: 开启、关闭网关流控明细时间
|
|
10138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10139
|
+
# @type FlowDetailsUpdateTime: String
|
|
10140
|
+
# @param NewAfc: 是否支持开启网关流控明细
|
|
10141
|
+
# 0:不支持
|
|
10142
|
+
# 1:支持
|
|
10143
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10144
|
+
# @type NewAfc: Integer
|
|
10145
|
+
# @param AccessNetworkType: 专线网关接入网络类型:
|
|
10146
|
+
# <li>`VXLAN` - VXLAN类型。</li>
|
|
10147
|
+
# <li>`MPLS` - MPLS类型。</li>
|
|
10148
|
+
# <li>`Hybrid` - Hybrid类型。</li>
|
|
10149
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10150
|
+
# @type AccessNetworkType: String
|
|
10151
|
+
# @param HaZoneList: 跨可用区容灾专线网关的可用区列表
|
|
10152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10153
|
+
# @type HaZoneList: Array
|
|
10092
10154
|
|
|
10093
|
-
attr_accessor :DirectConnectGatewayId, :DirectConnectGatewayName, :VpcId, :NetworkType, :NetworkInstanceId, :GatewayType, :CreateTime, :DirectConnectGatewayIp, :CcnId, :CcnRouteType, :EnableBGP, :EnableBGPCommunity, :NatGatewayId, :VXLANSupport, :ModeType, :LocalZone, :Zone
|
|
10155
|
+
attr_accessor :DirectConnectGatewayId, :DirectConnectGatewayName, :VpcId, :NetworkType, :NetworkInstanceId, :GatewayType, :CreateTime, :DirectConnectGatewayIp, :CcnId, :CcnRouteType, :EnableBGP, :EnableBGPCommunity, :NatGatewayId, :VXLANSupport, :ModeType, :LocalZone, :Zone, :EnableFlowDetails, :FlowDetailsUpdateTime, :NewAfc, :AccessNetworkType, :HaZoneList
|
|
10094
10156
|
|
|
10095
|
-
def initialize(directconnectgatewayid=nil, directconnectgatewayname=nil, vpcid=nil, networktype=nil, networkinstanceid=nil, gatewaytype=nil, createtime=nil, directconnectgatewayip=nil, ccnid=nil, ccnroutetype=nil, enablebgp=nil, enablebgpcommunity=nil, natgatewayid=nil, vxlansupport=nil, modetype=nil, localzone=nil, zone=nil)
|
|
10157
|
+
def initialize(directconnectgatewayid=nil, directconnectgatewayname=nil, vpcid=nil, networktype=nil, networkinstanceid=nil, gatewaytype=nil, createtime=nil, directconnectgatewayip=nil, ccnid=nil, ccnroutetype=nil, enablebgp=nil, enablebgpcommunity=nil, natgatewayid=nil, vxlansupport=nil, modetype=nil, localzone=nil, zone=nil, enableflowdetails=nil, flowdetailsupdatetime=nil, newafc=nil, accessnetworktype=nil, hazonelist=nil)
|
|
10096
10158
|
@DirectConnectGatewayId = directconnectgatewayid
|
|
10097
10159
|
@DirectConnectGatewayName = directconnectgatewayname
|
|
10098
10160
|
@VpcId = vpcid
|
|
@@ -10110,6 +10172,11 @@ module TencentCloud
|
|
|
10110
10172
|
@ModeType = modetype
|
|
10111
10173
|
@LocalZone = localzone
|
|
10112
10174
|
@Zone = zone
|
|
10175
|
+
@EnableFlowDetails = enableflowdetails
|
|
10176
|
+
@FlowDetailsUpdateTime = flowdetailsupdatetime
|
|
10177
|
+
@NewAfc = newafc
|
|
10178
|
+
@AccessNetworkType = accessnetworktype
|
|
10179
|
+
@HaZoneList = hazonelist
|
|
10113
10180
|
end
|
|
10114
10181
|
|
|
10115
10182
|
def deserialize(params)
|
|
@@ -10130,6 +10197,11 @@ module TencentCloud
|
|
|
10130
10197
|
@ModeType = params['ModeType']
|
|
10131
10198
|
@LocalZone = params['LocalZone']
|
|
10132
10199
|
@Zone = params['Zone']
|
|
10200
|
+
@EnableFlowDetails = params['EnableFlowDetails']
|
|
10201
|
+
@FlowDetailsUpdateTime = params['FlowDetailsUpdateTime']
|
|
10202
|
+
@NewAfc = params['NewAfc']
|
|
10203
|
+
@AccessNetworkType = params['AccessNetworkType']
|
|
10204
|
+
@HaZoneList = params['HaZoneList']
|
|
10133
10205
|
end
|
|
10134
10206
|
end
|
|
10135
10207
|
|
|
@@ -10141,19 +10213,27 @@ module TencentCloud
|
|
|
10141
10213
|
# @type DestinationCidrBlock: String
|
|
10142
10214
|
# @param ASPath: `BGP`的`AS-Path`属性。
|
|
10143
10215
|
# @type ASPath: Array
|
|
10216
|
+
# @param Description: 备注
|
|
10217
|
+
# @type Description: String
|
|
10218
|
+
# @param UpdateTime: 最后更新时间
|
|
10219
|
+
# @type UpdateTime: String
|
|
10144
10220
|
|
|
10145
|
-
attr_accessor :RouteId, :DestinationCidrBlock, :ASPath
|
|
10221
|
+
attr_accessor :RouteId, :DestinationCidrBlock, :ASPath, :Description, :UpdateTime
|
|
10146
10222
|
|
|
10147
|
-
def initialize(routeid=nil, destinationcidrblock=nil, aspath=nil)
|
|
10223
|
+
def initialize(routeid=nil, destinationcidrblock=nil, aspath=nil, description=nil, updatetime=nil)
|
|
10148
10224
|
@RouteId = routeid
|
|
10149
10225
|
@DestinationCidrBlock = destinationcidrblock
|
|
10150
10226
|
@ASPath = aspath
|
|
10227
|
+
@Description = description
|
|
10228
|
+
@UpdateTime = updatetime
|
|
10151
10229
|
end
|
|
10152
10230
|
|
|
10153
10231
|
def deserialize(params)
|
|
10154
10232
|
@RouteId = params['RouteId']
|
|
10155
10233
|
@DestinationCidrBlock = params['DestinationCidrBlock']
|
|
10156
10234
|
@ASPath = params['ASPath']
|
|
10235
|
+
@Description = params['Description']
|
|
10236
|
+
@UpdateTime = params['UpdateTime']
|
|
10157
10237
|
end
|
|
10158
10238
|
end
|
|
10159
10239
|
|
|
@@ -13791,10 +13871,18 @@ module TencentCloud
|
|
|
13791
13871
|
# @type HealthCheckLocalIp: String
|
|
13792
13872
|
# @param HealthCheckRemoteIp: 对端通道探测ip
|
|
13793
13873
|
# @type HealthCheckRemoteIp: String
|
|
13794
|
-
|
|
13795
|
-
|
|
13796
|
-
|
|
13797
|
-
|
|
13874
|
+
# @param NegotiationType: 协商类型,默认为active(主动协商)。可选值:active(主动协商),passive(被动协商),flowTrigger(流量协商)
|
|
13875
|
+
# @type NegotiationType: String
|
|
13876
|
+
# @param DpdEnable: DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1(开启)
|
|
13877
|
+
# @type DpdEnable: Integer
|
|
13878
|
+
# @param DpdTimeout: DPD超时时间。即探测确认对端不存在需要的时间。dpdEnable为1(开启)时有效。默认30,单位为秒
|
|
13879
|
+
# @type DpdTimeout: String
|
|
13880
|
+
# @param DpdAction: DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)
|
|
13881
|
+
# @type DpdAction: String
|
|
13882
|
+
|
|
13883
|
+
attr_accessor :VpnConnectionId, :VpnConnectionName, :PreShareKey, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction
|
|
13884
|
+
|
|
13885
|
+
def initialize(vpnconnectionid=nil, vpnconnectionname=nil, presharekey=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil)
|
|
13798
13886
|
@VpnConnectionId = vpnconnectionid
|
|
13799
13887
|
@VpnConnectionName = vpnconnectionname
|
|
13800
13888
|
@PreShareKey = presharekey
|
|
@@ -13804,6 +13892,10 @@ module TencentCloud
|
|
|
13804
13892
|
@EnableHealthCheck = enablehealthcheck
|
|
13805
13893
|
@HealthCheckLocalIp = healthchecklocalip
|
|
13806
13894
|
@HealthCheckRemoteIp = healthcheckremoteip
|
|
13895
|
+
@NegotiationType = negotiationtype
|
|
13896
|
+
@DpdEnable = dpdenable
|
|
13897
|
+
@DpdTimeout = dpdtimeout
|
|
13898
|
+
@DpdAction = dpdaction
|
|
13807
13899
|
end
|
|
13808
13900
|
|
|
13809
13901
|
def deserialize(params)
|
|
@@ -13829,6 +13921,10 @@ module TencentCloud
|
|
|
13829
13921
|
@EnableHealthCheck = params['EnableHealthCheck']
|
|
13830
13922
|
@HealthCheckLocalIp = params['HealthCheckLocalIp']
|
|
13831
13923
|
@HealthCheckRemoteIp = params['HealthCheckRemoteIp']
|
|
13924
|
+
@NegotiationType = params['NegotiationType']
|
|
13925
|
+
@DpdEnable = params['DpdEnable']
|
|
13926
|
+
@DpdTimeout = params['DpdTimeout']
|
|
13927
|
+
@DpdAction = params['DpdAction']
|
|
13832
13928
|
end
|
|
13833
13929
|
end
|
|
13834
13930
|
|
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.227
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-12-
|
|
11
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|