云容器实例 CCI-查询指定namespace下的Networks:响应示例

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

响应示例

状态码: 200

OK

{
  "apiVersion" : "networking.cci.io/v1beta1",
  "items" : [ {
    "metadata" : {
      "annotations" : {
        "network.alpha.kubernetes.io/default-security-group" : "xxx",
        "network.alpha.kubernetes.io/domain-id" : "xxx",
        "network.alpha.kubernetes.io/project-id" : "xxx"
      },
      "creationTimestamp" : "2018-09-03T11:21:00Z",
      "name" : "namespace-test-dc1-default-network",
      "namespace" : "namespace-test",
      "resourceVersion" : "5016899",
      "selfLink" : "/apis/networking.cci.io/v1beta1/namespaces/namespace-test/networks/namespace-test-dc1-default-network",
      "uid" : "6fb85414-af6b-11e8-b6ef-f898ef6c78b4"
    },
    "spec" : {
      "attachedVPC" : "xxx",
      "availableZone" : "cn-north-4a",
      "cidr" : "192.168.244.0/23",
      "networkID" : "xxx",
      "networkType" : "underlay_neutron",
      "subnetID" : "xxx"
    },
    "status" : {
      "state" : "Active"
    }
  } ],
  "kind" : "NetworkList",
  "metadata" : {
    "resourceVersion" : "5016953",
    "selfLink" : "/apis/networking.cci.io/v1beta1/namespaces/namespace-test/networks"
  }
}
support.huaweicloud.com/api-cci/listNetworkingCciIoV1beta1NamespacedNetwork.html