云容器引擎 CCE-更新指定的集群:响应示例

时间:2023-11-01 16:20:05

响应示例

状态码: 200

表示更新指定集群成功。

{  "kind" : "Cluster",  "apiVersion" : "v3",  "metadata" : {    "alias" : "mycluster",    "name" : "mycluster",    "uid" : "4d1ecb2c-229a-11e8-9c75-0255ac100ceb",    "creationTimestamp" : "2018-08-02 03:48:58.968214406 +0000 UTC",    "updateTimestamp" : "2018-08-02 06:39:36.844676088 +0000 UTC"  },  "spec" : {    "type" : "VirtualMachine",    "flavor" : "cce.s1.small",    "version" : "v1.7.3-r13",    "description" : "new description",    "customSan" : [ "192.168.1.0", "example.com" ],    "hostNetwork" : {      "vpc" : "4d1ecb2c-229a-11e8-9c75-0255ac100ceb",      "subnet" : "4d1ecb2c-229a-11e8-9c75-0255ac100ceb",      "SecurityGroup" : "6ee29825-8f49-4796-b33a-fc76f84a59ae"    },    "containerNetwork" : {      "mode" : "overlay_l2",      "cidr" : "172.17.0.0/16"    },    "authentication" : {      "mode" : "x509",      "authenticatingProxy" : { }    },    "billingMode" : 0  },  "status" : {    "phase" : "Available",    "endpoints" : [ {      "url" : "https://192.168.0.11:5443",      "type" : "Internal"    } ]  }}
support.huaweicloud.com/api-cce/cce_02_0240.html