云容器实例 CCI-查询APIGroupList:响应示例

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

响应示例

状态码: 200

OK

{
  "apiVersion" : "v1",
  "groups" : [ {
    "name" : "extensions",
    "preferredVersion" : {
      "groupVersion" : "extensions/v1beta1",
      "version" : "v1beta1"
    },
    "versions" : [ {
      "groupVersion" : "extensions/v1beta1",
      "version" : "v1beta1"
    } ]
  }, {
    "name" : "apps",
    "preferredVersion" : {
      "groupVersion" : "apps/v1",
      "version" : "v1"
    },
    "versions" : [ {
      "groupVersion" : "apps/v1",
      "version" : "v1"
    }, {
      "groupVersion" : "apps/v1beta1",
      "version" : "v1beta1"
    } ]
  }, {
    "name" : "batch",
    "preferredVersion" : {
      "groupVersion" : "batch/v1",
      "version" : "v1"
    },
    "versions" : [ {
      "groupVersion" : "batch/v1",
      "version" : "v1"
    }, {
      "groupVersion" : "batch/v1beta1",
      "version" : "v1beta1"
    } ]
  }, {
    "name" : "rbac.authorization.k8s.io",
    "preferredVersion" : {
      "groupVersion" : "rbac.authorization.k8s.io/v1",
      "version" : "v1"
    },
    "versions" : [ {
      "groupVersion" : "rbac.authorization.k8s.io/v1",
      "version" : "v1"
    } ]
  }, {
    "name" : "networking.cci.io",
    "preferredVersion" : {
      "groupVersion" : "networking.cci.io/v1beta1",
      "version" : "v1beta1"
    },
    "versions" : [ {
      "groupVersion" : "networking.cci.io/v1beta1",
      "version" : "v1beta1"
    } ]
  }, {
    "name" : "image.cci.io",
    "preferredVersion" : {
      "groupVersion" : "image.cci.io/v1alpha1",
      "version" : "v1alpha1"
    },
    "versions" : [ {
      "groupVersion" : "image.cci.io/v1alpha1",
      "version" : "v1alpha1"
    } ]
  }, {
    "name" : "kubeflow.org",
    "preferredVersion" : {
      "groupVersion" : "kubeflow.org/v1",
      "version" : "v1"
    },
    "versions" : [ {
      "groupVersion" : "kubeflow.org/v1",
      "version" : "v1"
    } ]
  }, {
    "name" : "batch.volcano.sh",
    "preferredVersion" : {
      "groupVersion" : "batch.volcano.sh/v1alpha1",
      "version" : "v1alpha1"
    },
    "versions" : [ {
      "groupVersion" : "batch.volcano.sh/v1alpha1",
      "version" : "v1alpha1"
    } ]
  }, {
    "name" : "metrics.k8s.io",
    "preferredVersion" : {
      "groupVersion" : "metrics.k8s.io/v1beta1",
      "version" : "v1beta1"
    },
    "versions" : [ {
      "groupVersion" : "metrics.k8s.io/v1beta1",
      "version" : "v1beta1"
    } ]
  } ],
  "kind" : "APIGroupList"
}
support.huaweicloud.com/api-cci/getAPIVersions.html