虚拟私有云 VPC-创建地址组:响应示例

时间:2024-03-28 19:27:35

响应示例

状态码为 201 时:

地址组创建API的POST操作正常返回
{
    "address_group": {
        "id": "dd18a501-fcd5-4adc-acfe-b0e2384baf08", 
        "name": "AutoTester746010.580123789", 
        "tenant_id": "b2782e6708b8475c993e6064bc456bf8", 
        "ip_version": 4, 
        "ip_set": [
            "192.168.5.0/24", 
            "192.168.3.20-192.168.3.100", 
            "192.168.3.40", 
            "192.168.3.2"
        ], 
        "ip_extra_set": [{
	    "ip": "192.168.5.0/24",
	    "remarks": null
	},
	{
            "ip": "192.168.3.20-192.168.3.100",
	    "remarks": null
	},
	{
	    "ip": "192.168.3.40",
	    "remarks": null
	},
	{
	    "ip": "192.168.3.2",
	    "remarks": null
	}],
        "created_at": "2019-06-28T02:06:38", 
        "updated_at": "2019-06-28T02:06:38", 
        "description": "test",
        "enterprise_project_id": "0aad99bc-f5f6-4f78-8404-c598d76b0ed2",
        "tags": [],
        "max_capacity": 20,
        "status": "NORMAL",
        "status_message": ""
    }, 
    "request_id": "f568db7a-2675-4271-8747-3e3f1c6381ba"
}
support.huaweicloud.com/api-vpc/vpc_apiv3_0022.html