Menonaktifkan ClassicLink.
API ini telah ditinggalkan tanpa pengganti. Meskipun akses sementara masih tersedia, tidak akan ada pembaruan atau perbaikan bug lebih lanjut. Untuk memastikan fungsionalitas berkelanjutan, rencanakan migrasi Anda dan hubungi manajer akun Anda untuk mendapatkan dukungan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DisableVpcClassicLink |
update |
*VPC
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah VPC tempat Anda ingin menonaktifkan ClassicLink. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| VpcId |
string |
Yes |
ID VPC tempat Anda ingin menonaktifkan ClassicLink. |
vpc-bp1m7v25emi1h5mtc**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dari setiap permintaan API mungkin berbeda. |
123e4567-e89b-12d3-a456-426655440000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
ID permintaan. |
||
| RequestId |
string |
ID permintaan. |
54B48E3D-DF70-471B-AA93-08E683A1B45 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAction | The VPC has been connected to the classic network ECS. Please cancel the connection before proceeding. | |
| 400 | IncorrectVpcStatus | Current VPC status does not support this operation. | |
| 400 | Forbbiden | the specified resource does not support this operation. | |
| 400 | InvalidRegionId.NotFound | Specified value of "regionId" is not supported. | |
| 400 | DependencyViolation.Instance | ClassicLink Instances exist in VPC. | 当前VPC还存在未删除的云产品实例,VPC删除失败。 |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | Forbbiden | User not authorized to operate on the specified resource. | 用户没有权限操作指定的资源。 |
| 404 | InvalidVpcId.NotFound | Specified VPC does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.