PageSourceSearch

https://docs-spectrocloud.netlify.app/assets/js/e7990046.18123ae6.js

js docs-spectrocloud.netlify.app collected 2026-10-03 10:41:29 UTC 15,792 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["12580"],{509017:function(e,t,s){s.r(t),s.d(t,{frontMatter:()=>j,toc:()=>g,default:()=>v,metadata:()=>a,assets:()=>x,contentTitle:()=>b});var a=JSON.parse('{"id":"v1/v-1-cluster-profiles-uid-metadata-update","title":"Updates the specified cluster profile metadata","description":"Updates the specified cluster profile metadata","source":"@site/docs/api-content/api-docs/v1/v-1-cluster-profiles-uid-metadata-update.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-cluster-profiles-uid-metadata-update","permalink":"/api/v1/v-1-cluster-profiles-uid-metadata-update","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-cluster-profiles-uid-metadata-update","title":"Updates the specified cluster profile metadata","description":"Updates the specified cluster profile metadata","sidebar_label":"Updates the specified cluster profile metadata","hide_title":true,"hide_table_of_contents":true,"api":"eJzFVk1v4zYQ/SsD9rILKHa32EPhQ4E0LdB0kdZoE/SwyGEsji1uKJJLjpxVDf33YkjJduxk220PvRiyOJqPxzdvZqd8oIhsvLvWaqG2b65sl5jiMvq1sZTujL4hRo2Md0Ejk6pUwIgtMcWkFu93SlOqowniQy3UJYToP1DNcHf9A5gEkT52JpKGtY/T2UWqfSANkZLvYk0J0GlIje+shhWBbw0zaXhsyAFj3BAbtwEmh+78Y1UpI6EbQk1RVcphS2qhliXYndGqUqluqEW12Cnug5wmjsZt1DBUpyWMEEiyggF02UEOEZCbQ4ByMBWoFhw7+lyk+2JMib/3uheL2jsmx/KIIVhT56uYf0iSyO7I1eczbMcrgtE9BOytR8kuRLlhNpTEzWR47vLXlWAldw3GhY6BHBvu8635fAZ1pJzemVd0znM+Kn+1NvIH7fKJ2Qkc1SlzDl6EN+igc4ljV3Mn9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ZqdcDHPbbVQqlIP0jF5KR3uh2piy5dl9P+s78+WWcp5ssTvixVVLOdXJfWLW3FxsDjbpkVo9sK2vLy9+klVajWu4a3X8lHER9nn8bHg6cN+pc3vdsqi23S4EdviVCgv3XrEOQzmIavE+CD4P3tjezkphTxkKXnBdrcrTT0Me/ty9OIXe60o1gLp/TAMfwGM5e//","sidebar_class_name":"patch api-method","info_path":"api/v1/palette-apis-4-8","custom_edit_url":null,"hide_send_button":true},"sidebar":"apiSidebar","previous":{"title":"Downloads the specified cluster profile","permalink":"/api/v1/v-1-cluster-profiles-uid-export-terraform"},"next":{"title":"Updates cluster profile packs ref","permalink":"/api/v1/v-1-cluster-profiles-packs-ref-update"}}'),i=s(474848),n=s(884429),o=s(871174),r=s.n(o),c=s(789850),d=s.n(c),l=s(692176),p=s.n(l),u=s(733210),h=s.n(u);s(337779),s(256314);var m=s(299528),f=s(845056);let j={id:"v-1-cluster-profiles-uid-metadata-update",title:"Updates the specified cluster profile metadata",description:"Updates the specified cluster profile metadata",sidebar_label:"Updates the specified cluster profile metadata",hide_title:!0,hide_table_of_contents:!0,api:"eJzFVk1v4zYQ/SsD9rILKHa32EPhQ4E0LdB0kdZoE/SwyGEsji1uKJJLjpxVDf33YkjJduxk220PvRiyOJqPxzdvZqd8oIhsvLvWaqG2b65sl5jiMvq1sZTujL4hRo2Md0Ejk6pUwIgtMcWkFu93SlOqowniQy3UJYToP1DNcHf9A5gEkT52JpKGtY/T2UWqfSANkZLvYk0J0GlIje+shhWBbw0zaXhsyAFj3BAbtwEmh+78Y1UpI6EbQk1RVcphS2qhliXYndGqUqluqEW12Cnug5wmjsZt1DBUpyWMEEiyggF02UEOEZCbQ4ByMBWoFhw7+lyk+2JMib/3uheL2jsmx/KIIVhT56uYf0iSyO7I1eczbMcrgtE9BOytR8kuRLlhNpTEzWR47vLXlWAldw3GhY6BHBvu8635fAZ1pJzemVd0znM+Kn+1NvIH7fKJ2Qkc1SlzDl6EN+igc4ljV3Mn9HmgHr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dcDHPbbVQqlIP0jF5KR3uh2piy5dl9P+s78+WWcp5ssTvixVVLOdXJfWLW3FxsDjbpkVo9sK2vLy9+klVajWu4a3X8lHER9nn8bHg6cN+pc3vdsqi23S4EdviVCgv3XrEOQzmIavE+CD4P3tjezkphTxkKXnBdrcrTT0Me/ty9OIXe60o1gLp/TAMfwGM5e//",sidebar_class_name:"patch api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},b,x={},g=[];function y(e){let t={p:"p",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.default,{as:"h1",className:"openapi__heading",children:"Updates the specified cluster profile metadata"}),"\n",(0,i.jsx)(r(),{method:"patch",path:"/v1/clusterprofiles/{uid}/metadata",context:"endpoint"}),"\n",(0,i.jsx)(t.p,{children:"Updates the specified cluster profile metadata"}),"\n",(0,i.jsx)(m.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,i.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,i.jsx)(d(),{...s(197069)}),"\n",(0,i.jsx)(p(),{...s(578719)}),"\n",(0,i.jsx)(h(),{...s(370289)})]})}function v(e={}){let{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(y,{...e})}):y(e)}},374901:function(e,t,s){s.d(t,{A:()=>u});var a=s(513907);s(296540);var i=s(39836),n=s(845056),o=s(491085),r=s(81178),c=s(256292),d=s(474848);let l={icon:(0,d.jsx)(function(){return(0,d.jsx)(r.gc,{icon:c.s6x})},{}),title:(0,d.jsx)(n.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."},p={icon:(0,d.jsx)(function(){return(0,d.jsx)(r.gc,{icon:c.eST})},{}),title:(0,d.jsx)(n.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},u={...a.A,preview:function(e){let t=e.children||l.defaultText;return(0,d.jsx)(o.A,{...l,className:(0,i.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||p.defaultText;return(0,d.jsx)(o.A,{...p,className:(0,i.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,s){s.d(t,{A:()=>n}),s(296540);var a=s(97376),i=s(474848);function n(e){return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(a.A,{...e})})}},769048:function(e,t,s){s.r(t),s.d(t,{default:()=>E});var a=s(296540),i=s(955031),n=s(39836),o=s(886626),r=s(816575),c=s(599099),d=s(474848);function l({as:e,...t}){let s=(0,o.A)(),a=(0,c.M$)(s);return(0,d.jsx)(e,{...t,style:a,className:(0,n.A)(t.className,"codeBlockContainer_APcc",r.G.common.codeBlock)})}let p={codeBlockContent:"codeBlockContent_m3Ux",codeBlockTitle:"codeBlockTitle_P25_",codeBlock:"codeBlock_qGQc",codeBlockStandalone:"codeBlockStandalone_zC50",codeBlockLines:"codeBlockLines_p187",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_OFgW",buttonGroup:"buttonGroup_6DOT"};function u({children:e,className:t}){return(0,d.jsx)(l,{as:"pre",tabIndex:0,className:(0,n.A)(p.codeBlockStandalone,"thin-scrollbar",t),children:(0,d.jsx)("code",{className:p.codeBlockLines,children:e})})}var h=s(388478),m=s(838588),f=s(58317);function j({line:e,classNames:t,showLineNumbers:s,getLineProps:a,getTokenProps:i}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let o=a({line:e,className:(0,n.A)(t,s&&"codeLine_iPqp")}),r=e.map((e,t)=>(0,d.jsx)("span",{...i({token:e,key:t})},t));return(0,d.jsxs)("span",{...o,children:[s?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,d.jsx)("span",{className:"codeLineContent_pOih",children:r})]}):r,(0,d.jsx)("br",{})]})}var b=s(23028),x=s(845056),g=s(529945),y=s(73451);let v={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function k({code:e,className:t}){let[s,i]=(0,a.useState)(!1),o=(0,a.useRef)(void 0),r=(0,a.useCallback)(()=>{(0,b.default)(e),i(!0),o.current=window.setTimeout(()=>{i(!1)},1e3)},[e]);return(0,a.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,d.jsx)("button",{type:"button","aria-label":s?(0,x.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,x.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,x.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,n.A)("clean-btn",t,v.copyButton,s&&v.copyButtonCopied),onClick:r,children:(0,d.jsxs)("span",{className:v.copyButtonIcons,"aria-hidden":"true",children:[(0,d.jsx)(g.A,{className:v.copyButtonIcon}),(0,d.jsx)(y.A,{className:v.copyButtonSuccessIcon})]})})}var w=s(113824);function N({className:e,onClick:t,isEnabled:s}){let a=(0,x.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,d.jsx)("button",{type:"button",onClick:t,className:(0,n.A)("clean-btn",e,s&&"wordWrapButtonEnabled_gY8A"),"aria-label":a,title:a,children:(0,d.jsx)(w.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function T({children:e,className:t="",metastring:s,title:a,showLineNumbers:i,language:r,hideClipboard:u=!1}){var b;let{prism:{defaultLanguage:x,magicComments:g}}=(0,h.p)(),y=(b=r??(0,c.DX)(t)??x,b?.toLowerCase()),v=(0,o.A)(),w=(0,m.f)(),T=(0,c.wt)(s)||a,{lineClassNames:E,code:B}=(0,c.Li)(e,{metastring:s,language:y,magicComments:g}),A=i??(0,c._u)(s);return u=s&&s.includes("hideClipboard"),(0,d.jsxs)(l,{as:"div",className:(0,n.A)(t,y&&!t.includes(`language-${y}`)&&`language-${y}`),children:[T&&(0,d.jsx)("div",{className:p.codeBlockTitle,children:T}),(0,d.jsxs)("div",{className:p.codeBlockContent,children:[(0,d.jsx)(f.Highlight,{theme:v,code:B,language:y??"text",children:({className:e,style:t,tokens:s,getLineProps:a,getTokenProps:i})=>(0,d.jsx)("pre",{tabIndex:0,ref:w.codeBlockRef,className:(0,n.A)(e,p.codeBlock,"thin-scrollbar"),style:t,children:(0,d.jsx)("code",{className:(0,n.A)(p.codeBlockLines,A&&p.co
1deBlockLinesWithNumbering),children:s.map((e,t)=>(0,d.jsx)(j,{line:e,getLineProps:a,getTokenProps:i,classNames:E[t],showLineNumbers:A},t))})})}),(0,d.jsxs)("div",{className:p.buttonGroup,children:[(w.isEnabled||w.isCodeScrollable)&&(0,d.jsx)(N,{className:p.codeButton,onClick:()=>w.toggle(),isEnabled:w.isEnabled}),!u&&(0,d.jsx)(k,{className:p.codeButton,code:B})]})]})]})}function E({children:e,...t}){let s=(0,i.default)(),n=a.Children.toArray(e).some(e=>(0,a.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,d.jsx)("string"==typeof n?T:u,{...t,children:n},String(s))}},178766:function(e,t,s){s.r(t),s.d(t,{default:()=>l}),s(296540);var a=s(769048),i=s(39836),n=s(829515),o=s(494528),r=s(952242),c=s(169764),d=s(474848);let l=function({children:e,collapsible:t,name:s,qualifierMessage:l,required:p,schemaName:u,schema:h}){let m,f,j,b;h&&(m=h.deprecated,f=h.description,j=h.default,b=h.nullable);let x=(0,o.guard)(Array.isArray(p)?p.includes(s):p,()=>(0,d.jsx)("span",{className:"openapi-schema__required",children:"required"})),g=(0,o.guard)(m,()=>(0,d.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),y=(0,o.guard)(b,()=>(0,d.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),v=(0,o.guard)(f,e=>(0,d.jsx)("div",{children:(0,d.jsx)(r.oz,{children:(0,n.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:s,children:i,...n}){let o=/language-(\w+)/.exec(s||"");return t?(0,d.jsx)("code",{children:i}):t||null==o?(0,d.jsx)(a.default,{children:i}):(0,d.jsx)(a.default,{className:s,children:i})}},rehypePlugins:[c.A]})})),k=(0,o.guard)(l,e=>(0,d.jsx)("div",{children:(0,d.jsx)(r.oz,{children:(0,n.createDescription)(e),rehypePlugins:[c.A]})})),w=(0,o.guard)("boolean"==typeof j?j.toString():j,e=>(0,d.jsx)("div",{className:"",children:(0,d.jsx)(r.oz,{children:`**Default value:** \`${e}\``})})),N=(0,d.jsxs)("div",{children:[(0,d.jsxs)("span",{className:"openapi-schema__container",children:[(0,d.jsx)("strong",{className:(0,i.A)("openapi-schema__property",{"openapi-schema__strikethrough":m}),children:s}),(0,d.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof u?JSON.stringify(u):u}),(b||p||m)&&(0,d.jsx)("span",{className:"openapi-schema__divider"}),y,!m&&x,g]}),k,w,v,e??e]});return(0,d.jsx)("div",{className:"openapi-schema__list-item",children:t?e:N})}},197069: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"}},{"description":"Cluster profile uid","in":"path","name":"uid","required":true,"schema":{"type":"string"}}]}')},578719:function(e){e.exports=JSON.parse('{"title":"Body","body":{"content":{"application/json":{"schema":{"description":"Cluster profile metadata request payload","properties":{"metadata":{"description":"ObjectMeta input entity for object creation","properties":{"annotations":{"additionalProperties":{"type":"string"},"description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations","type":"object"},"labels":{"additionalProperties":{"type":"string"},"description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels","type":"object"},"name":{"description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names","type":"string"}},"type":"object"},"spec":{"description":"Cluster profile update spec","properties":{"version":{"description":"Cluster profile version","type":"string"}},"type":"object"}},"required":["metadata"],"type":"object"}}}}}')},370289: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.