tencentcloud-sdk-vpc 3.0.1181 → 3.0.1191
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/client.rb +25 -1
- data/lib/v20170312/models.rb +124 -24
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2b666b0025dd14e2c6083c2454743e14e24c967
|
|
4
|
+
data.tar.gz: a102e1de331fc85bf29a360459843ba75137e0fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbc6359e31fc3de366eb6478f08366b8a0c97d38128006312038b6dac1be8a13b0e8941d8038d69759e70b17b79e7210e65d520dfde2035d670f3a62d14b5bb4
|
|
7
|
+
data.tar.gz: 67e655f9165560c111b75df55f756a658f8be810bd62dfa06816f56b653876f836abb28ed2660f9b069d2c71c4a796bb4a3088ba09c1667db5c0641035082f39
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1191
|
data/lib/v20170312/client.rb
CHANGED
|
@@ -1622,7 +1622,7 @@ module TencentCloud
|
|
|
1622
1622
|
# 本接口(CreateNetworkInterface)用于创建弹性网卡。
|
|
1623
1623
|
# * 创建弹性网卡时可以指定内网IP,并且可以指定一个主IP,指定的内网IP必须在弹性网卡所在子网内,而且不能被占用。
|
|
1624
1624
|
# * 创建弹性网卡时可以指定需要申请的内网IP数量,系统会随机生成内网IP地址。
|
|
1625
|
-
# * 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
|
1625
|
+
# * 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="https://cloud.tencent.com/document/product/576/18527">弹性网卡使用限制</a>。
|
|
1626
1626
|
# * 创建弹性网卡同时可以绑定已有安全组。
|
|
1627
1627
|
# * 创建弹性网卡同时可以绑定标签, 响应里的标签列表代表添加成功的标签。
|
|
1628
1628
|
# >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
@@ -5546,6 +5546,30 @@ module TencentCloud
|
|
|
5546
5546
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
5547
5547
|
end
|
|
5548
5548
|
|
|
5549
|
+
# 本接口(DescribeRoutePolicies)用于查询路由策略列表。
|
|
5550
|
+
|
|
5551
|
+
# @param request: Request instance for DescribeRoutePolicies.
|
|
5552
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeRoutePoliciesRequest`
|
|
5553
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeRoutePoliciesResponse`
|
|
5554
|
+
def DescribeRoutePolicies(request)
|
|
5555
|
+
body = send_request('DescribeRoutePolicies', request.serialize)
|
|
5556
|
+
response = JSON.parse(body)
|
|
5557
|
+
if response['Response'].key?('Error') == false
|
|
5558
|
+
model = DescribeRoutePoliciesResponse.new
|
|
5559
|
+
model.deserialize(response['Response'])
|
|
5560
|
+
model
|
|
5561
|
+
else
|
|
5562
|
+
code = response['Response']['Error']['Code']
|
|
5563
|
+
message = response['Response']['Error']['Message']
|
|
5564
|
+
reqid = response['Response']['RequestId']
|
|
5565
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
5566
|
+
end
|
|
5567
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
5568
|
+
raise e
|
|
5569
|
+
rescue StandardError => e
|
|
5570
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
5571
|
+
end
|
|
5572
|
+
|
|
5549
5573
|
# 本接口(DescribeRoutePolicyEntries)用于查询路由接收策略条目列表。
|
|
5550
5574
|
|
|
5551
5575
|
# @param request: Request instance for DescribeRoutePolicyEntries.
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -3362,16 +3362,19 @@ module TencentCloud
|
|
|
3362
3362
|
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
3363
3363
|
# 若指定Tags入参且指定IsCloneTags为true,会合并源安全组的标签和新增的标签。
|
|
3364
3364
|
# @type Tags: Array
|
|
3365
|
+
# @param IsCloneTags: 是否克隆标签。
|
|
3366
|
+
# @type IsCloneTags: Boolean
|
|
3365
3367
|
|
|
3366
|
-
attr_accessor :SecurityGroupId, :GroupName, :GroupDescription, :ProjectId, :RemoteRegion, :Tags
|
|
3368
|
+
attr_accessor :SecurityGroupId, :GroupName, :GroupDescription, :ProjectId, :RemoteRegion, :Tags, :IsCloneTags
|
|
3367
3369
|
|
|
3368
|
-
def initialize(securitygroupid=nil, groupname=nil, groupdescription=nil, projectid=nil, remoteregion=nil, tags=nil)
|
|
3370
|
+
def initialize(securitygroupid=nil, groupname=nil, groupdescription=nil, projectid=nil, remoteregion=nil, tags=nil, isclonetags=nil)
|
|
3369
3371
|
@SecurityGroupId = securitygroupid
|
|
3370
3372
|
@GroupName = groupname
|
|
3371
3373
|
@GroupDescription = groupdescription
|
|
3372
3374
|
@ProjectId = projectid
|
|
3373
3375
|
@RemoteRegion = remoteregion
|
|
3374
3376
|
@Tags = tags
|
|
3377
|
+
@IsCloneTags = isclonetags
|
|
3375
3378
|
end
|
|
3376
3379
|
|
|
3377
3380
|
def deserialize(params)
|
|
@@ -3388,6 +3391,7 @@ module TencentCloud
|
|
|
3388
3391
|
@Tags << tag_tmp
|
|
3389
3392
|
end
|
|
3390
3393
|
end
|
|
3394
|
+
@IsCloneTags = params['IsCloneTags']
|
|
3391
3395
|
end
|
|
3392
3396
|
end
|
|
3393
3397
|
|
|
@@ -6611,6 +6615,9 @@ module TencentCloud
|
|
|
6611
6615
|
# @type IpAddressType: String
|
|
6612
6616
|
|
|
6613
6617
|
attr_accessor :VpcId, :EndPointServiceName, :AutoAcceptFlag, :ServiceInstanceId, :IsPassService, :ServiceType, :Tags, :IpAddressType
|
|
6618
|
+
extend Gem::Deprecate
|
|
6619
|
+
deprecate :IsPassService, :none, 2025, 12
|
|
6620
|
+
deprecate :IsPassService=, :none, 2025, 12
|
|
6614
6621
|
|
|
6615
6622
|
def initialize(vpcid=nil, endpointservicename=nil, autoacceptflag=nil, serviceinstanceid=nil, ispassservice=nil, servicetype=nil, tags=nil, ipaddresstype=nil)
|
|
6616
6623
|
@VpcId = vpcid
|
|
@@ -11943,6 +11950,7 @@ module TencentCloud
|
|
|
11943
11950
|
# @param HaVipIds: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。
|
|
11944
11951
|
# @type HaVipIds: Array
|
|
11945
11952
|
# @param Filters: 过滤条件,参数不支持同时指定`HaVipIds`和`Filters`。<li>havip-id - String - `HAVIP`唯一`ID`,形如:`havip-9o233uri`。</li><li>havip-name - String - `HAVIP`名称。</li><li>vpc-id - String - `HAVIP`所在私有网络`ID`。</li><li>subnet-id - String - `HAVIP`所在子网`ID`。</li><li>vip - String - `HAVIP`的地址`VIP`。</li><li>address-ip - String - `HAVIP`绑定的弹性公网`IP`。</li><li>havip-association.instance-id - String - `HAVIP`绑定的子机或网卡。</li><li>havip-association.instance-type - String - `HAVIP`绑定的类型,取值:CVM, ENI。</li><li>check-associate - Bool - 是否开启HaVip飘移时校验绑定的子机或网卡。</li><li>cdc-id - String - CDC实例ID。</li>
|
|
11953
|
+
# <li>type- String - HAVIP类型。取值: NORMAL(普通); GWLB(网关负载均衡); OPTIMIZATION(优化模式)。</li>
|
|
11946
11954
|
# @type Filters: Array
|
|
11947
11955
|
# @param Offset: 偏移量,默认为0。
|
|
11948
11956
|
# @type Offset: Integer
|
|
@@ -14099,6 +14107,82 @@ module TencentCloud
|
|
|
14099
14107
|
end
|
|
14100
14108
|
end
|
|
14101
14109
|
|
|
14110
|
+
# DescribeRoutePolicies请求参数结构体
|
|
14111
|
+
class DescribeRoutePoliciesRequest < TencentCloud::Common::AbstractModel
|
|
14112
|
+
# @param RoutePolicyIds: 路由策略实例唯一ID。形如:rrp-q7ywkx31。每次请求的实例的上限为100。参数不支持同时指定RoutePolicyIds和Filters。
|
|
14113
|
+
# @type RoutePolicyIds: Array
|
|
14114
|
+
# @param Filters: 过滤条件,不支持同时指定RoutePolicyIds和Filters参数。
|
|
14115
|
+
# 支持的过滤条件如下:
|
|
14116
|
+
# <li>route-policy-name:路由策略实例名称,支持模糊查询。</li>
|
|
14117
|
+
# <li>route-policy-description:路由策略实例描述,支持模糊查询。</li>
|
|
14118
|
+
# <li>route-policy-id :路由策略实例ID,例如:rrp-q7ywkx3w。</li>
|
|
14119
|
+
|
|
14120
|
+
# **说明:**若同一个过滤条件(Filter)存在多个Values,则同一Filter下Values间的关系为逻辑或(OR)关系;若存在多个过滤条件(Filter),Filter之间的关系为逻辑与(AND)关系。
|
|
14121
|
+
# @type Filters: Array
|
|
14122
|
+
# @param Offset: 偏移量,默认为0。
|
|
14123
|
+
# @type Offset: String
|
|
14124
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
|
14125
|
+
# @type Limit: String
|
|
14126
|
+
# @param NeedRoutePolicyEntry: 是否返回路由策略条目。默认为False。当该参数为False时,仍然会返回空的返回空的RoutePolicyEntrySet。
|
|
14127
|
+
# @type NeedRoutePolicyEntry: Boolean
|
|
14128
|
+
|
|
14129
|
+
attr_accessor :RoutePolicyIds, :Filters, :Offset, :Limit, :NeedRoutePolicyEntry
|
|
14130
|
+
|
|
14131
|
+
def initialize(routepolicyids=nil, filters=nil, offset=nil, limit=nil, needroutepolicyentry=nil)
|
|
14132
|
+
@RoutePolicyIds = routepolicyids
|
|
14133
|
+
@Filters = filters
|
|
14134
|
+
@Offset = offset
|
|
14135
|
+
@Limit = limit
|
|
14136
|
+
@NeedRoutePolicyEntry = needroutepolicyentry
|
|
14137
|
+
end
|
|
14138
|
+
|
|
14139
|
+
def deserialize(params)
|
|
14140
|
+
@RoutePolicyIds = params['RoutePolicyIds']
|
|
14141
|
+
unless params['Filters'].nil?
|
|
14142
|
+
@Filters = []
|
|
14143
|
+
params['Filters'].each do |i|
|
|
14144
|
+
filter_tmp = Filter.new
|
|
14145
|
+
filter_tmp.deserialize(i)
|
|
14146
|
+
@Filters << filter_tmp
|
|
14147
|
+
end
|
|
14148
|
+
end
|
|
14149
|
+
@Offset = params['Offset']
|
|
14150
|
+
@Limit = params['Limit']
|
|
14151
|
+
@NeedRoutePolicyEntry = params['NeedRoutePolicyEntry']
|
|
14152
|
+
end
|
|
14153
|
+
end
|
|
14154
|
+
|
|
14155
|
+
# DescribeRoutePolicies返回参数结构体
|
|
14156
|
+
class DescribeRoutePoliciesResponse < TencentCloud::Common::AbstractModel
|
|
14157
|
+
# @param TotalCount: 符合条件的对象数。
|
|
14158
|
+
# @type TotalCount: Integer
|
|
14159
|
+
# @param RoutePolicySet: 路由策略对象。
|
|
14160
|
+
# @type RoutePolicySet: Array
|
|
14161
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14162
|
+
# @type RequestId: String
|
|
14163
|
+
|
|
14164
|
+
attr_accessor :TotalCount, :RoutePolicySet, :RequestId
|
|
14165
|
+
|
|
14166
|
+
def initialize(totalcount=nil, routepolicyset=nil, requestid=nil)
|
|
14167
|
+
@TotalCount = totalcount
|
|
14168
|
+
@RoutePolicySet = routepolicyset
|
|
14169
|
+
@RequestId = requestid
|
|
14170
|
+
end
|
|
14171
|
+
|
|
14172
|
+
def deserialize(params)
|
|
14173
|
+
@TotalCount = params['TotalCount']
|
|
14174
|
+
unless params['RoutePolicySet'].nil?
|
|
14175
|
+
@RoutePolicySet = []
|
|
14176
|
+
params['RoutePolicySet'].each do |i|
|
|
14177
|
+
routepolicy_tmp = RoutePolicy.new
|
|
14178
|
+
routepolicy_tmp.deserialize(i)
|
|
14179
|
+
@RoutePolicySet << routepolicy_tmp
|
|
14180
|
+
end
|
|
14181
|
+
end
|
|
14182
|
+
@RequestId = params['RequestId']
|
|
14183
|
+
end
|
|
14184
|
+
end
|
|
14185
|
+
|
|
14102
14186
|
# DescribeRoutePolicyEntries请求参数结构体
|
|
14103
14187
|
class DescribeRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
14104
14188
|
# @param Filters: 过滤条件,参数不支持同时指定RoutePolicyEntryIds和Filters。
|
|
@@ -14340,6 +14424,7 @@ module TencentCloud
|
|
|
14340
14424
|
# <li>association.main - String - (过滤条件)是否主路由表。</li>
|
|
14341
14425
|
# <li>tag-key - String -是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
|
|
14342
14426
|
# <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li>
|
|
14427
|
+
# <li>visible - String - (过滤条件)是否可见。</li>
|
|
14343
14428
|
# <li>next-hop-type - String - 是否必填:否 - (过滤条件)按下一跳类型进行过滤。使用next-hop-type进行过滤时,必须同时携带route-table-id与vpc-id。
|
|
14344
14429
|
# 目前我们支持的类型有:
|
|
14345
14430
|
# LOCAL: 本地路由
|
|
@@ -14353,6 +14438,7 @@ module TencentCloud
|
|
|
14353
14438
|
# EIP:云服务器的公网IP;
|
|
14354
14439
|
# CCN:云联网;
|
|
14355
14440
|
# LOCAL_GATEWAY:本地网关。
|
|
14441
|
+
# GWLB_ENDPOINT:网关负载均衡终端节点。
|
|
14356
14442
|
# </li>
|
|
14357
14443
|
# @type Filters: Array
|
|
14358
14444
|
# @param RouteTableIds: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
@@ -16175,23 +16261,17 @@ module TencentCloud
|
|
|
16175
16261
|
# @type RequestId: String
|
|
16176
16262
|
|
|
16177
16263
|
attr_accessor :VpcEndpointServiceUserSet, :VpcEndPointServiceUserSet, :TotalCount, :RequestId
|
|
16264
|
+
extend Gem::Deprecate
|
|
16265
|
+
deprecate :VpcEndpointServiceUserSet, :none, 2025, 12
|
|
16266
|
+
deprecate :VpcEndpointServiceUserSet=, :none, 2025, 12
|
|
16178
16267
|
|
|
16179
|
-
def initialize(vpcendpointserviceuserset=nil,
|
|
16180
|
-
@VpcEndpointServiceUserSet = vpcendpointserviceuserset
|
|
16268
|
+
def initialize(vpcendpointserviceuserset=nil, totalcount=nil, requestid=nil)
|
|
16181
16269
|
@VpcEndPointServiceUserSet = vpcendpointserviceuserset
|
|
16182
16270
|
@TotalCount = totalcount
|
|
16183
16271
|
@RequestId = requestid
|
|
16184
16272
|
end
|
|
16185
16273
|
|
|
16186
16274
|
def deserialize(params)
|
|
16187
|
-
unless params['VpcEndpointServiceUserSet'].nil?
|
|
16188
|
-
@VpcEndpointServiceUserSet = []
|
|
16189
|
-
params['VpcEndpointServiceUserSet'].each do |i|
|
|
16190
|
-
vpcendpointserviceuser_tmp = VpcEndPointServiceUser.new
|
|
16191
|
-
vpcendpointserviceuser_tmp.deserialize(i)
|
|
16192
|
-
@VpcEndpointServiceUserSet << vpcendpointserviceuser_tmp
|
|
16193
|
-
end
|
|
16194
|
-
end
|
|
16195
16275
|
unless params['VpcEndPointServiceUserSet'].nil?
|
|
16196
16276
|
@VpcEndPointServiceUserSet = []
|
|
16197
16277
|
params['VpcEndPointServiceUserSet'].each do |i|
|
|
@@ -23900,6 +23980,8 @@ module TencentCloud
|
|
|
23900
23980
|
# @type RestrictState: String
|
|
23901
23981
|
# @param NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
|
|
23902
23982
|
# @type NatProductVersion: Integer
|
|
23983
|
+
# @param StrictSnatMode: true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
|
|
23984
|
+
# @type StrictSnatMode: Boolean
|
|
23903
23985
|
# @param SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
|
|
23904
23986
|
# @type SmartScheduleMode: Boolean
|
|
23905
23987
|
# @param DedicatedClusterId: NAT实例归属的专属集群id
|
|
@@ -23910,10 +23992,16 @@ module TencentCloud
|
|
|
23910
23992
|
# @type ConnectionStateTimeouts: :class:`Tencentcloud::Vpc.v20170312.models.ConnectionStateTimeouts`
|
|
23911
23993
|
# @param ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
|
|
23912
23994
|
# @type ExclusiveType: String
|
|
23995
|
+
# @param AutoScaling: 标准型NAT网关自动扩容
|
|
23996
|
+
# @type AutoScaling: Boolean
|
|
23997
|
+
# @param ICMPProxy: 是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
|
|
23998
|
+
# @type ICMPProxy: Boolean
|
|
23999
|
+
# @param PublicAddressAffinity: true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
|
|
24000
|
+
# @type PublicAddressAffinity: Boolean
|
|
23913
24001
|
|
|
23914
|
-
attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth, :RestrictState, :NatProductVersion, :SmartScheduleMode, :DedicatedClusterId, :DeletionProtectionEnabled, :ConnectionStateTimeouts, :ExclusiveType
|
|
24002
|
+
attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth, :RestrictState, :NatProductVersion, :StrictSnatMode, :SmartScheduleMode, :DedicatedClusterId, :DeletionProtectionEnabled, :ConnectionStateTimeouts, :ExclusiveType, :AutoScaling, :ICMPProxy, :PublicAddressAffinity
|
|
23915
24003
|
|
|
23916
|
-
def initialize(natgatewayid=nil, natgatewayname=nil, createdtime=nil, state=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, publicipaddressset=nil, networkstate=nil, destinationipporttranslationnatruleset=nil, vpcid=nil, zone=nil, directconnectgatewayids=nil, subnetid=nil, tagset=nil, securitygroupset=nil, sourceiptranslationnatruleset=nil, isexclusive=nil, exclusivegatewaybandwidth=nil, restrictstate=nil, natproductversion=nil, smartschedulemode=nil, dedicatedclusterid=nil, deletionprotectionenabled=nil, connectionstatetimeouts=nil, exclusivetype=nil)
|
|
24004
|
+
def initialize(natgatewayid=nil, natgatewayname=nil, createdtime=nil, state=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, publicipaddressset=nil, networkstate=nil, destinationipporttranslationnatruleset=nil, vpcid=nil, zone=nil, directconnectgatewayids=nil, subnetid=nil, tagset=nil, securitygroupset=nil, sourceiptranslationnatruleset=nil, isexclusive=nil, exclusivegatewaybandwidth=nil, restrictstate=nil, natproductversion=nil, strictsnatmode=nil, smartschedulemode=nil, dedicatedclusterid=nil, deletionprotectionenabled=nil, connectionstatetimeouts=nil, exclusivetype=nil, autoscaling=nil, icmpproxy=nil, publicaddressaffinity=nil)
|
|
23917
24005
|
@NatGatewayId = natgatewayid
|
|
23918
24006
|
@NatGatewayName = natgatewayname
|
|
23919
24007
|
@CreatedTime = createdtime
|
|
@@ -23934,11 +24022,15 @@ module TencentCloud
|
|
|
23934
24022
|
@ExclusiveGatewayBandwidth = exclusivegatewaybandwidth
|
|
23935
24023
|
@RestrictState = restrictstate
|
|
23936
24024
|
@NatProductVersion = natproductversion
|
|
24025
|
+
@StrictSnatMode = strictsnatmode
|
|
23937
24026
|
@SmartScheduleMode = smartschedulemode
|
|
23938
24027
|
@DedicatedClusterId = dedicatedclusterid
|
|
23939
24028
|
@DeletionProtectionEnabled = deletionprotectionenabled
|
|
23940
24029
|
@ConnectionStateTimeouts = connectionstatetimeouts
|
|
23941
24030
|
@ExclusiveType = exclusivetype
|
|
24031
|
+
@AutoScaling = autoscaling
|
|
24032
|
+
@ICMPProxy = icmpproxy
|
|
24033
|
+
@PublicAddressAffinity = publicaddressaffinity
|
|
23942
24034
|
end
|
|
23943
24035
|
|
|
23944
24036
|
def deserialize(params)
|
|
@@ -23990,6 +24082,7 @@ module TencentCloud
|
|
|
23990
24082
|
@ExclusiveGatewayBandwidth = params['ExclusiveGatewayBandwidth']
|
|
23991
24083
|
@RestrictState = params['RestrictState']
|
|
23992
24084
|
@NatProductVersion = params['NatProductVersion']
|
|
24085
|
+
@StrictSnatMode = params['StrictSnatMode']
|
|
23993
24086
|
@SmartScheduleMode = params['SmartScheduleMode']
|
|
23994
24087
|
@DedicatedClusterId = params['DedicatedClusterId']
|
|
23995
24088
|
@DeletionProtectionEnabled = params['DeletionProtectionEnabled']
|
|
@@ -23998,6 +24091,9 @@ module TencentCloud
|
|
|
23998
24091
|
@ConnectionStateTimeouts.deserialize(params['ConnectionStateTimeouts'])
|
|
23999
24092
|
end
|
|
24000
24093
|
@ExclusiveType = params['ExclusiveType']
|
|
24094
|
+
@AutoScaling = params['AutoScaling']
|
|
24095
|
+
@ICMPProxy = params['ICMPProxy']
|
|
24096
|
+
@PublicAddressAffinity = params['PublicAddressAffinity']
|
|
24001
24097
|
end
|
|
24002
24098
|
end
|
|
24003
24099
|
|
|
@@ -25745,7 +25841,7 @@ module TencentCloud
|
|
|
25745
25841
|
class ReplaceHighPriorityRouteTableAssociationRequest < TencentCloud::Common::AbstractModel
|
|
25746
25842
|
# @param HighPriorityRouteTableId: 高优路由表唯一 ID。
|
|
25747
25843
|
# @type HighPriorityRouteTableId: String
|
|
25748
|
-
# @param SubnetId: 子网唯一 ID
|
|
25844
|
+
# @param SubnetId: 子网唯一 ID。对于存在子网唯一ID的场景,该参数为必选。对于不存在子网ID的特殊场景,SubnetId和CidrBlock参数至少提供一个,二选一。
|
|
25749
25845
|
# @type SubnetId: String
|
|
25750
25846
|
|
|
25751
25847
|
attr_accessor :HighPriorityRouteTableId, :SubnetId
|
|
@@ -25926,21 +26022,21 @@ module TencentCloud
|
|
|
25926
26022
|
|
|
25927
26023
|
# ReplaceRouteTableAssociation请求参数结构体
|
|
25928
26024
|
class ReplaceRouteTableAssociationRequest < TencentCloud::Common::AbstractModel
|
|
25929
|
-
# @param SubnetId: 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
|
|
25930
|
-
# @type SubnetId: String
|
|
25931
26025
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
25932
26026
|
# @type RouteTableId: String
|
|
26027
|
+
# @param SubnetId: 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。对于存在子网唯一ID的子网,该参数为必选;否则, SubnetId和CidrBlock必选二选一。
|
|
26028
|
+
# @type SubnetId: String
|
|
25933
26029
|
|
|
25934
|
-
attr_accessor :
|
|
26030
|
+
attr_accessor :RouteTableId, :SubnetId
|
|
25935
26031
|
|
|
25936
|
-
def initialize(
|
|
25937
|
-
@SubnetId = subnetid
|
|
26032
|
+
def initialize(routetableid=nil, subnetid=nil)
|
|
25938
26033
|
@RouteTableId = routetableid
|
|
26034
|
+
@SubnetId = subnetid
|
|
25939
26035
|
end
|
|
25940
26036
|
|
|
25941
26037
|
def deserialize(params)
|
|
25942
|
-
@SubnetId = params['SubnetId']
|
|
25943
26038
|
@RouteTableId = params['RouteTableId']
|
|
26039
|
+
@SubnetId = params['SubnetId']
|
|
25944
26040
|
end
|
|
25945
26041
|
end
|
|
25946
26042
|
|
|
@@ -26031,15 +26127,18 @@ module TencentCloud
|
|
|
26031
26127
|
# @type SecurityGroupId: String
|
|
26032
26128
|
# @param SecurityGroupPolicySet: 安全组规则集合对象。
|
|
26033
26129
|
# @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
|
26034
|
-
# @param OriginalSecurityGroupPolicySet:
|
|
26130
|
+
# @param OriginalSecurityGroupPolicySet: 旧的安全组规则集合对象,当更新优先级时为必选,且修改顺序与SecurityGroupPolicySet参数顺序一一对应,入参长度需要与SecurityGroupPolicySet参数保持一致。
|
|
26035
26131
|
# @type OriginalSecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
|
26132
|
+
# @param UpdateType: 更新类型,默认 Policy Policy:只更新内容 Priority:只更新优先级 Both:内容和优先级都更新
|
|
26133
|
+
# @type UpdateType: String
|
|
26036
26134
|
|
|
26037
|
-
attr_accessor :SecurityGroupId, :SecurityGroupPolicySet, :OriginalSecurityGroupPolicySet
|
|
26135
|
+
attr_accessor :SecurityGroupId, :SecurityGroupPolicySet, :OriginalSecurityGroupPolicySet, :UpdateType
|
|
26038
26136
|
|
|
26039
|
-
def initialize(securitygroupid=nil, securitygrouppolicyset=nil, originalsecuritygrouppolicyset=nil)
|
|
26137
|
+
def initialize(securitygroupid=nil, securitygrouppolicyset=nil, originalsecuritygrouppolicyset=nil, updatetype=nil)
|
|
26040
26138
|
@SecurityGroupId = securitygroupid
|
|
26041
26139
|
@SecurityGroupPolicySet = securitygrouppolicyset
|
|
26042
26140
|
@OriginalSecurityGroupPolicySet = originalsecuritygrouppolicyset
|
|
26141
|
+
@UpdateType = updatetype
|
|
26043
26142
|
end
|
|
26044
26143
|
|
|
26045
26144
|
def deserialize(params)
|
|
@@ -26052,6 +26151,7 @@ module TencentCloud
|
|
|
26052
26151
|
@OriginalSecurityGroupPolicySet = SecurityGroupPolicySet.new
|
|
26053
26152
|
@OriginalSecurityGroupPolicySet.deserialize(params['OriginalSecurityGroupPolicySet'])
|
|
26054
26153
|
end
|
|
26154
|
+
@UpdateType = params['UpdateType']
|
|
26055
26155
|
end
|
|
26056
26156
|
end
|
|
26057
26157
|
|
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.1191
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,8 +33,8 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20170312/models.rb
|
|
37
36
|
- lib/v20170312/client.rb
|
|
37
|
+
- lib/v20170312/models.rb
|
|
38
38
|
- lib/tencentcloud-sdk-vpc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|