Memindahkan koneksi peering VPC ke kelompok sumber daya yang berbeda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:MoveResourceGroup |
update |
*VpcPeer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
string |
Yes |
ID instans koneksi peering. |
pcc-gu32s92f9ytsk9**** |
| ResourceType |
string |
Yes |
Tipe sumber daya. Atur nilainya menjadi PeerConnection untuk koneksi peering VPC. |
PeerConnection |
| NewResourceGroupId |
string |
Yes |
ID kelompok sumber daya tempat Anda ingin memindahkan instans koneksi peering. Catatan
Fitur ini memungkinkan Anda mengelola sumber daya di bawah akun Alibaba Cloud Anda dalam kelompok. Hal ini menyederhanakan tugas seperti pengelompokan sumber daya dan Pengelolaan izin dalam satu akun. Lihat Apa itu Resource Management?. |
rg-acfm3peow3k**** |
| RegionId |
string |
Yes |
ID wilayah tempat sumber daya berada. Anda dapat memanggil operasi DescribeRegions untuk mendapatkan ID wilayah. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F |
| Success |
boolean |
Indicates whether the resource group was changed. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationFailed.NotExist.ResourceGroup | The operation failed because the resource group not exist. | The operation failed because the resource group does not exist. |
| 400 | ResourceNotFound.VpcPeer | The specified resource of VpcPeer is not found. | The VPC peering connection does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.