云容器实例 CCI -查询指定的storage class:URI

时间:2025-05-30 16:52:01

URI

GET /apis/storage.k8s.io/v1/storageclasses/{name}

表1 路径参数

参数

是否必选

参数类型

描述

name

String

name of the StorageClass

表2 Query参数

参数

是否必选

参数类型

描述

exact

Boolean

Should the export be exact. Exact export maintains cluster-specific

fields like 'Namespace'. Deprecated. Planned for removal in 1.18.

export

Boolean

Should this value be exported. Export strips fields that a user

can not specify. Deprecated. Planned for removal in 1.18.

pretty

String

If 'true', then the output is pretty printed.

support.huaweicloud.com/api-cci/readStorageV1StorageClass.html