The BindResolverRuleVpc operation associates a forwarding rule with a virtual private cloud (VPC).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:BindResolverRuleVpc |
update |
*Rule
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: en. |
en |
| RuleId |
string |
Yes |
The forwarding rule ID. |
hr**** |
| Vpc |
array<object> |
No |
The VPCs to associate. |
|
|
object |
No |
The VPC information. |
||
| VpcId |
string |
No |
The VPC ID. |
vpc-f8zvrvr1payllgz38**** |
| RegionId |
string |
No |
The ID of the region where the outbound VPC is located. |
cn-hangzhou |
| VpcType |
string |
No |
The VPC type. Valid values:
|
STANDARD |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
12FE6E98-3885-423E-B18B-88CC17052A31 |
Examples
Success response
JSON format
{
"RequestId": "12FE6E98-3885-423E-B18B-88CC17052A31"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ZoneVpc.Zone.Repeated | Vpc is bind to same zone name. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.