云容器实例 CCI-创建EIPPool:请求示例

时间:2024-11-06 15:35:42

请求示例

动态创建独占带宽类型的EIPPool,资源池中EIP数量为2。

{
  "apiVersion" : "crd.yangtse.cni/v1",
  "kind" : "EIPPool",
  "metadata" : {
    "name" : "eippool-test"
  },
  "spec" : {
    "amount" : 2,
    "eipAttributes" : {
      "bandwidth" : {
        "chargeMode" : "bandwidth",
        "name" : "eippool-test",
        "shareType" : "PER",
        "size" : 5
      },
      "ipVersion" : 4,
      "networkType" : "5_g-vm"
    }
  }
}
support.huaweicloud.com/api-cci/createCrdYangtseCniV1NamespacedEIPPool.html