云容器实例 CCI-查询/apis/storage.k8s.io/v1版本的所有storage class:响应示例

时间:2023-12-01 17:06:47

响应示例

状态码: 200

OK

[ {
  "allowVolumeExpansion" : false,
  "metadata" : {
    "creationTimestamp" : "2022-07-26T04:58:34Z",
    "name" : "csi-disk-sas",
    "resourceVersion" : "289546",
    "selfLink" : "/apis/storage.k8s.io/v1/storageclasses/csi-disk-sas",
    "uid" : "f47fe78e-1677-4ac4-b02c-109cee63f34a"
  },
  "parameters" : {
    "csi.storage.k8s.io/csi-driver-name" : "disk.csi.everest.io",
    "csi.storage.k8s.io/fstype" : "ext4",
    "everest.io/disk-volume-type" : "SAS",
    "everest.io/passthrough" : "true"
  },
  "provisioner" : "everest-csi-provisioner",
  "reclaimPolicy" : "Delete",
  "volumeBindingMode" : "Immediate"
}, {
  "allowVolumeExpansion" : false,
  "metadata" : {
    "creationTimestamp" : "2022-07-26T04:58:34Z",
    "name" : "csi-disk-sata",
    "resourceVersion" : "289547",
    "selfLink" : "/apis/storage.k8s.io/v1/storageclasses/csi-disk-sata",
    "uid" : "3df529ff-5300-4bd8-a292-34ed5ddd80cd"
  },
  "parameters" : {
    "csi.storage.k8s.io/csi-driver-name" : "disk.csi.everest.io",
    "csi.storage.k8s.io/fstype" : "ext4",
    "everest.io/disk-volume-type" : "SATA",
    "everest.io/passthrough" : "true"
  },
  "provisioner" : "everest-csi-provisioner",
  "reclaimPolicy" : "Delete",
  "volumeBindingMode" : "Immediate"
} ]
support.huaweicloud.com/api-cci/listStorageV1StorageClass.html