Setelah instans VPC terhubung ke router transit Edisi Perusahaan, Anda dapat memanggil operasi ListTransitRouterMulticastDomainVSwitches untuk mengkueri informasi tentang vSwitch yang dilampirkan ke domain multicast di instans virtual private cloud (VPC).
Deskripsi operasi
When you call the ListTransitRouterMulticastDomainVSwitches operation, ensure that the parameter values are correct. If you enter incorrect parameter values, the operation returns a RequestId but does not display information about vSwitches that are attached to multicast domains in the VPC instance.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ListTransitRouterMulticastDomainVSwitches |
get |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
ID instans Cloud Enterprise Network (CEN). |
cen-44m0p68spvlrqq**** |
| VpcId |
string |
Yes |
ID instans VPC. |
vpc-p0wr1cd4fcuxy3ui0**** |
| VSwitchIds |
array |
No |
Daftar ID vSwitch. |
|
|
string |
No |
The ID of the vSwitch. You can specify up to 50 vSwitch IDs at a time. |
vsw-p0w5ejr9bzfsttiza**** |
|
| MaxResults |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman. Nilai minimum: 0. Nilai default: 20. |
20 |
| NextToken |
string |
No |
Token untuk kueri berikutnya. Nilai valid:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| NextToken |
string |
The token for the next query. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| RequestId |
string |
The request ID. |
B0E7E43C-979A-5130-AA0D-B3ADA69E0827 |
| TotalCount |
integer |
The number of entries in the list. |
2 |
| MaxResults |
integer |
The number of entries returned per page. |
20 |
| VSwitchIds |
array |
The list of vSwitch IDs. |
|
|
string |
The ID of the vSwitch. |
vsw-p0w5ejr9bzfsttiza**** |
Contoh
Respons sukses
JSONformat
{
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "B0E7E43C-979A-5130-AA0D-B3ADA69E0827",
"TotalCount": 2,
"MaxResults": 20,
"VSwitchIds": [
"vsw-p0w5ejr9bzfsttiza****"
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.NextToken | The specified NextToken is invalid. | The error message returned because the NextToken parameter is set to an invalid value. |
| 400 | IllegalParam.TrInstance | The specified TransitRouter is invalid. | The error message returned because the TransitRouter parameter is set to an invalid value. |
| 400 | IllegalParam.Region | The specified Region is invalid. | The error message returned because the specified region is invalid. |
| 400 | InvalidCenId.NotFound | CenId is not found. | The error message returned because the specified CEN instance does not exist. |
| 400 | IllegalParam.MaxResults | The specified MaxResults is illegal. | MaxResults illegal. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.