Creates a network channel.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateNetworkChannel |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-re********* |
| DBClusterId |
string |
Yes |
The source instance name. |
pc-***************** |
| ChannelName |
string |
Yes |
The name of the network channel. The name can contain lowercase letters, digits, and underscores (_). It must start and end with a letter or digit, and cannot exceed 64 characters. |
ch4 |
| TargetDBClusterId |
string |
No |
The target instance name. |
pc-***************** |
| TargetIp |
string |
No |
The IP address of the target instance. |
192.**.**.46 |
| TargetPort |
string |
No |
The port of the target instance. |
9032 |
| Notes |
string |
No |
The remarks. |
test |
| VpcId |
string |
No |
The ID of the VPC where the access endpoint resides. |
vpc-25cdvfeq58pl**** |
| RegionId |
string |
No |
The security group associated when creating a reverse endpoint for the first time in the VPC. |
sg-2z******** |
| ClientToken |
string |
No |
The region ID. |
cn-beijing |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F9F1CB1A-B1D5-4EF5-A53A-************ |
Examples
Success response
JSON format
{
"RequestId": "F9F1CB1A-B1D5-4EF5-A53A-************"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.