レイヤー 4 加速アプリケーションの作成
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイト ID。サイト ID を取得するには、ListSites 操作を呼び出します。 |
123456**** |
| RecordName |
string |
必須 |
トランスポート層アプリケーションのドメイン名。 |
aaa.example.com |
| Rules |
array<object> |
必須 |
転送ルール オブジェクトの配列。 |
|
|
object |
必須 |
転送ルール オブジェクト。すべてのパラメーターが必須です( |
||
| Protocol |
string |
必須 |
転送ルールのプロトコル。有効な値:
|
TCP |
| EdgePort |
string |
必須 |
着信トラフィックを受信するエッジ ポート。サポートされる形式:
指定されたエッジ ポートは、同一ルール内または複数のルール間で重複してはなりません。 |
80 |
| SourceType |
string |
必須 |
オリジンの種類。サポートされる値:
|
ip |
| SourcePort |
string |
必須 |
オリジン ポート。サポートされる形式:
|
80 |
| ClientIPPassThroughMode |
string |
必須 |
クライアント IP パススルー プロトコル。サポートされる値:
|
SPP |
| Source |
string |
必須 |
オリジン アドレス。この値は指定された |
1.1.1.1 |
| Comment |
string |
任意 |
転送ルールの任意のコメント。 |
测试 |
| IpAccessRule |
string |
任意 |
Web Application Firewall (WAF) で構成された IP アクセス ルールを、このトランスポート層アプリケーションに適用するかどうかを指定します。
列挙値:
|
on |
| Ipv6 |
string |
任意 |
IPv6 の有効化を指定します。有効な値: 列挙値:
|
off |
| CrossBorderOptimization |
string |
任意 |
中国本土からのアクセス向けネットワーク最適化を有効化するかどうかを指定します。この機能はデフォルトで無効です。有効な値:
列挙値:
|
on |
| StaticIp |
string |
任意 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
リクエストに対する応答データ。 |
||
| RequestId |
string |
リクエスト ID。 |
9e5448c7-edaf-49aa-9887-0fcd0832306c |
| ApplicationId |
integer |
レイヤー 4 アプリケーション ID。 |
165503967**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "9e5448c7-edaf-49aa-9887-0fcd0832306c",
"ApplicationId": 0
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | ApplyVipError | Failed to apply for ip resources, please contact customer service. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter.RecordData | Invalid record content. Adjust your configurations based on the API documentation. | |
| 400 | InvalidParameter.RecordType | Invalid record type. Adjust your configurations based on the API documentation. | |
| 400 | Instance.NotOnline | Your plan is unavailable due to an overdue payment. Complete the payment first. | |
| 400 | QuotaExceed.RecordCount | The maximum number of records has been reached. Delete some and try again or upgrade your plan. | |
| 400 | Record.Conflict | The specified record content conflicts with existing records. Adjust your configurations based on the related product documentation. | |
| 400 | Site.ServiceBusy | This website is being configured. Try again later. | |
| 400 | TransportLayerRulesExceedLimit | The configured forwarding rules have exceeded the maximum limit. Delete useless forwarding rules and try again. | |
| 400 | TransportLayerApplicationConflict | The Layer -4 accelerated application conflicts with other applications. Check whether the application name and host record conflict with other applications in the site. | |
| 400 | SourceCircleExist | The host record of the resource to be operated on is already the source station of another resource, or the source station of the current resource has been added as a host record. To avoid loopback, modify the host record or source station and retry. | |
| 400 | InvalidParameter.InvalidRecordName | The record name you entered does not meet the specifications. Change the record name according to the product documentation. | |
| 400 | EdgePortsOverlap | There is overlap between multiple edge ports, please check and try again after modification. | |
| 400 | InvalidParameter.ClientIpPassThroughMode | Invalid client IP transfer protocol, please refer to the interface document and pass in valid parameters. | |
| 400 | InvalidParameter.RuleSource | The origin of the forwarding rule does not exist or is invalid. Enter the correct origin and try again. | |
| 400 | InvalidParameter.Port | Invalid edge port or origin port. Enter a valid port as required in the interface document. | |
| 400 | InvalidParameter.Protocol | Invalid port protocol. Enter a valid port protocol as required by the interface documentation. | |
| 400 | InternalError | An internal exception occurred, please try again later. | |
| 400 | IpaResourceUnavailable | The resource is unavailable. | |
| 400 | Record.NoResource | Failed to allocate resources for the record. Please submit a ticket for processing. | |
| 400 | InvalidParameter.PrivateIpAsSourceUnsupported | The provided source is an invalid private IP address. Please verify and resubmit. | |
| 400 | InvalidParameter.SourceIpInBlacklist | The provided source is an invalid private IP address. Please verify and resubmit. | |
| 400 | Site.NotActive | The status of the applied site or site is not activated. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。