replace Storage V1beta1Storage Class
PUT {{baseUrl}}/apis/storage.k8s.io/v1beta1/storageclasses/:name?dryRun=<string>&fieldManager=<string>&pretty=<string>
replace 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. | |
pretty | string | If 'true', then the output is pretty printed. |
Request Body
{"provisioner"=>"<string>", "allowVolumeExpansion"=>"<boolean>", "allowedTopologies"=>[{"matchLabelExpressions"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "values"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "values"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, {"matchLabelExpressions"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "values"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "values"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}], "apiVersion"=>"<string>", "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"commodo con", "creationTimestamp"=>"1979-12-29T15:04:58.478Z", "deletionGracePeriodSeconds"=>82673875, "deletionTimestamp"=>"2015-05-22T20:14:34.405Z", "finalizers"=>["cupidatat", "dolore sit aliquip"], "generateName"=>"eu incididunt quis es", "generation"=>46213378, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"ut labore dolore quis", "fieldsType"=>"et", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"cupidatat", "operation"=>"labore sint cupidatat", "time"=>"1993-03-21T14:16:56.582Z"}, {"apiVersion"=>"eu laborum Excepteur nisi incididunt", "fieldsType"=>"labore", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"aute incididunt veniam ex", "operation"=>"irure dolore elit dolor", "time"=>"2019-12-07T16:42:33.594Z"}], "name"=>"laborum exercitation", "namespace"=>"dolor occaecat est", "ownerReferences"=>[{"apiVersion"=>"laboris exercitation deserunt incididunt", "kind"=>"dolor", "name"=>"sint reprehenderit", "uid"=>"cupidatat proident irure est", "blockOwnerDeletion"=>true, "controller"=>false}, {"apiVersion"=>"culpa amet sed", "kind"=>"officia Lorem consequat do", "name"=>"irure ipsum", "uid"=>"do", "blockOwnerDeletion"=>false, "controller"=>true}], "resourceVersion"=>"ad nostru", "selfLink"=>"nostrud veniam proident", "uid"=>"tempor labore qui sed"}, "mountOptions"=>["<string>", "<string>"], "parameters"=>"<object>", "reclaimPolicy"=>"<string>", "volumeBindingMode"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"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":"in ea anim voluptate ullamco","creationTimestamp":"2003-03-24T17:24:55.158Z","deletionGracePeriodSeconds":82532003,"deletionTimestamp":"2016-12-19T03:43:03.485Z","finalizers":["ex et adipisicing commodo","ad ut dolore irure non"],"generateName":"exercita","generation":63122130,"labels":{},"managedFields":[{"apiVersion":"pariatur ani","fieldsType":"aliquip irure do","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"laborum occaecat nulla reprehenderit","operation":"enim cillum","time":"2002-09-13T16:46:29.004Z"},{"apiVersion":"do eu","fieldsType":"eu","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"dolore proident Excepteur anim","operation":"esse quis","time":"1977-09-19T23:18:09.770Z"}],"name":"aliquip cupidatat adipisicing reprehenderit","namespace":"dolor do","ownerReferences":[{"apiVersion":"sit reprehenderit in Duis","kind":"voluptate qui commodo","name":"nulla magna","uid":"Ut irure anim cupidatat","blockOwnerDeletion":true,"controller":false},{"apiVersion":"irure nostrud dolore","kind":"do eu dolor nostrud","name":"cupidatat reprehenderit nisi elit sit","uid":"cillum qui ullamco ","blockOwnerDeletion":false,"controller":false}],"resourceVersion":"consequat reprehenderit Ut","selfLink":"est dolore id","uid":"dolor occaecat"},"mountOptions":["\u003cstring\u003e","\u003cstring\u003e"],"parameters":"\u003cobject\u003e","reclaimPolicy":"\u003cstring\u003e","volumeBindingMode":"\u003cstring\u003e"}