云容器引擎 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 04:05:29.386391813 +0000 UTC"  },  "spec" : {    "type" : "VirtualMachine",    "flavor" : "cce.s1.small",    "version" : "v1.7.3-r13",    "description" : "this is a demo cluster",    "customSan" : [ "192.168.1.0", "example.com" ],    "hostNetwork" : {      "vpc" : "4d1ecb2c-229a-11e8-9c75-0255ac100ceb",      "subnet" : "4d1ecb2c-229a-11e8-9c75-0255ac100ceb"    },    "containerNetwork" : {      "mode" : "overlay_l2",      "cidr" : "172.16.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_0238.html