虚拟私有云 VPC-更新地址组:请求示例

时间:2025-01-08 09:51:31

请求示例

更新id为dd18a501-fcd5-4adc-acfe-b0e2384baf08的地址组,更新名称为vkvgykvsvhjaaaa1、ip地址集和描述。

PUT https://{endpoint}/v3/b2782e6708b8475c993e6064bc456bf8/vpc/address-groups/dd18a501-fcd5-4adc-acfe-b0e2384baf08

{
  "address_group" : {
    "name" : "vkvgykvsvhjaaaa1",
    "ip_set" : [ "192.168.3.2", "192.168.3.43", "192.168.3.20-192.168.3.100", "192.168.5.0/24" ],
    "description" : "xxxxxxxxxx"
  }
}
support.huaweicloud.com/api-vpc/vpc_apiv3_0025.html