AI开发平台MODELARTS-更新网络资源:请求示例

时间:2024-11-22 17:41:02

请求示例

打通VPC。

PATCH https://{endpoint}/v1/{project_id}/networks/{network_name}

{
  "spec" : {
    "connection" : {
      "peerConnectionList" : [ {
        "peerVpcId" : "03e4f4d7-fc62-409b-9c52-df885525e30b",
        "peerSubnetId" : "42aeebc3-f7c7-45aa-b884-e6e9ac2f841d",
        "defaultGateWay" : false
      } ]
    }
  }
}
support.huaweicloud.com/api-modelarts/PatchNetwork.html