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

时间:2024-09-14 15:40:21

请求示例

  • 创建地址组,命名为AutoTester746010.580123789,指定ip类型为IPv4,地址集包含:192.168.3.2、192.168.3.40、192.168.3.20-192.168.3.100、192.168.5.0/24。

    POST https://{{endpoint}}/v3/b2782e6708b8475c993e6064bc456bf8/vpc/address-groups
    
    {
      "address_group" : {
        "ip_version" : 4,
        "name" : "AutoTester746010.580123789",
        "ip_set" : [ "192.168.3.2", "192.168.3.40", "192.168.3.20-192.168.3.100", "192.168.5.0/24" ],
        "description" : "test",
        "enterprise_project_id" : "0aad99bc-f5f6-4f78-8404-c598d76b0ed2",
        "max_capacity" : 20
      }
    }
support.huaweicloud.com/api-vpc/vpc_apiv3_0022.html