read Storage V1Storage Class
GET {{baseUrl}}/apis/storage.k8s.io/v1/storageclasses/:name?exact=<boolean>&export=<boolean>&pretty=<string>
read the specified StorageClass
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
exact | string | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. | |
export | string | 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. |
RESPONSES
status: OK
{"provisioner":"\u003cstring\u003e","allowVolumeExpansion":"\u003cboolean\u003e","allowedTopologies":[{"matchLabelExpressions":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"matchLabelExpressions":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"values":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}],"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"ipsum exer","creationTimestamp":"1941-09-22T07:40:57.699Z","deletionGracePeriodSeconds":83414098,"deletionTimestamp":"2018-09-01T07:41:49.358Z","finalizers":["non fugiat ad","dolor eiusmod sint"],"generateName":"proident cupidatat","generation":99741056,"labels":{},"managedFields":[{"apiVersion":"reprehenderit deserunt","fieldsType":"irure incididunt","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"ut","operation":"nisi Excepteur eiusmod anim","time":"1948-09-11T07:15:17.368Z"},{"apiVersion":"consequat fugiat quis ad","fieldsType":"in pariatur dolore Duis","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"minim","operation":"esse dolor reprehenderit labore ex","time":"1963-03-24T11:25:11.213Z"}],"name":"magna eu exercitation irure","namespace":"incididunt laboris in do","ownerReferences":[{"apiVersion":"aliqua eu sint","kind":"esse ea Lorem","name":"eiusmod anim in consec","uid":"aliqua in in incididunt","blockOwnerDeletion":false,"controller":true},{"apiVersion":"sint","kind":"qui deserunt sit","name":"Duis Ut enim labore","uid":"amet minim irure","blockOwnerDeletion":true,"controller":true}],"resourceVersion":"exercitation ea Excepte","selfLink":"eiusmod esse sunt culpa irure","uid":"sit labore conse"},"mountOptions":["\u003cstring\u003e","\u003cstring\u003e"],"parameters":"\u003cobject\u003e","reclaimPolicy":"\u003cstring\u003e","volumeBindingMode":"\u003cstring\u003e"}