Class: TencentCloud::Dc::V20180410::CreateDirectConnectRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180410/models.rb

Overview

CreateDirectConnect请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#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, faultreportcontactemail = nil, signlaw = nil, tags = nil, ismacsec = nil) ⇒ CreateDirectConnectRequest



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
# File 'lib/v20180410/models.rb', line 534

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, faultreportcontactemail=nil, signlaw=nil, tags=nil, ismacsec=nil)
  @DirectConnectName = directconnectname
  @AccessPointId = accesspointid
  @LineOperator = lineoperator
  @PortType = porttype
  @CircuitCode = circuitcode
  @Location = location
  @Bandwidth = bandwidth
  @RedundantDirectConnectId = redundantdirectconnectid
  @Vlan = vlan
  @TencentAddress = tencentaddress
  @CustomerAddress = customeraddress
  @CustomerName = customername
  @CustomerContactMail = customercontactmail
  @CustomerContactNumber = customercontactnumber
  @FaultReportContactPerson = faultreportcontactperson
  @FaultReportContactNumber = faultreportcontactnumber
  @FaultReportContactEmail = faultreportcontactemail
  @SignLaw = signlaw
  @Tags = tags
  @IsMacSec = ismacsec
end

Instance Attribute Details

#AccessPointIdObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def AccessPointId
  @AccessPointId
end

#BandwidthObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def Bandwidth
  @Bandwidth
end

#CircuitCodeObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def CircuitCode
  @CircuitCode
end

#CustomerAddressObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def CustomerAddress
  @CustomerAddress
end

#CustomerContactMailObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def CustomerContactMail
  @CustomerContactMail
end

#CustomerContactNumberObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def CustomerContactNumber
  @CustomerContactNumber
end

#CustomerNameObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def CustomerName
  @CustomerName
end

#DirectConnectNameObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def DirectConnectName
  @DirectConnectName
end

#FaultReportContactEmailObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def FaultReportContactEmail
  @FaultReportContactEmail
end

#FaultReportContactNumberObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def FaultReportContactNumber
  @FaultReportContactNumber
end

#FaultReportContactPersonObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def FaultReportContactPerson
  @FaultReportContactPerson
end

#IsMacSecObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def IsMacSec
  @IsMacSec
end

#LineOperatorObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def LineOperator
  @LineOperator
end

#LocationObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def Location
  @Location
end

#PortTypeObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def PortType
  @PortType
end

#RedundantDirectConnectIdObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def RedundantDirectConnectId
  @RedundantDirectConnectId
end

#SignLawObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def SignLaw
  @SignLaw
end

#TagsObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def Tags
  @Tags
end

#TencentAddressObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def TencentAddress
  @TencentAddress
end

#VlanObject

您可以通过调用(cloud.tencent.com/document/product/216/34827)接口获取接入点ID。ChinaTelecom:中国电信;ChinaMobile:中国移动;ChinaUnicom:中国联通;

In-houseWiring

ChinaOther:中国其他;

InternationalOperator

100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。



532
533
534
# File 'lib/v20180410/models.rb', line 532

def Vlan
  @Vlan
end

Instance Method Details

#deserialize(params) ⇒ Object



557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
# File 'lib/v20180410/models.rb', line 557

def deserialize(params)
  @DirectConnectName = params['DirectConnectName']
  @AccessPointId = params['AccessPointId']
  @LineOperator = params['LineOperator']
  @PortType = params['PortType']
  @CircuitCode = params['CircuitCode']
  @Location = params['Location']
  @Bandwidth = params['Bandwidth']
  @RedundantDirectConnectId = params['RedundantDirectConnectId']
  @Vlan = params['Vlan']
  @TencentAddress = params['TencentAddress']
  @CustomerAddress = params['CustomerAddress']
  @CustomerName = params['CustomerName']
  @CustomerContactMail = params['CustomerContactMail']
  @CustomerContactNumber = params['CustomerContactNumber']
  @FaultReportContactPerson = params['FaultReportContactPerson']
  @FaultReportContactNumber = params['FaultReportContactNumber']
  @FaultReportContactEmail = params['FaultReportContactEmail']
  @SignLaw = params['SignLaw']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @IsMacSec = params['IsMacSec']
end