虚拟私有云 VPC-创建VPC:请求示例

时间:2024-10-12 09:48:13

请求示例

  • 创建一个vpc,命名为vpc,设置cidr为192.168.0.0/16。
    POST https://{Endpoint}/v1/{project_id}/vpcs
    
    {
        "vpc": {
            "name": "vpc",
            "description": "test",
            "cidr": "192.168.0.0/16",
            "enterprise_project_id": "0aad99bc-f5f6-4f78-8404-c598d76b0ed2"
        }
    }
support.huaweicloud.com/api-vpc/vpc_api01_0001.html