云容器实例 CCI -查询Network状态:响应示例
时间:2025-05-30 16:51:56
响应示例
状态码:200
OK
{ "apiVersion" : "networking.cci.io/v1beta1", "kind" : "Network", "metadata" : { "annotations" : { "network.alpha.kubernetes.io/default-security-group" : "security-group-id", "network.alpha.kubernetes.io/domain-id" : "domain-id", "network.alpha.kubernetes.io/project-id" : "project-id", "network.alpha.kubernetes.io/type" : "underlay_neutron" }, "creationTimestamp" : "2018-08-21T02:35:59Z", "name" : "test-network", "namespace" : "test-ns", "resourceVersion" : "2025736", "selfLink" : "/apis/networking.cci.io/v1beta1/namespaces/test-ns/networks/test-network", "uid" : "f03452ac-a4ea-11e8-8500-c81fbe371a17" }, "spec" : { "attachedVPC" : "vpc-id", "availableZone" : "cn-north-4a", "cidr" : "192.168.0.0/24", "networkID" : "network-id", "networkType" : "underlay_neutron", "subnetID" : "subnet-id" }, "status" : { "state" : "Active" } }
support.huaweicloud.com/api-cci/readNetworkingCciIoV1beta1NamespacedNetworkStatus.html