DDoS対策転送インスタンスの CIDR ブロックを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ddosdiversion:QueryNetList |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SaleId |
string |
任意 |
DDoS対策転送インスタンスの ID。 |
ddos_diversion_public_cn-xxxxxxxxxxxxx |
| Net |
string |
任意 |
DDoS対策転送インスタンスの CIDR ブロック。 説明
DDoS対策転送インスタンスに拡張 CIDR ブロックが設定されていない場合、このパラメーターはインスタンスの CIDR ブロックを指定します。DDoS対策転送インスタンスに拡張 CIDR ブロックが設定されている場合、このパラメーターはインスタンスに設定されている拡張 CIDR ブロックを指定します。このパラメーターを指定する場合、MainNet パラメーターは必須です。 |
192.168.XX.XX/24 |
| Mode |
string |
任意 |
スケジューリングモード。有効な値:
列挙値:
|
netflow-auto |
| MainNet |
string |
任意 |
拡張 CIDR ブロックが設定されている DDoS対策転送インスタンスのプライマリ CIDR ブロック。DDoS対策転送インスタンスに拡張 CIDR ブロックが設定されていない場合は、このパラメーターを空のままにします。 |
192.168.XX.XX/22 |
| Page |
integer |
任意 |
ページ番号。デフォルト値:1。 |
1 |
| Num |
integer |
任意 |
1ページあたりのエントリ数。デフォルト値:100。 |
100 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Code |
integer |
状態コード。
|
200 |
| RequestId |
string |
リクエスト ID。 |
24B652B5-AEFF-3F03-9114-00D053C42277 |
| Message |
string |
応答メッセージ。 |
successful |
| Data |
object |
CIDR ブロック。 |
|
| Total |
integer |
返されたエントリの総数。 |
1 |
| Page |
integer |
ページ番号。 |
1 |
| Num |
integer |
1ページあたりのエントリ数。有効な値:1~100。デフォルト値:100。 |
100 |
| Nets |
array<object> |
CIDR ブロック。 |
|
|
array<object> |
|||
| UserId |
string |
ユーザー ID。 |
177xxxxxxxxxxxxx |
| SaleId |
string |
DDoS対策転送インスタンスの ID。 |
ddos_diversion_public_cn-xxxxxxxxxxxxx |
| UpstreamType |
string |
再注入タイプ。有効な値:
|
aliyun_line |
| Net |
string |
DDoS対策転送インスタンスの CIDR ブロック。 |
192.168.XX.XX/24 |
| NetType |
string |
CIDR ブロックのタイプ。 |
ipv4 |
| Mode |
string |
スケジューリングモード。有効な値:
|
manual |
| DeclaredState |
integer |
CIDR ブロックのアドバタイズステータス。有効な値:
|
1 |
| Declared |
array<object> |
アドバタイズ詳細。 |
|
|
object |
|||
| Region |
string |
CIDR ブロックがアドバタイズされるリージョン。有効な値:
|
oe26 |
| Declared |
string |
CIDR ブロックがアドバタイズされているかどうかを示します。有効な値:
|
0 |
| GmtCreate |
string |
作成時間。 |
2023-02-23 00:00:00 |
| GmtModify |
string |
変更時間。 |
2023-02-24 00:00:00 |
| NetExtend |
string |
CIDR ブロックを拡張する必要があるかどうかを示します。有効な値:
|
1 |
| DDoSDefense |
object |
CIDR ブロックの DDoS 緩和設定。 |
|
| DjPolicy |
object |
緩和ポリシーの設定。 |
|
| PolicyName |
string |
緩和ポリシーの名前。 |
test_polilciy-xxx |
| CleanTh |
object |
トラフィックスクラビングの設定。 |
|
| Mbps |
integer |
Mbit/s 単位のクリーニングしきい値。 |
0 |
| Pps |
integer |
1 秒あたりのパケット数 (pps) 単位のクリーニングしきい値。 |
0 |
| HoleTh |
object |
ブラックホールフィルタリングの設定。 |
|
| ThreshMbps |
integer |
Mbit/s 単位のブラックホールフィルタリングしきい値。値 0 はベストエフォート保護を示します。 |
0 |
| FwdEffect |
integer |
転送設定が有効かどうかを示します。有効な値:
|
1 |
| NetMain |
string |
拡張 CIDR ブロックが設定されている DDoS対策転送インスタンスのプライマリ CIDR ブロック。DDoS対策転送インスタンスに拡張 CIDR ブロックが設定されていない場合、このパラメーターは空のままです。 |
192.168.XX.XX/22 |
| Permit |
integer |
審査ステータス。有効な値:
|
2 |
例
成功レスポンス
JSONJSON
{
"Code": 200,
"RequestId": "24B652B5-AEFF-3F03-9114-00D053C42277",
"Message": "successful",
"Data": {
"Total": 1,
"Page": 1,
"Num": 100,
"Nets": [
{
"UserId": "177xxxxxxxxxxxxx\n",
"SaleId": "ddos_diversion_public_cn-xxxxxxxxxxxxx",
"UpstreamType": "aliyun_line\n",
"Net": "192.168.XX.XX/24\n",
"NetType": "ipv4\n",
"Mode": "manual\n",
"DeclaredState": 1,
"Declared": [
{
"Region": "oe26\n",
"Declared": "0"
}
],
"GmtCreate": "2023-02-23 00:00:00\n",
"GmtModify": "2023-02-24 00:00:00\n",
"NetExtend": "1",
"DDoSDefense": {
"DjPolicy": {
"PolicyName": "test_polilciy-xxx"
},
"CleanTh": {
"Mbps": 0,
"Pps": 0
},
"HoleTh": {
"ThreshMbps": 0
}
},
"FwdEffect": 1,
"NetMain": "192.168.XX.XX/22\n",
"Permit": 2
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | AuthenticationFailed | User authentication failed. | |
| 400 | AutoScheduleRuleExist | The auto schedule rule already exists. | |
| 400 | AutoScheduleRuleNotExist | The auto schedule rule dose not exist. | |
| 400 | BlackHoleConfigurationError | A black hole configuration error occurred. | |
| 400 | CleanConfigurationError | A clean configuration error occurred. | |
| 400 | CoveredNet | The CIDR block is overwritten. | |
| 400 | DatabaseError | A database error. | |
| 400 | DeclaredNet | The CIDR block has been advertised. | |
| 400 | DefenseConfigurationError | A defense configuration error occurred. | |
| 400 | ForwardConfigurationNotExist | The CIDR block forwarding configuration is not found. | |
| 400 | ForwardNotExist | The CIDR block zone forwarding configuration is not found. | |
| 400 | ForwardRuleNotExist | The CIDR block forwarding rule is not found. | |
| 400 | HttpFailed | HTTP request failed. | |
| 400 | IDNSubnetsCountLimit | The maximum number of IDCs of the instance is exceeded. | |
| 400 | InstanceExist | The instance already exists. | |
| 400 | InstanceNetConfigurationExist | The instance CIDR block configuration already exists. | |
| 400 | InstanceNotExist | The instance is not found. | |
| 400 | InstanceUpstreamLimit | The maximum number of reinjection configurations for the instance is exceeded. | |
| 400 | InternalError | An internal error occurred. | |
| 400 | InvalidNet | Invalid CIDR block. | |
| 400 | InvalidParam | Invalid parameter value. | |
| 400 | IPSubnetsCountLimit | The maximum number of CIDR blocks of the instance is exceeded. | |
| 400 | NetCannotExtend | The CIDR block cannot be extended. | |
| 400 | NetConfigurationExist | The CIDR block configuration already exists. | |
| 400 | NetConfigurationNotExist | The CIDR block configuration is not found. | |
| 400 | NetForwardDelete | The CIDR block forwarding is being deleted. | |
| 400 | NetMaskOutOfRange | The subnet mask of the CIDR block is invalid. | |
| 400 | NetNeedExtend | The CIDR block needs to be extended. | |
| 400 | NetStatusNotReady | The CIDR block reinjection configuration has not been completed. | |
| 400 | NetworkDeclearedFailed | Failed to advertise the CIDR block. | |
| 400 | NetWorkNotExist | The CIDR block is not found. | |
| 400 | NetworkUndeclearedFailed | Failed to cancel the advertisement of the CIDR block. | |
| 400 | ParameterNotEnough | Required parameters are not specified. | |
| 400 | ParameterOutOfRange | Invalid parameter value. | |
| 400 | RegionNotExist | The region does not exist. | |
| 400 | RequestMethodError | An incorrect request method. | |
| 400 | SubnetCountLimit | The maximum number of subnets is exceeded. | |
| 400 | UnKnownError | An unknown error occurred. | |
| 400 | UpsteamNotComplete | The reinjection configuration has not been completed. | |
| 400 | UpstreamConfigurationNotExist | The reinjection configuration is not found. | |
| 400 | JsonDecodeError | JSON string decoding failed. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。