tencentcloud-sdk-dc 3.0.896 → 3.0.898
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/v20180410/client.rb +3 -4
- data/lib/v20180410/models.rb +56 -24
- 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: 16dfbd37fda94d29c1a13e7d0b27bc5ff66be61d
|
4
|
+
data.tar.gz: 7f48c77fbcfe0dbde4d5255a78ddc46d768c3d5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5facbe54ab50e93dfdd01cf5ef9a702290e4a93c7180a6cb69162a89499165a90dd4ba44b2e90554e38b7105077be052571911616b299112d186eeb14991a4d0
|
7
|
+
data.tar.gz: ab34e12f1671d9a18f3beed055112efde7c390eba86f91f433303241957e940e6ccbd1089a5faf06d8d9e7221e04e80dc61eb0638b6bac27930677aa91f50402
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.898
|
data/lib/v20180410/client.rb
CHANGED
@@ -128,8 +128,7 @@ module TencentCloud
|
|
128
128
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
129
129
|
end
|
130
130
|
|
131
|
-
#
|
132
|
-
# 只能删除处于已连接状态的物理专线。
|
131
|
+
# 删除物理专线。只能删除处于已连接状态的物理专线。
|
133
132
|
|
134
133
|
# @param request: Request instance for DeleteDirectConnect.
|
135
134
|
# @type request: :class:`Tencentcloud::dc::V20180410::DeleteDirectConnectRequest`
|
@@ -153,7 +152,7 @@ module TencentCloud
|
|
153
152
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
154
153
|
end
|
155
154
|
|
156
|
-
#
|
155
|
+
# 删除专用通道。
|
157
156
|
|
158
157
|
# @param request: Request instance for DeleteDirectConnectTunnel.
|
159
158
|
# @type request: :class:`Tencentcloud::dc::V20180410::DeleteDirectConnectTunnelRequest`
|
@@ -441,7 +440,7 @@ module TencentCloud
|
|
441
440
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
442
441
|
end
|
443
442
|
|
444
|
-
#
|
443
|
+
# 修改专用通道属性。
|
445
444
|
|
446
445
|
# @param request: Request instance for ModifyDirectConnectTunnelAttribute.
|
447
446
|
# @type request: :class:`Tencentcloud::dc::V20180410::ModifyDirectConnectTunnelAttributeRequest`
|
data/lib/v20180410/models.rb
CHANGED
@@ -292,10 +292,12 @@ module TencentCloud
|
|
292
292
|
# @type FaultReportContactNumber: String
|
293
293
|
# @param SignLaw: 物理专线申请者是否签署了用户使用协议。默认已签署。
|
294
294
|
# @type SignLaw: Boolean
|
295
|
+
# @param Tags: 标签键值对
|
296
|
+
# @type Tags: Array
|
295
297
|
|
296
|
-
attr_accessor :DirectConnectName, :AccessPointId, :LineOperator, :PortType, :CircuitCode, :Location, :Bandwidth, :RedundantDirectConnectId, :Vlan, :TencentAddress, :CustomerAddress, :CustomerName, :CustomerContactMail, :CustomerContactNumber, :FaultReportContactPerson, :FaultReportContactNumber, :SignLaw
|
298
|
+
attr_accessor :DirectConnectName, :AccessPointId, :LineOperator, :PortType, :CircuitCode, :Location, :Bandwidth, :RedundantDirectConnectId, :Vlan, :TencentAddress, :CustomerAddress, :CustomerName, :CustomerContactMail, :CustomerContactNumber, :FaultReportContactPerson, :FaultReportContactNumber, :SignLaw, :Tags
|
297
299
|
|
298
|
-
def initialize(directconnectname=nil, accesspointid=nil, lineoperator=nil, porttype=nil, circuitcode=nil, location=nil, bandwidth=nil, redundantdirectconnectid=nil, vlan=nil, tencentaddress=nil, customeraddress=nil, customername=nil, customercontactmail=nil, customercontactnumber=nil, faultreportcontactperson=nil, faultreportcontactnumber=nil, signlaw=nil)
|
300
|
+
def initialize(directconnectname=nil, accesspointid=nil, lineoperator=nil, porttype=nil, circuitcode=nil, location=nil, bandwidth=nil, redundantdirectconnectid=nil, vlan=nil, tencentaddress=nil, customeraddress=nil, customername=nil, customercontactmail=nil, customercontactnumber=nil, faultreportcontactperson=nil, faultreportcontactnumber=nil, signlaw=nil, tags=nil)
|
299
301
|
@DirectConnectName = directconnectname
|
300
302
|
@AccessPointId = accesspointid
|
301
303
|
@LineOperator = lineoperator
|
@@ -313,6 +315,7 @@ module TencentCloud
|
|
313
315
|
@FaultReportContactPerson = faultreportcontactperson
|
314
316
|
@FaultReportContactNumber = faultreportcontactnumber
|
315
317
|
@SignLaw = signlaw
|
318
|
+
@Tags = tags
|
316
319
|
end
|
317
320
|
|
318
321
|
def deserialize(params)
|
@@ -333,6 +336,14 @@ module TencentCloud
|
|
333
336
|
@FaultReportContactPerson = params['FaultReportContactPerson']
|
334
337
|
@FaultReportContactNumber = params['FaultReportContactNumber']
|
335
338
|
@SignLaw = params['SignLaw']
|
339
|
+
unless params['Tags'].nil?
|
340
|
+
@Tags = []
|
341
|
+
params['Tags'].each do |i|
|
342
|
+
tag_tmp = Tag.new
|
343
|
+
tag_tmp.deserialize(i)
|
344
|
+
@Tags << tag_tmp
|
345
|
+
end
|
346
|
+
end
|
336
347
|
end
|
337
348
|
end
|
338
349
|
|
@@ -365,11 +376,11 @@ module TencentCloud
|
|
365
376
|
# @param DirectConnectOwnerAccount: 物理专线owner,缺省为当前客户(物理专线 owner)
|
366
377
|
# 共享专线时这里需要填写共享专线的开发商账号 ID。
|
367
378
|
# @type DirectConnectOwnerAccount: String
|
368
|
-
# @param NetworkType: 网络类型,枚举:VPC、
|
379
|
+
# @param NetworkType: 网络类型,枚举:VPC、CCN、NAT;默认为VPC。VPC:私有网络;CCN:云联网;NAT:NAT网络)。
|
369
380
|
# @type NetworkType: String
|
370
381
|
# @param NetworkRegion: 网络地域。
|
371
382
|
# @type NetworkRegion: String
|
372
|
-
# @param VpcId: 私有网络统一ID
|
383
|
+
# @param VpcId: 私有网络统一ID,在NetworkType为VPC时必填,且与专线网关所属的VPCID一致;NetworkType为其它组网类型时可不填,内部会统一处理。
|
373
384
|
# @type VpcId: String
|
374
385
|
# @param DirectConnectGatewayId: 专线网关ID,例如 dcg-d545ddf。
|
375
386
|
# @type DirectConnectGatewayId: String
|
@@ -400,10 +411,12 @@ module TencentCloud
|
|
400
411
|
# @type BfdInfo: :class:`Tencentcloud::Dc.v20180410.models.BFDInfo`
|
401
412
|
# @param NqaInfo: NQA配置信息。
|
402
413
|
# @type NqaInfo: :class:`Tencentcloud::Dc.v20180410.models.NQAInfo`
|
414
|
+
# @param Tags: 标签键值对
|
415
|
+
# @type Tags: Array
|
403
416
|
|
404
|
-
attr_accessor :DirectConnectId, :DirectConnectTunnelName, :DirectConnectOwnerAccount, :NetworkType, :NetworkRegion, :VpcId, :DirectConnectGatewayId, :Bandwidth, :RouteType, :BgpPeer, :RouteFilterPrefixes, :Vlan, :TencentAddress, :CustomerAddress, :TencentBackupAddress, :CloudAttachId, :BfdEnable, :NqaEnable, :BfdInfo, :NqaInfo
|
417
|
+
attr_accessor :DirectConnectId, :DirectConnectTunnelName, :DirectConnectOwnerAccount, :NetworkType, :NetworkRegion, :VpcId, :DirectConnectGatewayId, :Bandwidth, :RouteType, :BgpPeer, :RouteFilterPrefixes, :Vlan, :TencentAddress, :CustomerAddress, :TencentBackupAddress, :CloudAttachId, :BfdEnable, :NqaEnable, :BfdInfo, :NqaInfo, :Tags
|
405
418
|
|
406
|
-
def initialize(directconnectid=nil, directconnecttunnelname=nil, directconnectowneraccount=nil, networktype=nil, networkregion=nil, vpcid=nil, directconnectgatewayid=nil, bandwidth=nil, routetype=nil, bgppeer=nil, routefilterprefixes=nil, vlan=nil, tencentaddress=nil, customeraddress=nil, tencentbackupaddress=nil, cloudattachid=nil, bfdenable=nil, nqaenable=nil, bfdinfo=nil, nqainfo=nil)
|
419
|
+
def initialize(directconnectid=nil, directconnecttunnelname=nil, directconnectowneraccount=nil, networktype=nil, networkregion=nil, vpcid=nil, directconnectgatewayid=nil, bandwidth=nil, routetype=nil, bgppeer=nil, routefilterprefixes=nil, vlan=nil, tencentaddress=nil, customeraddress=nil, tencentbackupaddress=nil, cloudattachid=nil, bfdenable=nil, nqaenable=nil, bfdinfo=nil, nqainfo=nil, tags=nil)
|
407
420
|
@DirectConnectId = directconnectid
|
408
421
|
@DirectConnectTunnelName = directconnecttunnelname
|
409
422
|
@DirectConnectOwnerAccount = directconnectowneraccount
|
@@ -424,6 +437,7 @@ module TencentCloud
|
|
424
437
|
@NqaEnable = nqaenable
|
425
438
|
@BfdInfo = bfdinfo
|
426
439
|
@NqaInfo = nqainfo
|
440
|
+
@Tags = tags
|
427
441
|
end
|
428
442
|
|
429
443
|
def deserialize(params)
|
@@ -463,6 +477,14 @@ module TencentCloud
|
|
463
477
|
@NqaInfo = NQAInfo.new
|
464
478
|
@NqaInfo.deserialize(params['NqaInfo'])
|
465
479
|
end
|
480
|
+
unless params['Tags'].nil?
|
481
|
+
@Tags = []
|
482
|
+
params['Tags'].each do |i|
|
483
|
+
tag_tmp = Tag.new
|
484
|
+
tag_tmp.deserialize(i)
|
485
|
+
@Tags << tag_tmp
|
486
|
+
end
|
487
|
+
end
|
466
488
|
end
|
467
489
|
end
|
468
490
|
|
@@ -520,7 +542,7 @@ module TencentCloud
|
|
520
542
|
|
521
543
|
# DeleteDirectConnectTunnel请求参数结构体
|
522
544
|
class DeleteDirectConnectTunnelRequest < TencentCloud::Common::AbstractModel
|
523
|
-
# @param DirectConnectTunnelId: 专用通道ID
|
545
|
+
# @param DirectConnectTunnelId: 专用通道ID。
|
524
546
|
# @type DirectConnectTunnelId: String
|
525
547
|
|
526
548
|
attr_accessor :DirectConnectTunnelId
|
@@ -718,13 +740,13 @@ module TencentCloud
|
|
718
740
|
|
719
741
|
# DescribeDirectConnects请求参数结构体
|
720
742
|
class DescribeDirectConnectsRequest < TencentCloud::Common::AbstractModel
|
721
|
-
# @param Filters:
|
743
|
+
# @param Filters: 过滤条件。
|
722
744
|
# @type Filters: Array
|
723
|
-
# @param DirectConnectIds: 物理专线 ID
|
745
|
+
# @param DirectConnectIds: 物理专线 ID数组。
|
724
746
|
# @type DirectConnectIds: Array
|
725
|
-
# @param Offset: 偏移量,默认为0
|
747
|
+
# @param Offset: 偏移量,默认为0。
|
726
748
|
# @type Offset: Integer
|
727
|
-
# @param Limit: 返回数量,默认为20,最大值为100
|
749
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
728
750
|
# @type Limit: Integer
|
729
751
|
|
730
752
|
attr_accessor :Filters, :DirectConnectIds, :Offset, :Limit
|
@@ -757,7 +779,7 @@ module TencentCloud
|
|
757
779
|
# @type DirectConnectSet: Array
|
758
780
|
# @param TotalCount: 符合物理专线列表数量。
|
759
781
|
# @type TotalCount: Integer
|
760
|
-
# @param AllSignLaw:
|
782
|
+
# @param AllSignLaw: 用户名下物理专线是否都签署了用户协议。
|
761
783
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
762
784
|
# @type AllSignLaw: Boolean
|
763
785
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -1112,10 +1134,16 @@ module TencentCloud
|
|
1112
1134
|
# @param MinBandwidth: 物理专线最小带宽
|
1113
1135
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1114
1136
|
# @type MinBandwidth: Integer
|
1137
|
+
# @param Construct: 建设模式
|
1138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1139
|
+
# @type Construct: Integer
|
1140
|
+
# @param AccessPointName: 物理专线的接入点名称
|
1141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1142
|
+
# @type AccessPointName: String
|
1115
1143
|
|
1116
|
-
attr_accessor :DirectConnectId, :DirectConnectName, :AccessPointId, :State, :CreatedTime, :EnabledTime, :LineOperator, :Location, :Bandwidth, :PortType, :CircuitCode, :RedundantDirectConnectId, :Vlan, :TencentAddress, :CustomerAddress, :CustomerName, :CustomerContactMail, :CustomerContactNumber, :ExpiredTime, :ChargeType, :FaultReportContactPerson, :FaultReportContactNumber, :TagSet, :AccessPointType, :IdcCity, :ChargeState, :StartTime, :SignLaw, :LocalZone, :VlanZeroDirectConnectTunnelCount, :OtherVlanDirectConnectTunnelCount, :MinBandwidth
|
1144
|
+
attr_accessor :DirectConnectId, :DirectConnectName, :AccessPointId, :State, :CreatedTime, :EnabledTime, :LineOperator, :Location, :Bandwidth, :PortType, :CircuitCode, :RedundantDirectConnectId, :Vlan, :TencentAddress, :CustomerAddress, :CustomerName, :CustomerContactMail, :CustomerContactNumber, :ExpiredTime, :ChargeType, :FaultReportContactPerson, :FaultReportContactNumber, :TagSet, :AccessPointType, :IdcCity, :ChargeState, :StartTime, :SignLaw, :LocalZone, :VlanZeroDirectConnectTunnelCount, :OtherVlanDirectConnectTunnelCount, :MinBandwidth, :Construct, :AccessPointName
|
1117
1145
|
|
1118
|
-
def initialize(directconnectid=nil, directconnectname=nil, accesspointid=nil, state=nil, createdtime=nil, enabledtime=nil, lineoperator=nil, location=nil, bandwidth=nil, porttype=nil, circuitcode=nil, redundantdirectconnectid=nil, vlan=nil, tencentaddress=nil, customeraddress=nil, customername=nil, customercontactmail=nil, customercontactnumber=nil, expiredtime=nil, chargetype=nil, faultreportcontactperson=nil, faultreportcontactnumber=nil, tagset=nil, accesspointtype=nil, idccity=nil, chargestate=nil, starttime=nil, signlaw=nil, localzone=nil, vlanzerodirectconnecttunnelcount=nil, othervlandirectconnecttunnelcount=nil, minbandwidth=nil)
|
1146
|
+
def initialize(directconnectid=nil, directconnectname=nil, accesspointid=nil, state=nil, createdtime=nil, enabledtime=nil, lineoperator=nil, location=nil, bandwidth=nil, porttype=nil, circuitcode=nil, redundantdirectconnectid=nil, vlan=nil, tencentaddress=nil, customeraddress=nil, customername=nil, customercontactmail=nil, customercontactnumber=nil, expiredtime=nil, chargetype=nil, faultreportcontactperson=nil, faultreportcontactnumber=nil, tagset=nil, accesspointtype=nil, idccity=nil, chargestate=nil, starttime=nil, signlaw=nil, localzone=nil, vlanzerodirectconnecttunnelcount=nil, othervlandirectconnecttunnelcount=nil, minbandwidth=nil, construct=nil, accesspointname=nil)
|
1119
1147
|
@DirectConnectId = directconnectid
|
1120
1148
|
@DirectConnectName = directconnectname
|
1121
1149
|
@AccessPointId = accesspointid
|
@@ -1148,6 +1176,8 @@ module TencentCloud
|
|
1148
1176
|
@VlanZeroDirectConnectTunnelCount = vlanzerodirectconnecttunnelcount
|
1149
1177
|
@OtherVlanDirectConnectTunnelCount = othervlandirectconnecttunnelcount
|
1150
1178
|
@MinBandwidth = minbandwidth
|
1179
|
+
@Construct = construct
|
1180
|
+
@AccessPointName = accesspointname
|
1151
1181
|
end
|
1152
1182
|
|
1153
1183
|
def deserialize(params)
|
@@ -1190,6 +1220,8 @@ module TencentCloud
|
|
1190
1220
|
@VlanZeroDirectConnectTunnelCount = params['VlanZeroDirectConnectTunnelCount']
|
1191
1221
|
@OtherVlanDirectConnectTunnelCount = params['OtherVlanDirectConnectTunnelCount']
|
1192
1222
|
@MinBandwidth = params['MinBandwidth']
|
1223
|
+
@Construct = params['Construct']
|
1224
|
+
@AccessPointName = params['AccessPointName']
|
1193
1225
|
end
|
1194
1226
|
end
|
1195
1227
|
|
@@ -1806,7 +1838,7 @@ module TencentCloud
|
|
1806
1838
|
|
1807
1839
|
# ModifyDirectConnectAttribute请求参数结构体
|
1808
1840
|
class ModifyDirectConnectAttributeRequest < TencentCloud::Common::AbstractModel
|
1809
|
-
# @param DirectConnectId:
|
1841
|
+
# @param DirectConnectId: 物理专线ID。
|
1810
1842
|
# @type DirectConnectId: String
|
1811
1843
|
# @param DirectConnectName: 物理专线名称。
|
1812
1844
|
# @type DirectConnectName: String
|
@@ -1828,9 +1860,9 @@ module TencentCloud
|
|
1828
1860
|
# @type FaultReportContactPerson: String
|
1829
1861
|
# @param FaultReportContactNumber: 报障联系电话。
|
1830
1862
|
# @type FaultReportContactNumber: String
|
1831
|
-
# @param SignLaw:
|
1863
|
+
# @param SignLaw: 物理专线申请者补签用户使用协议。
|
1832
1864
|
# @type SignLaw: Boolean
|
1833
|
-
# @param Bandwidth:
|
1865
|
+
# @param Bandwidth: 物理专线带宽。
|
1834
1866
|
# @type Bandwidth: Integer
|
1835
1867
|
|
1836
1868
|
attr_accessor :DirectConnectId, :DirectConnectName, :CircuitCode, :Vlan, :TencentAddress, :CustomerAddress, :CustomerName, :CustomerContactMail, :CustomerContactNumber, :FaultReportContactPerson, :FaultReportContactNumber, :SignLaw, :Bandwidth
|
@@ -1886,21 +1918,21 @@ module TencentCloud
|
|
1886
1918
|
|
1887
1919
|
# ModifyDirectConnectTunnelAttribute请求参数结构体
|
1888
1920
|
class ModifyDirectConnectTunnelAttributeRequest < TencentCloud::Common::AbstractModel
|
1889
|
-
# @param DirectConnectTunnelId: 专用通道ID
|
1921
|
+
# @param DirectConnectTunnelId: 专用通道ID。
|
1890
1922
|
# @type DirectConnectTunnelId: String
|
1891
|
-
# @param DirectConnectTunnelName:
|
1923
|
+
# @param DirectConnectTunnelName: 专用通道名称。
|
1892
1924
|
# @type DirectConnectTunnelName: String
|
1893
|
-
# @param BgpPeer: 用户侧BGP,包括Asn,AuthKey
|
1925
|
+
# @param BgpPeer: 用户侧BGP,包括Asn,AuthKey。
|
1894
1926
|
# @type BgpPeer: :class:`Tencentcloud::Dc.v20180410.models.BgpPeer`
|
1895
|
-
# @param RouteFilterPrefixes:
|
1927
|
+
# @param RouteFilterPrefixes: 用户侧网段地址。
|
1896
1928
|
# @type RouteFilterPrefixes: Array
|
1897
|
-
# @param TencentAddress: 腾讯侧互联IP
|
1929
|
+
# @param TencentAddress: 腾讯侧互联IP。
|
1898
1930
|
# @type TencentAddress: String
|
1899
|
-
# @param CustomerAddress: 用户侧互联IP
|
1931
|
+
# @param CustomerAddress: 用户侧互联IP。
|
1900
1932
|
# @type CustomerAddress: String
|
1901
1933
|
# @param Bandwidth: 专用通道带宽值,单位为M。
|
1902
1934
|
# @type Bandwidth: Integer
|
1903
|
-
# @param TencentBackupAddress: 腾讯侧备用互联IP
|
1935
|
+
# @param TencentBackupAddress: 腾讯侧备用互联IP。
|
1904
1936
|
# @type TencentBackupAddress: String
|
1905
1937
|
|
1906
1938
|
attr_accessor :DirectConnectTunnelId, :DirectConnectTunnelName, :BgpPeer, :RouteFilterPrefixes, :TencentAddress, :CustomerAddress, :Bandwidth, :TencentBackupAddress
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.898
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|