Class: TencentCloud::Dc::V20180410::CreateDirectConnectTunnelRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dc::V20180410::CreateDirectConnectTunnelRequest
- Defined in:
- lib/v20180410/models.rb
Overview
CreateDirectConnectTunnel请求参数结构体
Instance Attribute Summary collapse
-
#Bandwidth ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#BfdEnable ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#BfdInfo ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#BgpPeer ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#CloudAttachId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#CustomerAddress ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#DirectConnectGatewayId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#DirectConnectId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#DirectConnectOwnerAccount ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#DirectConnectTunnelName ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#NetworkRegion ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#NetworkType ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#NqaEnable ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#NqaInfo ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#RouteFilterPrefixes ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#RouteType ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#Tags ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#TencentAddress ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#TencentBackupAddress ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#Vlan ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
-
#VpcId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。 0:不开启子接口,默认值是非0。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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) ⇒ CreateDirectConnectTunnelRequest
constructor
A new instance of CreateDirectConnectTunnelRequest.
Constructor Details
#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) ⇒ CreateDirectConnectTunnelRequest
Returns a new instance of CreateDirectConnectTunnelRequest.
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 |
# File 'lib/v20180410/models.rb', line 657 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, =nil) @DirectConnectId = directconnectid @DirectConnectTunnelName = directconnecttunnelname @DirectConnectOwnerAccount = directconnectowneraccount @NetworkType = networktype @NetworkRegion = networkregion @VpcId = vpcid @DirectConnectGatewayId = directconnectgatewayid @Bandwidth = bandwidth @RouteType = routetype @BgpPeer = bgppeer @RouteFilterPrefixes = routefilterprefixes @Vlan = vlan @TencentAddress = tencentaddress @CustomerAddress = customeraddress @TencentBackupAddress = tencentbackupaddress @CloudAttachId = cloudattachid @BfdEnable = bfdenable @NqaEnable = nqaenable @BfdInfo = bfdinfo @NqaInfo = nqainfo @Tags = end |
Instance Attribute Details
#Bandwidth ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def Bandwidth @Bandwidth end |
#BfdEnable ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def BfdEnable @BfdEnable end |
#BfdInfo ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def BfdInfo @BfdInfo end |
#BgpPeer ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def BgpPeer @BgpPeer end |
#CloudAttachId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def CloudAttachId @CloudAttachId end |
#CustomerAddress ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def CustomerAddress @CustomerAddress end |
#DirectConnectGatewayId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def DirectConnectGatewayId @DirectConnectGatewayId end |
#DirectConnectId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def DirectConnectId @DirectConnectId end |
#DirectConnectOwnerAccount ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def DirectConnectOwnerAccount @DirectConnectOwnerAccount end |
#DirectConnectTunnelName ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def DirectConnectTunnelName @DirectConnectTunnelName end |
#NetworkRegion ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def NetworkRegion @NetworkRegion end |
#NetworkType ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def NetworkType @NetworkType end |
#NqaEnable ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def NqaEnable @NqaEnable end |
#NqaInfo ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def NqaInfo @NqaInfo end |
#RouteFilterPrefixes ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def RouteFilterPrefixes @RouteFilterPrefixes end |
#RouteType ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def RouteType @RouteType end |
#Tags ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def Tags @Tags end |
#TencentAddress ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def TencentAddress @TencentAddress end |
#TencentBackupAddress ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def TencentBackupAddress @TencentBackupAddress end |
#Vlan ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def Vlan @Vlan end |
#VpcId ⇒ Object
共享专线时这里需要填写共享专线的开发商账号 ID。0:不开启子接口,默认值是非0。
655 656 657 |
# File 'lib/v20180410/models.rb', line 655 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 |
# File 'lib/v20180410/models.rb', line 681 def deserialize(params) @DirectConnectId = params['DirectConnectId'] @DirectConnectTunnelName = params['DirectConnectTunnelName'] @DirectConnectOwnerAccount = params['DirectConnectOwnerAccount'] @NetworkType = params['NetworkType'] @NetworkRegion = params['NetworkRegion'] @VpcId = params['VpcId'] @DirectConnectGatewayId = params['DirectConnectGatewayId'] @Bandwidth = params['Bandwidth'] @RouteType = params['RouteType'] unless params['BgpPeer'].nil? @BgpPeer = BgpPeer.new @BgpPeer.deserialize(params['BgpPeer']) end unless params['RouteFilterPrefixes'].nil? @RouteFilterPrefixes = [] params['RouteFilterPrefixes'].each do |i| routefilterprefix_tmp = RouteFilterPrefix.new routefilterprefix_tmp.deserialize(i) @RouteFilterPrefixes << routefilterprefix_tmp end end @Vlan = params['Vlan'] @TencentAddress = params['TencentAddress'] @CustomerAddress = params['CustomerAddress'] @TencentBackupAddress = params['TencentBackupAddress'] @CloudAttachId = params['CloudAttachId'] @BfdEnable = params['BfdEnable'] @NqaEnable = params['NqaEnable'] unless params['BfdInfo'].nil? @BfdInfo = BFDInfo.new @BfdInfo.deserialize(params['BfdInfo']) end unless params['NqaInfo'].nil? @NqaInfo = NQAInfo.new @NqaInfo.deserialize(params['NqaInfo']) end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |