レイヤー4アプリケーションの詳細を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:GetTransportLayerApplication |
get |
*Site
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイトID。 ListSites オペレーションを呼び出して取得できます。 |
123456**** |
| ApplicationId |
integer |
必須 |
アプリケーションID。 ListTransportLayerApplications オペレーションを呼び出して取得できます。 |
170997271816**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンス。 |
||
| RequestId |
string |
リクエストID。 |
EB635996-1FD6-5DFD-BA57-27A849599940 |
| SiteId |
integer |
サイトID。 |
123456**** |
| ApplicationId |
integer |
レイヤー4アプリケーションID。 |
17099311410**** |
| RulesCount |
integer |
レイヤー4アクセラレーションアプリケーションにおける転送ルールの数。 |
1 |
| Rules |
array<object> |
転送ルールのリスト。 |
|
|
object |
転送ルールの詳細。 |
||
| Source |
string |
オリジンサーバーの具体的な値。オリジンサーバータイプと一致する必要があります。 |
1.1.1.1 |
| Protocol |
string |
転送ルールのプロトコル。有効な値:
|
TCP |
| EdgePort |
string |
エッジポート。以下の形式がサポートされています:
|
80 |
| SourceType |
string |
オリジンサーバータイプ。有効な値:
|
domain |
| SourcePort |
string |
オリジンサーバーポート。以下の形式がサポートされています:
|
80 |
| ClientIPPassThroughMode |
string |
クライアントIPパススループロトコル。有効な値:
|
off |
| Comment |
string |
ルールのコメント。 |
Test |
| RuleId |
integer |
ルールID。 |
1234323*** |
| Cname |
string |
レイヤー4アクセラレーションアプリケーションのCNAMEドメイン名。このフィールドは、サイトがCNAME 方式で接続されている場合にのみ空ではありません。 |
example.com.ialicdn.com |
| RecordName |
string |
レイヤー4アプリケーションのドメイン名。 |
test.example.com |
| IpAccessRule |
string |
IPアクセスルールスイッチ。有効にすると、WAFのIPアクセスルールがレイヤー4アプリケーションに対して有効になります。有効な値:
列挙値:
|
on |
| Ipv6 |
string |
IPv6スイッチ。有効な値:
列挙値:
|
on |
| Status |
string |
レイヤー4アプリケーションのステータス。有効な値:
列挙値:
|
active |
| CrossBorderOptimization |
string |
中国本土のネットワークアクセス最適化を有効にするかどうかを指定します。この機能はデフォルトで無効です。有効な値:
列挙値:
|
on |
| StaticIp |
string |
静的 IPを有効にするかどうかを指定します。この機能はデフォルトで無効です。有効な値:
|
off |
| StaticIpV4List |
array<object> |
静的 IP 機能が有効になった後、このレイヤー4アプリケーションに割り当てられた静的 IPv4アドレスのリスト。 |
|
|
object |
IPアドレスとそのステータスを含む単一の静的 IPv4エントリ。 |
||
| Address |
string |
IPアドレス。 |
1.1.1.2 |
| Status |
string |
IPアドレスのステータス。有効な値:
|
healthy |
| KeepAliveProtection |
string |
キープアライブ保護を有効にするかどうかを指定します。この機能はデフォルトで無効です。有効な値:
列挙値:
|
off |
例
成功レスポンス
JSONJSON
{
"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"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InternalException | 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。