create Storage V1Storage Class

POST {{baseUrl}}/apis/storage.k8s.io/v1/storageclasses?dryRun=<string>&fieldManager=<string>&pretty=<string>

create a StorageClass

Request Params

KeyDatatypeRequiredDescription
dryRunstringWhen 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
fieldManagerstringfieldManager 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.
prettystringIf '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"=>"ut aliquip", "creationTimestamp"=>"1964-10-25T08:41:55.564Z", "deletionGracePeriodSeconds"=>-86607497, "deletionTimestamp"=>"1952-03-28T12:24:08.266Z", "finalizers"=>["consectetur qui in", "in adipisicing"], "generateName"=>"dolor exercitation eiusmod reprehenderit minim", "generation"=>16062208, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"officia dolore L", "fieldsType"=>"elit qui", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"mollit velit", "operation"=>"do proident sunt veniam", "time"=>"1943-10-20T04:53:12.884Z"}, {"apiVersion"=>"non enim ut", "fieldsType"=>"labore nulla ", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"aliquip ut do aute", "operation"=>"dolor dolore nisi", "time"=>"2016-01-14T14:46:11.387Z"}], "name"=>"Lorem esse Excepteur", "namespace"=>"dolore commodo", "ownerReferences"=>[{"apiVersion"=>"est nulla proident Lorem", "kind"=>"", "name"=>"id amet non", "uid"=>"irure et", "blockOwnerDeletion"=>true, "controller"=>false}, {"apiVersion"=>"ea id", "kind"=>"ullamco dolor nulla do aliquip", "name"=>"ea aute Excepteur tempor cupidatat", "uid"=>"esse ipsum labore in", "blockOwnerDeletion"=>false, "controller"=>true}], "resourceVersion"=>"qui sed id eu occaecat", "selfLink"=>"tempor", "uid"=>"nostrud ad dolor culpa adipisicing"}, "mountOptions"=>["<string>", "<string>"], "parameters"=>"<object>", "reclaimPolicy"=>"<string>", "volumeBindingMode"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;provisioner&quot;:&quot;\u003cstring\u003e&quot;,&quot;allowVolumeExpansion&quot;:&quot;\u003cboolean\u003e&quot;,&quot;allowedTopologies&quot;:[{&quot;matchLabelExpressions&quot;:[{&quot;key&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;values&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;key&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;values&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]},{&quot;matchLabelExpressions&quot;:[{&quot;key&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;values&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;key&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;values&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}],&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;ipsum exer&quot;,&quot;creationTimestamp&quot;:&quot;1941-09-22T07:40:57.699Z&quot;,&quot;deletionGracePeriodSeconds&quot;:83414098,&quot;deletionTimestamp&quot;:&quot;2018-09-01T07:41:49.358Z&quot;,&quot;finalizers&quot;:[&quot;non fugiat ad&quot;,&quot;dolor eiusmod sint&quot;],&quot;generateName&quot;:&quot;proident cupidatat&quot;,&quot;generation&quot;:99741056,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;reprehenderit deserunt&quot;,&quot;fieldsType&quot;:&quot;irure incididunt&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;ut&quot;,&quot;operation&quot;:&quot;nisi Excepteur eiusmod anim&quot;,&quot;time&quot;:&quot;1948-09-11T07:15:17.368Z&quot;},{&quot;apiVersion&quot;:&quot;consequat fugiat quis ad&quot;,&quot;fieldsType&quot;:&quot;in pariatur dolore Duis&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;minim&quot;,&quot;operation&quot;:&quot;esse dolor reprehenderit labore ex&quot;,&quot;time&quot;:&quot;1963-03-24T11:25:11.213Z&quot;}],&quot;name&quot;:&quot;magna eu exercitation irure&quot;,&quot;namespace&quot;:&quot;incididunt laboris in do&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;aliqua eu sint&quot;,&quot;kind&quot;:&quot;esse ea Lorem&quot;,&quot;name&quot;:&quot;eiusmod anim in consec&quot;,&quot;uid&quot;:&quot;aliqua in in incididunt&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;sint&quot;,&quot;kind&quot;:&quot;qui deserunt sit&quot;,&quot;name&quot;:&quot;Duis Ut enim labore&quot;,&quot;uid&quot;:&quot;amet minim irure&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true}],&quot;resourceVersion&quot;:&quot;exercitation ea Excepte&quot;,&quot;selfLink&quot;:&quot;eiusmod esse sunt culpa irure&quot;,&quot;uid&quot;:&quot;sit labore conse&quot;},&quot;mountOptions&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;parameters&quot;:&quot;\u003cobject\u003e&quot;,&quot;reclaimPolicy&quot;:&quot;\u003cstring\u003e&quot;,&quot;volumeBindingMode&quot;:&quot;\u003cstring\u003e&quot;}