Gets the details of a Layer 4 application.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
SiteId | integer | Yes | The site ID. Call the ListSites operation to get this ID. | 123456**** |
ApplicationId | integer | Yes | The application ID. Call the ListTransportLayerApplications operation to get this ID. | 170997271816**** |
Response elements
Element | Type | Description | Example |
object | The response body. | ||
RequestId | string | The ID of the request. | EB635996-1FD6-5DFD-BA57-27A849599940 |
SiteId | integer | The ID of the Site. | 123456**** |
ApplicationId | integer | The ID of the Transport Layer Application. | 17099311410**** |
RulesCount | integer | The number of Forwarding Rules in the Transport Layer Application. | 1 |
| Rules | array<object> | A list of Forwarding Rules. | |
object | The details of a Forwarding Rule. | ||
Source | string | The address of the Origin, which must match the specified SourceType. | 1.1.1.1 |
Protocol | string | The protocol for the Forwarding Rule. Valid values:
| TCP |
EdgePort | string | The Edge Port. The following formats are supported:
| 80 |
SourceType | string | The origin type. Valid values:
| domain |
SourcePort | string | The Origin Port. The following formats are supported:
| 80 |
ClientIPPassThroughMode | string | The client IP pass-through mode. Valid values:
| off |
Comment | string | The comment for the Forwarding Rule. | test |
RuleId | integer | The ID of the Forwarding Rule. | 1234323*** |
Cname | string | The CNAME domain name of the Transport Layer Application. This field is returned only when the Site was added using the CNAME method. | example.com.ialicdn.com |
RecordName | string | The Domain Name of the Transport Layer Application. | test.example.com |
IpAccessRule | string | Indicates whether the IP Access Rule feature is enabled. If enabled, the IP Access Rules in WAF take effect for the Transport Layer Application. Valid values:
Valid values:
| on |
Ipv6 | string | Indicates whether IPv6 is enabled. Valid values: Valid values:
| on |
Status | string | The status of the Transport Layer Application. Valid values:
Valid values:
| active |
CrossBorderOptimization | string | Indicates whether network optimization for access from the Chinese mainland is enabled. This feature is disabled by default. Valid values:
Valid values:
| on |
StaticIp | string | ||
| StaticIpV4List | array<object> | ||
object | |||
Address | string | ||
Status | string |
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": "",
"StaticIpV4List": [
{
"Address": "",
"Status": ""
}
]
}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.