Documentation
¶
Index ¶
- Constants
- type AcceptDirectConnectTunnelRequest
- type AcceptDirectConnectTunnelResponse
- type AccessPoint
- type ApplyInternetAddressRequest
- type ApplyInternetAddressResponse
- type BFDInfo
- type BGPStatus
- type BgpPeer
- type Client
- func (c *Client) AcceptDirectConnectTunnel(request *AcceptDirectConnectTunnelRequest) (response *AcceptDirectConnectTunnelResponse, err error)
- func (c *Client) ApplyInternetAddress(request *ApplyInternetAddressRequest) (response *ApplyInternetAddressResponse, err error)
- func (c *Client) CreateDirectConnect(request *CreateDirectConnectRequest) (response *CreateDirectConnectResponse, err error)
- func (c *Client) CreateDirectConnectTunnel(request *CreateDirectConnectTunnelRequest) (response *CreateDirectConnectTunnelResponse, err error)
- func (c *Client) DeleteDirectConnect(request *DeleteDirectConnectRequest) (response *DeleteDirectConnectResponse, err error)
- func (c *Client) DeleteDirectConnectTunnel(request *DeleteDirectConnectTunnelRequest) (response *DeleteDirectConnectTunnelResponse, err error)
- func (c *Client) DescribeAccessPoints(request *DescribeAccessPointsRequest) (response *DescribeAccessPointsResponse, err error)
- func (c *Client) DescribeDirectConnectTunnelExtra(request *DescribeDirectConnectTunnelExtraRequest) (response *DescribeDirectConnectTunnelExtraResponse, err error)
- func (c *Client) DescribeDirectConnectTunnels(request *DescribeDirectConnectTunnelsRequest) (response *DescribeDirectConnectTunnelsResponse, err error)
- func (c *Client) DescribeDirectConnects(request *DescribeDirectConnectsRequest) (response *DescribeDirectConnectsResponse, err error)
- func (c *Client) DescribeInternetAddress(request *DescribeInternetAddressRequest) (response *DescribeInternetAddressResponse, err error)
- func (c *Client) DescribeInternetAddressQuota(request *DescribeInternetAddressQuotaRequest) (response *DescribeInternetAddressQuotaResponse, err error)
- func (c *Client) DescribeInternetAddressStatistics(request *DescribeInternetAddressStatisticsRequest) (response *DescribeInternetAddressStatisticsResponse, err error)
- func (c *Client) DescribePublicDirectConnectTunnelRoutes(request *DescribePublicDirectConnectTunnelRoutesRequest) (response *DescribePublicDirectConnectTunnelRoutesResponse, err error)
- func (c *Client) DisableInternetAddress(request *DisableInternetAddressRequest) (response *DisableInternetAddressResponse, err error)
- func (c *Client) EnableInternetAddress(request *EnableInternetAddressRequest) (response *EnableInternetAddressResponse, err error)
- func (c *Client) ModifyDirectConnectAttribute(request *ModifyDirectConnectAttributeRequest) (response *ModifyDirectConnectAttributeResponse, err error)
- func (c *Client) ModifyDirectConnectTunnelAttribute(request *ModifyDirectConnectTunnelAttributeRequest) (response *ModifyDirectConnectTunnelAttributeResponse, err error)
- func (c *Client) ModifyDirectConnectTunnelExtra(request *ModifyDirectConnectTunnelExtraRequest) (response *ModifyDirectConnectTunnelExtraResponse, err error)
- func (c *Client) RejectDirectConnectTunnel(request *RejectDirectConnectTunnelRequest) (response *RejectDirectConnectTunnelResponse, err error)
- func (c *Client) ReleaseInternetAddress(request *ReleaseInternetAddressRequest) (response *ReleaseInternetAddressResponse, err error)
- type Coordinate
- type CreateDirectConnectRequest
- type CreateDirectConnectResponse
- type CreateDirectConnectTunnelRequest
- type CreateDirectConnectTunnelResponse
- type DeleteDirectConnectRequest
- type DeleteDirectConnectResponse
- type DeleteDirectConnectTunnelRequest
- type DeleteDirectConnectTunnelResponse
- type DescribeAccessPointsRequest
- type DescribeAccessPointsResponse
- type DescribeDirectConnectTunnelExtraRequest
- type DescribeDirectConnectTunnelExtraResponse
- type DescribeDirectConnectTunnelsRequest
- type DescribeDirectConnectTunnelsResponse
- type DescribeDirectConnectsRequest
- type DescribeDirectConnectsResponse
- type DescribeInternetAddressQuotaRequest
- type DescribeInternetAddressQuotaResponse
- type DescribeInternetAddressRequest
- type DescribeInternetAddressResponse
- type DescribeInternetAddressStatisticsRequest
- type DescribeInternetAddressStatisticsResponse
- type DescribePublicDirectConnectTunnelRoutesRequest
- type DescribePublicDirectConnectTunnelRoutesResponse
- type DirectConnect
- type DirectConnectTunnel
- type DirectConnectTunnelExtra
- type DirectConnectTunnelRoute
- type DisableInternetAddressRequest
- type DisableInternetAddressResponse
- type EnableInternetAddressRequest
- type EnableInternetAddressResponse
- type Filter
- type InternetAddressDetail
- type InternetAddressStatistics
- type ModifyDirectConnectAttributeRequest
- type ModifyDirectConnectAttributeResponse
- type ModifyDirectConnectTunnelAttributeRequest
- type ModifyDirectConnectTunnelAttributeResponse
- type ModifyDirectConnectTunnelExtraRequest
- type ModifyDirectConnectTunnelExtraResponse
- type NQAInfo
- type RejectDirectConnectTunnelRequest
- type RejectDirectConnectTunnelResponse
- type ReleaseInternetAddressRequest
- type ReleaseInternetAddressResponse
- type RouteFilterPrefix
- type Tag
Constants ¶
const APIVersion = "2018-04-10"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptDirectConnectTunnelRequest ¶
type AcceptDirectConnectTunnelRequest struct { *tchttp.BaseRequest // 物理专线拥有者接受共享专用通道申请 DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` }
func NewAcceptDirectConnectTunnelRequest ¶
func NewAcceptDirectConnectTunnelRequest() (request *AcceptDirectConnectTunnelRequest)
func (*AcceptDirectConnectTunnelRequest) FromJsonString ¶
func (r *AcceptDirectConnectTunnelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AcceptDirectConnectTunnelRequest) ToJsonString ¶
func (r *AcceptDirectConnectTunnelRequest) ToJsonString() string
type AcceptDirectConnectTunnelResponse ¶
type AcceptDirectConnectTunnelResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAcceptDirectConnectTunnelResponse ¶
func NewAcceptDirectConnectTunnelResponse() (response *AcceptDirectConnectTunnelResponse)
func (*AcceptDirectConnectTunnelResponse) FromJsonString ¶
func (r *AcceptDirectConnectTunnelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AcceptDirectConnectTunnelResponse) ToJsonString ¶
func (r *AcceptDirectConnectTunnelResponse) ToJsonString() string
type AccessPoint ¶
type AccessPoint struct { // 接入点的名称。 AccessPointName *string `json:"AccessPointName,omitempty" name:"AccessPointName"` // 接入点唯一ID。 AccessPointId *string `json:"AccessPointId,omitempty" name:"AccessPointId"` // 接入点的状态。可用,不可用。 State *string `json:"State,omitempty" name:"State"` // 接入点的位置。 Location *string `json:"Location,omitempty" name:"Location"` // 接入点支持的运营商列表。 LineOperator []*string `json:"LineOperator,omitempty" name:"LineOperator" list` // 接入点管理的大区ID。 RegionId *string `json:"RegionId,omitempty" name:"RegionId"` // 接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km // 注意:此字段可能返回 null,表示取不到有效值。 AvailablePortType []*string `json:"AvailablePortType,omitempty" name:"AvailablePortType" list` // 接入点经纬度 // 注意:此字段可能返回 null,表示取不到有效值。 Coordinate *Coordinate `json:"Coordinate,omitempty" name:"Coordinate"` // 接入点所在城市 // 注意:此字段可能返回 null,表示取不到有效值。 City *string `json:"City,omitempty" name:"City"` // 接入点地域名称 // 注意:此字段可能返回 null,表示取不到有效值。 Area *string `json:"Area,omitempty" name:"Area"` }
type ApplyInternetAddressRequest ¶
type ApplyInternetAddressRequest struct { *tchttp.BaseRequest // CIDR地址掩码长度 MaskLen *int64 `json:"MaskLen,omitempty" name:"MaskLen"` // 0:BGP类型地址 // 1:中国电信 // 2:中国移动 // 3:中国联通 AddrType *int64 `json:"AddrType,omitempty" name:"AddrType"` // 0:IPv4 // 1:IPv6 AddrProto *int64 `json:"AddrProto,omitempty" name:"AddrProto"` }
func NewApplyInternetAddressRequest ¶
func NewApplyInternetAddressRequest() (request *ApplyInternetAddressRequest)
func (*ApplyInternetAddressRequest) FromJsonString ¶
func (r *ApplyInternetAddressRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyInternetAddressRequest) ToJsonString ¶
func (r *ApplyInternetAddressRequest) ToJsonString() string
type ApplyInternetAddressResponse ¶
type ApplyInternetAddressResponse struct { *tchttp.BaseResponse Response *struct { // 互联网公网地址ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewApplyInternetAddressResponse ¶
func NewApplyInternetAddressResponse() (response *ApplyInternetAddressResponse)
func (*ApplyInternetAddressResponse) FromJsonString ¶
func (r *ApplyInternetAddressResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyInternetAddressResponse) ToJsonString ¶
func (r *ApplyInternetAddressResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AcceptDirectConnectTunnel ¶
func (c *Client) AcceptDirectConnectTunnel(request *AcceptDirectConnectTunnelRequest) (response *AcceptDirectConnectTunnelResponse, err error)
接受专用通道申请
func (*Client) ApplyInternetAddress ¶
func (c *Client) ApplyInternetAddress(request *ApplyInternetAddressRequest) (response *ApplyInternetAddressResponse, err error)
申请互联网CIDR地址
func (*Client) CreateDirectConnect ¶
func (c *Client) CreateDirectConnect(request *CreateDirectConnectRequest) (response *CreateDirectConnectResponse, err error)
申请物理专线接入。 调用该接口时,请注意: 账号要进行实名认证,否则不允许申请物理专线; 若账户下存在欠费状态的物理专线,则不能申请更多的物理专线。
func (*Client) CreateDirectConnectTunnel ¶
func (c *Client) CreateDirectConnectTunnel(request *CreateDirectConnectTunnelRequest) (response *CreateDirectConnectTunnelResponse, err error)
用于创建专用通道的接口
func (*Client) DeleteDirectConnect ¶
func (c *Client) DeleteDirectConnect(request *DeleteDirectConnectRequest) (response *DeleteDirectConnectResponse, err error)
删除物理专线。 只能删除处于已连接状态的物理专线。
func (*Client) DeleteDirectConnectTunnel ¶
func (c *Client) DeleteDirectConnectTunnel(request *DeleteDirectConnectTunnelRequest) (response *DeleteDirectConnectTunnelResponse, err error)
删除专用通道
func (*Client) DescribeAccessPoints ¶
func (c *Client) DescribeAccessPoints(request *DescribeAccessPointsRequest) (response *DescribeAccessPointsResponse, err error)
查询物理专线接入点
func (*Client) DescribeDirectConnectTunnelExtra ¶
func (c *Client) DescribeDirectConnectTunnelExtra(request *DescribeDirectConnectTunnelExtraRequest) (response *DescribeDirectConnectTunnelExtraResponse, err error)
本接口(DescribeDirectConnectTunnelExtra)用于查询专用通道扩展信息
func (*Client) DescribeDirectConnectTunnels ¶
func (c *Client) DescribeDirectConnectTunnels(request *DescribeDirectConnectTunnelsRequest) (response *DescribeDirectConnectTunnelsResponse, err error)
用于查询专用通道列表。
func (*Client) DescribeDirectConnects ¶
func (c *Client) DescribeDirectConnects(request *DescribeDirectConnectsRequest) (response *DescribeDirectConnectsResponse, err error)
查询物理专线列表。
func (*Client) DescribeInternetAddress ¶
func (c *Client) DescribeInternetAddress(request *DescribeInternetAddressRequest) (response *DescribeInternetAddressResponse, err error)
获取用户互联网公网地址信息
func (*Client) DescribeInternetAddressQuota ¶
func (c *Client) DescribeInternetAddressQuota(request *DescribeInternetAddressQuotaRequest) (response *DescribeInternetAddressQuotaResponse, err error)
获取用户互联网公网地址配额
func (*Client) DescribeInternetAddressStatistics ¶
func (c *Client) DescribeInternetAddressStatistics(request *DescribeInternetAddressStatisticsRequest) (response *DescribeInternetAddressStatisticsResponse, err error)
获取用户互联网公网地址分配统计信息
func (*Client) DescribePublicDirectConnectTunnelRoutes ¶
func (c *Client) DescribePublicDirectConnectTunnelRoutes(request *DescribePublicDirectConnectTunnelRoutesRequest) (response *DescribePublicDirectConnectTunnelRoutesResponse, err error)
本接口(DescribePublicDirectConnectTunnelRoutes)用于查询互联网通道路由列表
func (*Client) DisableInternetAddress ¶
func (c *Client) DisableInternetAddress(request *DisableInternetAddressRequest) (response *DisableInternetAddressResponse, err error)
停用用户申请的公网互联网地址
func (*Client) EnableInternetAddress ¶
func (c *Client) EnableInternetAddress(request *EnableInternetAddressRequest) (response *EnableInternetAddressResponse, err error)
启用已停用的互联网公网地址
func (*Client) ModifyDirectConnectAttribute ¶
func (c *Client) ModifyDirectConnectAttribute(request *ModifyDirectConnectAttributeRequest) (response *ModifyDirectConnectAttributeResponse, err error)
修改物理专线的属性。
func (*Client) ModifyDirectConnectTunnelAttribute ¶
func (c *Client) ModifyDirectConnectTunnelAttribute(request *ModifyDirectConnectTunnelAttributeRequest) (response *ModifyDirectConnectTunnelAttributeResponse, err error)
修改专用通道属性
func (*Client) ModifyDirectConnectTunnelExtra ¶
func (c *Client) ModifyDirectConnectTunnelExtra(request *ModifyDirectConnectTunnelExtraRequest) (response *ModifyDirectConnectTunnelExtraResponse, err error)
本接口(ModifyDirectConnectTunnelExtra)用于修改专用通道扩展信息
func (*Client) RejectDirectConnectTunnel ¶
func (c *Client) RejectDirectConnectTunnel(request *RejectDirectConnectTunnelRequest) (response *RejectDirectConnectTunnelResponse, err error)
拒绝专用通道申请
func (*Client) ReleaseInternetAddress ¶
func (c *Client) ReleaseInternetAddress(request *ReleaseInternetAddressRequest) (response *ReleaseInternetAddressResponse, err error)
释放已申请的互联网地址
type Coordinate ¶
type CreateDirectConnectRequest ¶
type CreateDirectConnectRequest struct { *tchttp.BaseRequest // 物理专线的名称。 DirectConnectName *string `json:"DirectConnectName,omitempty" name:"DirectConnectName"` // 物理专线所在的接入点。 // 您可以通过调用 DescribeAccessPoints接口获取地域ID。所选择的接入点必须存在且处于可接入的状态。 AccessPointId *string `json:"AccessPointId,omitempty" name:"AccessPointId"` // 提供接入物理专线的运营商。ChinaTelecom:中国电信, ChinaMobile:中国移动,ChinaUnicom:中国联通, In-houseWiring:楼内线,ChinaOther:中国其他, InternationalOperator:境外其他。 LineOperator *string `json:"LineOperator,omitempty" name:"LineOperator"` // 物理专线接入端口类型,取值:100Base-T:百兆电口,1000Base-T(默认值):千兆电口,1000Base-LX:千兆单模光口(10千米),10GBase-T:万兆电口10GBase-LR:万兆单模光口(10千米),默认值,千兆单模光口(10千米)。 PortType *string `json:"PortType,omitempty" name:"PortType"` // 运营商或者服务商为物理专线提供的电路编码。 CircuitCode *string `json:"CircuitCode,omitempty" name:"CircuitCode"` // 本地数据中心的地理位置。 Location *string `json:"Location,omitempty" name:"Location"` // 物理专线接入接口带宽,单位为Mbps,默认值为1000,取值范围为 [2, 10240]。 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 冗余物理专线的ID。 RedundantDirectConnectId *string `json:"RedundantDirectConnectId,omitempty" name:"RedundantDirectConnectId"` // 物理专线调试VLAN。默认开启VLAN,自动分配VLAN。 Vlan *int64 `json:"Vlan,omitempty" name:"Vlan"` // 物理专线调试腾讯侧互联 IP。默认自动分配。 TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // 物理专线调试用户侧互联 IP。默认自动分配。 CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // 物理专线申请者姓名。默认从账户体系获取。 CustomerName *string `json:"CustomerName,omitempty" name:"CustomerName"` // 物理专线申请者联系邮箱。默认从账户体系获取。 CustomerContactMail *string `json:"CustomerContactMail,omitempty" name:"CustomerContactMail"` // 物理专线申请者联系号码。默认从账户体系获取。 CustomerContactNumber *string `json:"CustomerContactNumber,omitempty" name:"CustomerContactNumber"` // 报障联系人。 FaultReportContactPerson *string `json:"FaultReportContactPerson,omitempty" name:"FaultReportContactPerson"` // 报障联系电话。 FaultReportContactNumber *string `json:"FaultReportContactNumber,omitempty" name:"FaultReportContactNumber"` // 物理专线申请者是否签署了用户使用协议。默认已签署 SignLaw *bool `json:"SignLaw,omitempty" name:"SignLaw"` }
func NewCreateDirectConnectRequest ¶
func NewCreateDirectConnectRequest() (request *CreateDirectConnectRequest)
func (*CreateDirectConnectRequest) FromJsonString ¶
func (r *CreateDirectConnectRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDirectConnectRequest) ToJsonString ¶
func (r *CreateDirectConnectRequest) ToJsonString() string
type CreateDirectConnectResponse ¶
type CreateDirectConnectResponse struct { *tchttp.BaseResponse Response *struct { // 物理专线的ID。 DirectConnectIdSet []*string `json:"DirectConnectIdSet,omitempty" name:"DirectConnectIdSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDirectConnectResponse ¶
func NewCreateDirectConnectResponse() (response *CreateDirectConnectResponse)
func (*CreateDirectConnectResponse) FromJsonString ¶
func (r *CreateDirectConnectResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDirectConnectResponse) ToJsonString ¶
func (r *CreateDirectConnectResponse) ToJsonString() string
type CreateDirectConnectTunnelRequest ¶
type CreateDirectConnectTunnelRequest struct { *tchttp.BaseRequest // 专线 ID,例如:dc-kd7d06of DirectConnectId *string `json:"DirectConnectId,omitempty" name:"DirectConnectId"` // 专用通道名称 DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitempty" name:"DirectConnectTunnelName"` // 物理专线 owner,缺省为当前客户(物理专线 owner) // 共享专线时这里需要填写共享专线的开发商账号 ID DirectConnectOwnerAccount *string `json:"DirectConnectOwnerAccount,omitempty" name:"DirectConnectOwnerAccount"` // 网络类型,分别为VPC、BMVPC,CCN,默认是VPC // VPC:私有网络 // BMVPC:黑石网络 // CCN:云联网 NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // 网络地域 NetworkRegion *string `json:"NetworkRegion,omitempty" name:"NetworkRegion"` // 私有网络统一 ID 或者黑石网络统一 ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 专线网关 ID,例如 dcg-d545ddf DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 专线带宽,单位:Mbps // 默认是物理专线带宽值 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // BGP :BGP路由 // STATIC:静态 // 默认为 BGP 路由 RouteType *string `json:"RouteType,omitempty" name:"RouteType"` // BgpPeer,用户侧bgp信息,包括Asn和AuthKey BgpPeer *BgpPeer `json:"BgpPeer,omitempty" name:"BgpPeer"` // 静态路由,用户IDC的网段地址 RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitempty" name:"RouteFilterPrefixes" list` // vlan,范围:0 ~ 3000 // 0:不开启子接口 // 默认值是非0 Vlan *int64 `json:"Vlan,omitempty" name:"Vlan"` // TencentAddress,腾讯侧互联 IP TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // CustomerAddress,用户侧互联 IP CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // TencentBackupAddress,腾讯侧备用互联 IP TencentBackupAddress *string `json:"TencentBackupAddress,omitempty" name:"TencentBackupAddress"` // 高速上云服务ID CloudAttachId *string `json:"CloudAttachId,omitempty" name:"CloudAttachId"` }
func NewCreateDirectConnectTunnelRequest ¶
func NewCreateDirectConnectTunnelRequest() (request *CreateDirectConnectTunnelRequest)
func (*CreateDirectConnectTunnelRequest) FromJsonString ¶
func (r *CreateDirectConnectTunnelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDirectConnectTunnelRequest) ToJsonString ¶
func (r *CreateDirectConnectTunnelRequest) ToJsonString() string
type CreateDirectConnectTunnelResponse ¶
type CreateDirectConnectTunnelResponse struct { *tchttp.BaseResponse Response *struct { // 专用通道ID DirectConnectTunnelIdSet []*string `json:"DirectConnectTunnelIdSet,omitempty" name:"DirectConnectTunnelIdSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDirectConnectTunnelResponse ¶
func NewCreateDirectConnectTunnelResponse() (response *CreateDirectConnectTunnelResponse)
func (*CreateDirectConnectTunnelResponse) FromJsonString ¶
func (r *CreateDirectConnectTunnelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDirectConnectTunnelResponse) ToJsonString ¶
func (r *CreateDirectConnectTunnelResponse) ToJsonString() string
type DeleteDirectConnectRequest ¶
type DeleteDirectConnectRequest struct { *tchttp.BaseRequest // 物理专线的ID。 DirectConnectId *string `json:"DirectConnectId,omitempty" name:"DirectConnectId"` }
func NewDeleteDirectConnectRequest ¶
func NewDeleteDirectConnectRequest() (request *DeleteDirectConnectRequest)
func (*DeleteDirectConnectRequest) FromJsonString ¶
func (r *DeleteDirectConnectRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDirectConnectRequest) ToJsonString ¶
func (r *DeleteDirectConnectRequest) ToJsonString() string
type DeleteDirectConnectResponse ¶
type DeleteDirectConnectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDirectConnectResponse ¶
func NewDeleteDirectConnectResponse() (response *DeleteDirectConnectResponse)
func (*DeleteDirectConnectResponse) FromJsonString ¶
func (r *DeleteDirectConnectResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDirectConnectResponse) ToJsonString ¶
func (r *DeleteDirectConnectResponse) ToJsonString() string
type DeleteDirectConnectTunnelRequest ¶
type DeleteDirectConnectTunnelRequest struct { *tchttp.BaseRequest // 专用通道ID DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` }
func NewDeleteDirectConnectTunnelRequest ¶
func NewDeleteDirectConnectTunnelRequest() (request *DeleteDirectConnectTunnelRequest)
func (*DeleteDirectConnectTunnelRequest) FromJsonString ¶
func (r *DeleteDirectConnectTunnelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDirectConnectTunnelRequest) ToJsonString ¶
func (r *DeleteDirectConnectTunnelRequest) ToJsonString() string
type DeleteDirectConnectTunnelResponse ¶
type DeleteDirectConnectTunnelResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDirectConnectTunnelResponse ¶
func NewDeleteDirectConnectTunnelResponse() (response *DeleteDirectConnectTunnelResponse)
func (*DeleteDirectConnectTunnelResponse) FromJsonString ¶
func (r *DeleteDirectConnectTunnelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDirectConnectTunnelResponse) ToJsonString ¶
func (r *DeleteDirectConnectTunnelResponse) ToJsonString() string
type DescribeAccessPointsRequest ¶
type DescribeAccessPointsRequest struct { *tchttp.BaseRequest // 接入点所在的地域。使用DescribeRegions查询 // // 您可以通过调用 DescribeRegions接口获取地域ID。 RegionId *string `json:"RegionId,omitempty" name:"RegionId"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAccessPointsRequest ¶
func NewDescribeAccessPointsRequest() (request *DescribeAccessPointsRequest)
func (*DescribeAccessPointsRequest) FromJsonString ¶
func (r *DescribeAccessPointsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccessPointsRequest) ToJsonString ¶
func (r *DescribeAccessPointsRequest) ToJsonString() string
type DescribeAccessPointsResponse ¶
type DescribeAccessPointsResponse struct { *tchttp.BaseResponse Response *struct { // 接入点信息。 AccessPointSet []*AccessPoint `json:"AccessPointSet,omitempty" name:"AccessPointSet" list` // 符合接入点数量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccessPointsResponse ¶
func NewDescribeAccessPointsResponse() (response *DescribeAccessPointsResponse)
func (*DescribeAccessPointsResponse) FromJsonString ¶
func (r *DescribeAccessPointsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccessPointsResponse) ToJsonString ¶
func (r *DescribeAccessPointsResponse) ToJsonString() string
type DescribeDirectConnectTunnelExtraRequest ¶
type DescribeDirectConnectTunnelExtraRequest struct { *tchttp.BaseRequest // 专用通道ID DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` }
func NewDescribeDirectConnectTunnelExtraRequest ¶
func NewDescribeDirectConnectTunnelExtraRequest() (request *DescribeDirectConnectTunnelExtraRequest)
func (*DescribeDirectConnectTunnelExtraRequest) FromJsonString ¶
func (r *DescribeDirectConnectTunnelExtraRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDirectConnectTunnelExtraRequest) ToJsonString ¶
func (r *DescribeDirectConnectTunnelExtraRequest) ToJsonString() string
type DescribeDirectConnectTunnelExtraResponse ¶
type DescribeDirectConnectTunnelExtraResponse struct { *tchttp.BaseResponse Response *struct { // 专用通道扩展信息 DirectConnectTunnelExtra *DirectConnectTunnelExtra `json:"DirectConnectTunnelExtra,omitempty" name:"DirectConnectTunnelExtra"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDirectConnectTunnelExtraResponse ¶
func NewDescribeDirectConnectTunnelExtraResponse() (response *DescribeDirectConnectTunnelExtraResponse)
func (*DescribeDirectConnectTunnelExtraResponse) FromJsonString ¶
func (r *DescribeDirectConnectTunnelExtraResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDirectConnectTunnelExtraResponse) ToJsonString ¶
func (r *DescribeDirectConnectTunnelExtraResponse) ToJsonString() string
type DescribeDirectConnectTunnelsRequest ¶
type DescribeDirectConnectTunnelsRequest struct { *tchttp.BaseRequest // 过滤条件: // 参数不支持同时指定DirectConnectTunnelIds和Filters。 // <li> direct-connect-tunnel-name, 专用通道名称。</li> // <li> direct-connect-tunnel-id, 专用通道实例ID,如dcx-abcdefgh。</li> // <li>direct-connect-id, 物理专线实例ID,如,dc-abcdefgh。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 专用通道 ID数组 DirectConnectTunnelIds []*string `json:"DirectConnectTunnelIds,omitempty" name:"DirectConnectTunnelIds" list` // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDirectConnectTunnelsRequest ¶
func NewDescribeDirectConnectTunnelsRequest() (request *DescribeDirectConnectTunnelsRequest)
func (*DescribeDirectConnectTunnelsRequest) FromJsonString ¶
func (r *DescribeDirectConnectTunnelsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDirectConnectTunnelsRequest) ToJsonString ¶
func (r *DescribeDirectConnectTunnelsRequest) ToJsonString() string
type DescribeDirectConnectTunnelsResponse ¶
type DescribeDirectConnectTunnelsResponse struct { *tchttp.BaseResponse Response *struct { // 专用通道列表 DirectConnectTunnelSet []*DirectConnectTunnel `json:"DirectConnectTunnelSet,omitempty" name:"DirectConnectTunnelSet" list` // 符合专用通道数量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDirectConnectTunnelsResponse ¶
func NewDescribeDirectConnectTunnelsResponse() (response *DescribeDirectConnectTunnelsResponse)
func (*DescribeDirectConnectTunnelsResponse) FromJsonString ¶
func (r *DescribeDirectConnectTunnelsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDirectConnectTunnelsResponse) ToJsonString ¶
func (r *DescribeDirectConnectTunnelsResponse) ToJsonString() string
type DescribeDirectConnectsRequest ¶
type DescribeDirectConnectsRequest struct { *tchttp.BaseRequest // 过滤条件: Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 物理专线 ID数组 DirectConnectIds []*string `json:"DirectConnectIds,omitempty" name:"DirectConnectIds" list` // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDirectConnectsRequest ¶
func NewDescribeDirectConnectsRequest() (request *DescribeDirectConnectsRequest)
func (*DescribeDirectConnectsRequest) FromJsonString ¶
func (r *DescribeDirectConnectsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDirectConnectsRequest) ToJsonString ¶
func (r *DescribeDirectConnectsRequest) ToJsonString() string
type DescribeDirectConnectsResponse ¶
type DescribeDirectConnectsResponse struct { *tchttp.BaseResponse Response *struct { // 物理专线列表。 DirectConnectSet []*DirectConnect `json:"DirectConnectSet,omitempty" name:"DirectConnectSet" list` // 符合物理专线列表数量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 用户名下物理专线是否都签署了用户协议 // 注意:此字段可能返回 null,表示取不到有效值。 AllSignLaw *bool `json:"AllSignLaw,omitempty" name:"AllSignLaw"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDirectConnectsResponse ¶
func NewDescribeDirectConnectsResponse() (response *DescribeDirectConnectsResponse)
func (*DescribeDirectConnectsResponse) FromJsonString ¶
func (r *DescribeDirectConnectsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDirectConnectsResponse) ToJsonString ¶
func (r *DescribeDirectConnectsResponse) ToJsonString() string
type DescribeInternetAddressQuotaRequest ¶
type DescribeInternetAddressQuotaRequest struct {
*tchttp.BaseRequest
}
func NewDescribeInternetAddressQuotaRequest ¶
func NewDescribeInternetAddressQuotaRequest() (request *DescribeInternetAddressQuotaRequest)
func (*DescribeInternetAddressQuotaRequest) FromJsonString ¶
func (r *DescribeInternetAddressQuotaRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInternetAddressQuotaRequest) ToJsonString ¶
func (r *DescribeInternetAddressQuotaRequest) ToJsonString() string
type DescribeInternetAddressQuotaResponse ¶
type DescribeInternetAddressQuotaResponse struct { *tchttp.BaseResponse Response *struct { // IPv6互联网公网允许的最小前缀长度 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv6PrefixLen *int64 `json:"Ipv6PrefixLen,omitempty" name:"Ipv6PrefixLen"` // BGP类型IPv4互联网地址配额 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv4BgpQuota *int64 `json:"Ipv4BgpQuota,omitempty" name:"Ipv4BgpQuota"` // 非BGP类型IPv4互联网地址配额 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv4OtherQuota *int64 `json:"Ipv4OtherQuota,omitempty" name:"Ipv4OtherQuota"` // BGP类型IPv4互联网地址已使用数量 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv4BgpNum *int64 `json:"Ipv4BgpNum,omitempty" name:"Ipv4BgpNum"` // 非BGP类型互联网地址已使用数量 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv4OtherNum *int64 `json:"Ipv4OtherNum,omitempty" name:"Ipv4OtherNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInternetAddressQuotaResponse ¶
func NewDescribeInternetAddressQuotaResponse() (response *DescribeInternetAddressQuotaResponse)
func (*DescribeInternetAddressQuotaResponse) FromJsonString ¶
func (r *DescribeInternetAddressQuotaResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInternetAddressQuotaResponse) ToJsonString ¶
func (r *DescribeInternetAddressQuotaResponse) ToJsonString() string
type DescribeInternetAddressRequest ¶
type DescribeInternetAddressRequest struct { *tchttp.BaseRequest // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 过滤条件: // <li>AddrType, 地址类型。0:BGP 1; 1: 电信, 2:移动, 3:联通</li> // <li>AddrProto地址类型。0:IPv4 1:IPv6</li> // <li>Status 地址状态。 0:使用中, 1:已停用, 2:已退还</li> // <li>Subnet 互联网公网地址,数组</li> // <InstanceIds>互联网公网地址ID,数组</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` }
func NewDescribeInternetAddressRequest ¶
func NewDescribeInternetAddressRequest() (request *DescribeInternetAddressRequest)
func (*DescribeInternetAddressRequest) FromJsonString ¶
func (r *DescribeInternetAddressRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInternetAddressRequest) ToJsonString ¶
func (r *DescribeInternetAddressRequest) ToJsonString() string
type DescribeInternetAddressResponse ¶
type DescribeInternetAddressResponse struct { *tchttp.BaseResponse Response *struct { // 互联网公网地址数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 互联网公网地址列表 // 注意:此字段可能返回 null,表示取不到有效值。 Subnets []*InternetAddressDetail `json:"Subnets,omitempty" name:"Subnets" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInternetAddressResponse ¶
func NewDescribeInternetAddressResponse() (response *DescribeInternetAddressResponse)
func (*DescribeInternetAddressResponse) FromJsonString ¶
func (r *DescribeInternetAddressResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInternetAddressResponse) ToJsonString ¶
func (r *DescribeInternetAddressResponse) ToJsonString() string
type DescribeInternetAddressStatisticsRequest ¶
type DescribeInternetAddressStatisticsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeInternetAddressStatisticsRequest ¶
func NewDescribeInternetAddressStatisticsRequest() (request *DescribeInternetAddressStatisticsRequest)
func (*DescribeInternetAddressStatisticsRequest) FromJsonString ¶
func (r *DescribeInternetAddressStatisticsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInternetAddressStatisticsRequest) ToJsonString ¶
func (r *DescribeInternetAddressStatisticsRequest) ToJsonString() string
type DescribeInternetAddressStatisticsResponse ¶
type DescribeInternetAddressStatisticsResponse struct { *tchttp.BaseResponse Response *struct { // 互联网公网地址统计信息数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 互联网公网地址统计信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 InternetAddressStatistics []*InternetAddressStatistics `json:"InternetAddressStatistics,omitempty" name:"InternetAddressStatistics" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInternetAddressStatisticsResponse ¶
func NewDescribeInternetAddressStatisticsResponse() (response *DescribeInternetAddressStatisticsResponse)
func (*DescribeInternetAddressStatisticsResponse) FromJsonString ¶
func (r *DescribeInternetAddressStatisticsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInternetAddressStatisticsResponse) ToJsonString ¶
func (r *DescribeInternetAddressStatisticsResponse) ToJsonString() string
type DescribePublicDirectConnectTunnelRoutesRequest ¶
type DescribePublicDirectConnectTunnelRoutesRequest struct { *tchttp.BaseRequest // 专用通道ID DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` // 过滤条件: // route-type:路由类型,取值:BGP/STATIC // route-subnet:路由cidr,取值如:192.68.1.0/24 Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribePublicDirectConnectTunnelRoutesRequest ¶
func NewDescribePublicDirectConnectTunnelRoutesRequest() (request *DescribePublicDirectConnectTunnelRoutesRequest)
func (*DescribePublicDirectConnectTunnelRoutesRequest) FromJsonString ¶
func (r *DescribePublicDirectConnectTunnelRoutesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublicDirectConnectTunnelRoutesRequest) ToJsonString ¶
func (r *DescribePublicDirectConnectTunnelRoutesRequest) ToJsonString() string
type DescribePublicDirectConnectTunnelRoutesResponse ¶
type DescribePublicDirectConnectTunnelRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 互联网通道路由列表 Routes []*DirectConnectTunnelRoute `json:"Routes,omitempty" name:"Routes" list` // 记录总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePublicDirectConnectTunnelRoutesResponse ¶
func NewDescribePublicDirectConnectTunnelRoutesResponse() (response *DescribePublicDirectConnectTunnelRoutesResponse)
func (*DescribePublicDirectConnectTunnelRoutesResponse) FromJsonString ¶
func (r *DescribePublicDirectConnectTunnelRoutesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublicDirectConnectTunnelRoutesResponse) ToJsonString ¶
func (r *DescribePublicDirectConnectTunnelRoutesResponse) ToJsonString() string
type DirectConnect ¶
type DirectConnect struct { // 物理专线ID。 DirectConnectId *string `json:"DirectConnectId,omitempty" name:"DirectConnectId"` // 物理专线的名称。 DirectConnectName *string `json:"DirectConnectName,omitempty" name:"DirectConnectName"` // 物理专线的接入点ID。 AccessPointId *string `json:"AccessPointId,omitempty" name:"AccessPointId"` // 物理专线的状态。 // 申请中:PENDING // 申请驳回:REJECTED // 待付款:TOPAY // 已付款:PAID // 建设中:ALLOCATED // 已开通:AVAILABLE // 删除中 :DELETING // 已删除:DELETED 。 State *string `json:"State,omitempty" name:"State"` // 物理专线创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 物理专线的开通时间。 EnabledTime *string `json:"EnabledTime,omitempty" name:"EnabledTime"` // 提供接入物理专线的运营商。ChinaTelecom:中国电信, ChinaMobile:中国移动,ChinaUnicom:中国联通, In-houseWiring:楼内线,ChinaOther:中国其他, InternationalOperator:境外其他。 LineOperator *string `json:"LineOperator,omitempty" name:"LineOperator"` // 本地数据中心的地理位置。 Location *string `json:"Location,omitempty" name:"Location"` // 物理专线接入接口带宽,单位为Mbps。 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 用户侧物理专线接入端口类型,取值:100Base-T:百兆电口,1000Base-T(默认值):千兆电口,1000Base-LX:千兆单模光口(10千米),10GBase-T:万兆电口10GBase-LR:万兆单模光口(10千米),默认值,千兆单模光口(10千米) PortType *string `json:"PortType,omitempty" name:"PortType"` // 运营商或者服务商为物理专线提供的电路编码。 // 注意:此字段可能返回 null,表示取不到有效值。 CircuitCode *string `json:"CircuitCode,omitempty" name:"CircuitCode"` // 冗余物理专线的ID。 RedundantDirectConnectId *string `json:"RedundantDirectConnectId,omitempty" name:"RedundantDirectConnectId"` // 物理专线调试VLAN。默认开启VLAN,自动分配VLAN。 // 注意:此字段可能返回 null,表示取不到有效值。 Vlan *int64 `json:"Vlan,omitempty" name:"Vlan"` // 物理专线调试腾讯侧互联IP。 // 注意:此字段可能返回 null,表示取不到有效值。 TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // 物理专线调试用户侧互联IP。 // 注意:此字段可能返回 null,表示取不到有效值。 CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // 物理专线申请者姓名。默认从账户体系获取。 // 注意:此字段可能返回 null,表示取不到有效值。 CustomerName *string `json:"CustomerName,omitempty" name:"CustomerName"` // 物理专线申请者联系邮箱。默认从账户体系获取。 // 注意:此字段可能返回 null,表示取不到有效值。 CustomerContactMail *string `json:"CustomerContactMail,omitempty" name:"CustomerContactMail"` // 物理专线申请者联系号码。默认从账户体系获取。 // 注意:此字段可能返回 null,表示取不到有效值。 CustomerContactNumber *string `json:"CustomerContactNumber,omitempty" name:"CustomerContactNumber"` // 物理专线的过期时间。 // 注意:此字段可能返回 null,表示取不到有效值。 ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"` // 物理专线计费类型。 NON_RECURRING_CHARGE:一次性接入费用;PREPAID_BY_YEAR:按年预付费。 // 注意:此字段可能返回 null,表示取不到有效值。 ChargeType *string `json:"ChargeType,omitempty" name:"ChargeType"` // 报障联系人。 // 注意:此字段可能返回 null,表示取不到有效值。 FaultReportContactPerson *string `json:"FaultReportContactPerson,omitempty" name:"FaultReportContactPerson"` // 报障联系电话。 // 注意:此字段可能返回 null,表示取不到有效值。 FaultReportContactNumber *string `json:"FaultReportContactNumber,omitempty" name:"FaultReportContactNumber"` // 标签键值对 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet" list` // 物理专线的接入点类型。 AccessPointType *string `json:"AccessPointType,omitempty" name:"AccessPointType"` // IDC所在城市 // 注意:此字段可能返回 null,表示取不到有效值。 IdcCity *string `json:"IdcCity,omitempty" name:"IdcCity"` // 计费状态 // 注意:此字段可能返回 null,表示取不到有效值。 ChargeState *string `json:"ChargeState,omitempty" name:"ChargeState"` // 物理专线开通时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 物理专线是否已签署用户协议 // 注意:此字段可能返回 null,表示取不到有效值。 SignLaw *bool `json:"SignLaw,omitempty" name:"SignLaw"` // 物理专线是否为LocalZone // 注意:此字段可能返回 null,表示取不到有效值。 LocalZone *bool `json:"LocalZone,omitempty" name:"LocalZone"` // 该物理专线下vlan 0的专线通道数量 // 注意:此字段可能返回 null,表示取不到有效值。 VlanZeroDirectConnectTunnelCount *uint64 `json:"VlanZeroDirectConnectTunnelCount,omitempty" name:"VlanZeroDirectConnectTunnelCount"` // 该物理专线下非vlan 0的专线通道数量 // 注意:此字段可能返回 null,表示取不到有效值。 OtherVlanDirectConnectTunnelCount *uint64 `json:"OtherVlanDirectConnectTunnelCount,omitempty" name:"OtherVlanDirectConnectTunnelCount"` // 物理专线最小带宽 // 注意:此字段可能返回 null,表示取不到有效值。 MinBandwidth *uint64 `json:"MinBandwidth,omitempty" name:"MinBandwidth"` }
type DirectConnectTunnel ¶
type DirectConnectTunnel struct { // 专用通道ID DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` // 物理专线ID DirectConnectId *string `json:"DirectConnectId,omitempty" name:"DirectConnectId"` // 专用通道状态 // AVAILABLE:就绪或者已连接 // PENDING:申请中 // ALLOCATING:配置中 // ALLOCATED:配置完成 // ALTERING:修改中 // DELETING:删除中 // DELETED:删除完成 // COMFIRMING:待接受 // REJECTED:拒绝 State *string `json:"State,omitempty" name:"State"` // 物理专线的拥有者,开发商账号 ID DirectConnectOwnerAccount *string `json:"DirectConnectOwnerAccount,omitempty" name:"DirectConnectOwnerAccount"` // 专用通道的拥有者,开发商账号 ID OwnerAccount *string `json:"OwnerAccount,omitempty" name:"OwnerAccount"` // 网络类型,分别为VPC、BMVPC、CCN // VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网 NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // VPC地域对应的网络名,如ap-guangzhou NetworkRegion *string `json:"NetworkRegion,omitempty" name:"NetworkRegion"` // 私有网络统一 ID 或者黑石网络统一 ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 专线网关 ID DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // BGP :BGP路由 STATIC:静态 默认为 BGP 路由 RouteType *string `json:"RouteType,omitempty" name:"RouteType"` // 用户侧BGP,Asn,AuthKey BgpPeer *BgpPeer `json:"BgpPeer,omitempty" name:"BgpPeer"` // 用户侧网段地址 RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitempty" name:"RouteFilterPrefixes" list` // 专用通道的Vlan Vlan *int64 `json:"Vlan,omitempty" name:"Vlan"` // TencentAddress,腾讯侧互联 IP TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // CustomerAddress,用户侧互联 IP CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // 专用通道名称 DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitempty" name:"DirectConnectTunnelName"` // 专用通道创建时间 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 专用通道带宽值 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 专用通道标签值 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet" list` // 关联的网络自定义探测ID // 注意:此字段可能返回 null,表示取不到有效值。 NetDetectId *string `json:"NetDetectId,omitempty" name:"NetDetectId"` // BGP community开关 // 注意:此字段可能返回 null,表示取不到有效值。 EnableBGPCommunity *bool `json:"EnableBGPCommunity,omitempty" name:"EnableBGPCommunity"` // 是否为Nat通道 // 注意:此字段可能返回 null,表示取不到有效值。 NatType *int64 `json:"NatType,omitempty" name:"NatType"` // VPC地域简码,如gz、cd // 注意:此字段可能返回 null,表示取不到有效值。 VpcRegion *string `json:"VpcRegion,omitempty" name:"VpcRegion"` // 是否开启BFD // 注意:此字段可能返回 null,表示取不到有效值。 BfdEnable *int64 `json:"BfdEnable,omitempty" name:"BfdEnable"` // 专用通道接入点类型 // 注意:此字段可能返回 null,表示取不到有效值。 AccessPointType *string `json:"AccessPointType,omitempty" name:"AccessPointType"` // 专线网关名称 // 注意:此字段可能返回 null,表示取不到有效值。 DirectConnectGatewayName *string `json:"DirectConnectGatewayName,omitempty" name:"DirectConnectGatewayName"` // VPC名称 // 注意:此字段可能返回 null,表示取不到有效值。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // TencentBackupAddress,腾讯侧备用互联 IP // 注意:此字段可能返回 null,表示取不到有效值。 TencentBackupAddress *string `json:"TencentBackupAddress,omitempty" name:"TencentBackupAddress"` // 专用通道关联的物理专线是否签署了用户协议 // 注意:此字段可能返回 null,表示取不到有效值。 SignLaw *bool `json:"SignLaw,omitempty" name:"SignLaw"` // 高速上云服务ID // 注意:此字段可能返回 null,表示取不到有效值。 CloudAttachId *string `json:"CloudAttachId,omitempty" name:"CloudAttachId"` }
type DirectConnectTunnelExtra ¶
type DirectConnectTunnelExtra struct { // 专用通道ID DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` // 物理专线ID DirectConnectId *string `json:"DirectConnectId,omitempty" name:"DirectConnectId"` // 专用通道状态 // AVAILABLE:就绪或者已连接 // PENDING:申请中 // ALLOCATING:配置中 // ALLOCATED:配置完成 // ALTERING:修改中 // DELETING:删除中 // DELETED:删除完成 // COMFIRMING:待接受 // REJECTED:拒绝 State *string `json:"State,omitempty" name:"State"` // 物理专线的拥有者,开发商账号 ID DirectConnectOwnerAccount *string `json:"DirectConnectOwnerAccount,omitempty" name:"DirectConnectOwnerAccount"` // 专用通道的拥有者,开发商账号 ID OwnerAccount *string `json:"OwnerAccount,omitempty" name:"OwnerAccount"` // 网络类型,分别为VPC、BMVPC、CCN // VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网 NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // VPC地域对应的网络名,如ap-guangzhou NetworkRegion *string `json:"NetworkRegion,omitempty" name:"NetworkRegion"` // 私有网络统一 ID 或者黑石网络统一 ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 专线网关 ID DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // BGP :BGP路由 STATIC:静态 默认为 BGP 路由 RouteType *string `json:"RouteType,omitempty" name:"RouteType"` // 用户侧BGP,Asn,AuthKey BgpPeer *BgpPeer `json:"BgpPeer,omitempty" name:"BgpPeer"` // 用户侧网段地址 RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitempty" name:"RouteFilterPrefixes" list` // 互联网通道公网网段地址 PublicAddresses []*RouteFilterPrefix `json:"PublicAddresses,omitempty" name:"PublicAddresses" list` // 专用通道的Vlan Vlan *int64 `json:"Vlan,omitempty" name:"Vlan"` // 腾讯侧互联 IP TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // 腾讯侧备用互联IP TencentBackupAddress *string `json:"TencentBackupAddress,omitempty" name:"TencentBackupAddress"` // 用户侧互联 IP CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // 专用通道名称 DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitempty" name:"DirectConnectTunnelName"` // 专用通道创建时间 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 专用通道带宽值 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 关联的网络自定义探测ID NetDetectId *string `json:"NetDetectId,omitempty" name:"NetDetectId"` // BGP community开关 EnableBGPCommunity *bool `json:"EnableBGPCommunity,omitempty" name:"EnableBGPCommunity"` // 是否为Nat通道 NatType *int64 `json:"NatType,omitempty" name:"NatType"` // VPC地域简码,如gz、cd VpcRegion *string `json:"VpcRegion,omitempty" name:"VpcRegion"` // 是否开启BFD BfdEnable *int64 `json:"BfdEnable,omitempty" name:"BfdEnable"` // 是否开启NQA NqaEnable *int64 `json:"NqaEnable,omitempty" name:"NqaEnable"` // 专用通道接入点类型 AccessPointType *string `json:"AccessPointType,omitempty" name:"AccessPointType"` // 专线网关名称 DirectConnectGatewayName *string `json:"DirectConnectGatewayName,omitempty" name:"DirectConnectGatewayName"` // VPC名称 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // 专用通道关联的物理专线是否签署了用户协议 SignLaw *bool `json:"SignLaw,omitempty" name:"SignLaw"` // BFD配置信息 BfdInfo *BFDInfo `json:"BfdInfo,omitempty" name:"BfdInfo"` // NQA配置信息 NqaInfo *NQAInfo `json:"NqaInfo,omitempty" name:"NqaInfo"` // BGP状态 BgpStatus *BGPStatus `json:"BgpStatus,omitempty" name:"BgpStatus"` // 是否开启IPv6 // 注意:此字段可能返回 null,表示取不到有效值。 IPv6Enable *int64 `json:"IPv6Enable,omitempty" name:"IPv6Enable"` // 腾讯侧互联IPv6地址 // 注意:此字段可能返回 null,表示取不到有效值。 TencentIPv6Address *string `json:"TencentIPv6Address,omitempty" name:"TencentIPv6Address"` // 腾讯侧备用互联IPv6地址 // 注意:此字段可能返回 null,表示取不到有效值。 TencentBackupIPv6Address *string `json:"TencentBackupIPv6Address,omitempty" name:"TencentBackupIPv6Address"` // BGPv6状态 // 注意:此字段可能返回 null,表示取不到有效值。 BgpIPv6Status *BGPStatus `json:"BgpIPv6Status,omitempty" name:"BgpIPv6Status"` // 用户侧互联IPv6地址 // 注意:此字段可能返回 null,表示取不到有效值。 CustomerIPv6Address *string `json:"CustomerIPv6Address,omitempty" name:"CustomerIPv6Address"` }
type DirectConnectTunnelRoute ¶
type DirectConnectTunnelRoute struct { // 专用通道路由ID RouteId *string `json:"RouteId,omitempty" name:"RouteId"` // 网段CIDR DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"` // 路由类型:BGP/STATIC路由 RouteType *string `json:"RouteType,omitempty" name:"RouteType"` // ENABLE:路由启用,DISABLE:路由禁用 Status *string `json:"Status,omitempty" name:"Status"` // ASPath信息 ASPath []*string `json:"ASPath,omitempty" name:"ASPath" list` // 路由下一跳IP NextHop *string `json:"NextHop,omitempty" name:"NextHop"` }
type DisableInternetAddressRequest ¶
type DisableInternetAddressRequest struct { *tchttp.BaseRequest // 公网互联网地址ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDisableInternetAddressRequest ¶
func NewDisableInternetAddressRequest() (request *DisableInternetAddressRequest)
func (*DisableInternetAddressRequest) FromJsonString ¶
func (r *DisableInternetAddressRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableInternetAddressRequest) ToJsonString ¶
func (r *DisableInternetAddressRequest) ToJsonString() string
type DisableInternetAddressResponse ¶
type DisableInternetAddressResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisableInternetAddressResponse ¶
func NewDisableInternetAddressResponse() (response *DisableInternetAddressResponse)
func (*DisableInternetAddressResponse) FromJsonString ¶
func (r *DisableInternetAddressResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableInternetAddressResponse) ToJsonString ¶
func (r *DisableInternetAddressResponse) ToJsonString() string
type EnableInternetAddressRequest ¶
type EnableInternetAddressRequest struct { *tchttp.BaseRequest // 互联网公网地址ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewEnableInternetAddressRequest ¶
func NewEnableInternetAddressRequest() (request *EnableInternetAddressRequest)
func (*EnableInternetAddressRequest) FromJsonString ¶
func (r *EnableInternetAddressRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableInternetAddressRequest) ToJsonString ¶
func (r *EnableInternetAddressRequest) ToJsonString() string
type EnableInternetAddressResponse ¶
type EnableInternetAddressResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewEnableInternetAddressResponse ¶
func NewEnableInternetAddressResponse() (response *EnableInternetAddressResponse)
func (*EnableInternetAddressResponse) FromJsonString ¶
func (r *EnableInternetAddressResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableInternetAddressResponse) ToJsonString ¶
func (r *EnableInternetAddressResponse) ToJsonString() string
type InternetAddressDetail ¶
type InternetAddressDetail struct { // 互联网地址ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 互联网网络地址 // 注意:此字段可能返回 null,表示取不到有效值。 Subnet *string `json:"Subnet,omitempty" name:"Subnet"` // 网络地址掩码长度 // 注意:此字段可能返回 null,表示取不到有效值。 MaskLen *int64 `json:"MaskLen,omitempty" name:"MaskLen"` // 0:BGP // 1:电信 // 2:移动 // 3:联通 // 注意:此字段可能返回 null,表示取不到有效值。 AddrType *int64 `json:"AddrType,omitempty" name:"AddrType"` // 0:使用中 // 1:已停用 // 2:已退还 Status *int64 `json:"Status,omitempty" name:"Status"` // 申请时间 // 注意:此字段可能返回 null,表示取不到有效值。 ApplyTime *string `json:"ApplyTime,omitempty" name:"ApplyTime"` // 停用时间 // 注意:此字段可能返回 null,表示取不到有效值。 StopTime *string `json:"StopTime,omitempty" name:"StopTime"` // 退还时间 // 注意:此字段可能返回 null,表示取不到有效值。 ReleaseTime *string `json:"ReleaseTime,omitempty" name:"ReleaseTime"` // 地域信息 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitempty" name:"Region"` // 用户ID // 注意:此字段可能返回 null,表示取不到有效值。 AppId *int64 `json:"AppId,omitempty" name:"AppId"` // 0:IPv4 1:IPv6 // 注意:此字段可能返回 null,表示取不到有效值。 AddrProto *int64 `json:"AddrProto,omitempty" name:"AddrProto"` // 释放状态的IP地址保留的天数 // 注意:此字段可能返回 null,表示取不到有效值。 ReserveTime *int64 `json:"ReserveTime,omitempty" name:"ReserveTime"` }
type ModifyDirectConnectAttributeRequest ¶
type ModifyDirectConnectAttributeRequest struct { *tchttp.BaseRequest // 物理专线的ID。 DirectConnectId *string `json:"DirectConnectId,omitempty" name:"DirectConnectId"` // 物理专线名称。 DirectConnectName *string `json:"DirectConnectName,omitempty" name:"DirectConnectName"` // 运营商或者服务商为物理专线提供的电路编码。 CircuitCode *string `json:"CircuitCode,omitempty" name:"CircuitCode"` // 物理专线调试VLAN。 Vlan *int64 `json:"Vlan,omitempty" name:"Vlan"` // 物理专线调试腾讯侧互联 IP。 TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // 物理专线调试用户侧互联 IP。 CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // 物理专线申请者姓名。默认从账户体系获取。 CustomerName *string `json:"CustomerName,omitempty" name:"CustomerName"` // 物理专线申请者联系邮箱。默认从账户体系获取。 CustomerContactMail *string `json:"CustomerContactMail,omitempty" name:"CustomerContactMail"` // 物理专线申请者联系号码。默认从账户体系获取。 CustomerContactNumber *string `json:"CustomerContactNumber,omitempty" name:"CustomerContactNumber"` // 报障联系人。 FaultReportContactPerson *string `json:"FaultReportContactPerson,omitempty" name:"FaultReportContactPerson"` // 报障联系电话。 FaultReportContactNumber *string `json:"FaultReportContactNumber,omitempty" name:"FaultReportContactNumber"` // 物理专线申请者补签用户使用协议 SignLaw *bool `json:"SignLaw,omitempty" name:"SignLaw"` // 物理专线带宽 Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"` }
func NewModifyDirectConnectAttributeRequest ¶
func NewModifyDirectConnectAttributeRequest() (request *ModifyDirectConnectAttributeRequest)
func (*ModifyDirectConnectAttributeRequest) FromJsonString ¶
func (r *ModifyDirectConnectAttributeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDirectConnectAttributeRequest) ToJsonString ¶
func (r *ModifyDirectConnectAttributeRequest) ToJsonString() string
type ModifyDirectConnectAttributeResponse ¶
type ModifyDirectConnectAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDirectConnectAttributeResponse ¶
func NewModifyDirectConnectAttributeResponse() (response *ModifyDirectConnectAttributeResponse)
func (*ModifyDirectConnectAttributeResponse) FromJsonString ¶
func (r *ModifyDirectConnectAttributeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDirectConnectAttributeResponse) ToJsonString ¶
func (r *ModifyDirectConnectAttributeResponse) ToJsonString() string
type ModifyDirectConnectTunnelAttributeRequest ¶
type ModifyDirectConnectTunnelAttributeRequest struct { *tchttp.BaseRequest // 专用通道ID DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` // 专用通道名称 DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitempty" name:"DirectConnectTunnelName"` // 用户侧BGP,包括Asn,AuthKey BgpPeer *BgpPeer `json:"BgpPeer,omitempty" name:"BgpPeer"` // 用户侧网段地址 RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitempty" name:"RouteFilterPrefixes" list` // 腾讯侧互联IP TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // 用户侧互联IP CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // 专用通道带宽值,单位为M。 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 腾讯侧备用互联IP TencentBackupAddress *string `json:"TencentBackupAddress,omitempty" name:"TencentBackupAddress"` }
func NewModifyDirectConnectTunnelAttributeRequest ¶
func NewModifyDirectConnectTunnelAttributeRequest() (request *ModifyDirectConnectTunnelAttributeRequest)
func (*ModifyDirectConnectTunnelAttributeRequest) FromJsonString ¶
func (r *ModifyDirectConnectTunnelAttributeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDirectConnectTunnelAttributeRequest) ToJsonString ¶
func (r *ModifyDirectConnectTunnelAttributeRequest) ToJsonString() string
type ModifyDirectConnectTunnelAttributeResponse ¶
type ModifyDirectConnectTunnelAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDirectConnectTunnelAttributeResponse ¶
func NewModifyDirectConnectTunnelAttributeResponse() (response *ModifyDirectConnectTunnelAttributeResponse)
func (*ModifyDirectConnectTunnelAttributeResponse) FromJsonString ¶
func (r *ModifyDirectConnectTunnelAttributeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDirectConnectTunnelAttributeResponse) ToJsonString ¶
func (r *ModifyDirectConnectTunnelAttributeResponse) ToJsonString() string
type ModifyDirectConnectTunnelExtraRequest ¶
type ModifyDirectConnectTunnelExtraRequest struct { *tchttp.BaseRequest // 专用通道ID DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` // 专用通道的Vlan Vlan *int64 `json:"Vlan,omitempty" name:"Vlan"` // 用户侧BGP,Asn,AuthKey BgpPeer *BgpPeer `json:"BgpPeer,omitempty" name:"BgpPeer"` // 用户侧过滤网段地址 RouteFilterPrefixes *RouteFilterPrefix `json:"RouteFilterPrefixes,omitempty" name:"RouteFilterPrefixes"` // 腾讯侧互联IP TencentAddress *string `json:"TencentAddress,omitempty" name:"TencentAddress"` // 腾讯侧备用互联IP TencentBackupAddress *string `json:"TencentBackupAddress,omitempty" name:"TencentBackupAddress"` // 用户侧互联IP CustomerAddress *string `json:"CustomerAddress,omitempty" name:"CustomerAddress"` // 专用通道带宽值 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // BGP community开关 EnableBGPCommunity *bool `json:"EnableBGPCommunity,omitempty" name:"EnableBGPCommunity"` // 是否开启BFD BfdEnable *int64 `json:"BfdEnable,omitempty" name:"BfdEnable"` // 是否开启NQA NqaEnable *int64 `json:"NqaEnable,omitempty" name:"NqaEnable"` // BFD配置信息 BfdInfo *BFDInfo `json:"BfdInfo,omitempty" name:"BfdInfo"` // NQA配置信息 NqaInfo *NQAInfo `json:"NqaInfo,omitempty" name:"NqaInfo"` // 0:停用IPv6 // 1: 启用IPv6 IPv6Enable *int64 `json:"IPv6Enable,omitempty" name:"IPv6Enable"` // 去往用户侧的路由信息 CustomerIDCRoutes []*RouteFilterPrefix `json:"CustomerIDCRoutes,omitempty" name:"CustomerIDCRoutes" list` // 是否开启巨帧 // 1:开启 // 0:不开启 JumboEnable *int64 `json:"JumboEnable,omitempty" name:"JumboEnable"` }
func NewModifyDirectConnectTunnelExtraRequest ¶
func NewModifyDirectConnectTunnelExtraRequest() (request *ModifyDirectConnectTunnelExtraRequest)
func (*ModifyDirectConnectTunnelExtraRequest) FromJsonString ¶
func (r *ModifyDirectConnectTunnelExtraRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDirectConnectTunnelExtraRequest) ToJsonString ¶
func (r *ModifyDirectConnectTunnelExtraRequest) ToJsonString() string
type ModifyDirectConnectTunnelExtraResponse ¶
type ModifyDirectConnectTunnelExtraResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDirectConnectTunnelExtraResponse ¶
func NewModifyDirectConnectTunnelExtraResponse() (response *ModifyDirectConnectTunnelExtraResponse)
func (*ModifyDirectConnectTunnelExtraResponse) FromJsonString ¶
func (r *ModifyDirectConnectTunnelExtraResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDirectConnectTunnelExtraResponse) ToJsonString ¶
func (r *ModifyDirectConnectTunnelExtraResponse) ToJsonString() string
type RejectDirectConnectTunnelRequest ¶
type RejectDirectConnectTunnelRequest struct { *tchttp.BaseRequest // 无 DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitempty" name:"DirectConnectTunnelId"` }
func NewRejectDirectConnectTunnelRequest ¶
func NewRejectDirectConnectTunnelRequest() (request *RejectDirectConnectTunnelRequest)
func (*RejectDirectConnectTunnelRequest) FromJsonString ¶
func (r *RejectDirectConnectTunnelRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RejectDirectConnectTunnelRequest) ToJsonString ¶
func (r *RejectDirectConnectTunnelRequest) ToJsonString() string
type RejectDirectConnectTunnelResponse ¶
type RejectDirectConnectTunnelResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRejectDirectConnectTunnelResponse ¶
func NewRejectDirectConnectTunnelResponse() (response *RejectDirectConnectTunnelResponse)
func (*RejectDirectConnectTunnelResponse) FromJsonString ¶
func (r *RejectDirectConnectTunnelResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RejectDirectConnectTunnelResponse) ToJsonString ¶
func (r *RejectDirectConnectTunnelResponse) ToJsonString() string
type ReleaseInternetAddressRequest ¶
type ReleaseInternetAddressRequest struct { *tchttp.BaseRequest // 公网互联网地址ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewReleaseInternetAddressRequest ¶
func NewReleaseInternetAddressRequest() (request *ReleaseInternetAddressRequest)
func (*ReleaseInternetAddressRequest) FromJsonString ¶
func (r *ReleaseInternetAddressRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseInternetAddressRequest) ToJsonString ¶
func (r *ReleaseInternetAddressRequest) ToJsonString() string
type ReleaseInternetAddressResponse ¶
type ReleaseInternetAddressResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReleaseInternetAddressResponse ¶
func NewReleaseInternetAddressResponse() (response *ReleaseInternetAddressResponse)
func (*ReleaseInternetAddressResponse) FromJsonString ¶
func (r *ReleaseInternetAddressResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseInternetAddressResponse) ToJsonString ¶
func (r *ReleaseInternetAddressResponse) ToJsonString() string
type RouteFilterPrefix ¶
type RouteFilterPrefix struct { // 用户侧网段地址 Cidr *string `json:"Cidr,omitempty" name:"Cidr"` }