1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["11306"],{847385:function(e,t,a){a.r(t),a.d(t,{frontMatter:()=>x,toc:()=>g,default:()=>k,metadata:()=>s,assets:()=>j,contentTitle:()=>b});var s=JSON.parse('{"id":"v1/v-1-cluster-templates-uid-metadata-update","title":"Update the specified cluster template metadata","description":"Update the specified cluster template metadata","source":"@site/docs/api-content/api-docs/v1/v-1-cluster-templates-uid-metadata-update.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-cluster-templates-uid-metadata-update","permalink":"/api/v1/v-1-cluster-templates-uid-metadata-update","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-cluster-templates-uid-metadata-update","title":"Update the specified cluster template metadata","description":"Update the specified cluster template metadata","sidebar_label":"Update the specified cluster template metadata","hide_title":true,"hide_table_of_contents":true,"api":"eJzFVk1vHDcM/SuEekmA8W5T5FDsoYDrFqgbuDVSuz0EPnBH3B3FGkmRKDvTxfz3gNLsh3ftAmkPvQxmRh8kHx8fuVE+UEQ23l1qtVB/vrmwOTHFG+qDRaZ0a/QVMWpkvA0amVSjAkbsiSkmtfiwUZpSG02QS9RCnUOI/iO1DLeXP4FJEOlTNpE0rHzcrp2l1gfSECn5HFtKgE5D6ny2GpYEvjfMpOGxIweMcU1s3BqYHLrTw6pRRkx3hJqiapTDntRCXVdjt0arRqW2ox7VYqN4CLKaOBq3VuPYHIcwYQA8gQC53FBsBORub6EubCNUC46Z/snUXd1MiX/0epAdrXdMjuUVQ7CmLcmYf0ziyebgqqcuvp9ih35KjqQlSjLZUJL9u4WTs78vBRXJKhgXMgM5NjyU/PiyBm2k4sfJreic57JUP7U28oH2+sm2o7ibY47sbxGGoIPsEsfcchai3NMAD2gzQY8BEnv5+Wi4A9wlHbhDhh4HoUsihuUA9JkpOrTA3tsE7OvZwq1IHA09EGBcGo4Yhx10M7jpaACMBM4zfMoUB1xaOuJkiJQoPmxZ2XttVoOwsm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B3s6mlO467/XXpxRM7Rai7BdK7cRy/AHl7qPs=","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":"Returns the specified cluster template","permalink":"/api/v1/v-1-cluster-templates-uid-get"},"next":{"title":"Update the specified cluster template policies","permalink":"/api/v1/v-1-cluster-templates-uid-policies-update"}}'),n=a(474848),i=a(884429),c=a(871174),o=a.n(c),r=a(789850),d=a.n(r),l=a(692176),p=a.n(l),u=a(733210),m=a.n(u);a(337779),a(256314);var h=a(299528),f=a(845056);let x={id:"v-1-cluster-templates-uid-metadata-update",title:"Update the specified cluster template metadata",description:"Update the specified cluster template metadata",sidebar_label:"Update the specified cluster template metadata",hide_title:!0,hide_table_of_contents:!0,api:"eJzFVk1vHDcM/SuEekmA8W5T5FDsoYDrFqgbuDVSuz0EPnBH3B3FGkmRKDvTxfz3gNLsh3ftAmkPvQxmRh8kHx8fuVE+UEQ23l1qtVB/vrmwOTHFG+qDRaZ0a/QVMWpkvA0amVSjAkbsiSkmtfiwUZpSG02QS9RCnUOI/iO1DLeXP4FJEOlTNpE0rHzcrp2l1gfSECn5HFtKgE5D6ny2GpYEvjfMpOGxIweMcU1s3BqYHLrTw6pRRkx3hJqiapTDntRCXVdjt0arRqW2ox7VYqN4CLKaOBq3VuPYHIcwYQA8gQC53FBsBORub6EubCNUC46Z/snUXd1MiX/0epAdrXdMjuUVQ7CmLcmYf0ziyebgqqcuvp9ih35KjqQlSjLZUJL9u4WTs78vBRXJKhgXMgM5NjyU/PiyBm2k4sfJreic57JUP7U28oH2+sm2o7ibY47sbxGGoIPsEsfcchai3NMAD2gzQY8BEnv5+Wi4A9wlHbhDhh4HoUsihuUA9JkpOrTA3tsE7OvZwq1IHA09EGBcGo4Yhx10M7jpaACMBM4zfMoUB1xaOuJkiJQoPmxZ2XttVoOwsmKWZnAlxoxb+QV0zGExn9/nJUVHTGlm/Fz7Ns1zoni2zkbT/BDMZot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method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},b,j={},g=[];function v(e){let t={p:"p",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.default,{as:"h1",className:"openapi__heading",children:"Update the specified cluster template metadata"}),"\n",(0,n.jsx)(o(),{method:"patch",path:"/v1/clusterTemplates/{uid}/metadata",context:"endpoint"}),"\n",(0,n.jsx)(t.p,{children:"Update the specified cluster template metadata"}),"\n",(0,n.jsx)(h.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,n.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,n.jsx)(d(),{...a(362768)}),"\n",(0,n.jsx)(p(),{...a(569442)}),"\n",(0,n.jsx)(m(),{...a(341928)})]})}function k(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(v,{...e})}):v(e)}},374901:function(e,t,a){a.d(t,{A:()=>u});var s=a(513907);a(296540);var n=a(39836),i=a(845056),c=a(491085),o=a(81178),r=a(256292),d=a(474848);let l={icon:(0,d.jsx)(function(){return(0,d.jsx)(o.gc,{icon:r.s6x})},{}),title:(0,d.jsx)(i.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)(o.gc,{icon:r.eST})},{}),title:(0,d.jsx)(i.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},u={...s.A,preview:function(e){let t=e.children||l.defaultText;return(0,d.jsx)(c.A,{...l,className:(0,n.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||p.defaultText;return(0,d.jsx)(c.A,{...p,className:(0,n.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,a){a.d(t,{A:()=>i}),a(296540);var s=a(97376),n=a(474848);function i(e){return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.A,{...e})})}},769048:function(e,t,a){a.r(t),a.d(t,{default:()=>w});var s=a(296540),n=a(955031),i=a(39836),c=a(886626),o=a(816575),r=a(599099),d=a(474848);function l({as:e,...t}){let a=(0,c.A)(),s=(0,r.M$)(a);return(0,d.jsx)(e,{...t,style:s,className:(0,i.A)(t.className,"codeBlockContainer_APcc",o.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,i.A)(p.codeBlockStandalone,"thin-scrollbar",t),children:(0,d.jsx)("code",{className:p.codeBlockLines,children:e})})}var m=a(388478),h=a(838588),f=a(58317);function x({line:e,classNames:t,showLineNumbers:a,getLineProps:s,getTokenProps:n}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let c=s({line:e,className:(0,i.A)(t,a&&"codeLine_iPqp")}),o=e.map((e,t)=>(0,d.jsx)("span",{...n({token:e,key:t})},t));return(0,d.jsxs)("span",{...c,children:[a?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,d.jsx)("span",{className:"codeLineContent_pOih",children:o})]}):o,(0,d.jsx)("br",{})]})}var b=a(23028),j=a(845056),g=a(529945),v=a(73451);let k={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function y({code:e,className:t}
1){let[a,n]=(0,s.useState)(!1),c=(0,s.useRef)(void 0),o=(0,s.useCallback)(()=>{(0,b.default)(e),n(!0),c.current=window.setTimeout(()=>{n(!1)},1e3)},[e]);return(0,s.useEffect)(()=>()=>window.clearTimeout(c.current),[]),(0,d.jsx)("button",{type:"button","aria-label":a?(0,j.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,j.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,j.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.A)("clean-btn",t,k.copyButton,a&&k.copyButtonCopied),onClick:o,children:(0,d.jsxs)("span",{className:k.copyButtonIcons,"aria-hidden":"true",children:[(0,d.jsx)(g.A,{className:k.copyButtonIcon}),(0,d.jsx)(v.A,{className:k.copyButtonSuccessIcon})]})})}var B=a(113824);function N({className:e,onClick:t,isEnabled:a}){let s=(0,j.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,i.A)("clean-btn",e,a&&"wordWrapButtonEnabled_gY8A"),"aria-label":s,title:s,children:(0,d.jsx)(B.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function A({children:e,className:t="",metastring:a,title:s,showLineNumbers:n,language:o,hideClipboard:u=!1}){var b;let{prism:{defaultLanguage:j,magicComments:g}}=(0,m.p)(),v=(b=o??(0,r.DX)(t)??j,b?.toLowerCase()),k=(0,c.A)(),B=(0,h.f)(),A=(0,r.wt)(a)||s,{lineClassNames:w,code:R}=(0,r.Li)(e,{metastring:a,language:v,magicComments:g}),O=n??(0,r._u)(a);return u=a&&a.includes("hideClipboard"),(0,d.jsxs)(l,{as:"div",className:(0,i.A)(t,v&&!t.includes(`language-${v}`)&&`language-${v}`),children:[A&&(0,d.jsx)("div",{className:p.codeBlockTitle,children:A}),(0,d.jsxs)("div",{className:p.codeBlockContent,children:[(0,d.jsx)(f.Highlight,{theme:k,code:R,language:v??"text",children:({className:e,style:t,tokens:a,getLineProps:s,getTokenProps:n})=>(0,d.jsx)("pre",{tabIndex:0,ref:B.codeBlockRef,className:(0,i.A)(e,p.codeBlock,"thin-scrollbar"),style:t,children:(0,d.jsx)("code",{className:(0,i.A)(p.codeBlockLines,O&&p.codeBlockLinesWithNumbering),children:a.map((e,t)=>(0,d.jsx)(x,{line:e,getLineProps:s,getTokenProps:n,classNames:w[t],showLineNumbers:O},t))})})}),(0,d.jsxs)("div",{className:p.buttonGroup,children:[(B.isEnabled||B.isCodeScrollable)&&(0,d.jsx)(N,{className:p.codeButton,onClick:()=>B.toggle(),isEnabled:B.isEnabled}),!u&&(0,d.jsx)(y,{className:p.codeButton,code:R})]})]})]})}function w({children:e,...t}){let a=(0,n.default)(),i=s.Children.toArray(e).some(e=>(0,s.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,d.jsx)("string"==typeof i?A:u,{...t,children:i},String(a))}},178766:function(e,t,a){a.r(t),a.d(t,{default:()=>l}),a(296540);var s=a(769048),n=a(39836),i=a(829515),c=a(494528),o=a(952242),r=a(169764),d=a(474848);let l=function({children:e,collapsible:t,name:a,qualifierMessage:l,required:p,schemaName:u,schema:m}){let h,f,x,b;m&&(h=m.deprecated,f=m.description,x=m.default,b=m.nullable);let j=(0,c.guard)(Array.isArray(p)?p.includes(a):p,()=>(0,d.jsx)("span",{className:"openapi-schema__required",children:"required"})),g=(0,c.guard)(h,()=>(0,d.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),v=(0,c.guard)(b,()=>(0,d.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),k=(0,c.guard)(f,e=>(0,d.jsx)("div",{children:(0,d.jsx)(o.oz,{children:(0,i.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:a,children:n,...i}){let c=/language-(\w+)/.exec(a||"");return t?(0,d.jsx)("code",{children:n}):t||null==c?(0,d.jsx)(s.default,{children:n}):(0,d.jsx)(s.default,{className:a,children:n})}},rehypePlugins:[r.A]})})),y=(0,c.guard)(l,e=>(0,d.jsx)("div",{children:(0,d.jsx)(o.oz,{children:(0,i.createDescription)(e),rehypePlugins:[r.A]})})),B=(0,c.guard)("boolean"==typeof x?x.toString():x,e=>(0,d.jsx)("div",{className:"",children:(0,d.jsx)(o.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,n.A)("openapi-schema__property",{"openapi-schema__strikethrough":h}),children:a}),(0,d.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof u?JSON.stringify(u):u}),(b||p||h)&&(0,d.jsx)("span",{className:"openapi-schema__divider"}),v,!h&&j,g]}),y,B,k,e??e]});return(0,d.jsx)("div",{className:"openapi-schema__list-item",children:t?e:N})}},362768: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 template uid","in":"path","name":"uid","required":true,"schema":{"type":"string"}}]}')},569442:function(e){e.exports=JSON.parse('{"title":"Body","body":{"content":{"application/json":{"schema":{"description":"Resource metadata","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"}
1,"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"}},"required":["metadata"],"type":"object"}}}}}')},341928: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.