create Scheduling V1alpha1Priority Class

POST {{baseUrl}}/apis/scheduling.k8s.io/v1alpha1/priorityclasses?dryRun=<string>&fieldManager=<string>&pretty=<string>

create a PriorityClass

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

{"value"=>"<integer>", "apiVersion"=>"<string>", "description"=>"<string>", "globalDefault"=>"<boolean>", "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"ut velit", "creationTimestamp"=>"2016-09-19T11:29:53.693Z", "deletionGracePeriodSeconds"=>13365436, "deletionTimestamp"=>"1983-08-24T23:04:38.936Z", "finalizers"=>["incididunt in cupidatat aliquip", "velit commodo"], "generateName"=>"labore ad ipsum", "generation"=>-42636803, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"laboris cillum", "fieldsType"=>"fugiat cillum", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"nostrud veniam eiusmod ut", "operation"=>"sint minim dolore aliquip", "time"=>"2016-06-24T04:13:34.533Z"}, {"apiVersion"=>"pariatur laborum", "fieldsType"=>"officia ", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"cillum adipisicing quis", "operation"=>"ea id consequat", "time"=>"1977-02-27T21:30:02.544Z"}], "name"=>"magna irure cillum", "namespace"=>"eiusmod laboris do", "ownerReferences"=>[{"apiVersion"=>"dolor in velit anim", "kind"=>"Excepteur", "name"=>"aliquip cupidatat in", "uid"=>"Lorem in pariatur", "blockOwnerDeletion"=>true, "controller"=>true}, {"apiVersion"=>"ut minim in ut", "kind"=>"officia incididunt ut pariatur", "name"=>"minim tempor Lorem exercitation", "uid"=>"anim dolore se", "blockOwnerDeletion"=>false, "controller"=>false}], "resourceVersion"=>"in qui magna Duis", "selfLink"=>"sunt veniam ut nulla", "uid"=>"eu cillum"}, "preemptionPolicy"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;value&quot;:&quot;\u003cinteger\u003e&quot;,&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;globalDefault&quot;:&quot;\u003cboolean\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;occaecat deserunt&quot;,&quot;creationTimestamp&quot;:&quot;2018-09-13T11:22:35.630Z&quot;,&quot;deletionGracePeriodSeconds&quot;:54810061,&quot;deletionTimestamp&quot;:&quot;1999-03-12T09:01:11.045Z&quot;,&quot;finalizers&quot;:[&quot;mollit&quot;,&quot;nostrud dolore elit&quot;],&quot;generateName&quot;:&quot;sit&quot;,&quot;generation&quot;:-23129224,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;proident&quot;,&quot;fieldsType&quot;:&quot;aliquip velit commodo aute&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;fugiat aliqua laboris&quot;,&quot;operation&quot;:&quot;occaecat&quot;,&quot;time&quot;:&quot;1968-01-01T04:30:42.019Z&quot;},{&quot;apiVersion&quot;:&quot;ad aliqua&quot;,&quot;fieldsType&quot;:&quot;dolor laborum Lorem et&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;ullamco velit ut i&quot;,&quot;operation&quot;:&quot;dolor ullamco&quot;,&quot;time&quot;:&quot;2011-07-29T15:06:09.876Z&quot;}],&quot;name&quot;:&quot;id consequat&quot;,&quot;namespace&quot;:&quot;consequat eu&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;velit Lorem cupidatat&quot;,&quot;kind&quot;:&quot;eu proident&quot;,&quot;name&quot;:&quot;consectetur incididunt&quot;,&quot;uid&quot;:&quot;fugiat aliquip nisi in&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;minim in proident&quot;,&quot;kind&quot;:&quot;p&quot;,&quot;name&quot;:&quot;nisi&quot;,&quot;uid&quot;:&quot;anim quis ipsum reprehenderit&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;voluptate incididunt c&quot;,&quot;selfLink&quot;:&quot;nostrud id&quot;,&quot;uid&quot;:&quot;quis nulla dolore sint&quot;},&quot;preemptionPolicy&quot;:&quot;\u003cstring\u003e&quot;}