Queries the details of a Layer 4 application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetTransportLayerApplication |
get |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The site ID, which can be obtained by calling the ListSites operation. |
123456**** |
| ApplicationId |
integer |
Yes |
The application ID, which can be obtained by calling the ListTransportLayerApplications operation. |
170997271816**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
EB635996-1FD6-5DFD-BA57-27A849599940 |
| SiteId |
integer |
The site ID. |
123456**** |
| ApplicationId |
integer |
The Layer 4 application ID. |
17099311410**** |
| RulesCount |
integer |
The number of forwarding rules in the Layer 4 acceleration application. |
1 |
| Rules |
array<object> |
The list of forwarding rules. |
|
|
object |
The forwarding rule details. |
||
| Source |
string |
The specific value of the origin server, which must match the origin server type. |
1.1.1.1 |
| Protocol |
string |
The protocol of the forwarding rule. Valid values:
|
TCP |
| EdgePort |
string |
The edge port. The following formats are supported:
|
80 |
| SourceType |
string |
The origin server type. Valid values:
|
domain |
| SourcePort |
string |
The origin server port. The following formats are supported:
|
80 |
| ClientIPPassThroughMode |
string |
The client IP pass-through protocol. Valid values:
|
off |
| Comment |
string |
The comment for the rule. |
Test |
| RuleId |
integer |
The rule ID. |
1234323*** |
| Cname |
string |
The CNAME domain name of the Layer 4 acceleration application. This field is non-empty only when the site is connected by using the CNAME method. |
example.com.ialicdn.com |
| RecordName |
string |
The domain name of the Layer 4 application. |
test.example.com |
| IpAccessRule |
string |
The IP access rule switch. When enabled, IP access rules in WAF take effect for the Layer 4 application. Valid values:
Valid values:
|
on |
| Ipv6 |
string |
The IPv6 switch. Valid values:
Valid values:
|
on |
| Status |
string |
The Layer 4 application status. Valid values:
Valid values:
|
active |
| CrossBorderOptimization |
string |
Specifies whether to enable network access optimization for the Chinese mainland. This feature is disabled by default. Valid values:
Valid values:
|
on |
| StaticIp |
string |
Specifies whether to enable static IP. This feature is disabled by default. Valid values:
|
off |
| StaticIpV4List |
array<object> |
The list of static IPv4 addresses assigned to this Layer 4 application after the static IP feature is enabled. |
|
|
object |
A single static IPv4 entry, including the IP address and its status. |
||
| Address |
string |
The IP address. |
1.1.1.2 |
| Status |
string |
The status of the IP address. Valid values:
|
healthy |
| KeepAliveProtection |
string |
Specifies whether to enable keep-alive protection. This feature is disabled by default. Valid values:
Valid values:
|
off |
Examples
Success response
JSON format
{
"RequestId": "EB635996-1FD6-5DFD-BA57-27A849599940",
"SiteId": 0,
"ApplicationId": 0,
"RulesCount": 1,
"Rules": [
{
"Source": "1.1.1.1",
"Protocol": "TCP",
"EdgePort": "80",
"SourceType": "domain",
"SourcePort": "80",
"ClientIPPassThroughMode": "off",
"Comment": "Test",
"RuleId": 0
}
],
"Cname": "example.com.ialicdn.com",
"RecordName": "test.example.com",
"IpAccessRule": "on",
"Ipv6": "on",
"Status": "active",
"CrossBorderOptimization": "on",
"StaticIp": "off",
"StaticIpV4List": [
{
"Address": "1.1.1.2",
"Status": "healthy"
}
],
"KeepAliveProtection": "off"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | TransportLayerApplicationNotExist | The layer -4 accelerated application of the current operation does not exist. Modify it and try again. | The layer -4 accelerated application of the current operation does not exist. Modify it and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.