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 ID of the resource group. | rg-re********* |
DBClusterId | string | Yes | The name of the source instance. | pc-***************** |
ChannelName | string | Yes | The name of the network channel. The name must consist of lowercase letters, digits, and underscores (_). It must start and end with a letter or a digit. The name can be up to 64 characters long. | ch4 |
TargetDBClusterId | string | No | The name of the destination instance. | pc-***************** |
TargetIp | string | No | The IP address of the destination instance. | 192.**.**.46 |
TargetPort | string | No | The port of the destination instance. | 9032 |
Notes | string | No | The notes. | test |
VpcId | string | No | The ID of the virtual private cloud (VPC) where the endpoint is located. | vpc-25cdvfeq58pl**** |
RegionId | string | No | The region ID. | cn-beijing |
ClientToken | string | No | A client token that ensures the request is idempotent. The client generates this token. The token must be unique for each request. It is case-sensitive and can be up to 64 ASCII characters long. | 6000170000591aed949d0f5******************** |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The 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.