CIDR ブロックの広報を設定します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ddosdiversion:ConfigNetStatus |
none |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SaleId |
string |
必須 |
DDoS 迂回インスタンスの ID。 |
ddos_diversion_public_cn-xxxxxxxxxxxxx |
| Net |
string |
必須 |
DDoS 迂回インスタンスの CIDR ブロック。 |
192.168.XX.XX/22 |
| Status |
string |
必須 |
CIDR ブロックのステータス。 有効な値:
|
enable |
| Regions |
array |
任意 |
CIDR ブロックの広報または広報の取り消しが必要なリージョン。このパラメーターを空のままにすると、すべてのリージョンの CIDR ブロックが設定されます。 説明
QueryNetList 操作を呼び出して、CIDR ブロックのリージョンを取得できます。 |
|
|
string |
任意 |
CIDR ブロックの広報または広報の取り消しが必要なリージョン。 |
oe26 |
|
| SubNets |
array |
任意 |
CIDR ブロックのサブネット CIDR ブロック。 |
|
|
string |
任意 |
CIDR ブロックのサブネット CIDR ブロック。 |
192.168.XX.XX/24 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Code |
integer |
ステータスコード。
|
200 |
| RequestId |
string |
リクエスト ID。 |
B0949F09-B9C1-1D5E-8F27-0A5BF3CD5D95 |
| Message |
string |
レスポンスパラメーター。 |
successful |
例
成功レスポンス
JSONJSON
{
"Code": 200,
"RequestId": "B0949F09-B9C1-1D5E-8F27-0A5BF3CD5D95",
"Message": "successful"
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。