1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["13266"],{356040:function(e,t,i){i.r(t),i.d(t,{frontMatter:()=>g,toc:()=>b,default:()=>v,metadata:()=>o,assets:()=>y,contentTitle:()=>x});var o=JSON.parse('{"id":"v1/v-1-workspaces-uid-resource-allocations-update","title":"Updates the specified workspace resource allocations","description":"Deprecated","source":"@site/docs/api-content/api-docs/v1/v-1-workspaces-uid-resource-allocations-update.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-workspaces-uid-resource-allocations-update","permalink":"/api/v1/v-1-workspaces-uid-resource-allocations-update","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-workspaces-uid-resource-allocations-update","title":"Updates the specified workspace resource allocations","description":"Deprecated","sidebar_label":"Updates the specified workspace resource allocations","hide_title":true,"hide_table_of_contents":true,"api":"eJztWEtvGzcQ/ivEnBJgbdlpDoUOBZykKNQ0heBayEHQgdodSYy4JM2HbFXY/14Mubt6rRS5aNFDfTHW4nDe880MN1Cgy60wXmgFffiExmLOPRaQgTZoOR0MCujD6vartktneI5uJIp7dDrYHO+k1HmkciNTcI+QgeGWl+jROuiPNwci7pix+hvmno0Gn5hwzOJjEBYLNtO2ObtyuTZYMFtLcYyrgrmFDrJgU2S6FN5jwZ4WqJjndo5eqDnzqLg6vgwZCBK9QF6ghQwULxH6MEzCRoKsdfkCSw79Dfi1oVPnrVBzqKpsk64b7hfbyyHeapSHvrcBz3GZJGJ0/oMu1kSRa+VRefrkxkiR3Nj75shPmx1W+w5sw9AayHgbBBZiEBgqL/yaYmEpjF6giyJlcB7t77zEFEn6UXgs3Tk59S2mmmtHfEXJ53iORXuVRVIm1EzbMqp8xGwqeb78TTiPxYCI95U88GvW/MCt5WRwUOIx4CCRU1CqqspAuHuc4/MOg6nWEjlJf76idMLS+DX0Z1w6rJood4hrLTmugMsc0BG1U3HqKLKLAvYCEZT8XWbaF1l3kUATPmqbvkuhRBlK6F/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","sidebar_class_name":"put api-method","info_path":"api/v1/palette-apis-4-8","custom_edit_url":null,"hide_send_button":true},"sidebar":"apiSidebar","previous":{"title":"Updates the specified workspace meta","permalink":"/api/v1/v-1-wor
1kspaces-uid-meta-update"},"next":{"title":"Returns the workspace restore result","permalink":"/api/v1/v-1-workspace-ops-restore-get"}}'),s=i(474848),r=i(884429),a=i(871174),n=i.n(a),c=i(789850),l=i.n(c),d=i(692176),u=i.n(d),p=i(733210),m=i.n(p);i(337779),i(256314);var h=i(299528),f=i(845056);let g={id:"v-1-workspaces-uid-resource-allocations-update",title:"Updates the specified workspace resource allocations",description:"Deprecated",sidebar_label:"Updates the specified workspace resource allocations",hide_title:!0,hide_table_of_contents:!0,api:"eJztWEtvGzcQ/ivEnBJgbdlpDoUOBZykKNQ0heBayEHQgdodSYy4JM2HbFXY/14Mubt6rRS5aNFDfTHW4nDe880MN1Cgy60wXmgFffiExmLOPRaQgTZoOR0MCujD6vartktneI5uJIp7dDrYHO+k1HmkciNTcI+QgeGWl+jROuiPNwci7pix+hvmno0Gn5hwzOJjEBYLNtO2ObtyuTZYMFtLcYyrgrmFDrJgU2S6FN5jwZ4WqJjndo5eqDnzqLg6vgwZCBK9QF6ghQwULxH6MEzCRoKsdfkCSw79Dfi1oVPnrVBzqKpsk64b7hfbyyHeapSHvrcBz3GZJGJ0/oMu1kSRa+VRefrkxkiR3Nj75shPmx1W+w5sw9AayHgbBBZiEBgqL/yaYmEpjF6giyJlcB7t77zEFEn6UXgs3Tk59S2mmmtHfEXJ53iORXuVRVIm1EzbMqp8xGwqeb78TTiPxYCI95U88GvW/MCt5WRwUOIx4CCRU1CqqspAuHuc4/MOg6nWEjlJf76idMLS+DX0Z1w6rJood4hrLTmugMsc0BG1U3HqKLKLAvYCEZT8XWbaF1l3kUATPmqbvkuhRBlK6F/dtgFUoZzG6uyMx5xuq5mYH6vxy3DE8ngWEl5FJLlEJSlK4bsZttcTTQYpX6EPQvkf3kHWaYNQHuenjTBWrwRBUBQ540ESQ7USheCQdWjRXGBvtJJrligJNF0wRluCwDxYi8rL9VvIABUpNG5YTrIjGKoyKLHUdv1FfPg7kagii+/WXNbY97Iqec2j/1MeXZhJLRjOXtauLM7QoupoVzttsBP8zmLjhVo/Bu0v696J8lDHVwB+LZzThRP5WHRGK5dc+e7m/bEjHxY7qfHEXT0eFsyFPEfnZkHKNY244DAPlkZGmtjvjPiM9Dmh4fcu+IW24s86CccTmmU9n9N0D0/tUkDGlugXmrYFE3xcBPwC+tBb3fa2dL1NEEXVO85vmtMd2lWzNwQraWj33rh+r8eNuHYGc291LnUornNdAmnSaP4HzcvJF43+R7vHcMCWuGZ81yJaIiyy5iznijaMOSrafmgtsbpkQy7Re6Q0d1oiC4qSYmj1TEhkP7Ev68jgM65Pbhu1UlvwSP9X2aGDD7X+9esD83qJ6kBvPfVcKCxYcLT8kJeJIP6h+Z/2OMaNOKnQntgjvaoMaBW53y4tPz/z0kg8sUiMd9aAjhF+3JTAZHccT1tTrVBN8N0Z+9x0PN6fbLc8u/F0i4k3BxBXQ9PNLmg0Zb1fwzdxuTs77/xDYkjOXjccH/SyrbldTqDrbVv6V/1BIVYzHbun8DIu23UF3Q0Hjl2x99c/QgZU6ynJV7fExWjnSx41qXMiPSo45hfIqPzFTNDef67xuUMk31m191846oz3+Ox7RnKhSIcIO5sau8akWLaLchn0m9X/OP0mGSy083Rvs5lyhyMrqwqi39FGRM1gxa3gU3IKPY4IR99FDe9nNH9zX781vGWnVG8qWBHMrLgM9B9ksCQwjC8WFVVfDQQvE//fvNt0mpnM2Xu9aY2lhpXOPybVrx6IxZbi6Kml2u1bw9EDZDCtX2hKXdAVy58o3vwpeVObdhOPv21AcjUPEfogsaQCIBjeGR+5EcsI//UHeb8zXm2fSGYsY484QbvZJLSuqpY+HZ280TaBRE0OnVRV9RfdpBOa",sidebar_class_name:"put api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},x,y={},b=[];function j(e){let t={p:"p",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(h.default,{as:"h1",className:"openapi__heading",children:"Updates the specified workspace resource allocations"}),"\n",(0,s.jsx)(n(),{method:"put",path:"/v1/workspaces/{uid}/resourceAllocations",context:"endpoint"}),"\n",(0,s.jsx)(t.p,{children:"Deprecated"}),"\n",(0,s.jsx)(h.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,s.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,s.jsx)(l(),{...i(464253)}),"\n",(0,s.jsx)(u(),{...i(115183)}),"\n",(0,s.jsx)(m(),{...i(362689)})]})}function v(e={}){let{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(j,{...e})}):j(e)}},374901:function(e,t,i){i.d(t,{A:()=>p});var o=i(513907);i(296540);var s=i(39836),r=i(845056),a=i(491085),n=i(81178),c=i(256292),l=i(474848);let d={icon:(0,l.jsx)(function(){return(0,l.jsx)(n.gc,{icon:c.s6x})},{}),title:(0,l.jsx)(r.default,{id:"theme.admonition.review",description:"The default label used for the Tech Preview admonition (:::preview)",children:"tech preview"}),defaultText:"This is a Tech Preview feature and is subject to change. Do not use this feature in production workloads."},u={icon:(0,l.jsx)(function(){return(0,l.jsx)(n.gc,{icon:c.eST})},{}),title:(0,l.jsx)(r.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},p={...o.A,preview:function(e){let t=e.children||d.defaultText;return(0,l.jsx)(a.A,{...d,className:(0,s.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||u.defaultText;return(0,l.jsx)(a.A,{...u,className:(0,s.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,i){i.d(t,{A:()=>r}),i(296540);var o=i(97376),s=i(474848);function r(e){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(o.A,{...e})})}},769048:function(e,t,i){i.r(t),i.d(t,{default:()=>P});var o=i(296540),s=i(955031),r=i(39836),a=i(886626),n=i(816575),c=i(599099),l=i(474848);function d({as:e,...t}){let i=(0,a.A)(),o=(0,c.M$)(i);return(0,l.jsx)(e,{...t,style:o,className:(0,r.A)(t.className,"codeBlockContainer_APcc",n.G.common.codeBlock)})}let u={codeBlockContent:"codeBlockContent_m3Ux",codeBlockTitle:"codeBlockTitle_P25_",codeBlock:"codeBlock_qGQc",codeBlockStandalone:"codeBlockStandalone_zC50",codeBlockLines:"codeBlockLines_p187",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_OFgW",buttonGroup:"buttonGroup_6DOT"};function p({children:e,className:t}){return(0,l.jsx)(d,{as:"pre",tabIndex:0,className:(0,r.A)(u.codeBlockStandalone,"thin-scrollbar",t),children:(0,l.jsx)("code",{className:u.codeBlockLines,children:e})})}var m=i(388478),h=i(838588),f=i(58317);function g({line:e,classNames:t,showLineNumbers:i,getLineProps:o,getTokenProps:s}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let a=o({line:e,className:(0,r.A)(t,i&&"codeLine_iPqp")}),n=e.map((e,t)=>(0,l.jsx)("span",{...s({token:e,key:t})},t));return(0,l.jsxs)("span",{...a,children:[i?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,l.jsx)("span",{className:"codeLineContent_pOih",children:n})]}):n,(0,l.jsx)("br",{})]})}var x=i(23028),y=i(845056),b=i(529945),j=i(73451);let v={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function k({code:e,className:t}){let[i,s]=(0,o.useState)(!1),a=(0,o.useRef)(void 0),n=(0,o.useCallback)(()=>{(0,x.default)(e),s(!0),a.current=window.setTimeout(()=>{s(!1)},1e3)},[e]);return(0,o.useEffect)(()=>()=>window.clearTimeout(a.current),[]),(0,l.jsx)("button",{type:"button","aria-label":i?(0,y.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,y.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,y.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,r.A)("clean-btn",t,v.copyButton,i&&v.copyButtonCopied),onClick:n,children:(0,l.jsxs)("span",{className:v.copyButtonIcons,"aria-hidden":"true",children:[(0,l.jsx)(b.A,{className:v.copyButtonIcon}),(0,l.jsx)(j.A,{className:v.copyButtonSuccessIcon})]})})}var B=i(113824);function N({className:e,onClick:t,isEnabled:i}){let o=(0,y.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,l.jsx)("button",{type:"button",onClick:t,className:(0,r.A)("clean-btn",e,i&&"wordWrapButtonEnabled_gY8A"),"aria-label":o,title:o,children:(0,l.jsx)(B.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function w({children:e,className:t="",metastring:i,title:o,showLineNumbers:s,language:n,hideClipboard:p=!1}){var x;let{prism:{defaultLanguage:y,magicComments:b}}=(0,m.p)(),j=(x=n??(0,c.DX)(t)??y,x?.toLowerCase()),v=(0,a.A)(),B=(0,h.f)(),w=(0,c.wt)(i)||o,{lineClassNames:P,code:T}=(0,c.Li)(e,{metastring:i,language:j,magicComments:b}),C=s??(0,c._u)(i);return p=i&&i.includes("hideClipboard"),(0,l.jsxs)(d,{as:"div",className:(0,r.A)(t,j&&!t.includes(`language-${j}`)&&`language-${j}`),children:[w&&(0,l.jsx)("div",{className:u.codeBlockTitle,children:w}),(0,l.jsxs)("div",{className:u.codeBlockContent,children:[(0,l.jsx)(f.Highlight,{theme:v,code:T,language:j??"text",children:({className:e,style:t,tokens:i,getLineProps:o,getTokenProps:s})=>(0,l.jsx)("pre",{tabIndex:0,ref:B.codeBlockRef,className:(0,r.A)(e,u.codeBlock,"thin-scrollbar"),style:t,children:(0,l.jsx)("code",{className:(0,r.A)(u.codeBlockLines,C&&u.codeBlockLinesWithNumbering),children:i.map((e,t)=>(0,l.jsx)(g,{line:e,getLineProps:o,getTokenProps:s,classNames:P[t],showLineNumbers:C},t))})})}),(0,l.jsxs)("div",{className:u.buttonGroup,children:[(B.isEnabled||B.isCodeScrollable)&&(0,l.jsx)(N,{className:u.codeButton,onClick:()=>B.toggle(),isEnabled:B.isEnabled}),!p&&(0,l.jsx)(k,{className:u.codeButton,code:T})]})]})]})}function P({children:e,...t}){let i=(0,s.default)(),r=o.Children.toArray(e).some(e=>(0,o.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;
1return(0,l.jsx)("string"==typeof r?w:p,{...t,children:r},String(i))}},178766:function(e,t,i){i.r(t),i.d(t,{default:()=>d}),i(296540);var o=i(769048),s=i(39836),r=i(829515),a=i(494528),n=i(952242),c=i(169764),l=i(474848);let d=function({children:e,collapsible:t,name:i,qualifierMessage:d,required:u,schemaName:p,schema:m}){let h,f,g,x;m&&(h=m.deprecated,f=m.description,g=m.default,x=m.nullable);let y=(0,a.guard)(Array.isArray(u)?u.includes(i):u,()=>(0,l.jsx)("span",{className:"openapi-schema__required",children:"required"})),b=(0,a.guard)(h,()=>(0,l.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),j=(0,a.guard)(x,()=>(0,l.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),v=(0,a.guard)(f,e=>(0,l.jsx)("div",{children:(0,l.jsx)(n.oz,{children:(0,r.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:i,children:s,...r}){let a=/language-(\w+)/.exec(i||"");return t?(0,l.jsx)("code",{children:s}):t||null==a?(0,l.jsx)(o.default,{children:s}):(0,l.jsx)(o.default,{className:i,children:s})}},rehypePlugins:[c.A]})})),k=(0,a.guard)(d,e=>(0,l.jsx)("div",{children:(0,l.jsx)(n.oz,{children:(0,r.createDescription)(e),rehypePlugins:[c.A]})})),B=(0,a.guard)("boolean"==typeof g?g.toString():g,e=>(0,l.jsx)("div",{className:"",children:(0,l.jsx)(n.oz,{children:`**Default value:** \`${e}\``})})),N=(0,l.jsxs)("div",{children:[(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:(0,s.A)("openapi-schema__property",{"openapi-schema__strikethrough":h}),children:i}),(0,l.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof p?JSON.stringify(p):p}),(x||u||h)&&(0,l.jsx)("span",{className:"openapi-schema__divider"}),j,!h&&y,b]}),k,B,v,e??e]});return(0,l.jsx)("div",{className:"openapi-schema__list-item",children:t?e:N})}},464253:function(e){e.exports=JSON.parse('{"parameters":[{"description":"A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources","in":"header","name":"ProjectUid","schema":{"type":"string"}},{"in":"path","name":"uid","required":true,"schema":{"type":"string"}}]}')},115183:function(e){e.exports=JSON.parse('{"title":"Body","body":{"content":{"application/json":{"schema":{"description":"Workspace resource allocation update entity","properties":{"clusterNamespaces":{"items":{"description":"Workspace cluster namespace","properties":{"image":{"description":"Workspace namespace image information","properties":{"blackListedImages":{"items":{"type":"string"},"type":"array","uniqueItems":true}}},"isRegex":{"type":"boolean","x-omitempty":false},"name":{"type":"string"},"namespaceResourceAllocation":{"description":"Workspace namespace resource allocation","properties":{"clusterResourceAllocations":{"items":{"description":"Workspace resource allocation","properties":{"clusterUid":{"type":"string"},"resourceAllocation":{"description":"Workspace resource allocation","properties":{"cpuCores":{"minimum":-1,"type":"number","x-omitempty":false},"gpuConfig":{"description":"GPU configuration for resource allocation","properties":{"limit":{"description":"GPU resource limit","format":"int32","minimum":-1,"type":"integer","x-omitempty":false},"provider":{"default":"nvidia","description":"GPU provider (only nvidia is supported currently)","enum":["nvidia"],"type":"string"}}},"memoryMiB":{"minimum":-1,"type":"number","x-omitempty":false}}}}},"type":"array","uniqueItems":true},"defaultResourceAllocation":{"description":"Workspace resource allocation","properties":{"cpuCores":{"minimum":-1,"type":"number","x-omitempty":false},"gpuConfig":{"description":"GPU configuration for resource allocation","properties":{"limit":{"description":"GPU resource limit","format":"int32","minimum":-1,"type":"integer","x-omitempty":false},"provider":{"default":"nvidia","description":"GPU provider (only nvidia is supported currently)","enum":["nvidia"],"type":"string"}}},"memoryMiB":{"minimum":-1,"type":"number","x-omitempty":false}}}}}}},"type":"array","uniqueItems":true},"clusterRefs":{"items":{"description":"Workspace cluster reference","properties":{"clusterName":{"type":"string"},"clusterUid":{"type":"string"}}},"type":"array","uniqueItems":true},"quota":{"description":"Workspace resource quota","properties":{"resourceAllocation":{"description":"Workspace resource allocation","properties":{"cpuCores":{"minimum":-1,"type":"number","x-omitempty":false},"gpuConfig":{"description":"GPU configuration for resource allocation","properties":{"limit":{"description":"GPU resource limit","format":"int32","minimum":-1,"type":"integer","x-omitempty":false},"provider":{"default":"nvidia","description":"GPU provider (only nvidia is supported currently)","enum":["nvidia"],"type":"string"}}},"memoryMiB":{"minimum":-1,"type":"number","x-omitempty":false}}}}}}}}}}}')},362689:function(e){e.exports=JSON.parse('{"responses":{"204":{"description":"The resource was updated successfully"}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.