tencentcloud-sdk-vpc 3.0.1153 → 3.0.1160
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 +312 -0
- data/lib/v20170312/models.rb +805 -9
- metadata +3 -3
data/lib/v20170312/models.rb
CHANGED
|
@@ -624,6 +624,13 @@ module TencentCloud
|
|
|
624
624
|
# @type UpdatedTime: String
|
|
625
625
|
|
|
626
626
|
attr_accessor :AddressTemplateId, :AddressTemplateName, :From, :To, :Description, :UpdatedTime
|
|
627
|
+
extend Gem::Deprecate
|
|
628
|
+
deprecate :AddressTemplateName, :none, 2025, 10
|
|
629
|
+
deprecate :AddressTemplateName=, :none, 2025, 10
|
|
630
|
+
deprecate :From, :none, 2025, 10
|
|
631
|
+
deprecate :From=, :none, 2025, 10
|
|
632
|
+
deprecate :To, :none, 2025, 10
|
|
633
|
+
deprecate :To=, :none, 2025, 10
|
|
627
634
|
|
|
628
635
|
def initialize(addresstemplateid=nil, addresstemplatename=nil, from=nil, to=nil, description=nil, updatedtime=nil)
|
|
629
636
|
@AddressTemplateId = addresstemplateid
|
|
@@ -3397,6 +3404,9 @@ module TencentCloud
|
|
|
3397
3404
|
# @type ConflictId: String
|
|
3398
3405
|
|
|
3399
3406
|
attr_accessor :ConfilctId, :DestinationItem, :ConflictId
|
|
3407
|
+
extend Gem::Deprecate
|
|
3408
|
+
deprecate :ConfilctId, :none, 2025, 10
|
|
3409
|
+
deprecate :ConfilctId=, :none, 2025, 10
|
|
3400
3410
|
|
|
3401
3411
|
def initialize(confilctid=nil, destinationitem=nil, conflictid=nil)
|
|
3402
3412
|
@ConfilctId = confilctid
|
|
@@ -4306,7 +4316,7 @@ module TencentCloud
|
|
|
4306
4316
|
class CreateFlowLogRequest < TencentCloud::Common::AbstractModel
|
|
4307
4317
|
# @param FlowLogName: 流日志实例名称。长度为不超过60个字符。
|
|
4308
4318
|
# @type FlowLogName: String
|
|
4309
|
-
# @param ResourceType: 流日志所属资源类型,
|
|
4319
|
+
# @param ResourceType: 流日志所属资源类型,NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择CCN,DCG时,请通过工单加入白名单。
|
|
4310
4320
|
# @type ResourceType: String
|
|
4311
4321
|
# @param ResourceId: 资源唯一ID。
|
|
4312
4322
|
# @type ResourceId: String
|
|
@@ -4327,10 +4337,12 @@ module TencentCloud
|
|
|
4327
4337
|
# @type FlowLogStorage: :class:`Tencentcloud::Vpc.v20170312.models.FlowLogStorage`
|
|
4328
4338
|
# @param CloudLogRegion: 流日志存储ID对应的地域,不传递默认为本地域。
|
|
4329
4339
|
# @type CloudLogRegion: String
|
|
4340
|
+
# @param Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
|
|
4341
|
+
# @type Period: Integer
|
|
4330
4342
|
|
|
4331
|
-
attr_accessor :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :VpcId, :FlowLogDescription, :CloudLogId, :Tags, :StorageType, :FlowLogStorage, :CloudLogRegion
|
|
4343
|
+
attr_accessor :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :VpcId, :FlowLogDescription, :CloudLogId, :Tags, :StorageType, :FlowLogStorage, :CloudLogRegion, :Period
|
|
4332
4344
|
|
|
4333
|
-
def initialize(flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, vpcid=nil, flowlogdescription=nil, cloudlogid=nil, tags=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil)
|
|
4345
|
+
def initialize(flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, vpcid=nil, flowlogdescription=nil, cloudlogid=nil, tags=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil, period=nil)
|
|
4334
4346
|
@FlowLogName = flowlogname
|
|
4335
4347
|
@ResourceType = resourcetype
|
|
4336
4348
|
@ResourceId = resourceid
|
|
@@ -4342,6 +4354,7 @@ module TencentCloud
|
|
|
4342
4354
|
@StorageType = storagetype
|
|
4343
4355
|
@FlowLogStorage = flowlogstorage
|
|
4344
4356
|
@CloudLogRegion = cloudlogregion
|
|
4357
|
+
@Period = period
|
|
4345
4358
|
end
|
|
4346
4359
|
|
|
4347
4360
|
def deserialize(params)
|
|
@@ -4366,6 +4379,7 @@ module TencentCloud
|
|
|
4366
4379
|
@FlowLogStorage.deserialize(params['FlowLogStorage'])
|
|
4367
4380
|
end
|
|
4368
4381
|
@CloudLogRegion = params['CloudLogRegion']
|
|
4382
|
+
@Period = params['Period']
|
|
4369
4383
|
end
|
|
4370
4384
|
end
|
|
4371
4385
|
|
|
@@ -5571,6 +5585,142 @@ module TencentCloud
|
|
|
5571
5585
|
end
|
|
5572
5586
|
end
|
|
5573
5587
|
|
|
5588
|
+
# CreateRoutePolicyAssociations请求参数结构体
|
|
5589
|
+
class CreateRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
5590
|
+
# @param RoutePolicyAssociationSet: 路由接收策略绑定对象列表。
|
|
5591
|
+
# @type RoutePolicyAssociationSet: Array
|
|
5592
|
+
|
|
5593
|
+
attr_accessor :RoutePolicyAssociationSet
|
|
5594
|
+
|
|
5595
|
+
def initialize(routepolicyassociationset=nil)
|
|
5596
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
5597
|
+
end
|
|
5598
|
+
|
|
5599
|
+
def deserialize(params)
|
|
5600
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
5601
|
+
@RoutePolicyAssociationSet = []
|
|
5602
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
5603
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
5604
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
5605
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
5606
|
+
end
|
|
5607
|
+
end
|
|
5608
|
+
end
|
|
5609
|
+
end
|
|
5610
|
+
|
|
5611
|
+
# CreateRoutePolicyAssociations返回参数结构体
|
|
5612
|
+
class CreateRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
5613
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5614
|
+
# @type RequestId: String
|
|
5615
|
+
|
|
5616
|
+
attr_accessor :RequestId
|
|
5617
|
+
|
|
5618
|
+
def initialize(requestid=nil)
|
|
5619
|
+
@RequestId = requestid
|
|
5620
|
+
end
|
|
5621
|
+
|
|
5622
|
+
def deserialize(params)
|
|
5623
|
+
@RequestId = params['RequestId']
|
|
5624
|
+
end
|
|
5625
|
+
end
|
|
5626
|
+
|
|
5627
|
+
# CreateRoutePolicyEntries请求参数结构体
|
|
5628
|
+
class CreateRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
5629
|
+
# @param RoutePolicyId: 路由接收策略实例ID。
|
|
5630
|
+
# @type RoutePolicyId: String
|
|
5631
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表。
|
|
5632
|
+
# @type RoutePolicyEntrySet: Array
|
|
5633
|
+
|
|
5634
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet
|
|
5635
|
+
|
|
5636
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil)
|
|
5637
|
+
@RoutePolicyId = routepolicyid
|
|
5638
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
5639
|
+
end
|
|
5640
|
+
|
|
5641
|
+
def deserialize(params)
|
|
5642
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
5643
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
5644
|
+
@RoutePolicyEntrySet = []
|
|
5645
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
5646
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
5647
|
+
routepolicyentry_tmp.deserialize(i)
|
|
5648
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
5649
|
+
end
|
|
5650
|
+
end
|
|
5651
|
+
end
|
|
5652
|
+
end
|
|
5653
|
+
|
|
5654
|
+
# CreateRoutePolicyEntries返回参数结构体
|
|
5655
|
+
class CreateRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
5656
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5657
|
+
# @type RequestId: String
|
|
5658
|
+
|
|
5659
|
+
attr_accessor :RequestId
|
|
5660
|
+
|
|
5661
|
+
def initialize(requestid=nil)
|
|
5662
|
+
@RequestId = requestid
|
|
5663
|
+
end
|
|
5664
|
+
|
|
5665
|
+
def deserialize(params)
|
|
5666
|
+
@RequestId = params['RequestId']
|
|
5667
|
+
end
|
|
5668
|
+
end
|
|
5669
|
+
|
|
5670
|
+
# CreateRoutePolicy请求参数结构体
|
|
5671
|
+
class CreateRoutePolicyRequest < TencentCloud::Common::AbstractModel
|
|
5672
|
+
# @param RoutePolicyDescription: 路由策略描述。
|
|
5673
|
+
# @type RoutePolicyDescription: String
|
|
5674
|
+
# @param RoutePolicyName: 路由策略名。
|
|
5675
|
+
# @type RoutePolicyName: String
|
|
5676
|
+
# @param RoutePolicyEntrySet: 路由策略条目列表。
|
|
5677
|
+
# @type RoutePolicyEntrySet: Array
|
|
5678
|
+
|
|
5679
|
+
attr_accessor :RoutePolicyDescription, :RoutePolicyName, :RoutePolicyEntrySet
|
|
5680
|
+
|
|
5681
|
+
def initialize(routepolicydescription=nil, routepolicyname=nil, routepolicyentryset=nil)
|
|
5682
|
+
@RoutePolicyDescription = routepolicydescription
|
|
5683
|
+
@RoutePolicyName = routepolicyname
|
|
5684
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
5685
|
+
end
|
|
5686
|
+
|
|
5687
|
+
def deserialize(params)
|
|
5688
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
5689
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
5690
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
5691
|
+
@RoutePolicyEntrySet = []
|
|
5692
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
5693
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
5694
|
+
routepolicyentry_tmp.deserialize(i)
|
|
5695
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
5696
|
+
end
|
|
5697
|
+
end
|
|
5698
|
+
end
|
|
5699
|
+
end
|
|
5700
|
+
|
|
5701
|
+
# CreateRoutePolicy返回参数结构体
|
|
5702
|
+
class CreateRoutePolicyResponse < TencentCloud::Common::AbstractModel
|
|
5703
|
+
# @param RoutePolicy: 路由策略ID及规则。
|
|
5704
|
+
# @type RoutePolicy: :class:`Tencentcloud::Vpc.v20170312.models.RoutePolicy`
|
|
5705
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5706
|
+
# @type RequestId: String
|
|
5707
|
+
|
|
5708
|
+
attr_accessor :RoutePolicy, :RequestId
|
|
5709
|
+
|
|
5710
|
+
def initialize(routepolicy=nil, requestid=nil)
|
|
5711
|
+
@RoutePolicy = routepolicy
|
|
5712
|
+
@RequestId = requestid
|
|
5713
|
+
end
|
|
5714
|
+
|
|
5715
|
+
def deserialize(params)
|
|
5716
|
+
unless params['RoutePolicy'].nil?
|
|
5717
|
+
@RoutePolicy = RoutePolicy.new
|
|
5718
|
+
@RoutePolicy.deserialize(params['RoutePolicy'])
|
|
5719
|
+
end
|
|
5720
|
+
@RequestId = params['RequestId']
|
|
5721
|
+
end
|
|
5722
|
+
end
|
|
5723
|
+
|
|
5574
5724
|
# CreateRouteTable请求参数结构体
|
|
5575
5725
|
class CreateRouteTableRequest < TencentCloud::Common::AbstractModel
|
|
5576
5726
|
# @param VpcId: 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
|
@@ -8538,6 +8688,120 @@ module TencentCloud
|
|
|
8538
8688
|
end
|
|
8539
8689
|
end
|
|
8540
8690
|
|
|
8691
|
+
# DeleteRoutePolicyAssociations请求参数结构体
|
|
8692
|
+
class DeleteRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
8693
|
+
# @param RoutePolicyAssociationSet: 路由策略绑定对象列表,删除路由策略绑定时,仅需使用RoutePolicyAssociation的RouteTableId字段和RoutePolicyId字段(不需要填写Priority字段)。
|
|
8694
|
+
# @type RoutePolicyAssociationSet: Array
|
|
8695
|
+
|
|
8696
|
+
attr_accessor :RoutePolicyAssociationSet
|
|
8697
|
+
|
|
8698
|
+
def initialize(routepolicyassociationset=nil)
|
|
8699
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
8700
|
+
end
|
|
8701
|
+
|
|
8702
|
+
def deserialize(params)
|
|
8703
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
8704
|
+
@RoutePolicyAssociationSet = []
|
|
8705
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
8706
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
8707
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
8708
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
8709
|
+
end
|
|
8710
|
+
end
|
|
8711
|
+
end
|
|
8712
|
+
end
|
|
8713
|
+
|
|
8714
|
+
# DeleteRoutePolicyAssociations返回参数结构体
|
|
8715
|
+
class DeleteRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
8716
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8717
|
+
# @type RequestId: String
|
|
8718
|
+
|
|
8719
|
+
attr_accessor :RequestId
|
|
8720
|
+
|
|
8721
|
+
def initialize(requestid=nil)
|
|
8722
|
+
@RequestId = requestid
|
|
8723
|
+
end
|
|
8724
|
+
|
|
8725
|
+
def deserialize(params)
|
|
8726
|
+
@RequestId = params['RequestId']
|
|
8727
|
+
end
|
|
8728
|
+
end
|
|
8729
|
+
|
|
8730
|
+
# DeleteRoutePolicyEntries请求参数结构体
|
|
8731
|
+
class DeleteRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
8732
|
+
# @param RoutePolicyId: 路由接收策略实例ID。
|
|
8733
|
+
# @type RoutePolicyId: String
|
|
8734
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表,删除路由策略规则时,仅需使用RoutePolicyEntry的RoutePolicyEntryIdId字段。
|
|
8735
|
+
# @type RoutePolicyEntrySet: Array
|
|
8736
|
+
|
|
8737
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet
|
|
8738
|
+
|
|
8739
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil)
|
|
8740
|
+
@RoutePolicyId = routepolicyid
|
|
8741
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
8742
|
+
end
|
|
8743
|
+
|
|
8744
|
+
def deserialize(params)
|
|
8745
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
8746
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
8747
|
+
@RoutePolicyEntrySet = []
|
|
8748
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
8749
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
8750
|
+
routepolicyentry_tmp.deserialize(i)
|
|
8751
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
8752
|
+
end
|
|
8753
|
+
end
|
|
8754
|
+
end
|
|
8755
|
+
end
|
|
8756
|
+
|
|
8757
|
+
# DeleteRoutePolicyEntries返回参数结构体
|
|
8758
|
+
class DeleteRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
8759
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8760
|
+
# @type RequestId: String
|
|
8761
|
+
|
|
8762
|
+
attr_accessor :RequestId
|
|
8763
|
+
|
|
8764
|
+
def initialize(requestid=nil)
|
|
8765
|
+
@RequestId = requestid
|
|
8766
|
+
end
|
|
8767
|
+
|
|
8768
|
+
def deserialize(params)
|
|
8769
|
+
@RequestId = params['RequestId']
|
|
8770
|
+
end
|
|
8771
|
+
end
|
|
8772
|
+
|
|
8773
|
+
# DeleteRoutePolicy请求参数结构体
|
|
8774
|
+
class DeleteRoutePolicyRequest < TencentCloud::Common::AbstractModel
|
|
8775
|
+
# @param RoutePolicyId: 路由接收策略唯一ID。
|
|
8776
|
+
# @type RoutePolicyId: String
|
|
8777
|
+
|
|
8778
|
+
attr_accessor :RoutePolicyId
|
|
8779
|
+
|
|
8780
|
+
def initialize(routepolicyid=nil)
|
|
8781
|
+
@RoutePolicyId = routepolicyid
|
|
8782
|
+
end
|
|
8783
|
+
|
|
8784
|
+
def deserialize(params)
|
|
8785
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
8786
|
+
end
|
|
8787
|
+
end
|
|
8788
|
+
|
|
8789
|
+
# DeleteRoutePolicy返回参数结构体
|
|
8790
|
+
class DeleteRoutePolicyResponse < TencentCloud::Common::AbstractModel
|
|
8791
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8792
|
+
# @type RequestId: String
|
|
8793
|
+
|
|
8794
|
+
attr_accessor :RequestId
|
|
8795
|
+
|
|
8796
|
+
def initialize(requestid=nil)
|
|
8797
|
+
@RequestId = requestid
|
|
8798
|
+
end
|
|
8799
|
+
|
|
8800
|
+
def deserialize(params)
|
|
8801
|
+
@RequestId = params['RequestId']
|
|
8802
|
+
end
|
|
8803
|
+
end
|
|
8804
|
+
|
|
8541
8805
|
# DeleteRouteTable请求参数结构体
|
|
8542
8806
|
class DeleteRouteTableRequest < TencentCloud::Common::AbstractModel
|
|
8543
8807
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
@@ -9657,11 +9921,11 @@ module TencentCloud
|
|
|
9657
9921
|
# @type AddressIds: Array
|
|
9658
9922
|
# @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
|
|
9659
9923
|
# <li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-id。</li>
|
|
9660
|
-
# <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name
|
|
9924
|
+
# <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。注意:当指定 address-name 参数时,仅支持按第一个传入的 address-name 参数执行查询操作。</li>
|
|
9661
9925
|
# <li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-ip。</li>
|
|
9662
9926
|
# <li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING':创建中,'BINDING':绑定中,'BIND':已绑,'UNBINDING':解绑中,'UNBIND':未绑定,'OFFLINING':下线中,'BIND_ENI':绑定了ENI。</li>
|
|
9663
9927
|
# <li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取instance-id。</li>
|
|
9664
|
-
# <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address
|
|
9928
|
+
# <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。注意:当指定 private-ip-address 参数时,仅支持按第一个传入的 private-ip-address 参数执行查询操作。</li>
|
|
9665
9929
|
# <li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取network-interface-id。</li>
|
|
9666
9930
|
# <li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
9667
9931
|
# <li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP':普通公网 IP, 'EIP':弹性公网 IP,'AnycastEIP':加速 IP,'HighQualityEIP':精品弹性公网 IP, 'AntiDDoSEIP':高防 IP。默认值是'EIP'。</li>
|
|
@@ -13730,6 +13994,91 @@ module TencentCloud
|
|
|
13730
13994
|
end
|
|
13731
13995
|
end
|
|
13732
13996
|
|
|
13997
|
+
# DescribeRoutePolicyEntries请求参数结构体
|
|
13998
|
+
class DescribeRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
13999
|
+
# @param Filters: 过滤条件,参数不支持同时指定RoutePolicyEntryIds和Filters。
|
|
14000
|
+
# <li>route-policy-id - String - (过滤条件)路由接收策略实例ID,形如:rrp-f49l6u0z。</li>
|
|
14001
|
+
# <li>cidr-block - String - (过滤条件)CIDR(只取掩码前的子网部分),形如:10.0.0.0/8。</li>
|
|
14002
|
+
# <li>priority - Integer - (过滤条件)优先级,形如:20。</li>
|
|
14003
|
+
# <li>gateway-type - String - (过滤条件)下一跳类型,形如:CVM。</li>
|
|
14004
|
+
# <li>gateway-id - String - (过滤条件)下一跳实例唯一ID,形如:ccn-f49l6u0z。</li>
|
|
14005
|
+
# <li>route-type - String - (过滤条件)路由类型,取值:USER(用户路由),NETD(网络探测下发的路由),CCN(云联网路由)。</li>
|
|
14006
|
+
# <li>action - String - (过滤条件)动作,取值:DROP(丢弃),DISABLE(接收且禁用),ACCEPT(接收且启用)。</li>
|
|
14007
|
+
# <li>description - String - (过滤条件)描述,形如:TEST。</li>
|
|
14008
|
+
# <li>route-policy-item-id - String - (过滤条件)路由接收策略条目唯一ID,形如:rrpi-dq782kw7。</li>
|
|
14009
|
+
# @type Filters: Array
|
|
14010
|
+
# @param Offset: 偏移量。
|
|
14011
|
+
# @type Offset: Integer
|
|
14012
|
+
# @param Limit: 请求对象个数。
|
|
14013
|
+
# @type Limit: Integer
|
|
14014
|
+
# @param OrderField: 排序字段。当前只支持优先级Prioriry字段。
|
|
14015
|
+
# @type OrderField: String
|
|
14016
|
+
# @param OrderDirection: 排序方向。
|
|
14017
|
+
# ASC:升序。
|
|
14018
|
+
# DESC:降序。
|
|
14019
|
+
# @type OrderDirection: String
|
|
14020
|
+
# @param RoutePolicyEntryIds: 路由策略条目ID。
|
|
14021
|
+
# @type RoutePolicyEntryIds: Array
|
|
14022
|
+
|
|
14023
|
+
attr_accessor :Filters, :Offset, :Limit, :OrderField, :OrderDirection, :RoutePolicyEntryIds
|
|
14024
|
+
|
|
14025
|
+
def initialize(filters=nil, offset=nil, limit=nil, orderfield=nil, orderdirection=nil, routepolicyentryids=nil)
|
|
14026
|
+
@Filters = filters
|
|
14027
|
+
@Offset = offset
|
|
14028
|
+
@Limit = limit
|
|
14029
|
+
@OrderField = orderfield
|
|
14030
|
+
@OrderDirection = orderdirection
|
|
14031
|
+
@RoutePolicyEntryIds = routepolicyentryids
|
|
14032
|
+
end
|
|
14033
|
+
|
|
14034
|
+
def deserialize(params)
|
|
14035
|
+
unless params['Filters'].nil?
|
|
14036
|
+
@Filters = []
|
|
14037
|
+
params['Filters'].each do |i|
|
|
14038
|
+
filter_tmp = Filter.new
|
|
14039
|
+
filter_tmp.deserialize(i)
|
|
14040
|
+
@Filters << filter_tmp
|
|
14041
|
+
end
|
|
14042
|
+
end
|
|
14043
|
+
@Offset = params['Offset']
|
|
14044
|
+
@Limit = params['Limit']
|
|
14045
|
+
@OrderField = params['OrderField']
|
|
14046
|
+
@OrderDirection = params['OrderDirection']
|
|
14047
|
+
@RoutePolicyEntryIds = params['RoutePolicyEntryIds']
|
|
14048
|
+
end
|
|
14049
|
+
end
|
|
14050
|
+
|
|
14051
|
+
# DescribeRoutePolicyEntries返回参数结构体
|
|
14052
|
+
class DescribeRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
14053
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表。
|
|
14054
|
+
# @type RoutePolicyEntrySet: Array
|
|
14055
|
+
# @param TotalCount: 符合条件的实例数量。
|
|
14056
|
+
# @type TotalCount: Integer
|
|
14057
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14058
|
+
# @type RequestId: String
|
|
14059
|
+
|
|
14060
|
+
attr_accessor :RoutePolicyEntrySet, :TotalCount, :RequestId
|
|
14061
|
+
|
|
14062
|
+
def initialize(routepolicyentryset=nil, totalcount=nil, requestid=nil)
|
|
14063
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
14064
|
+
@TotalCount = totalcount
|
|
14065
|
+
@RequestId = requestid
|
|
14066
|
+
end
|
|
14067
|
+
|
|
14068
|
+
def deserialize(params)
|
|
14069
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
14070
|
+
@RoutePolicyEntrySet = []
|
|
14071
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
14072
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
14073
|
+
routepolicyentry_tmp.deserialize(i)
|
|
14074
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
14075
|
+
end
|
|
14076
|
+
end
|
|
14077
|
+
@TotalCount = params['TotalCount']
|
|
14078
|
+
@RequestId = params['RequestId']
|
|
14079
|
+
end
|
|
14080
|
+
end
|
|
14081
|
+
|
|
13733
14082
|
# DescribeRouteTableAssociatedInstances请求参数结构体
|
|
13734
14083
|
class DescribeRouteTableAssociatedInstancesRequest < TencentCloud::Common::AbstractModel
|
|
13735
14084
|
# @param Filters: 过滤条件:
|
|
@@ -14076,6 +14425,65 @@ module TencentCloud
|
|
|
14076
14425
|
end
|
|
14077
14426
|
end
|
|
14078
14427
|
|
|
14428
|
+
# DescribeSecurityGroupExpandedPolicies请求参数结构体
|
|
14429
|
+
class DescribeSecurityGroupExpandedPoliciesRequest < TencentCloud::Common::AbstractModel
|
|
14430
|
+
# @param SecurityGroupId: 安全组实例ID,例如:sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
14431
|
+
# @type SecurityGroupId: String
|
|
14432
|
+
# @param Filters: 过滤条件。
|
|
14433
|
+
# <li>security-group-id - String - 规则中的安全组ID。</li>
|
|
14434
|
+
# <li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
|
|
14435
|
+
# <li>address-module - String - IP地址模板或IP地址组模板ID。</li>
|
|
14436
|
+
# <li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
|
|
14437
|
+
# <li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
|
|
14438
|
+
# <li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
|
|
14439
|
+
# <li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
|
|
14440
|
+
# <li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
|
|
14441
|
+
# <li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
|
|
14442
|
+
# @type Filters: Array
|
|
14443
|
+
|
|
14444
|
+
attr_accessor :SecurityGroupId, :Filters
|
|
14445
|
+
|
|
14446
|
+
def initialize(securitygroupid=nil, filters=nil)
|
|
14447
|
+
@SecurityGroupId = securitygroupid
|
|
14448
|
+
@Filters = filters
|
|
14449
|
+
end
|
|
14450
|
+
|
|
14451
|
+
def deserialize(params)
|
|
14452
|
+
@SecurityGroupId = params['SecurityGroupId']
|
|
14453
|
+
unless params['Filters'].nil?
|
|
14454
|
+
@Filters = []
|
|
14455
|
+
params['Filters'].each do |i|
|
|
14456
|
+
filter_tmp = Filter.new
|
|
14457
|
+
filter_tmp.deserialize(i)
|
|
14458
|
+
@Filters << filter_tmp
|
|
14459
|
+
end
|
|
14460
|
+
end
|
|
14461
|
+
end
|
|
14462
|
+
end
|
|
14463
|
+
|
|
14464
|
+
# DescribeSecurityGroupExpandedPolicies返回参数结构体
|
|
14465
|
+
class DescribeSecurityGroupExpandedPoliciesResponse < TencentCloud::Common::AbstractModel
|
|
14466
|
+
# @param SecurityGroupPolicySet: 安全组规则集合。
|
|
14467
|
+
# @type SecurityGroupPolicySet: :class:`Tencentcloud::Vpc.v20170312.models.SecurityGroupPolicySet`
|
|
14468
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14469
|
+
# @type RequestId: String
|
|
14470
|
+
|
|
14471
|
+
attr_accessor :SecurityGroupPolicySet, :RequestId
|
|
14472
|
+
|
|
14473
|
+
def initialize(securitygrouppolicyset=nil, requestid=nil)
|
|
14474
|
+
@SecurityGroupPolicySet = securitygrouppolicyset
|
|
14475
|
+
@RequestId = requestid
|
|
14476
|
+
end
|
|
14477
|
+
|
|
14478
|
+
def deserialize(params)
|
|
14479
|
+
unless params['SecurityGroupPolicySet'].nil?
|
|
14480
|
+
@SecurityGroupPolicySet = SecurityGroupPolicySet.new
|
|
14481
|
+
@SecurityGroupPolicySet.deserialize(params['SecurityGroupPolicySet'])
|
|
14482
|
+
end
|
|
14483
|
+
@RequestId = params['RequestId']
|
|
14484
|
+
end
|
|
14485
|
+
end
|
|
14486
|
+
|
|
14079
14487
|
# DescribeSecurityGroupLimits请求参数结构体
|
|
14080
14488
|
class DescribeSecurityGroupLimitsRequest < TencentCloud::Common::AbstractModel
|
|
14081
14489
|
|
|
@@ -18163,13 +18571,13 @@ module TencentCloud
|
|
|
18163
18571
|
|
|
18164
18572
|
# 流日志
|
|
18165
18573
|
class FlowLog < TencentCloud::Common::AbstractModel
|
|
18166
|
-
# @param VpcId:
|
|
18574
|
+
# @param VpcId: 私有网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
|
|
18167
18575
|
# @type VpcId: String
|
|
18168
18576
|
# @param FlowLogId: 流日志唯一ID。
|
|
18169
18577
|
# @type FlowLogId: String
|
|
18170
18578
|
# @param FlowLogName: 流日志实例名字。
|
|
18171
18579
|
# @type FlowLogName: String
|
|
18172
|
-
# @param ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT
|
|
18580
|
+
# @param ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转换),DCG(专线网关)。
|
|
18173
18581
|
# @type ResourceType: String
|
|
18174
18582
|
# @param ResourceId: 资源唯一ID。
|
|
18175
18583
|
# @type ResourceId: String
|
|
@@ -18193,10 +18601,12 @@ module TencentCloud
|
|
|
18193
18601
|
# @type FlowLogStorage: :class:`Tencentcloud::Vpc.v20170312.models.FlowLogStorage`
|
|
18194
18602
|
# @param CloudLogRegion: 流日志存储ID对应的地域信息。
|
|
18195
18603
|
# @type CloudLogRegion: String
|
|
18604
|
+
# @param Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
|
|
18605
|
+
# @type Period: Integer
|
|
18196
18606
|
|
|
18197
|
-
attr_accessor :VpcId, :FlowLogId, :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :CloudLogId, :CloudLogState, :FlowLogDescription, :CreatedTime, :TagSet, :Enable, :StorageType, :FlowLogStorage, :CloudLogRegion
|
|
18607
|
+
attr_accessor :VpcId, :FlowLogId, :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :CloudLogId, :CloudLogState, :FlowLogDescription, :CreatedTime, :TagSet, :Enable, :StorageType, :FlowLogStorage, :CloudLogRegion, :Period
|
|
18198
18608
|
|
|
18199
|
-
def initialize(vpcid=nil, flowlogid=nil, flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, cloudlogid=nil, cloudlogstate=nil, flowlogdescription=nil, createdtime=nil, tagset=nil, enable=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil)
|
|
18609
|
+
def initialize(vpcid=nil, flowlogid=nil, flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, cloudlogid=nil, cloudlogstate=nil, flowlogdescription=nil, createdtime=nil, tagset=nil, enable=nil, storagetype=nil, flowlogstorage=nil, cloudlogregion=nil, period=nil)
|
|
18200
18610
|
@VpcId = vpcid
|
|
18201
18611
|
@FlowLogId = flowlogid
|
|
18202
18612
|
@FlowLogName = flowlogname
|
|
@@ -18212,6 +18622,7 @@ module TencentCloud
|
|
|
18212
18622
|
@StorageType = storagetype
|
|
18213
18623
|
@FlowLogStorage = flowlogstorage
|
|
18214
18624
|
@CloudLogRegion = cloudlogregion
|
|
18625
|
+
@Period = period
|
|
18215
18626
|
end
|
|
18216
18627
|
|
|
18217
18628
|
def deserialize(params)
|
|
@@ -18240,6 +18651,7 @@ module TencentCloud
|
|
|
18240
18651
|
@FlowLogStorage.deserialize(params['FlowLogStorage'])
|
|
18241
18652
|
end
|
|
18242
18653
|
@CloudLogRegion = params['CloudLogRegion']
|
|
18654
|
+
@Period = params['Period']
|
|
18243
18655
|
end
|
|
18244
18656
|
end
|
|
18245
18657
|
|
|
@@ -22157,6 +22569,46 @@ module TencentCloud
|
|
|
22157
22569
|
end
|
|
22158
22570
|
end
|
|
22159
22571
|
|
|
22572
|
+
# ModifyRoutePolicyAttribute请求参数结构体
|
|
22573
|
+
class ModifyRoutePolicyAttributeRequest < TencentCloud::Common::AbstractModel
|
|
22574
|
+
# @param RoutePolicyId: 路由接收策略实例ID,例如:rrp-dz0219jq。
|
|
22575
|
+
# @type RoutePolicyId: String
|
|
22576
|
+
# @param RoutePolicyName: 路由接收策略名称。
|
|
22577
|
+
# @type RoutePolicyName: String
|
|
22578
|
+
# @param RoutePolicyDescription: 路由接收策略描述。
|
|
22579
|
+
# @type RoutePolicyDescription: String
|
|
22580
|
+
|
|
22581
|
+
attr_accessor :RoutePolicyId, :RoutePolicyName, :RoutePolicyDescription
|
|
22582
|
+
|
|
22583
|
+
def initialize(routepolicyid=nil, routepolicyname=nil, routepolicydescription=nil)
|
|
22584
|
+
@RoutePolicyId = routepolicyid
|
|
22585
|
+
@RoutePolicyName = routepolicyname
|
|
22586
|
+
@RoutePolicyDescription = routepolicydescription
|
|
22587
|
+
end
|
|
22588
|
+
|
|
22589
|
+
def deserialize(params)
|
|
22590
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
22591
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
22592
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
22593
|
+
end
|
|
22594
|
+
end
|
|
22595
|
+
|
|
22596
|
+
# ModifyRoutePolicyAttribute返回参数结构体
|
|
22597
|
+
class ModifyRoutePolicyAttributeResponse < TencentCloud::Common::AbstractModel
|
|
22598
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22599
|
+
# @type RequestId: String
|
|
22600
|
+
|
|
22601
|
+
attr_accessor :RequestId
|
|
22602
|
+
|
|
22603
|
+
def initialize(requestid=nil)
|
|
22604
|
+
@RequestId = requestid
|
|
22605
|
+
end
|
|
22606
|
+
|
|
22607
|
+
def deserialize(params)
|
|
22608
|
+
@RequestId = params['RequestId']
|
|
22609
|
+
end
|
|
22610
|
+
end
|
|
22611
|
+
|
|
22160
22612
|
# ModifyRouteTableAttribute请求参数结构体
|
|
22161
22613
|
class ModifyRouteTableAttributeRequest < TencentCloud::Common::AbstractModel
|
|
22162
22614
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
@@ -25198,6 +25650,88 @@ module TencentCloud
|
|
|
25198
25650
|
end
|
|
25199
25651
|
end
|
|
25200
25652
|
|
|
25653
|
+
# ReplaceRoutePolicyAssociations请求参数结构体
|
|
25654
|
+
class ReplaceRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
25655
|
+
# @param RoutePolicyAssociationSet: 路由接收策略绑定对象列表。需要指定路由接收策略实例ID(RoutePolicyId)和路由表实例ID(RouteTableId)。
|
|
25656
|
+
# @type RoutePolicyAssociationSet: Array
|
|
25657
|
+
|
|
25658
|
+
attr_accessor :RoutePolicyAssociationSet
|
|
25659
|
+
|
|
25660
|
+
def initialize(routepolicyassociationset=nil)
|
|
25661
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
25662
|
+
end
|
|
25663
|
+
|
|
25664
|
+
def deserialize(params)
|
|
25665
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
25666
|
+
@RoutePolicyAssociationSet = []
|
|
25667
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
25668
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
25669
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
25670
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
25671
|
+
end
|
|
25672
|
+
end
|
|
25673
|
+
end
|
|
25674
|
+
end
|
|
25675
|
+
|
|
25676
|
+
# ReplaceRoutePolicyAssociations返回参数结构体
|
|
25677
|
+
class ReplaceRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
25678
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25679
|
+
# @type RequestId: String
|
|
25680
|
+
|
|
25681
|
+
attr_accessor :RequestId
|
|
25682
|
+
|
|
25683
|
+
def initialize(requestid=nil)
|
|
25684
|
+
@RequestId = requestid
|
|
25685
|
+
end
|
|
25686
|
+
|
|
25687
|
+
def deserialize(params)
|
|
25688
|
+
@RequestId = params['RequestId']
|
|
25689
|
+
end
|
|
25690
|
+
end
|
|
25691
|
+
|
|
25692
|
+
# ReplaceRoutePolicyEntries请求参数结构体
|
|
25693
|
+
class ReplaceRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
25694
|
+
# @param RoutePolicyId: 路由策略实例ID,例如:rrp-azd4dt1c。
|
|
25695
|
+
# @type RoutePolicyId: String
|
|
25696
|
+
# @param RoutePolicyEntrySet: 路由策略规则列表。需要指定路由策略规则ID(RoutePolicyEntryId)。
|
|
25697
|
+
# @type RoutePolicyEntrySet: Array
|
|
25698
|
+
|
|
25699
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet
|
|
25700
|
+
|
|
25701
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil)
|
|
25702
|
+
@RoutePolicyId = routepolicyid
|
|
25703
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
25704
|
+
end
|
|
25705
|
+
|
|
25706
|
+
def deserialize(params)
|
|
25707
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
25708
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
25709
|
+
@RoutePolicyEntrySet = []
|
|
25710
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
25711
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
25712
|
+
routepolicyentry_tmp.deserialize(i)
|
|
25713
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
25714
|
+
end
|
|
25715
|
+
end
|
|
25716
|
+
end
|
|
25717
|
+
end
|
|
25718
|
+
|
|
25719
|
+
# ReplaceRoutePolicyEntries返回参数结构体
|
|
25720
|
+
class ReplaceRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
25721
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25722
|
+
# @type RequestId: String
|
|
25723
|
+
|
|
25724
|
+
attr_accessor :RequestId
|
|
25725
|
+
|
|
25726
|
+
def initialize(requestid=nil)
|
|
25727
|
+
@RequestId = requestid
|
|
25728
|
+
end
|
|
25729
|
+
|
|
25730
|
+
def deserialize(params)
|
|
25731
|
+
@RequestId = params['RequestId']
|
|
25732
|
+
end
|
|
25733
|
+
end
|
|
25734
|
+
|
|
25201
25735
|
# ReplaceRouteTableAssociation请求参数结构体
|
|
25202
25736
|
class ReplaceRouteTableAssociationRequest < TencentCloud::Common::AbstractModel
|
|
25203
25737
|
# @param SubnetId: 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
|
|
@@ -25584,6 +26118,100 @@ module TencentCloud
|
|
|
25584
26118
|
end
|
|
25585
26119
|
end
|
|
25586
26120
|
|
|
26121
|
+
# ResetRoutePolicyAssociations请求参数结构体
|
|
26122
|
+
class ResetRoutePolicyAssociationsRequest < TencentCloud::Common::AbstractModel
|
|
26123
|
+
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
26124
|
+
# @type RouteTableId: String
|
|
26125
|
+
# @param RoutePolicyAssociationSet: 路由策略绑定对象(RoutePolicyAssociation)列表。注意:路由策略绑定中的路由表实例ID(RouteTableId)需要和该接口的RouteTableId参数保持一致(也就是该接口只支持修改同一个路由表实例下的路有策略绑定关系及优先级)。
|
|
26126
|
+
# @type RoutePolicyAssociationSet: Array
|
|
26127
|
+
|
|
26128
|
+
attr_accessor :RouteTableId, :RoutePolicyAssociationSet
|
|
26129
|
+
|
|
26130
|
+
def initialize(routetableid=nil, routepolicyassociationset=nil)
|
|
26131
|
+
@RouteTableId = routetableid
|
|
26132
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
26133
|
+
end
|
|
26134
|
+
|
|
26135
|
+
def deserialize(params)
|
|
26136
|
+
@RouteTableId = params['RouteTableId']
|
|
26137
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
26138
|
+
@RoutePolicyAssociationSet = []
|
|
26139
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
26140
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
26141
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
26142
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
26143
|
+
end
|
|
26144
|
+
end
|
|
26145
|
+
end
|
|
26146
|
+
end
|
|
26147
|
+
|
|
26148
|
+
# ResetRoutePolicyAssociations返回参数结构体
|
|
26149
|
+
class ResetRoutePolicyAssociationsResponse < TencentCloud::Common::AbstractModel
|
|
26150
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26151
|
+
# @type RequestId: String
|
|
26152
|
+
|
|
26153
|
+
attr_accessor :RequestId
|
|
26154
|
+
|
|
26155
|
+
def initialize(requestid=nil)
|
|
26156
|
+
@RequestId = requestid
|
|
26157
|
+
end
|
|
26158
|
+
|
|
26159
|
+
def deserialize(params)
|
|
26160
|
+
@RequestId = params['RequestId']
|
|
26161
|
+
end
|
|
26162
|
+
end
|
|
26163
|
+
|
|
26164
|
+
# ResetRoutePolicyEntries请求参数结构体
|
|
26165
|
+
class ResetRoutePolicyEntriesRequest < TencentCloud::Common::AbstractModel
|
|
26166
|
+
# @param RoutePolicyId: 路由接收策略实例ID,例如:rrp-azd4dt1c。
|
|
26167
|
+
# @type RoutePolicyId: String
|
|
26168
|
+
# @param RoutePolicyEntrySet: 路由接收策略条目列表。需要指定路由策略条目ID(RoutePolicyEntryId)。
|
|
26169
|
+
# @type RoutePolicyEntrySet: Array
|
|
26170
|
+
# @param RoutePolicyDescription: 路由接收策略描述。
|
|
26171
|
+
# @type RoutePolicyDescription: String
|
|
26172
|
+
# @param RoutePolicyName: 路由接收策略名字。
|
|
26173
|
+
# @type RoutePolicyName: String
|
|
26174
|
+
|
|
26175
|
+
attr_accessor :RoutePolicyId, :RoutePolicyEntrySet, :RoutePolicyDescription, :RoutePolicyName
|
|
26176
|
+
|
|
26177
|
+
def initialize(routepolicyid=nil, routepolicyentryset=nil, routepolicydescription=nil, routepolicyname=nil)
|
|
26178
|
+
@RoutePolicyId = routepolicyid
|
|
26179
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
26180
|
+
@RoutePolicyDescription = routepolicydescription
|
|
26181
|
+
@RoutePolicyName = routepolicyname
|
|
26182
|
+
end
|
|
26183
|
+
|
|
26184
|
+
def deserialize(params)
|
|
26185
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
26186
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
26187
|
+
@RoutePolicyEntrySet = []
|
|
26188
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
26189
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
26190
|
+
routepolicyentry_tmp.deserialize(i)
|
|
26191
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
26192
|
+
end
|
|
26193
|
+
end
|
|
26194
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
26195
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
26196
|
+
end
|
|
26197
|
+
end
|
|
26198
|
+
|
|
26199
|
+
# ResetRoutePolicyEntries返回参数结构体
|
|
26200
|
+
class ResetRoutePolicyEntriesResponse < TencentCloud::Common::AbstractModel
|
|
26201
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26202
|
+
# @type RequestId: String
|
|
26203
|
+
|
|
26204
|
+
attr_accessor :RequestId
|
|
26205
|
+
|
|
26206
|
+
def initialize(requestid=nil)
|
|
26207
|
+
@RequestId = requestid
|
|
26208
|
+
end
|
|
26209
|
+
|
|
26210
|
+
def deserialize(params)
|
|
26211
|
+
@RequestId = params['RequestId']
|
|
26212
|
+
end
|
|
26213
|
+
end
|
|
26214
|
+
|
|
25587
26215
|
# ResetRoutes请求参数结构体
|
|
25588
26216
|
class ResetRoutesRequest < TencentCloud::Common::AbstractModel
|
|
25589
26217
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
@@ -26298,6 +26926,174 @@ module TencentCloud
|
|
|
26298
26926
|
end
|
|
26299
26927
|
end
|
|
26300
26928
|
|
|
26929
|
+
# 路由接收策略。当云联网或其他业务添加路由到VPC自定义路由表时,可以丢弃或启用,禁用相应的路由条目。
|
|
26930
|
+
class RoutePolicy < TencentCloud::Common::AbstractModel
|
|
26931
|
+
# @param RoutePolicyId: 路由策略唯一ID。
|
|
26932
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26933
|
+
# @type RoutePolicyId: String
|
|
26934
|
+
# @param RoutePolicyName: 路由策略名。
|
|
26935
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26936
|
+
# @type RoutePolicyName: String
|
|
26937
|
+
# @param RoutePolicyDescription: 路由策略描述。
|
|
26938
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26939
|
+
# @type RoutePolicyDescription: String
|
|
26940
|
+
# @param RoutePolicyEntrySet: 路由策略规则列表。
|
|
26941
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26942
|
+
# @type RoutePolicyEntrySet: Array
|
|
26943
|
+
# @param RoutePolicyAssociationSet: 路由策略绑定。
|
|
26944
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26945
|
+
# @type RoutePolicyAssociationSet: Array
|
|
26946
|
+
# @param CreatedTime: 创建时间。
|
|
26947
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
26948
|
+
# @type CreatedTime: String
|
|
26949
|
+
# @param TagSet: 标签键值对。
|
|
26950
|
+
# @type TagSet: Array
|
|
26951
|
+
|
|
26952
|
+
attr_accessor :RoutePolicyId, :RoutePolicyName, :RoutePolicyDescription, :RoutePolicyEntrySet, :RoutePolicyAssociationSet, :CreatedTime, :TagSet
|
|
26953
|
+
|
|
26954
|
+
def initialize(routepolicyid=nil, routepolicyname=nil, routepolicydescription=nil, routepolicyentryset=nil, routepolicyassociationset=nil, createdtime=nil, tagset=nil)
|
|
26955
|
+
@RoutePolicyId = routepolicyid
|
|
26956
|
+
@RoutePolicyName = routepolicyname
|
|
26957
|
+
@RoutePolicyDescription = routepolicydescription
|
|
26958
|
+
@RoutePolicyEntrySet = routepolicyentryset
|
|
26959
|
+
@RoutePolicyAssociationSet = routepolicyassociationset
|
|
26960
|
+
@CreatedTime = createdtime
|
|
26961
|
+
@TagSet = tagset
|
|
26962
|
+
end
|
|
26963
|
+
|
|
26964
|
+
def deserialize(params)
|
|
26965
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
26966
|
+
@RoutePolicyName = params['RoutePolicyName']
|
|
26967
|
+
@RoutePolicyDescription = params['RoutePolicyDescription']
|
|
26968
|
+
unless params['RoutePolicyEntrySet'].nil?
|
|
26969
|
+
@RoutePolicyEntrySet = []
|
|
26970
|
+
params['RoutePolicyEntrySet'].each do |i|
|
|
26971
|
+
routepolicyentry_tmp = RoutePolicyEntry.new
|
|
26972
|
+
routepolicyentry_tmp.deserialize(i)
|
|
26973
|
+
@RoutePolicyEntrySet << routepolicyentry_tmp
|
|
26974
|
+
end
|
|
26975
|
+
end
|
|
26976
|
+
unless params['RoutePolicyAssociationSet'].nil?
|
|
26977
|
+
@RoutePolicyAssociationSet = []
|
|
26978
|
+
params['RoutePolicyAssociationSet'].each do |i|
|
|
26979
|
+
routepolicyassociation_tmp = RoutePolicyAssociation.new
|
|
26980
|
+
routepolicyassociation_tmp.deserialize(i)
|
|
26981
|
+
@RoutePolicyAssociationSet << routepolicyassociation_tmp
|
|
26982
|
+
end
|
|
26983
|
+
end
|
|
26984
|
+
@CreatedTime = params['CreatedTime']
|
|
26985
|
+
unless params['TagSet'].nil?
|
|
26986
|
+
@TagSet = []
|
|
26987
|
+
params['TagSet'].each do |i|
|
|
26988
|
+
tag_tmp = Tag.new
|
|
26989
|
+
tag_tmp.deserialize(i)
|
|
26990
|
+
@TagSet << tag_tmp
|
|
26991
|
+
end
|
|
26992
|
+
end
|
|
26993
|
+
end
|
|
26994
|
+
end
|
|
26995
|
+
|
|
26996
|
+
# 路由接收策略绑定。用来绑定路由表和路由接收策略以及绑定的优先级。
|
|
26997
|
+
class RoutePolicyAssociation < TencentCloud::Common::AbstractModel
|
|
26998
|
+
# @param RouteTableId: 路由表唯一ID。
|
|
26999
|
+
# @type RouteTableId: String
|
|
27000
|
+
# @param RoutePolicyId: 路由接收策略唯一ID。
|
|
27001
|
+
# @type RoutePolicyId: String
|
|
27002
|
+
# @param Priority: 优先级。
|
|
27003
|
+
# @type Priority: Integer
|
|
27004
|
+
|
|
27005
|
+
attr_accessor :RouteTableId, :RoutePolicyId, :Priority
|
|
27006
|
+
|
|
27007
|
+
def initialize(routetableid=nil, routepolicyid=nil, priority=nil)
|
|
27008
|
+
@RouteTableId = routetableid
|
|
27009
|
+
@RoutePolicyId = routepolicyid
|
|
27010
|
+
@Priority = priority
|
|
27011
|
+
end
|
|
27012
|
+
|
|
27013
|
+
def deserialize(params)
|
|
27014
|
+
@RouteTableId = params['RouteTableId']
|
|
27015
|
+
@RoutePolicyId = params['RoutePolicyId']
|
|
27016
|
+
@Priority = params['Priority']
|
|
27017
|
+
end
|
|
27018
|
+
end
|
|
27019
|
+
|
|
27020
|
+
# 路由接收策略条目。
|
|
27021
|
+
class RoutePolicyEntry < TencentCloud::Common::AbstractModel
|
|
27022
|
+
# @param RoutePolicyEntryId: 路由策略条目IPv4唯一ID。
|
|
27023
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27024
|
+
# @type RoutePolicyEntryId: String
|
|
27025
|
+
# @param CidrBlock: 目标网段。
|
|
27026
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27027
|
+
# @type CidrBlock: String
|
|
27028
|
+
# @param Description: 路由策略规则描述。
|
|
27029
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27030
|
+
# @type Description: String
|
|
27031
|
+
# @param RouteType: 路由类型。
|
|
27032
|
+
# USER:用户自定义类型。
|
|
27033
|
+
# NETD:网络探测下发的路由。
|
|
27034
|
+
# CCN:云联网路由。
|
|
27035
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27036
|
+
# @type RouteType: String
|
|
27037
|
+
# @param GatewayType: 下一跳类型。目前我们支持的类型有:
|
|
27038
|
+
# CVM:公网网关类型的云服务器;
|
|
27039
|
+
# VPN:VPN网关;
|
|
27040
|
+
# DIRECTCONNECT:专线网关;
|
|
27041
|
+
# PEERCONNECTION:对等连接;
|
|
27042
|
+
# HAVIP:高可用虚拟IP;
|
|
27043
|
+
# NAT:NAT网关;
|
|
27044
|
+
# EIP:云服务器的公网IP;
|
|
27045
|
+
# LOCAL_GATEWAY:本地网关;
|
|
27046
|
+
# PVGW:PVGW网关。
|
|
27047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27048
|
+
# @type GatewayType: String
|
|
27049
|
+
# @param GatewayId: 网关唯一ID。
|
|
27050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27051
|
+
# @type GatewayId: String
|
|
27052
|
+
# @param Priority: 优先级。数值越小,优先级越高。
|
|
27053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27054
|
+
# @type Priority: Integer
|
|
27055
|
+
# @param Action: 动作。
|
|
27056
|
+
# DROP:丢弃。
|
|
27057
|
+
# DISABLE:接收且禁用。
|
|
27058
|
+
# ACCEPT:接收且启用。
|
|
27059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27060
|
+
# @type Action: String
|
|
27061
|
+
# @param CreatedTime: 创建时间。
|
|
27062
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27063
|
+
# @type CreatedTime: String
|
|
27064
|
+
# @param Region: 地域。
|
|
27065
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
27066
|
+
# @type Region: String
|
|
27067
|
+
|
|
27068
|
+
attr_accessor :RoutePolicyEntryId, :CidrBlock, :Description, :RouteType, :GatewayType, :GatewayId, :Priority, :Action, :CreatedTime, :Region
|
|
27069
|
+
|
|
27070
|
+
def initialize(routepolicyentryid=nil, cidrblock=nil, description=nil, routetype=nil, gatewaytype=nil, gatewayid=nil, priority=nil, action=nil, createdtime=nil, region=nil)
|
|
27071
|
+
@RoutePolicyEntryId = routepolicyentryid
|
|
27072
|
+
@CidrBlock = cidrblock
|
|
27073
|
+
@Description = description
|
|
27074
|
+
@RouteType = routetype
|
|
27075
|
+
@GatewayType = gatewaytype
|
|
27076
|
+
@GatewayId = gatewayid
|
|
27077
|
+
@Priority = priority
|
|
27078
|
+
@Action = action
|
|
27079
|
+
@CreatedTime = createdtime
|
|
27080
|
+
@Region = region
|
|
27081
|
+
end
|
|
27082
|
+
|
|
27083
|
+
def deserialize(params)
|
|
27084
|
+
@RoutePolicyEntryId = params['RoutePolicyEntryId']
|
|
27085
|
+
@CidrBlock = params['CidrBlock']
|
|
27086
|
+
@Description = params['Description']
|
|
27087
|
+
@RouteType = params['RouteType']
|
|
27088
|
+
@GatewayType = params['GatewayType']
|
|
27089
|
+
@GatewayId = params['GatewayId']
|
|
27090
|
+
@Priority = params['Priority']
|
|
27091
|
+
@Action = params['Action']
|
|
27092
|
+
@CreatedTime = params['CreatedTime']
|
|
27093
|
+
@Region = params['Region']
|
|
27094
|
+
end
|
|
27095
|
+
end
|
|
27096
|
+
|
|
26301
27097
|
# 路由表选择策略信息
|
|
26302
27098
|
class RouteSelectionPolicy < TencentCloud::Common::AbstractModel
|
|
26303
27099
|
# @param CcnId: 云联网ID。
|