{"id":4461,"date":"2025-02-28T17:20:53","date_gmt":"2025-02-28T16:20:53","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=4461"},"modified":"2025-02-28T17:20:53","modified_gmt":"2025-02-28T16:20:53","slug":"simple-azure-rsg-to-arm-template-in-git-backup-yaml-pipeline","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2025\/02\/simple-azure-rsg-to-arm-template-in-git-backup-yaml-pipeline\/","title":{"rendered":"Simple Azure RSG to ARM template in Git backup yaml pipeline"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2025\/02\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1596\" height=\"895\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2025\/02\/image-4.png\" alt=\"\" class=\"wp-image-4462\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2025\/02\/image-4.png 1596w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2025\/02\/image-4-300x168.png 300w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2025\/02\/image-4-1024x574.png 1024w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2025\/02\/image-4-768x431.png 768w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2025\/02\/image-4-1536x861.png 1536w\" sizes=\"auto, (max-width: 1596px) 100vw, 1596px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Although this is obviously &#8216;quick and dirty&#8217;, it can be useful in restoring things that aren&#8217;t easily backed up such as e.g. Logic Apps, and it can aid in change detection\/tracking (git change\/history). It only requires Azure DevOps which is basically free in this scenario.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The result is a bunch of .json arm templates, the same as would result in using the Export to Template function in the Azure Portal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Yaml code with inline PS:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/jflieben\/assortedFunctionsV2\/blob\/main\/backup-rsgstoarm.yml\">https:\/\/github.com\/jflieben\/assortedFunctionsV2\/blob\/main\/backup-rsgstoarm.yml<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Although this is obviously &#8216;quick and dirty&#8217;, it can be useful in restoring things that aren&#8217;t easily backed up such as e.g. Logic Apps, and it can aid in change detection\/tracking (git change\/history). It only requires Azure DevOps which is basically free in this scenario. The result is a bunch of .json arm templates, the &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2025\/02\/simple-azure-rsg-to-arm-template-in-git-backup-yaml-pipeline\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Simple Azure RSG to ARM template in Git backup yaml pipeline<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[49,5,39],"tags":[],"class_list":["post-4461","post","type-post","status-publish","format-standard","hentry","category-arm","category-azure","category-powershell"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/4461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=4461"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/4461\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=4461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=4461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=4461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}