云容器实例 CCI-查询指定的storage class:响应示例

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

响应示例

状态码: 200

OK

{
  "allowVolumeExpansion" : false,
  "metadata" : {
    "creationTimestamp" : "2022-07-26T04:58:34Z",
    "name" : "storage-test",
    "resourceVersion" : "289547",
    "selfLink" : "/apis/storage.k8s.io/v1/storageclasses/storage-test",
    "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/readStorageV1StorageClass.html