Data Types
AsnInfo
Available ASN information.
Referenced by:DescribeIPTransitAvailableAsns
asn
String
ASN value.
BFDConfig
BFD configuration.
Referenced by:ModifyIPTransitConfig, DescribeIPTransits, CreateIPTransit
bfdTxInterval
Integer
No
Transmit interval.
Unit: ms.
Value range: 100-60000.
Value range: [100, 6000]
bfdRxInterval
Integer
No
Receive interval.
Unit: ms.
Value range: 100-60000.
Value range: [100, 6000]
bfdMultiplier
Integer
No
Detection multiplier.
Value range: 3-20.
Value range: [3, 20]
BgpConfigParam
BGP configuration change parameters.
Referenced by:ModifyIPTransitConfig
asnList
Array of Integer
No
List of ASNs.
Effective when type is BGP_ASN_AS_SET.
asSetList
Array of String
No
List of AS-SETs.
Effective when type is BGP_ASN_AS_SET.
password
String
No
BGP MD5 password (8-64 characters).
Required when type is BGP_PASSWORD.
CidrBlock
Available CIDR block information.
Referenced by:DescribeIPTransitAvailableCidrBlocks
netmask
Integer
Netmask length.
IPv4 range: 24-32. IPv6 range: 48-64.
ConnectivityStatus
Connectivity status of the link.
Referenced by:DescribeIPTransits
ACTIVE
The link is connected normally.
DOWN
The link is down.
ABNORMAL
The link is partially abnormal.
DatacenterInfo
Information on a data center.
Referenced by:DescribeIPTransitDatacenters, DescribeIPTransits
dcId
String
Data center ID.
dcName
String
Data center name.
dcAddress
String
Data center location.
cityName
String
City name.
countryName
String
Country name.
areaName
String
Region name.
latitude
Float
Latitude of the data center.
longitude
Float
Longitude of the data center.
HaLink
HA sub-link information.
Referenced by:DescribeIPTransits
isPrimary
Boolean
Whether this is currently the primary link.
In ACTIVE_STANDBY mode, this dynamically reflects the primary/secondary switchover state. In ACTIVE_ACTIVE mode, the value is null.
privateConnectId
String
ID of the associated VLL.
privateConnectName
String
Name of the associated VLL.
peerPortId
String
Peer port ID.
peerPortName
String
Peer port name.
peerPortVlan
Integer
VLAN ID.
IPAddress
Describes IP information.
Referenced by:DescribeIPTransits
ipAddress
String
IP address.
netmask
Integer
Netmask.
gatewayIpAddress
String
Gateway IP address.
IPPrice
IP price information.
Referenced by:InquiryCreateIPTransitPrice
netmask
Integer
IP CIDR netmask.
qty
Integer
Number of IP CIDRs.
IPTransit
Describes information on an IP Transit resource, including associated port, resource group, and etc.
Referenced by:DescribeIPTransits
iptId
String
IP Transit ID.
iptName
String
IP Transit name.
iptDescription
String
IP Transit description.
peerPortId
String
Connected port ID.
peerPortName
String
Connected port name.
resourceGroupId
String
Resource group ID of the IP Transit.
resourceGroupName
String
Resource group name of the IP Transit.
createTime
String
Creation time.
Format: YYYY-MM-ddTHH🇲🇲ssZ.
bandwidth
Integer
Bandwidth cap.
Unit: Mbps.
commitBandwidth
Integer
Committed bandwidth.
Only available when bandwidth billing method is ByInstanceBandwidth95.
privateConnectId
String
Private connect ID associated with the IP Transit.
privateConnectName
String
Name of the private connect associated with the IP Transit.
zbgRegionId
String
ZBG region ID.
Returned for IP Transits in ZBG scenarios.
haLinks
Array of HaLink
List of HA sub-links.
Null for non-HA mode. Contains two sub-link objects for HA mode.
IPTransitAsnType
BGP ASN type.
Referenced by:DescribeIPTransitAvailableAsns
ASN
A single ASN.
AS_SET
AS-SET.
IPTransitAvailableRoutingType
Available routing type information.
Referenced by:DescribeIPTransitDatacenters
availableBgpRouteTypes
Array of RiptBgpRouteType
List of available BGP route types.
Only available when routingType is BGP.
peerAsns
Array of RiptPeerAsn
Zenlayer-side (peer) AS numbers for each BGP tier, used to configure the BGP neighbor on your local router.
Only available when routingType is BGP.
publicInterconnectNetmasks
Array of Integer
List of available IPv4 public interconnect netmasks.
Currently only 30 / 31 are supported.
IPTransitBgpRouteType
BGP inbound route type.
Referenced by:ModifyIPTransitConfig
ALL_ROUTES
Full routes.
ALL_ROUTES_WITH_DEFAULT_ROUTES
All routes with default routes.
DEFAULT_ROUTES
Default routes.
IPTransitConfigType
IP Transit configuration change type.
Referenced by:ModifyIPTransitConfig, InquiryModifyIPTransitPrice
BANDWIDTH
Bandwidth.
BFD
BFD switch.
BGP_ROUTE_TYPE
BGP route type.
BGP_ASN_AS_SET
BGP ASN/AS-SET.
BGP_PASSWORD
BGP password.
ADD_CIDR_BLOCK
Add a public IP address block.
Not supported for instances with the Standard BGP tier (bgp.tier=STANDARD).
DEL_CIDR_BLOCK
Delete a public IP address block.
EXPAND_CIDR_BLOCK
Expand a public IP address block.
SHRINK_CIDR_BLOCK
Shrink a public IP address block.
HA_SWITCH_PRIMARY
HA primary/secondary switchover.
HA_SWITCH_MODE
HA mode switch.
IPTransitDatacenter
Describes data center information supporting IP Transit, including basic data center information and supported routing types.
Referenced by:DescribeIPTransitDatacenters
IPTransitDeliveryType
Describes the delivery type enum values.
Referenced by:DescribeIPTransitDatacenters, DescribeIPTransits
Auto
Automated delivery (Usually completed within minutes).
Manual
Manual delivery. (Usually completed within 3 days).
IPTransitHaConfig
HA configuration information of the IP Transit.
Referenced by:InquiryCreateIPTransitPrice, CreateIPTransit
secondaryPortId
String
Yes
Access port ID of the secondary link.
Must be in the same city as but a different data center from the top-level peerPortId.
secondaryPortVlanId
Integer
Yes
VLAN ID of the secondary link port.
IPTransitHaMode
HA mode.
Referenced by:InquiryCreateIPTransitPrice, DescribeIPTransits
ACTIVE_STANDBY
Active/standby mode.
Only the primary link forwards traffic.
ACTIVE_ACTIVE
Active/active mode.
Both sub-links forward traffic simultaneously.
IPTransitIpAddress
Public IP address information of the IP Transit.
Referenced by:DescribeIPTransits
ipUuid
String
IP block UUID.
Passed as ipUuid when modifying (expanding/shrinking/deleting).
ipAddress
String
IP address (in CIDR notation, e.g., 192.0.2.0/30).
netmask
Integer
Netmask length.
gatewayIpAddress
String
Gateway IP.
IPTransitIpNetworkType
IP Transit IP network type.
Referenced by:DescribeIPTransitAvailableCidrBlocks, ModifyIPTransitConfig, InquiryCreateIPTransitPrice, InquiryModifyIPTransitPrice, DescribeIPTransits
BGP_IP
Regular IP.
LOCAL_IP
Native IP.
IPTransitIpPriceItem
CIDR block price information.
Referenced by:InquiryModifyIPTransitPrice
netmask
Integer
CIDR netmask length.
amount
Integer
Quantity.
IPTransitIpRequest
Public IP allocation request.
Referenced by:InquiryCreateIPTransitPrice, CreateIPTransit
netmask
Integer
Yes
CIDR netmask length.
Valid IPv4 range: 24-30. Valid IPv6 range: 48-64.
ipNetworkType
No
IP network type.
Default: BGP_IP (allocated from the IP pool).
LOCAL_IP indicates a native IP.
amount
Integer
No
Purchase quantity.
Specifies the number of IP blocks with the same netmask length. Default: 1.
IPTransitIpType
IP protocol type.
Referenced by:InquiryCreateIPTransitPrice, DescribeIPTransits
IPV4
IPv4.
IPV6
IPv6.
IPTransitPeerPortType
Peer port type of the IP Transit.
Referenced by:DescribeIPTransits
PORT
Data center physical port.
KEY_PORT
Key Port.
ZBG
Border gateway (ZBG).
IPTransitRouteType
Describes the routing type enum values.
Referenced by:DescribeIPTransitAvailableCidrBlocks, DescribeIPTransitDatacenters, InquiryCreateIPTransitPrice, DescribeIPTransits, CreateIPTransit
BGP
BGP. (Currently not supported via API)
Static
Static routing.
Gateway
Gateway mode.
IPTransitStatus
Describes the state of an IP Transit.
Referenced by:DescribeIPTransits
CREATING
Creating.
UPDATING
Updating.
DELETING
Deleting.
DESTROYING
Releasing.
RECOVERING
Restoring.
RUNNING
Running.
RECYCLED
Recycled.
DESTROYED
Released.
CREATING_FAILED
Creating failed.
UPDATING_FAILED
Updating failed.
DELETING_FAILED
Deleting failed.
DESTROYING_FAILED
Releasing failed.
RECOVERING_FAILED
Restoring failed.
Interconnect
Describes IP Transit interconnect IP address information.
Referenced by:DescribeIPTransits
vendorIpv4Address
String
Vendor-side IPv4 address.
customerIpv4Address
String
Customer-side IPv4 address.
vendorIpv6Address
String
Zenlayer-side IPv6 interconnect address.
customerIpv6Address
String
Customer-side IPv6 interconnect address.
InternetType
Network billing method.
Referenced by:InquiryCreateIPTransitPrice, DescribeIPTransits, CreateIPTransit
ByBandwidth
Billed by fixed bandwidth.
ByInstanceBandwidth95
Billed by 95th percentile bandwidth.
MarketingInfo
Describes marketing activity information.
Referenced by:ModifyIPTransitConfig, InquiryModifyIPTransitPrice
discountCode
String
No
Discount code issued by marketing.
If the discount code does not exist, the final discount will not apply.
usePocVoucher
Boolean
No
Whether to use a POC voucher.
If no POC voucher exists in the system, the related creation process will fail.
PriceCategory
Describes the price category.
Referenced by:InquiryCreateIPTransitPrice
STANDARD
Standard price.
CUSTOMIZED
Customized price.
PriceItem
Describes pricing information.
Referenced by:InquiryCreateIPTransitPrice, InquiryModifyIPTransitPrice
discount
Float
Discount.
For example, 80.0 means 20% off.
discountPrice
Float
Discount unit price of pay-as-you-go resources.
Only used in pay-as-you-go model. For tiered billing, the value is empty.
originalPrice
Float
Original price of subscription resources.
Only used in subscription model. For pay-as-you-go model, the value is empty.
unitPrice
Float
Original unit price of pay-as-you-go resources.
Only used in pay-as-you-go model. For tiered billing, the value is empty.
discountUnitPrice
Float
Discount unit price of pay-as-you-go resources.
Only used in pay-as-you-go model. For tiered billing, the value is empty.
chargeUnit
String
Unit of pay-as-you-go billing.
Only used in pay-as-you-go model. Value range: HOUR: you will be billed by hour.
DAY: you will be billed by day.
MONTH: you will be billed by month. For example, the burstable 95th pricing model.
stepPrices
Array of StepPrice
Tiered price of pay-as-you-go billing.
Only used in pay-as-you-go model. If it is not tiered price, the value is empty.
amountUnit
String
Usage unit, such as Mbps, LCU, etc.
If null, the value is not available.
excessUnitPrice
Float
Original excess unit price.
excessDiscountUnitPrice
Float
Discounted excess unit price.
excessAmountUnit
String
Excess usage unit.
If null, the value is not available.
RiptBgpConfig
BGP configurations.
Referenced by:DescribeIPTransits, CreateIPTransit
tier
No
BGP tier.
STANDARD: Standard BGP. PREMIUM: Premium BGP.
Defaults to PREMIUM if not specified (consistent with the behavior before the tier split).
asn
Integer
No
ASN for announcing outbound routes.
password
String
No
Authentication key.
asnList
Array of Integer
No
ASN list for announcing outbound routes.
asSetList
Array of String
No
AS-SET list for announcing outbound routes.
RiptBgpRouteType
BGP inbound route type.
Referenced by:DescribeIPTransitDatacenters, InquiryCreateIPTransitPrice, CreateIPTransit
ALL_ROUTES
Full routes.
ALL_ROUTES_WITH_DEFAULT_ROUTES
All routes with default routes.
DEFAULT_ROUTES
Default routes.
RiptBgpTier
IP Transit BGP tier.
Referenced by:DescribeIPTransitDatacenters, InquiryCreateIPTransitPrice, CreateIPTransit
STANDARD
Standard BGP.
Available only in some data centers. It supports fixed bandwidth billing only, and the bandwidth must be one of the fixed tier levels of that data center.
PREMIUM
Premium BGP.
A low-latency line directly connected to the backbone. This is the default tier. Existing instances created before the tier split uniformly return this tier.
RiptPeerAsn
Describes the mapping between a BGP tier and the Zenlayer-side (peer) AS number.
Referenced by:DescribeIPTransitDatacenters
asn
Integer
The Zenlayer-side (peer) AS number of this tier.
StepPrice
Tiered price of pay-as-you-go billing. Describes a tier of the price.
Referenced by:InquiryCreateIPTransitPrice
stepStart
Float
First price range of a tiered price.
stepEnd
Float
Last price range of a tiered price.
unitPrice
Float
Original unit price of current price range.
Only used in pay-as-you-go model.
discountUnitPrice
Float
Discount unit price of current price range.
Only used in pay-as-you-go model.
Tag
Describes tag key-value pair information.
Referenced by:DescribeIPTransits, CreateIPTransit
key
String
Yes
Tag key.
Length limit: 1-128 characters.
value
String
No
Tag value.
Length limit: 1-128 characters.
TagAssociation
Information on tags bound to resources, including their keys and values.
Referenced by:CreateIPTransit
Tags
Describes tag information associated with a resource.
Referenced by:DescribeIPTransits
TrafficData
Information on bandwidth.
Referenced by:DescribeIPTransitTraffic
internetRX
Integer
Inbound bandwidth.
Unit: bps.
internetTX
Integer
Outbound bandwidth.
Unit: bps.
time
String
Data time.
Format: YYYY-MM-DDThh🇲🇲ssZ.
TrafficStatistic
Statistical method of traffic data.
Referenced by:DescribeIPTransitTraffic
Average
Average value.
Maximum
Maximum value.
Last updated