{"id":735,"date":"2020-10-27T12:03:07","date_gmt":"2020-10-27T11:03:07","guid":{"rendered":"https:\/\/wp.bizoir.dk\/?p=735"},"modified":"2020-10-27T12:03:07","modified_gmt":"2020-10-27T11:03:07","slug":"do-not-auto-enable-a-logicapp-when-deployed","status":"publish","type":"post","link":"https:\/\/wp.bizoir.dk\/?p=735","title":{"rendered":"Do not auto-enable a LogicApp when deployed"},"content":{"rendered":"<h2>How to deploy a LogicApp in a &#8220;Disabled&#8221; state<\/h2>\n<p>In the <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/logic-apps\/logic-apps-azure-resource-manager-templates-overview\">LogicApp ARM template<\/a>, you can specify an optional &#8220;state&#8221; value<\/p>\n<p>&#8230;<br \/>\n&#8220;resources&#8221;: [<br \/>\n{<br \/>\n\/\/ Start logic app resource definition<br \/>\n&#8220;properties&#8221;: {<br \/>\n<b>&#8220;state&#8221;: &#8220;&#8221;,<\/b><br \/>\n&#8220;definition&#8221;: {},<br \/>\n&#8220;parameters&#8221;: {}<br \/>\n},<br \/>\n&#8230;<\/p>\n<p><!--more--><\/p>\n<p><b>State:<\/b> Your logic app&#8217;s state at deployment where Enabled means your logic app is live and Disabled means that your logic app is inactive. For example, if you&#8217;re not ready for your logic app to go live but want to deploy a draft version, you can use the Disabled option.<\/p>\n<p>The linked article says it is required, but I have many templates without this..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to deploy a LogicApp in a &#8220;Disabled&#8221; state In the LogicApp ARM template, you can specify an optional &#8220;state&#8221; value &#8230; &#8220;resources&#8221;: [ { \/\/ Start logic app resource definition &#8220;properties&#8221;: { &#8220;state&#8221;: &#8220;&#8221;, &#8220;definition&#8221;: {}, &#8220;parameters&#8221;: {} }, &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[30,36],"class_list":["post-735","post","type-post","status-publish","format-standard","hentry","category-guides","tag-azure","tag-logic-apps"],"_links":{"self":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts\/735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=735"}],"version-history":[{"count":5,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts\/735\/revisions"}],"predecessor-version":[{"id":748,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts\/735\/revisions\/748"}],"wp:attachment":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}