企业路由器 ER-创建VPC连接:请求示例

时间:2023-12-06 15:04:41

请求示例

创建一个VPC连接,名称为“vpc-atta”,并指定连接的VPC和子网资源

POST https://{erouter_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/enterprise-router/4ab54142-7c92-48ad-8288-77727a231052/vpc-attachments

{
  "vpc_attachment" : {
    "name" : "vpc-atta",
    "vpc_id" : "b715e131-3371-4e17-a2de-4f669e24439a",
    "virsubnet_id" : "aacdc21d-90f9-45ef-ab48-80ec1bbe15b8"
  }
}
support.huaweicloud.com/api-er/CreateVpcAttachment.html