tenyun
Version:
Promise based and chained Tencent Cloud OpenAPI client for NodeJS
959 lines (892 loc) • 36.4 kB
TypeScript
/// <reference types="node" />
import { AxiosPromise, AxiosRequestConfig } from "axios";
/** 接入点信息。 */
declare interface AccessPoint {
/** 接入点的名称。 */
AccessPointName?: string;
/** 接入点唯一ID。 */
AccessPointId?: string;
/** 接入点的状态。可用,不可用。 */
State?: string;
/** 接入点的位置。 */
Location?: string;
/** 接入点支持的运营商列表。 */
LineOperator?: string[];
/** 接入点管理的大区ID。 */
RegionId?: string;
/** 接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km。 */
AvailablePortType?: string[];
/** 接入点经纬度。 */
Coordinate?: Coordinate;
/** 接入点所在城市。 */
City?: string;
/** 接入点地域名称。 */
Area?: string;
/** 接入点类型。VXLAN/QCPL/QCAR */
AccessPointType?: string;
/** 端口规格信息。 */
AvailablePortInfo?: PortSpecification[];
/** 接入点地址。 */
Address?: string;
/** 是否MACsec */
IsMacSec?: boolean;
}
/** BFD配置信息 */
declare interface BFDInfo {
/** 健康检查次数 */
ProbeFailedTimes?: number;
/** 健康检查间隔 */
Interval?: number;
}
/** bgp状态信息 */
declare interface BGPStatus {
/** 腾讯侧主互联IP BGP状态 */
TencentAddressBgpState?: string;
/** 腾讯侧备互联IP BGP状态 */
TencentBackupAddressBgpState?: string;
}
/** bgp参数,包括CloudAsn,Asn,AuthKey */
declare interface BgpPeer {
/** 腾讯侧BGP ASN */
CloudAsn?: number;
/** 用户侧BGP ASN */
Asn?: number;
/** 用户侧BGP密钥 */
AuthKey?: string;
}
/** 敏捷上云服务信息 */
declare interface CloudAttachInfo {
/** 敏捷上云实例id */
InstanceId?: string;
/** 敏捷上云名称 */
Name?: string;
/** 合作伙伴的AppId */
IapId?: string;
/** 需要接入敏捷上云的IDC的地址 */
IdcAddress?: string;
/** 需要接入敏捷上云的IDC的互联网服务提供商类型 */
IdcType?: string;
/** 敏捷上云的带宽,单位为MB */
Bandwidth?: number;
/** 联系电话 */
Telephone?: string;
/** 敏捷上云的状态available:就绪状态applying:申请,待审核状态pendingpay:代付款状态building:建设中状态confirming:待确认状态isolate: 隔离状态stoped:终止状态 */
Status?: string;
/** 敏捷上云申请的时间 */
ApplyTime?: string;
/** 敏捷上云建设完成的时间 */
ReadyTime?: string;
/** 敏捷上云过期时间 */
ExpireTime?: string;
/** 备注信息 */
Remarks?: string;
/** 敏捷上云的地域状态。same-region:同地域cross-region:跨地域 */
RegionStatus?: string;
/** 用户的AppId */
AppId?: string;
/** 用户的Uin */
Uin?: string;
/** 用户注册名称 */
CustomerAuthName?: string;
/** 物理专线实例ID */
DirectConnectId?: string;
/** 敏捷上云是否支持创建高速上云专线网关 */
CloudAttachServiceGatewaysSupport?: boolean;
/** 敏捷上云服务是否处于升降配中 */
BUpdateBandwidth?: boolean;
/** 接入地域 */
ArRegion?: string;
}
/** 坐标,经维度描述 */
declare interface Coordinate {
/** 纬度 */
Lat?: number;
/** 经度 */
Lng?: number;
}
/** 创建敏捷上云入参 */
declare interface CreateCasInput {
/** 敏捷上云名称 */
Name: string;
/** 需要接入敏捷上云的IDC的地址 */
IdcAddress: string;
/** 需要接入敏捷上云的IDC的互联网服务提供商类型 */
IdcType: string;
/** 敏捷上云的带宽,单位为MB */
Bandwidth: number;
/** 联系电话 */
Telephone: string;
/** 备注信息 */
Remarks: string;
/** 接入地域 */
ArRegion?: string;
}
/** 物理专线信息列表 */
declare interface DirectConnect {
/** 物理专线ID。 */
DirectConnectId?: string;
/** 物理专线的名称。 */
DirectConnectName?: string;
/** 物理专线的接入点ID。 */
AccessPointId?: string;
/** 物理专线的状态。申请中:PENDING 申请驳回:REJECTED 待付款:TOPAY 已付款:PAID 建设中:ALLOCATED 已开通:AVAILABLE 删除中 :DELETING已删除:DELETED 。 */
State?: string;
/** 物理专线创建时间。 */
CreatedTime?: string;
/** 物理专线的开通时间。 */
EnabledTime?: string;
/** 提供接入物理专线的运营商。ChinaTelecom:中国电信, ChinaMobile:中国移动,ChinaUnicom:中国联通, In-houseWiring:楼内线,ChinaOther:中国其他, InternationalOperator:境外其他。 */
LineOperator?: string;
/** 本地数据中心的地理位置。 */
Location?: string;
/** 物理专线接入接口带宽,单位为Mbps。 */
Bandwidth?: number;
/** 用户侧物理专线接入端口类型,取值:100Base-T:百兆电口,1000Base-T(默认值):千兆电口,1000Base-LX:千兆单模光口(10千米),10GBase-T:万兆电口10GBase-LR:万兆单模光口(10千米),默认值,千兆单模光口(10千米) */
PortType?: string;
/** 运营商或者服务商为物理专线提供的电路编码。 */
CircuitCode?: string;
/** 冗余物理专线的ID。 */
RedundantDirectConnectId?: string;
/** 物理专线调试VLAN。默认开启VLAN,自动分配VLAN。 */
Vlan?: number;
/** 物理专线调试腾讯侧互联IP。 */
TencentAddress?: string;
/** 物理专线调试用户侧互联IP。 */
CustomerAddress?: string;
/** 物理专线申请者姓名。默认从账户体系获取。 */
CustomerName?: string;
/** 物理专线申请者联系邮箱。默认从账户体系获取。 */
CustomerContactMail?: string;
/** 物理专线申请者联系号码。默认从账户体系获取。 */
CustomerContactNumber?: string;
/** 物理专线的过期时间。 */
ExpiredTime?: string;
/** 物理专线计费类型。 NON_RECURRING_CHARGE:一次性接入费用;PREPAID_BY_YEAR:按年预付费。 */
ChargeType?: string;
/** 报障联系人。 */
FaultReportContactPerson?: string;
/** 报障联系电话。 */
FaultReportContactNumber?: string;
/** 标签键值对 */
TagSet?: Tag[];
/** 物理专线的接入点类型。 */
AccessPointType?: string;
/** IDC所在城市 */
IdcCity?: string;
/** 计费状态 */
ChargeState?: string;
/** 物理专线开通时间 */
StartTime?: string;
/** 物理专线是否已签署用户协议 */
SignLaw?: boolean;
/** 物理专线是否为LocalZone */
LocalZone?: boolean;
/** 该物理专线下vlan 0的专用通道数量 */
VlanZeroDirectConnectTunnelCount?: number;
/** 该物理专线下非vlan 0的专用通道数量 */
OtherVlanDirectConnectTunnelCount?: number;
/** 物理专线最小带宽 */
MinBandwidth?: number;
/** 建设模式 */
Construct?: number;
/** 物理专线的接入点名称 */
AccessPointName?: string;
/** 是否三层架构 */
IsThreeArch?: boolean;
/** 是否MACsec */
IsMacSec?: boolean;
/** 端口规格(Mbps) */
PortSpecification?: number;
}
/** 专用通道信息列表 */
declare interface DirectConnectTunnel {
/** 专用通道ID */
DirectConnectTunnelId?: string;
/** 物理专线ID */
DirectConnectId?: string;
/** 专用通道状态AVAILABLE:就绪或者已连接PENDING:申请中ALLOCATING:配置中ALLOCATED:配置完成ALTERING:修改中DELETING:删除中DELETED:删除完成COMFIRMING:待接受REJECTED:拒绝 */
State?: string;
/** 物理专线的拥有者,开发商账号 ID */
DirectConnectOwnerAccount?: string;
/** 专用通道的拥有者,开发商账号 ID */
OwnerAccount?: string;
/** 网络类型,分别为VPC、BMVPC、CCN VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网 */
NetworkType?: string;
/** VPC地域对应的网络名,如ap-guangzhou */
NetworkRegion?: string;
/** 私有网络统一 ID 或者黑石网络统一 ID */
VpcId?: string;
/** 专线网关 ID */
DirectConnectGatewayId?: string;
/** BGP :BGP路由 STATIC:静态 默认为 BGP 路由 */
RouteType?: string;
/** 用户侧BGP,包括: CloudAsn,Asn,AuthKey */
BgpPeer?: BgpPeer;
/** 用户侧网段地址 */
RouteFilterPrefixes?: RouteFilterPrefix[];
/** 专用通道的Vlan */
Vlan?: number;
/** TencentAddress,腾讯侧互联 IP */
TencentAddress?: string;
/** CustomerAddress,用户侧互联 IP */
CustomerAddress?: string;
/** 专用通道名称 */
DirectConnectTunnelName?: string;
/** 专用通道创建时间 */
CreatedTime?: string;
/** 专用通道带宽值 */
Bandwidth?: number;
/** 专用通道标签值 */
TagSet?: Tag[];
/** 关联的网络自定义探测ID */
NetDetectId?: string;
/** BGP community开关 */
EnableBGPCommunity?: boolean;
/** 是否为Nat通道 */
NatType?: number;
/** VPC地域简码,如gz、cd */
VpcRegion?: string;
/** 是否开启BFD */
BfdEnable?: number;
/** 专用通道接入点类型 */
AccessPointType?: string;
/** 专线网关名称 */
DirectConnectGatewayName?: string;
/** VPC名称 */
VpcName?: string;
/** TencentBackupAddress,腾讯侧备用互联 IP */
TencentBackupAddress?: string;
/** 专用通道关联的物理专线是否签署了用户协议 */
SignLaw?: boolean;
/** 高速上云服务ID */
CloudAttachId?: string;
/** 是否共享通道 */
ShareOrNot?: number;
}
/** 专用通道扩展信息 */
declare interface DirectConnectTunnelExtra {
/** 专用通道ID */
DirectConnectTunnelId?: string;
/** 物理专线ID */
DirectConnectId?: string;
/** 专用通道状态AVAILABLE:就绪或者已连接PENDING:申请中ALLOCATING:配置中ALLOCATED:配置完成ALTERING:修改中DELETING:删除中DELETED:删除完成COMFIRMING:待接受REJECTED:拒绝 */
State?: string;
/** 物理专线的拥有者,开发商账号 ID */
DirectConnectOwnerAccount?: string;
/** 专用通道的拥有者,开发商账号 ID */
OwnerAccount?: string;
/** 网络类型,分别为VPC、BMVPC、CCN VPC:私有网络 ,BMVPC:黑石网络,CCN:云联网 */
NetworkType?: string;
/** VPC地域对应的网络名,如ap-guangzhou */
NetworkRegion?: string;
/** 私有网络统一 ID 或者黑石网络统一 ID */
VpcId?: string;
/** 专线网关 ID */
DirectConnectGatewayId?: string;
/** BGP :BGP路由 STATIC:静态 默认为 BGP 路由 */
RouteType?: string;
/** 用户侧BGP,Asn,AuthKey */
BgpPeer?: BgpPeer;
/** 用户侧网段地址 */
RouteFilterPrefixes?: RouteFilterPrefix[];
/** 互联网通道公网网段地址 */
PublicAddresses?: RouteFilterPrefix[];
/** 专用通道的Vlan */
Vlan?: number;
/** 腾讯侧互联 IP */
TencentAddress?: string;
/** 腾讯侧备用互联IP */
TencentBackupAddress?: string;
/** 用户侧互联 IP */
CustomerAddress?: string;
/** 专用通道名称 */
DirectConnectTunnelName?: string;
/** 专用通道创建时间 */
CreatedTime?: string;
/** 专用通道带宽值 */
Bandwidth?: number;
/** 关联的网络自定义探测ID */
NetDetectId?: string;
/** BGP community开关 */
EnableBGPCommunity?: boolean;
/** 是否为Nat通道 */
NatType?: number;
/** VPC地域简码,如gz、cd */
VpcRegion?: string;
/** 是否开启BFD */
BfdEnable?: number;
/** 是否开启NQA */
NqaEnable?: number;
/** 专用通道接入点类型 */
AccessPointType?: string;
/** 专线网关名称 */
DirectConnectGatewayName?: string;
/** VPC名称 */
VpcName?: string;
/** 专用通道关联的物理专线是否签署了用户协议 */
SignLaw?: boolean;
/** BFD配置信息 */
BfdInfo?: BFDInfo;
/** NQA配置信息 */
NqaInfo?: NQAInfo;
/** BGP状态 */
BgpStatus?: BGPStatus;
/** 是否开启IPv6 */
IPv6Enable?: number;
/** 腾讯侧互联IPv6地址 */
TencentIPv6Address?: string;
/** 腾讯侧备用互联IPv6地址 */
TencentBackupIPv6Address?: string;
/** BGPv6状态 */
BgpIPv6Status?: BGPStatus;
/** 用户侧互联IPv6地址 */
CustomerIPv6Address?: string;
/** 专用通道是否支持巨帧。1 支持,0 不支持 */
JumboEnable?: number;
/** 专用通道是否支持高精度BFD。1支持,0不支持 */
HighPrecisionBFDEnable?: number;
}
/** 专用通道路由 */
declare interface DirectConnectTunnelRoute {
/** 专用通道路由ID */
RouteId?: string;
/** 网段CIDR */
DestinationCidrBlock?: string;
/** 路由类型:BGP/STATIC路由 */
RouteType?: string;
/** ENABLE:路由启用,DISABLE:路由禁用 */
Status?: string;
/** ASPath信息 */
ASPath?: string[];
/** 路由下一跳IP */
NextHop?: string;
/** 路由更新时间 */
UpdateTime?: string;
/** 是否配置在通道上 */
ApplyOnTunnelEnable?: boolean;
}
/** 用于条件过滤查询 */
declare interface Filter {
/** 需要过滤的字段。 */
Name: string;
/** 字段的过滤值。 */
Values: string[];
}
/** 互联网地址详细信息 */
declare interface InternetAddressDetail {
/** 互联网地址ID */
InstanceId?: string;
/** 互联网网络地址 */
Subnet?: string;
/** 网络地址掩码长度 */
MaskLen?: number;
/** 0:BGP1:电信2:移动3:联通 */
AddrType?: number;
/** 0:使用中1:已停用2:已退还 */
Status?: number;
/** 申请时间 */
ApplyTime?: string;
/** 停用时间 */
StopTime?: string;
/** 退还时间 */
ReleaseTime?: string;
/** 地域信息 */
Region?: string;
/** 用户ID */
AppId?: number;
/** 0:IPv4 1:IPv6 */
AddrProto?: number;
/** 释放状态的IP地址保留的天数 */
ReserveTime?: number;
}
/** 互联网公网地址统计 */
declare interface InternetAddressStatistics {
/** 地域 */
Region?: string;
/** 互联网公网地址数量 */
SubnetNum?: number;
}
/** nqa配置信息 */
declare interface NQAInfo {
/** 健康检查次数 */
ProbeFailedTimes?: number;
/** 健康检查间隔 */
Interval?: number;
/** 健康检查地址 */
DestinationIp?: string;
}
/** 端口规格 */
declare interface PortSpecification {
/** 端口名称 */
InternationalName?: string;
/** 端口规格(M) */
Specification?: number;
/** 端口类型:T-电口,X-光口 */
PortType?: string;
}
/** 用户侧网段地址 */
declare interface RouteFilterPrefix {
/** 用户侧网段地址 */
Cidr?: string;
}
/** 标签键值对 */
declare interface Tag {
/** 标签键 */
Key: string;
/** 标签值 */
Value: string;
}
declare interface AcceptDirectConnectTunnelRequest {
/** 专用通道ID。可以通过[DescribeDirectConnectTunnels](https://cloud.tencent.com/document/product/216/19819)接口获取。 */
DirectConnectTunnelId: string;
}
declare interface AcceptDirectConnectTunnelResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface ApplyInternetAddressRequest {
/** CIDR地址掩码长度 */
MaskLen: number;
/** 0:BGP类型地址1:中国电信2:中国移动3:中国联通 */
AddrType: number;
/** 0:IPv41:IPv6 */
AddrProto: number;
}
declare interface ApplyInternetAddressResponse {
/** 互联网公网地址ID */
InstanceId?: string;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface CreateCloudAttachServiceRequest {
/** 创建敏捷上云入参 */
Data: CreateCasInput;
}
declare interface CreateCloudAttachServiceResponse {
/** 敏捷上云服务详情 */
CloudAttach?: CloudAttachInfo;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface CreateDirectConnectRequest {
/** 物理专线的名称。 */
DirectConnectName: string;
/** 物理专线所在的接入点。您可以通过调用[DescribeAccessPoints](https://cloud.tencent.com/document/product/216/34827)接口获取接入点ID。 */
AccessPointId: string;
/** 提供接入物理专线的运营商。ChinaTelecom:中国电信; ChinaMobile:中国移动;ChinaUnicom:中国联通; In-houseWiring:楼内线;ChinaOther:中国其他; InternationalOperator:境外其他。 */
LineOperator: string;
/** 物理专线接入端口类型,取值:100Base-T:百兆电口;1000Base-T(默认值):千兆电口;1000Base-LX:千兆单模光口(10千米);10GBase-T:万兆电口;10GBase-LR(默认值):万兆单模光口(10千米)。 */
PortType: string;
/** 运营商或者服务商为物理专线提供的电路编码。 */
CircuitCode?: string;
/** 本地数据中心的地理位置。 */
Location?: string;
/** 物理专线接入接口带宽,单位为Mbps,默认值为1000,取值范围为 [2, 10240]。 */
Bandwidth?: number;
/** 冗余物理专线的ID。 */
RedundantDirectConnectId?: string;
/** 物理专线调试VLAN。默认开启VLAN,自动分配VLAN。 */
Vlan?: number;
/** 物理专线调试腾讯侧互联 IP。默认自动分配。 */
TencentAddress?: string;
/** 物理专线调试用户侧互联 IP。默认自动分配。 */
CustomerAddress?: string;
/** 物理专线申请者姓名。默认从账户体系获取。 */
CustomerName?: string;
/** 物理专线申请者联系邮箱。默认从账户体系获取。 */
CustomerContactMail?: string;
/** 物理专线申请者联系号码。默认从账户体系获取。 */
CustomerContactNumber?: string;
/** 报障联系人。 */
FaultReportContactPerson?: string;
/** 报障联系电话。 */
FaultReportContactNumber?: string;
/** 报障联系邮箱。 */
FaultReportContactEmail?: string;
/** 物理专线申请者是否签署了用户使用协议。默认已签署。 */
SignLaw?: boolean;
/** 标签键值对 */
Tags?: Tag[];
/** 是否MACsec需求 */
IsMacSec?: boolean;
}
declare interface CreateDirectConnectResponse {
/** 物理专线的ID。 */
DirectConnectIdSet?: string[];
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface CreateDirectConnectTunnelRequest {
/** 物理专线ID,例如:dc-kd7d06of。 */
DirectConnectId: string;
/** 专用通道名称。 */
DirectConnectTunnelName: string;
/** 物理专线owner,缺省为当前客户(物理专线 owner)共享专线时这里需要填写共享专线的开发商账号 ID。 */
DirectConnectOwnerAccount?: string;
/** 网络类型,枚举:VPC、CCN、NAT;默认为VPC。VPC:私有网络;CCN:云联网;NAT:NAT网络)。 */
NetworkType?: string;
/** 网络地域。 */
NetworkRegion?: string;
/** 私有网络统一ID,在NetworkType为VPC时必填,且与专线网关所属的VPCID一致;NetworkType为其它组网类型时可不填,内部会统一处理。 */
VpcId?: string;
/** 专线网关ID,例如 dcg-d545ddf。 */
DirectConnectGatewayId?: string;
/** 专线带宽,单位:Mbps;默认是物理专线带宽值。 */
Bandwidth?: number;
/** 路由类型,枚举:BGP、STATIC;默认为BGP 。(BGP :BGP路由;STATIC:静态)。 */
RouteType?: string;
/** BgpPeer,用户侧bgp信息,包括Asn和AuthKey。 */
BgpPeer?: BgpPeer;
/** 静态路由,用户IDC的网段地址。 */
RouteFilterPrefixes?: RouteFilterPrefix[];
/** vlan,范围:0 ~ 3000。0:不开启子接口,默认值是非0。 */
Vlan?: number;
/** TencentAddress,腾讯侧互联 IP。 */
TencentAddress?: string;
/** CustomerAddress,用户侧互联 IP。 */
CustomerAddress?: string;
/** TencentBackupAddress,腾讯侧备用互联 IP。 */
TencentBackupAddress?: string;
/** 高速上云服务ID。 */
CloudAttachId?: string;
/** 是否开启BFD。 */
BfdEnable?: number;
/** 是否开启NQA。 */
NqaEnable?: number;
/** BFD配置信息。 */
BfdInfo?: BFDInfo;
/** NQA配置信息。 */
NqaInfo?: NQAInfo;
/** 标签键值对 */
Tags?: Tag[];
}
declare interface CreateDirectConnectTunnelResponse {
/** 专用通道ID。 */
DirectConnectTunnelIdSet?: string[];
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DeleteDirectConnectRequest {
/** 物理专线的ID。 */
DirectConnectId: string;
}
declare interface DeleteDirectConnectResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DeleteDirectConnectTunnelRequest {
/** 专用通道ID。 */
DirectConnectTunnelId: string;
}
declare interface DeleteDirectConnectTunnelResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeAccessPointsRequest {
/** 接入点所在的地域。你可以通过调用[DescribeRegions](https://cloud.tencent.com/document/product/1596/77930)接口获取地域ID。 */
RegionId?: string;
/** 偏移量,默认为0。 */
Offset?: number;
/** 返回数量,默认为20,最大值为100。 */
Limit?: number;
/** 过滤参数,支持:access-point-id、isp */
Filters?: Filter[];
}
declare interface DescribeAccessPointsResponse {
/** 接入点信息。 */
AccessPointSet?: AccessPoint[];
/** 接入点总数量。 */
TotalCount?: number;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeDirectConnectTunnelExtraRequest {
/** 专用通道ID。 */
DirectConnectTunnelId: string;
}
declare interface DescribeDirectConnectTunnelExtraResponse {
/** 专用通道扩展信息。 */
DirectConnectTunnelExtra?: DirectConnectTunnelExtra;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeDirectConnectTunnelsRequest {
/** 过滤条件:参数不支持同时指定DirectConnectTunnelIds和Filters。direct-connect-tunnel-name, 专用通道名称。direct-connect-tunnel-id, 专用通道实例ID,如:dcx-abcdefgh。direct-connect-id, 物理专线实例ID,如:dc-abcdefgh。 */
Filters?: Filter[];
/** 专用通道ID数组。 */
DirectConnectTunnelIds?: string[];
/** 偏移量,默认为0。 */
Offset?: number;
/** 返回数量,默认为20,最大值为100。 */
Limit?: number;
}
declare interface DescribeDirectConnectTunnelsResponse {
/** 专用通道列表。 */
DirectConnectTunnelSet?: DirectConnectTunnel[];
/** 专用通道总数量。 */
TotalCount?: number;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeDirectConnectsRequest {
/** 过滤条件。direct-connect-id:物理专线ID,states:物理专线状态(AVAILABLE-就绪,PENDING-申请中,REJECTED-申请被拒绝,PENDINGPAY-待付款,PAID-付款完成,BUILDING-建设中,STOPED-建设终止,DELETED-删除完成)。 */
Filters?: Filter[];
/** 物理专线 ID数组。 */
DirectConnectIds?: string[];
/** 偏移量,默认为0。 */
Offset?: number;
/** 返回数量,默认为20,最大值为100。 */
Limit?: number;
}
declare interface DescribeDirectConnectsResponse {
/** 物理专线列表。 */
DirectConnectSet?: DirectConnect[];
/** 符合物理专线列表数量。 */
TotalCount?: number;
/** 用户名下物理专线是否都签署了用户协议。 */
AllSignLaw?: boolean;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeInternetAddressQuotaRequest {
}
declare interface DescribeInternetAddressQuotaResponse {
/** IPv6互联网公网允许的最小前缀长度 */
Ipv6PrefixLen?: number;
/** BGP类型IPv4互联网地址配额 */
Ipv4BgpQuota?: number;
/** 非BGP类型IPv4互联网地址配额 */
Ipv4OtherQuota?: number;
/** BGP类型IPv4互联网地址已使用数量 */
Ipv4BgpNum?: number;
/** 非BGP类型互联网地址已使用数量 */
Ipv4OtherNum?: number;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeInternetAddressRequest {
/** 偏移量,默认为0 */
Offset?: number;
/** 返回数量,默认为20,最大值100 */
Limit?: number;
/** 过滤条件: AddrType,地址类型。0:BGP 1;1: 电信;2:移动;3:联通 AddrProto,地址类型。0:IPv4;1:IPv6 Status,地址状态。 0:使用中;1:已停用; 2:已退还 Subnet,互联网公网地址。数组 InstanceIds,互联网公网地址ID。数组 */
Filters?: Filter[];
}
declare interface DescribeInternetAddressResponse {
/** 互联网公网地址数量 */
TotalCount?: number;
/** 互联网公网地址列表 */
Subnets?: InternetAddressDetail[];
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribeInternetAddressStatisticsRequest {
}
declare interface DescribeInternetAddressStatisticsResponse {
/** 互联网公网地址统计信息数量 */
TotalCount?: number;
/** 互联网公网地址统计信息列表 */
InternetAddressStatistics?: InternetAddressStatistics[];
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DescribePublicDirectConnectTunnelRoutesRequest {
/** 专用通道ID。 */
DirectConnectTunnelId: string;
/** 过滤条件:route-type:路由类型,取值:BGP/STATIC;route-subnet:路由cidr,取值如:192.68.1.0/24。 */
Filters?: Filter[];
/** 偏移量,默认为0。 */
Offset?: number;
/** 返回数量,默认为20,最大值为100。 */
Limit?: number;
}
declare interface DescribePublicDirectConnectTunnelRoutesResponse {
/** 互联网通道路由列表。 */
Routes?: DirectConnectTunnelRoute[];
/** 路由总数量。 */
TotalCount?: number;
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface DisableInternetAddressRequest {
/** 公网互联网地址ID */
InstanceId: string;
}
declare interface DisableInternetAddressResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface EnableInternetAddressRequest {
/** 互联网公网地址ID */
InstanceId: string;
}
declare interface EnableInternetAddressResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface ModifyDirectConnectAttributeRequest {
/** 物理专线ID。 */
DirectConnectId: string;
/** 物理专线名称。 */
DirectConnectName?: string;
/** 运营商或者服务商为物理专线提供的电路编码。 */
CircuitCode?: string;
/** 物理专线调试VLAN。 */
Vlan?: number;
/** 物理专线调试腾讯侧互联 IP。 */
TencentAddress?: string;
/** 物理专线调试用户侧互联 IP。 */
CustomerAddress?: string;
/** 物理专线申请者姓名。默认从账户体系获取。 */
CustomerName?: string;
/** 物理专线申请者联系邮箱。默认从账户体系获取。 */
CustomerContactMail?: string;
/** 物理专线申请者联系号码。默认从账户体系获取。 */
CustomerContactNumber?: string;
/** 报障联系人。 */
FaultReportContactPerson?: string;
/** 报障联系电话。 */
FaultReportContactNumber?: string;
/** 报障联系邮箱。 */
FaultReportContactEmail?: string;
/** 物理专线申请者补签用户使用协议。 */
SignLaw?: boolean;
/** 物理专线带宽。 */
Bandwidth?: number;
}
declare interface ModifyDirectConnectAttributeResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface ModifyDirectConnectTunnelAttributeRequest {
/** 专用通道ID。 */
DirectConnectTunnelId: string;
/** 专用通道名称。 */
DirectConnectTunnelName?: string;
/** 用户侧BGP,包括Asn,AuthKey。 */
BgpPeer?: BgpPeer;
/** 用户侧网段地址。 */
RouteFilterPrefixes?: RouteFilterPrefix[];
/** 腾讯侧互联IP。 */
TencentAddress?: string;
/** 用户侧互联IP。 */
CustomerAddress?: string;
/** 专用通道带宽值,单位为M。 */
Bandwidth?: number;
/** 腾讯侧备用互联IP。 */
TencentBackupAddress?: string;
}
declare interface ModifyDirectConnectTunnelAttributeResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface ModifyDirectConnectTunnelExtraRequest {
/** 专用通道ID。 */
DirectConnectTunnelId: string;
/** 专用通道的Vlan。 */
Vlan?: number;
/** Bgp参数,包括Asn,AuthKey */
BgpPeer?: BgpPeer;
/** 用户侧过滤网段地址。 */
RouteFilterPrefixes?: RouteFilterPrefix;
/** 腾讯侧互联IP。 */
TencentAddress?: string;
/** 腾讯侧备用互联IP。 */
TencentBackupAddress?: string;
/** 用户侧互联IP。 */
CustomerAddress?: string;
/** 专用通道带宽值。 */
Bandwidth?: number;
/** BGP community开关。 */
EnableBGPCommunity?: boolean;
/** 是否开启BFD。 */
BfdEnable?: number;
/** 是否开启NQA。 */
NqaEnable?: number;
/** BFD配置信息。 */
BfdInfo?: BFDInfo;
/** NQA配置信息。 */
NqaInfo?: NQAInfo;
/** IPV6使能。0:停用IPv6;1: 启用IPv6。 */
IPv6Enable?: number;
/** 去往用户侧的路由信息。 */
CustomerIDCRoutes?: RouteFilterPrefix[];
/** 是否开启巨帧。1:开启;0:不开启。 */
JumboEnable?: number;
/** 腾讯侧互联IPv6。 */
TencentIPv6Address?: string;
/** 腾讯侧备用互联IPv6。 */
TencentBackupIPv6Address?: string;
/** 用户侧互联IPv6。 */
CustomerIPv6Address?: string;
}
declare interface ModifyDirectConnectTunnelExtraResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface RejectDirectConnectTunnelRequest {
/** 专用通道ID。 */
DirectConnectTunnelId: string;
}
declare interface RejectDirectConnectTunnelResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
declare interface ReleaseInternetAddressRequest {
/** 公网互联网地址ID */
InstanceId: string;
}
declare interface ReleaseInternetAddressResponse {
/** 唯一请求 ID,每次请求都会返回。 */
RequestId?: string;
}
/** {@link Dc 专线接入} */
declare interface Dc {
(): Versions;
/** 接受专用通道申请 {@link AcceptDirectConnectTunnelRequest} {@link AcceptDirectConnectTunnelResponse} */
AcceptDirectConnectTunnel(data: AcceptDirectConnectTunnelRequest, config?: AxiosRequestConfig): AxiosPromise<AcceptDirectConnectTunnelResponse>;
/** 申请互联网地址 {@link ApplyInternetAddressRequest} {@link ApplyInternetAddressResponse} */
ApplyInternetAddress(data: ApplyInternetAddressRequest, config?: AxiosRequestConfig): AxiosPromise<ApplyInternetAddressResponse>;
/** 创建敏捷上云服务 {@link CreateCloudAttachServiceRequest} {@link CreateCloudAttachServiceResponse} */
CreateCloudAttachService(data: CreateCloudAttachServiceRequest, config?: AxiosRequestConfig): AxiosPromise<CreateCloudAttachServiceResponse>;
/** 申请物理专线 {@link CreateDirectConnectRequest} {@link CreateDirectConnectResponse} */
CreateDirectConnect(data: CreateDirectConnectRequest, config?: AxiosRequestConfig): AxiosPromise<CreateDirectConnectResponse>;
/** 创建专用通道 {@link CreateDirectConnectTunnelRequest} {@link CreateDirectConnectTunnelResponse} */
CreateDirectConnectTunnel(data: CreateDirectConnectTunnelRequest, config?: AxiosRequestConfig): AxiosPromise<CreateDirectConnectTunnelResponse>;
/** 删除物理专线 {@link DeleteDirectConnectRequest} {@link DeleteDirectConnectResponse} */
DeleteDirectConnect(data: DeleteDirectConnectRequest, config?: AxiosRequestConfig): AxiosPromise<DeleteDirectConnectResponse>;
/** 删除专用通道 {@link DeleteDirectConnectTunnelRequest} {@link DeleteDirectConnectTunnelResponse} */
DeleteDirectConnectTunnel(data: DeleteDirectConnectTunnelRequest, config?: AxiosRequestConfig): AxiosPromise<DeleteDirectConnectTunnelResponse>;
/** 查询物理专线接入点 {@link DescribeAccessPointsRequest} {@link DescribeAccessPointsResponse} */
DescribeAccessPoints(data?: DescribeAccessPointsRequest, config?: AxiosRequestConfig): AxiosPromise<DescribeAccessPointsResponse>;
/** 查询专用通道扩展信息 {@link DescribeDirectConnectTunnelExtraRequest} {@link DescribeDirectConnectTunnelExtraResponse} */
DescribeDirectConnectTunnelExtra(data: DescribeDirectConnectTunnelExtraRequest, config?: AxiosRequestConfig): AxiosPromise<DescribeDirectConnectTunnelExtraResponse>;
/** 查询专用通道列表 {@link DescribeDirectConnectTunnelsRequest} {@link DescribeDirectConnectTunnelsResponse} */
DescribeDirectConnectTunnels(data?: DescribeDirectConnectTunnelsRequest, config?: AxiosRequestConfig): AxiosPromise<DescribeDirectConnectTunnelsResponse>;
/** 查询物理专线列表 {@link DescribeDirectConnectsRequest} {@link DescribeDirectConnectsResponse} */
DescribeDirectConnects(data?: DescribeDirectConnectsRequest, config?: AxiosRequestConfig): AxiosPromise<DescribeDirectConnectsResponse>;
/** 获取用户互联网公网地址信息 {@link DescribeInternetAddressRequest} {@link DescribeInternetAddressResponse} */
DescribeInternetAddress(data?: DescribeInternetAddressRequest, config?: AxiosRequestConfig): AxiosPromise<DescribeInternetAddressResponse>;
/** 获取互联网公网地址配额 {@link DescribeInternetAddressQuotaRequest} {@link DescribeInternetAddressQuotaResponse} */
DescribeInternetAddressQuota(data?: DescribeInternetAddressQuotaRequest, config?: AxiosRequestConfig): AxiosPromise<DescribeInternetAddressQuotaResponse>;
/** 获取用户互联网公网地址统计信息 {@link DescribeInternetAddressStatisticsRequest} {@link DescribeInternetAddressStatisticsResponse} */
DescribeInternetAddressStatistics(data?: DescribeInternetAddressStatisticsRequest, config?: AxiosRequestConfig): AxiosPromise<DescribeInternetAddressStatisticsResponse>;
/** 查询互联网通道路由列表 {@link DescribePublicDirectConnectTunnelRoutesRequest} {@link DescribePublicDirectConnectTunnelRoutesResponse} */
DescribePublicDirectConnectTunnelRoutes(data: DescribePublicDirectConnectTunnelRoutesRequest, config?: AxiosRequestConfig): AxiosPromise<DescribePublicDirectConnectTunnelRoutesResponse>;
/** 停用公网互联网地址 {@link DisableInternetAddressRequest} {@link DisableInternetAddressResponse} */
DisableInternetAddress(data: DisableInternetAddressRequest, config?: AxiosRequestConfig): AxiosPromise<DisableInternetAddressResponse>;
/** 启用互联网公网地址 {@link EnableInternetAddressRequest} {@link EnableInternetAddressResponse} */
EnableInternetAddress(data: EnableInternetAddressRequest, config?: AxiosRequestConfig): AxiosPromise<EnableInternetAddressResponse>;
/** 修改物理专线属性 {@link ModifyDirectConnectAttributeRequest} {@link ModifyDirectConnectAttributeResponse} */
ModifyDirectConnectAttribute(data: ModifyDirectConnectAttributeRequest, config?: AxiosRequestConfig): AxiosPromise<ModifyDirectConnectAttributeResponse>;
/** 修改专用通道属性 {@link ModifyDirectConnectTunnelAttributeRequest} {@link ModifyDirectConnectTunnelAttributeResponse} */
ModifyDirectConnectTunnelAttribute(data: ModifyDirectConnectTunnelAttributeRequest, config?: AxiosRequestConfig): AxiosPromise<ModifyDirectConnectTunnelAttributeResponse>;
/** 修改专用通道扩展信息 {@link ModifyDirectConnectTunnelExtraRequest} {@link ModifyDirectConnectTunnelExtraResponse} */
ModifyDirectConnectTunnelExtra(data: ModifyDirectConnectTunnelExtraRequest, config?: AxiosRequestConfig): AxiosPromise<ModifyDirectConnectTunnelExtraResponse>;
/** 拒绝专用通道申请 {@link RejectDirectConnectTunnelRequest} {@link RejectDirectConnectTunnelResponse} */
RejectDirectConnectTunnel(data: RejectDirectConnectTunnelRequest, config?: AxiosRequestConfig): AxiosPromise<RejectDirectConnectTunnelResponse>;
/** 释放互联网地址 {@link ReleaseInternetAddressRequest} {@link ReleaseInternetAddressResponse} */
ReleaseInternetAddress(data: ReleaseInternetAddressRequest, config?: AxiosRequestConfig): AxiosPromise<ReleaseInternetAddressResponse>;
}
export declare type Versions = ["2018-04-10"];
export default Dc;