patch Storage V1Storage Class
PATCH {{baseUrl}}/apis/storage.k8s.io/v1/storageclasses/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>
partially update the specified StorageClass
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dryRun | string | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | |
fieldManager | string | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | |
force | string | Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | |
pretty | string | If 'true', then the output is pretty printed. |
Request Body
<object>
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
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"}