インスタンスからパブリック IP アドレスをリリースします。
この API は、代替案なしで廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。継続的な機能を確保するため、移行を計画し、アカウントマネージャーにお問い合わせください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ecs:ReleasePublicIpAddress |
delete |
*Instance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
任意 |
インスタンスがあるリージョンの ID です。 |
cn-hangzhou |
| InstanceId |
string |
任意 |
インスタンス ID です。 |
i-bp67acfmxazb4p**** |
| PublicIpAddress |
string |
必須 |
インスタンスのパブリック IP アドレスです。 |
121.40.**.** |
| DryRun |
boolean |
任意 |
説明
このパラメーターはまだ利用できません。 |
hide |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| RemainTimes |
string |
説明
このパラメーターはまだ利用できません。 |
hide |
例
成功レスポンス
JSONJSON
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"RemainTimes": "hide"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationDenied | Specified operation is denied as your instance is in VPC. | |
| 400 | InvalidIpAddress.NotFound | The specified parameter "IpAddress" is not found in your records. | |
| 400 | DryRunOperation | This is a dryrun request with successful result. | |
| 403 | IncorrectInstanceStatus | The current status of the resource does not support this operation. | |
| 403 | InstanceLockedForSecurity | The specified operation is denied as your instance is locked for security reasons. | |
| 403 | InvalidIpAddress.NeedInstanceId | The specified IpAddress need to release with InstanceId. | |
| 403 | OperationTimesOverLimit | The specified operation is denied as release public ip times over the limit. | |
| 403 | Forbidden.ExceedDuration | Instance nat public ip can only be released in 6 hours after ecs created. | |
| 404 | InvalidInstanceId.NotFound | The specified InstanceId does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。