[Build and Deploy Staging Site] Publish from microsoft/azuretipsandtricks-private:main/src/public

This commit is contained in:
erjuntun75 2021-07-21 18:36:42 +00:00
Родитель 025e60febb
Коммит a986eb3ece
509 изменённых файлов: 1310 добавлений и 1213 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{370:function(t,e,r){"use strict";r.r(e);var a=r(43),o=Object(a.a)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("div",{staticClass:"custom-block tip"},[r("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),r("p",[t._v("💡 Learn more : "),r("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-portal?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Portal Documentation"),r("OutboundLink")],1),t._v(".")]),t._v(" "),r("p",[t._v("📺 Watch the video : "),r("a",{attrs:{href:"https://www.youtube.com/watch?v=A0uXwdLDzf4&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=1?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to use keyboard shortcuts in the Azure portal"),r("OutboundLink")],1),t._v(".")])]),t._v(" "),r("h3",{attrs:{id:"use-keyboard-shortcuts-in-the-azure-portal"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#use-keyboard-shortcuts-in-the-azure-portal"}},[t._v("#")]),t._v(" Use Keyboard Shortcuts in the Azure Portal")]),t._v(" "),r("h4",{attrs:{id:"azure-portal-keyboard-shortcuts"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#azure-portal-keyboard-shortcuts"}},[t._v("#")]),t._v(" Azure Portal Keyboard Shortcuts")]),t._v(" "),r("p",[t._v("Developers love keyboard shortcuts and there are plenty keyboard shortcuts in the Azure platform. You can see a list by going to Help and then Keyboard Shortcuts in the portal as shown below.")]),t._v(" "),r("img",{attrs:{src:t.$withBase("/files/azuretip1.gif")}}),t._v(" "),r("p",[t._v("You will see that you have the following keyboard shortcuts available:")]),t._v(" "),r("div",{staticClass:"language- extra-class"},[r("pre",[r("code",[t._v("Keyboard shortcuts\n\nACTIONS\n\nCTRL+/\tSearch blade menu items\nG+/ \tSearch resources (global)\nG+N \tCreate a new resource\nG+B \tOpen the 'More services' pane\n\nNAVIGATION\n\nG+, \tMove focus to command bar\nG+.\t\tToggle focus between top bar and side bar\n\nGO TO\n\nG+D \t Go to dashboard\nG+A \t Go to all resources\nG+R \t Go to resource groups\nG+number Open the item pinned to the favorites bar at this position\n")])])])])}),[],!1,null,null,null);e.default=o.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{369:function(t,e,r){"use strict";r.r(e);var a=r(43),o=Object(a.a)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("div",{staticClass:"custom-block tip"},[r("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),r("p",[t._v("💡 Learn more : "),r("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-portal?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Portal Documentation"),r("OutboundLink")],1),t._v(".")]),t._v(" "),r("p",[t._v("📺 Watch the video : "),r("a",{attrs:{href:"https://www.youtube.com/watch?v=A0uXwdLDzf4&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=1?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to use keyboard shortcuts in the Azure portal"),r("OutboundLink")],1),t._v(".")])]),t._v(" "),r("h3",{attrs:{id:"use-keyboard-shortcuts-in-the-azure-portal"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#use-keyboard-shortcuts-in-the-azure-portal"}},[t._v("#")]),t._v(" Use Keyboard Shortcuts in the Azure Portal")]),t._v(" "),r("h4",{attrs:{id:"azure-portal-keyboard-shortcuts"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#azure-portal-keyboard-shortcuts"}},[t._v("#")]),t._v(" Azure Portal Keyboard Shortcuts")]),t._v(" "),r("p",[t._v("Developers love keyboard shortcuts and there are plenty keyboard shortcuts in the Azure platform. You can see a list by going to Help and then Keyboard Shortcuts in the portal as shown below.")]),t._v(" "),r("img",{attrs:{src:t.$withBase("/files/azuretip1.gif")}}),t._v(" "),r("p",[t._v("You will see that you have the following keyboard shortcuts available:")]),t._v(" "),r("div",{staticClass:"language- extra-class"},[r("pre",[r("code",[t._v("Keyboard shortcuts\n\nACTIONS\n\nCTRL+/\tSearch blade menu items\nG+/ \tSearch resources (global)\nG+N \tCreate a new resource\nG+B \tOpen the 'More services' pane\n\nNAVIGATION\n\nG+, \tMove focus to command bar\nG+.\t\tToggle focus between top bar and side bar\n\nGO TO\n\nG+D \t Go to dashboard\nG+A \t Go to all resources\nG+R \t Go to resource groups\nG+number Open the item pinned to the favorites bar at this position\n")])])])])}),[],!1,null,null,null);e.default=o.exports}}]);

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{372:function(t,e,a){"use strict";a.r(e);var n=a(43),o=Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),a("p",[t._v("💡 Learn more : "),a("a",{attrs:{href:"https://docs.microsoft.com/azure/virtual-machines/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Virtual Machines"),a("OutboundLink")],1),t._v(".")]),t._v(" "),a("p",[t._v("📺 Watch the video : "),a("a",{attrs:{href:"https://www.youtube.com/watch?v=7pmn6luCwQ4&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=8?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to quickly connect to a Linux VM with SSH"),a("OutboundLink")],1),t._v(".")])]),t._v(" "),a("h3",{attrs:{id:"quickly-connect-to-a-linux-vm-with-ssh"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#quickly-connect-to-a-linux-vm-with-ssh"}},[t._v("#")]),t._v(" Quickly Connect to a Linux VM with SSH")]),t._v(" "),a("p",[t._v('You can quickly connect to an existing Linux Virtual Machine by navigating to the "Virtual Machine" blade in the Azure Portal. Once you are on the page, click the "Connect" button at the top of the page. It will provide a command that you can copy and paste into BASH or anywhere that supports SSH. After you paste the command, then it will connect to your Linux Virtual Machine. Provide your username and password and you are logged into your new Virtual Machine. In the example below, I logged into my Ubuntu Linux VM.')]),t._v(" "),a("img",{attrs:{src:t.$withBase("/files/azuretip10.gif")}})])}),[],!1,null,null,null);e.default=o.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{371:function(t,e,a){"use strict";a.r(e);var n=a(43),o=Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),a("p",[t._v("💡 Learn more : "),a("a",{attrs:{href:"https://docs.microsoft.com/azure/virtual-machines/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Virtual Machines"),a("OutboundLink")],1),t._v(".")]),t._v(" "),a("p",[t._v("📺 Watch the video : "),a("a",{attrs:{href:"https://www.youtube.com/watch?v=7pmn6luCwQ4&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=8?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to quickly connect to a Linux VM with SSH"),a("OutboundLink")],1),t._v(".")])]),t._v(" "),a("h3",{attrs:{id:"quickly-connect-to-a-linux-vm-with-ssh"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#quickly-connect-to-a-linux-vm-with-ssh"}},[t._v("#")]),t._v(" Quickly Connect to a Linux VM with SSH")]),t._v(" "),a("p",[t._v('You can quickly connect to an existing Linux Virtual Machine by navigating to the "Virtual Machine" blade in the Azure Portal. Once you are on the page, click the "Connect" button at the top of the page. It will provide a command that you can copy and paste into BASH or anywhere that supports SSH. After you paste the command, then it will connect to your Linux Virtual Machine. Provide your username and password and you are logged into your new Virtual Machine. In the example below, I logged into my Ubuntu Linux VM.')]),t._v(" "),a("img",{attrs:{src:t.$withBase("/files/azuretip10.gif")}})])}),[],!1,null,null,null);e.default=o.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[130],{487:function(e,t,o){"use strict";o.r(t);var r=o(43),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),o("p",[e._v("👊 that ⭐️ button on the official "),o("a",{attrs:{href:"https://github.com/Microsoft/AzureTipsAndTricks/",target:"_blank",rel:"noopener noreferrer"}},[e._v("GitHub repo"),o("OutboundLink")],1),e._v(" to stay up to date.")]),e._v(" "),o("p",[e._v("💡 Learn more : "),o("a",{attrs:{href:"https://azure.microsoft.com/en-us/blog/soft-delete-for-azure-storage-blobs-ga?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Soft delete for Azure Storage"),o("OutboundLink")],1),e._v(".")])]),e._v(" "),o("p",[e._v("This post was brought to you by "),o("strong",[o("a",{attrs:{href:"https://twitter.com/kumarallamraju",target:"_blank",rel:"noopener noreferrer"}},[e._v("Kumar Allamraju"),o("OutboundLink")],1)]),e._v(".")]),e._v(" "),o("h3",{attrs:{id:"how-to-restore-accidental-deletion-of-your-azure-storage-blobs"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#how-to-restore-accidental-deletion-of-your-azure-storage-blobs"}},[e._v("#")]),e._v(" How to restore accidental deletion of your Azure Storage Blobs")]),e._v(" "),o("h4",{attrs:{id:"soft-delete-for-azure-storage-blobs"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#soft-delete-for-azure-storage-blobs"}},[e._v("#")]),e._v(" Soft delete for Azure Storage Blobs")]),e._v(" "),o("p",[e._v("Azure Storage offers soft delete for blob objects so that you can more easily recover your data when it is erroneously modified or deleted by an application or other storage account user. When turned on, soft delete enables you to save and recover your data where blobs or blob snapshots are deleted. This protection extends to blob data that is erased as the result of an overwrite.")]),e._v(" "),o("h4",{attrs:{id:"enable-soft-delete-feature-in-azure-storage"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#enable-soft-delete-feature-in-azure-storage"}},[e._v("#")]),e._v(" Enable Soft delete feature in Azure Storage")]),e._v(" "),o("ol",[o("li",[o("p",[e._v("Create a Storage Container inside the Storage account.")])]),e._v(" "),o("li",[o("p",[e._v("Go to Soft delete under Blob service section")])])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd-1.jpg")}}),e._v(" "),o("ol",{attrs:{start:"3"}},[o("li",[e._v('Enable the "Soft delete" option. By default it\'s disabled and the retention policy is 7 days. You can increase the retention period up to 365 days.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd1.jpg")}}),e._v(" "),o("ol",{attrs:{start:"4"}},[o("li",[e._v("Go back to your storage container and upload some files.")])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd2.jpg")}}),e._v(" "),o("ol",{attrs:{start:"5"}},[o("li",[e._v('To validate the "Soft delete" feature, delete the uploaded files.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd3.jpg")}}),e._v(" "),o("ol",{attrs:{start:"6"}},[o("li",[e._v('Under your Storage container, check the "Show deleted blobs" option. It will show all the previously deleted blobs.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd4.jpg")}}),e._v(" "),o("ol",{attrs:{start:"7"}},[o("li",[e._v('Click on the "context menu" (extreme right) and select the "Undelete" option.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd5.jpg")}}),e._v(" "),o("ol",{attrs:{start:"8"}},[o("li",[e._v('This will put the deleted blob file(s) back in "Active" state as shown below.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd6.jpg")}}),e._v(" "),o("h4",{attrs:{id:"conclusion"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#conclusion"}},[e._v("#")]),e._v(" Conclusion")]),e._v(" "),o("p",[e._v("Azure Storage offers soft delete for blob objects so that you can more easily recover your data when it is erroneously modified or deleted by an application or other storage account user. We encourage you to explore this Azure tip to restore/recover the deleted blobs.")]),e._v(" "),o("p",[e._v("Don't forget to "),o("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-soft-delete?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("learn more about Soft delete for Azure Storage blobs on our docs"),o("OutboundLink")],1),e._v(".")])])}),[],!1,null,null,null);t.default=a.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[130],{488:function(e,t,o){"use strict";o.r(t);var r=o(43),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),o("p",[e._v("👊 that ⭐️ button on the official "),o("a",{attrs:{href:"https://github.com/Microsoft/AzureTipsAndTricks/",target:"_blank",rel:"noopener noreferrer"}},[e._v("GitHub repo"),o("OutboundLink")],1),e._v(" to stay up to date.")]),e._v(" "),o("p",[e._v("💡 Learn more : "),o("a",{attrs:{href:"https://azure.microsoft.com/en-us/blog/soft-delete-for-azure-storage-blobs-ga?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Soft delete for Azure Storage"),o("OutboundLink")],1),e._v(".")])]),e._v(" "),o("p",[e._v("This post was brought to you by "),o("strong",[o("a",{attrs:{href:"https://twitter.com/kumarallamraju",target:"_blank",rel:"noopener noreferrer"}},[e._v("Kumar Allamraju"),o("OutboundLink")],1)]),e._v(".")]),e._v(" "),o("h3",{attrs:{id:"how-to-restore-accidental-deletion-of-your-azure-storage-blobs"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#how-to-restore-accidental-deletion-of-your-azure-storage-blobs"}},[e._v("#")]),e._v(" How to restore accidental deletion of your Azure Storage Blobs")]),e._v(" "),o("h4",{attrs:{id:"soft-delete-for-azure-storage-blobs"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#soft-delete-for-azure-storage-blobs"}},[e._v("#")]),e._v(" Soft delete for Azure Storage Blobs")]),e._v(" "),o("p",[e._v("Azure Storage offers soft delete for blob objects so that you can more easily recover your data when it is erroneously modified or deleted by an application or other storage account user. When turned on, soft delete enables you to save and recover your data where blobs or blob snapshots are deleted. This protection extends to blob data that is erased as the result of an overwrite.")]),e._v(" "),o("h4",{attrs:{id:"enable-soft-delete-feature-in-azure-storage"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#enable-soft-delete-feature-in-azure-storage"}},[e._v("#")]),e._v(" Enable Soft delete feature in Azure Storage")]),e._v(" "),o("ol",[o("li",[o("p",[e._v("Create a Storage Container inside the Storage account.")])]),e._v(" "),o("li",[o("p",[e._v("Go to Soft delete under Blob service section")])])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd-1.jpg")}}),e._v(" "),o("ol",{attrs:{start:"3"}},[o("li",[e._v('Enable the "Soft delete" option. By default it\'s disabled and the retention policy is 7 days. You can increase the retention period up to 365 days.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd1.jpg")}}),e._v(" "),o("ol",{attrs:{start:"4"}},[o("li",[e._v("Go back to your storage container and upload some files.")])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd2.jpg")}}),e._v(" "),o("ol",{attrs:{start:"5"}},[o("li",[e._v('To validate the "Soft delete" feature, delete the uploaded files.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd3.jpg")}}),e._v(" "),o("ol",{attrs:{start:"6"}},[o("li",[e._v('Under your Storage container, check the "Show deleted blobs" option. It will show all the previously deleted blobs.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd4.jpg")}}),e._v(" "),o("ol",{attrs:{start:"7"}},[o("li",[e._v('Click on the "context menu" (extreme right) and select the "Undelete" option.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd5.jpg")}}),e._v(" "),o("ol",{attrs:{start:"8"}},[o("li",[e._v('This will put the deleted blob file(s) back in "Active" state as shown below.')])]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/sd6.jpg")}}),e._v(" "),o("h4",{attrs:{id:"conclusion"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#conclusion"}},[e._v("#")]),e._v(" Conclusion")]),e._v(" "),o("p",[e._v("Azure Storage offers soft delete for blob objects so that you can more easily recover your data when it is erroneously modified or deleted by an application or other storage account user. We encourage you to explore this Azure tip to restore/recover the deleted blobs.")]),e._v(" "),o("p",[e._v("Don't forget to "),o("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-soft-delete?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("learn more about Soft delete for Azure Storage blobs on our docs"),o("OutboundLink")],1),e._v(".")])])}),[],!1,null,null,null);t.default=a.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{490:function(e,t,s){"use strict";s.r(t);var r=s(43),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),s("p",[e._v("💡 Learn more : "),s("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/virtual-network/manage-network-security-group/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Network Security Groups"),s("OutboundLink")],1)])]),e._v(" "),s("p",[e._v("This post was brought to you by "),s("strong",[s("a",{attrs:{href:"https://twitter.com/kumarallamraju",target:"_blank",rel:"noopener noreferrer"}},[e._v("Kumar Allamraju"),s("OutboundLink")],1)]),e._v(".")]),e._v(" "),s("h3",{attrs:{id:"reusing-network-service-groups-across-virtual-machines"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#reusing-network-service-groups-across-virtual-machines"}},[e._v("#")]),e._v(" Reusing Network Service Groups across Virtual Machines")]),e._v(" "),s("p",[e._v("Have you ever wondered that your NSG blade was cluttered with too many Network Security Groups? See my NSG blade.")]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/file1-nsg.png")}}),e._v(" "),s("p",[e._v("Shocking huh? This list was even bigger in my customer's environment. When you create a new Virtual Machine from Azure Portal or CLI, a new network security group is created for each VM. This is by design. However there's a way to specify an existing NSG assuming you want to apply the same inbound and outbound rules for a group of virtual machines.")]),e._v(" "),s("p",[e._v('This can be done by choosing the Advanced option in the Networking tab. The default option is "None".')]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/file2-nsg.png")}}),e._v(" "),s("p",[e._v('When you select Advanced option, you will have an option to select the existing NSGs. I have created a network security group called "mynsg1" with a set of inbound and outbound rules prior to creating a VM. See the screenshot below.')]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/file3-nsg.png")}}),e._v(" "),s("p",[e._v("In this case, I'm allowing access to my VMs only from my Home and Office IPs. You can further fine tune the NGSG by the protocol and specific ports and re-use the same NSG.")]),e._v(" "),s("p",[e._v("When you create a VM using az CLI, you have an option to specify the NSG. See below.")]),e._v(" "),s("p",[e._v("The following example creates a simple Ubuntu Linux VM with a public IP address, DNS entry, wih an existing NSG, two data disks (10GB and 20GB), and then generates ssh key pairs.")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("az vm create -n MyVm -g MyResourceGroup --nsg mynsg1 --public-ip-address-dns-name MyUniqueDnsName --image ubuntults --data-disk-sizes-gb 10 20 --size Standard_DS2_v2 \\\n--generate-ssh-keys\n")])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br")])]),s("p",[e._v("Now if you want to apply this NSG to all your VMs that shares the same set of allow/deny rules, you can stop the VM, go to the vNet blade attached to your VM, click on the device under Connected Devices, under Network Security Group blade click on Edit icon and select the new NSG that was created above and restart your VM(s). The same rule applies to existing VMs as well.")]),e._v(" "),s("h4",{attrs:{id:"conclusion"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#conclusion"}},[e._v("#")]),e._v(" Conclusion")]),e._v(" "),s("p",[e._v("Network Security Groups is an important feature in Azure Virtual Networking that allows you to filter traffic to and from Internet and across Azure resources. The intent of this article is to share a quick Azure tip but NSG shouldn't be used as a first line of defense to your Azure resources.")]),e._v(" "),s("ul",[s("li",[s("p",[s("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-vnet-plan-design-arm/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Virtual Networks"),s("OutboundLink")],1)])]),e._v(" "),s("li",[s("p",[s("a",{attrs:{href:"https://docs.microsoft.com/en-us/cli/azure/network/nsg?view=azure-cli-latest/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("az CLI nsg"),s("OutboundLink")],1)])])])])}),[],!1,null,null,null);t.default=a.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{491:function(e,t,s){"use strict";s.r(t);var r=s(43),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),s("p",[e._v("💡 Learn more : "),s("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/virtual-network/manage-network-security-group/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Network Security Groups"),s("OutboundLink")],1)])]),e._v(" "),s("p",[e._v("This post was brought to you by "),s("strong",[s("a",{attrs:{href:"https://twitter.com/kumarallamraju",target:"_blank",rel:"noopener noreferrer"}},[e._v("Kumar Allamraju"),s("OutboundLink")],1)]),e._v(".")]),e._v(" "),s("h3",{attrs:{id:"reusing-network-service-groups-across-virtual-machines"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#reusing-network-service-groups-across-virtual-machines"}},[e._v("#")]),e._v(" Reusing Network Service Groups across Virtual Machines")]),e._v(" "),s("p",[e._v("Have you ever wondered that your NSG blade was cluttered with too many Network Security Groups? See my NSG blade.")]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/file1-nsg.png")}}),e._v(" "),s("p",[e._v("Shocking huh? This list was even bigger in my customer's environment. When you create a new Virtual Machine from Azure Portal or CLI, a new network security group is created for each VM. This is by design. However there's a way to specify an existing NSG assuming you want to apply the same inbound and outbound rules for a group of virtual machines.")]),e._v(" "),s("p",[e._v('This can be done by choosing the Advanced option in the Networking tab. The default option is "None".')]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/file2-nsg.png")}}),e._v(" "),s("p",[e._v('When you select Advanced option, you will have an option to select the existing NSGs. I have created a network security group called "mynsg1" with a set of inbound and outbound rules prior to creating a VM. See the screenshot below.')]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/file3-nsg.png")}}),e._v(" "),s("p",[e._v("In this case, I'm allowing access to my VMs only from my Home and Office IPs. You can further fine tune the NGSG by the protocol and specific ports and re-use the same NSG.")]),e._v(" "),s("p",[e._v("When you create a VM using az CLI, you have an option to specify the NSG. See below.")]),e._v(" "),s("p",[e._v("The following example creates a simple Ubuntu Linux VM with a public IP address, DNS entry, wih an existing NSG, two data disks (10GB and 20GB), and then generates ssh key pairs.")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("az vm create -n MyVm -g MyResourceGroup --nsg mynsg1 --public-ip-address-dns-name MyUniqueDnsName --image ubuntults --data-disk-sizes-gb 10 20 --size Standard_DS2_v2 \\\n--generate-ssh-keys\n")])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br")])]),s("p",[e._v("Now if you want to apply this NSG to all your VMs that shares the same set of allow/deny rules, you can stop the VM, go to the vNet blade attached to your VM, click on the device under Connected Devices, under Network Security Group blade click on Edit icon and select the new NSG that was created above and restart your VM(s). The same rule applies to existing VMs as well.")]),e._v(" "),s("h4",{attrs:{id:"conclusion"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#conclusion"}},[e._v("#")]),e._v(" Conclusion")]),e._v(" "),s("p",[e._v("Network Security Groups is an important feature in Azure Virtual Networking that allows you to filter traffic to and from Internet and across Azure resources. The intent of this article is to share a quick Azure tip but NSG shouldn't be used as a first line of defense to your Azure resources.")]),e._v(" "),s("ul",[s("li",[s("p",[s("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-vnet-plan-design-arm/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Virtual Networks"),s("OutboundLink")],1)])]),e._v(" "),s("li",[s("p",[s("a",{attrs:{href:"https://docs.microsoft.com/en-us/cli/azure/network/nsg?view=azure-cli-latest/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("az CLI nsg"),s("OutboundLink")],1)])])])])}),[],!1,null,null,null);t.default=a.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{501:function(e,t,a){"use strict";a.r(t);var r=a(43),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),a("p",[e._v("💡 Learn more : "),a("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/networking/networking-overview/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Virtual Networking"),a("OutboundLink")],1)])]),e._v(" "),a("p",[e._v("This post was brought to you by "),a("strong",[a("a",{attrs:{href:"https://twitter.com/kumarallamraju",target:"_blank",rel:"noopener noreferrer"}},[e._v("Kumar Allamraju"),a("OutboundLink")],1)]),e._v(".")]),e._v(" "),a("h3",{attrs:{id:"how-to-add-a-new-cidr-to-an-existing-virtual-network"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#how-to-add-a-new-cidr-to-an-existing-virtual-network"}},[e._v("#")]),e._v(" How to add a new CIDR to an existing Virtual Network")]),e._v(" "),a("p",[e._v("Azure Networking (VNet) allows customers to expand their Virtual Networkx by adding secondary IPv4 address ranges (CIDRs) to their VNets. Customers can add the secondary CIDR blocks to the VNet directly from the Azure Portal or by using the Azure CLI, Powershell.")]),e._v(" "),a("h4",{attrs:{id:"adding-a-new-cidr-to-an-existing-virtual-network"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#adding-a-new-cidr-to-an-existing-virtual-network"}},[e._v("#")]),e._v(" Adding a new CIDR to an existing Virtual Network")]),e._v(" "),a("ol",[a("li",[e._v("Sign in to Azure Portal (https://portal.azure.com)")]),e._v(" "),a("li",[e._v("Navigate to Virtual Network blade. Choose your existing VNet. e.g. myvNet")]),e._v(" "),a("li",[e._v("Click on Settings >> Address Space")]),e._v(" "),a("li",[e._v("Add a new CIDR space e.g. I already have 10.0.0.0/16 configured as primary CIDR. So I add 192.168.0.0/16 as secondary CIDR block.")]),e._v(" "),a("li",[e._v("Click Save button to save the changes.")])]),e._v(" "),a("img",{attrs:{src:e.$withBase("/files/azurevnetcidr-file1.jpg")}}),e._v(" "),a("ol",{attrs:{start:"6"}},[a("li",[e._v("Click on Settings >> Subnets, +Subnet")]),e._v(" "),a("li",[e._v("Add a new subnet e.g. Subnet Name: subnetB, enter a new subnet range that falls under the secondary CIDR space i.e. 192.168.0.0/24. Save the changes.")])]),e._v(" "),a("img",{attrs:{src:e.$withBase("/files/azurevnetcidr-file2.jpg")}}),e._v(" "),a("ol",{attrs:{start:"8"}},[a("li",[e._v("Now provision a new virtual machine using the subnetB that was created above.")])]),e._v(" "),a("h4",{attrs:{id:"a-sample-architecture-with-one-cidr-and-two-cidrs-is-shown-below"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#a-sample-architecture-with-one-cidr-and-two-cidrs-is-shown-below"}},[e._v("#")]),e._v(" A sample architecture with one CIDR and two CIDRs is shown below")]),e._v(" "),a("img",{attrs:{src:e.$withBase("/files/azurevnetcidr-file3.jpg")}}),e._v(" "),a("h4",{attrs:{id:"conclusion"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#conclusion"}},[e._v("#")]),e._v(" Conclusion")]),e._v(" "),a("p",[e._v("Adding a new CIDR to an existing VNet has two key benefits. First, customers, who are launching more and more resources in their VNets, can now scale up their VNets on-demand. Second, customers no longer have to over-allocate private IPv4 space to their VNets - they can allocate only what is required at the VNet creation time, and later expand it as needed. With these benefits, this feature can make it significantly easier for customers to manage their private IPv4 address space. There is no additional charge to use this feature. This feature is available in all Azure regions.")]),e._v(" "),a("ul",[a("li",[a("p",[a("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/virtual-network/quick-create-portal?toc=%2fazure%2fnetworking%2ftoc.json?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Creating a Virtual Network using Azure Portal"),a("OutboundLink")],1)])]),e._v(" "),a("li",[a("p",[a("a",{attrs:{href:"https://docs.microsoft.com/en-us/cli/azure/network/vnet?view=azure-cli-latest#az-network-vnet-create?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Creating a Virtual Network using Azure CLI"),a("OutboundLink")],1)])])])])}),[],!1,null,null,null);t.default=s.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{502:function(e,t,a){"use strict";a.r(t);var r=a(43),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),a("p",[e._v("💡 Learn more : "),a("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/networking/networking-overview/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Virtual Networking"),a("OutboundLink")],1)])]),e._v(" "),a("p",[e._v("This post was brought to you by "),a("strong",[a("a",{attrs:{href:"https://twitter.com/kumarallamraju",target:"_blank",rel:"noopener noreferrer"}},[e._v("Kumar Allamraju"),a("OutboundLink")],1)]),e._v(".")]),e._v(" "),a("h3",{attrs:{id:"how-to-add-a-new-cidr-to-an-existing-virtual-network"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#how-to-add-a-new-cidr-to-an-existing-virtual-network"}},[e._v("#")]),e._v(" How to add a new CIDR to an existing Virtual Network")]),e._v(" "),a("p",[e._v("Azure Networking (VNet) allows customers to expand their Virtual Networkx by adding secondary IPv4 address ranges (CIDRs) to their VNets. Customers can add the secondary CIDR blocks to the VNet directly from the Azure Portal or by using the Azure CLI, Powershell.")]),e._v(" "),a("h4",{attrs:{id:"adding-a-new-cidr-to-an-existing-virtual-network"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#adding-a-new-cidr-to-an-existing-virtual-network"}},[e._v("#")]),e._v(" Adding a new CIDR to an existing Virtual Network")]),e._v(" "),a("ol",[a("li",[e._v("Sign in to Azure Portal (https://portal.azure.com)")]),e._v(" "),a("li",[e._v("Navigate to Virtual Network blade. Choose your existing VNet. e.g. myvNet")]),e._v(" "),a("li",[e._v("Click on Settings >> Address Space")]),e._v(" "),a("li",[e._v("Add a new CIDR space e.g. I already have 10.0.0.0/16 configured as primary CIDR. So I add 192.168.0.0/16 as secondary CIDR block.")]),e._v(" "),a("li",[e._v("Click Save button to save the changes.")])]),e._v(" "),a("img",{attrs:{src:e.$withBase("/files/azurevnetcidr-file1.jpg")}}),e._v(" "),a("ol",{attrs:{start:"6"}},[a("li",[e._v("Click on Settings >> Subnets, +Subnet")]),e._v(" "),a("li",[e._v("Add a new subnet e.g. Subnet Name: subnetB, enter a new subnet range that falls under the secondary CIDR space i.e. 192.168.0.0/24. Save the changes.")])]),e._v(" "),a("img",{attrs:{src:e.$withBase("/files/azurevnetcidr-file2.jpg")}}),e._v(" "),a("ol",{attrs:{start:"8"}},[a("li",[e._v("Now provision a new virtual machine using the subnetB that was created above.")])]),e._v(" "),a("h4",{attrs:{id:"a-sample-architecture-with-one-cidr-and-two-cidrs-is-shown-below"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#a-sample-architecture-with-one-cidr-and-two-cidrs-is-shown-below"}},[e._v("#")]),e._v(" A sample architecture with one CIDR and two CIDRs is shown below")]),e._v(" "),a("img",{attrs:{src:e.$withBase("/files/azurevnetcidr-file3.jpg")}}),e._v(" "),a("h4",{attrs:{id:"conclusion"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#conclusion"}},[e._v("#")]),e._v(" Conclusion")]),e._v(" "),a("p",[e._v("Adding a new CIDR to an existing VNet has two key benefits. First, customers, who are launching more and more resources in their VNets, can now scale up their VNets on-demand. Second, customers no longer have to over-allocate private IPv4 space to their VNets - they can allocate only what is required at the VNet creation time, and later expand it as needed. With these benefits, this feature can make it significantly easier for customers to manage their private IPv4 address space. There is no additional charge to use this feature. This feature is available in all Azure regions.")]),e._v(" "),a("ul",[a("li",[a("p",[a("a",{attrs:{href:"https://docs.microsoft.com/en-us/azure/virtual-network/quick-create-portal?toc=%2fazure%2fnetworking%2ftoc.json?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Creating a Virtual Network using Azure Portal"),a("OutboundLink")],1)])]),e._v(" "),a("li",[a("p",[a("a",{attrs:{href:"https://docs.microsoft.com/en-us/cli/azure/network/vnet?view=azure-cli-latest#az-network-vnet-create?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Creating a Virtual Network using Azure CLI"),a("OutboundLink")],1)])])])])}),[],!1,null,null,null);t.default=s.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{380:function(e,t,o){"use strict";o.r(t);var r=o(43),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),o("p",[e._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Overview of Azure Cloud Shell"),o("OutboundLink")],1),e._v(".")]),e._v(" "),o("p",[e._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=JSWji3bPDJc&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=9?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to access Cloud Shell from within Microsoft docs"),o("OutboundLink")],1),e._v(".")])]),e._v(" "),o("h3",{attrs:{id:"access-cloud-shell-from-within-microsoft-documentation"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#access-cloud-shell-from-within-microsoft-documentation"}},[e._v("#")]),e._v(" Access Cloud Shell from within Microsoft Documentation")]),e._v(" "),o("p",[e._v("Most everyone is aware that you can access the Azure Cloud Shell from within the "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Portal"),o("OutboundLink")],1),e._v(' or from mobile apps such as iOS and Android. But a little known fact is that a lot of the Azure documentation pages include an embedded Cloud Shell experience that can be found with the "Try It" button as shown below.')]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/azuretip11.gif")}})])}),[],!1,null,null,null);t.default=s.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{381:function(e,t,o){"use strict";o.r(t);var r=o(43),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),o("p",[e._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Overview of Azure Cloud Shell"),o("OutboundLink")],1),e._v(".")]),e._v(" "),o("p",[e._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=JSWji3bPDJc&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=9?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to access Cloud Shell from within Microsoft docs"),o("OutboundLink")],1),e._v(".")])]),e._v(" "),o("h3",{attrs:{id:"access-cloud-shell-from-within-microsoft-documentation"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#access-cloud-shell-from-within-microsoft-documentation"}},[e._v("#")]),e._v(" Access Cloud Shell from within Microsoft Documentation")]),e._v(" "),o("p",[e._v("Most everyone is aware that you can access the Azure Cloud Shell from within the "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Portal"),o("OutboundLink")],1),e._v(' or from mobile apps such as iOS and Android. But a little known fact is that a lot of the Azure documentation pages include an embedded Cloud Shell experience that can be found with the "Try It" button as shown below.')]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/azuretip11.gif")}})])}),[],!1,null,null,null);t.default=s.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[255],{613:function(e,t,o){"use strict";o.r(t);var r=o(43),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),o("p",[e._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/app-service?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("App Service Documentation"),o("OutboundLink")],1),e._v(".")]),e._v(" "),o("p",[e._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=AScLxYSHbrU&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=27?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to Prevent Changes to Resources in Azure App Services"),o("OutboundLink")],1),e._v(".")])]),e._v(" "),o("h3",{attrs:{id:"prevent-changes-to-resources-in-azure-app-service"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#prevent-changes-to-resources-in-azure-app-service"}},[e._v("#")]),e._v(" Prevent Changes to Resources in Azure App Service")]),e._v(" "),o("p",[o("strong",[e._v("Locks")]),e._v(" allow you to prevent changes to a subscription or resources to prevent other users from accidentally deleting or modifying critical resources.")]),e._v(" "),o("p",[e._v("In order to take advantage of locks, you'll need to log into your Azure account and go to your App Service that you created and look under "),o("strong",[e._v("Settings")]),e._v(" then you will see "),o("strong",[e._v("Locks")]),e._v(". Open it and you'll see that you don't have any locks created. Go ahead and click "),o("strong",[e._v("Add")]),e._v(" and you'll see the following.")]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/locksblog1.png")}}),e._v(" "),o("p",[e._v("You'll want to provide the following information, but only the "),o("strong",[e._v("Lock type")]),e._v(" is required:")]),e._v(" "),o("ul",[o("li",[e._v("Name - Give it any name that you want")]),e._v(" "),o("li",[e._v("Lock Type - This can be "),o("strong",[e._v("Read-only")]),e._v(" or "),o("strong",[e._v("Delete")])])]),e._v(" "),o("p",[e._v("Delete - means that you can't delete the resource, your users can still read and modify though.\nReadOnly - means users can read a resource, but they can't delete or update the resource.")]),e._v(" "),o("ul",[o("li",[e._v("Notes - A description of the Lock.")])]),e._v(" "),o("p",[e._v("Fill out the form and press "),o("strong",[e._v("OK")]),e._v(" as shown below.")]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/locksblog2.png")}}),e._v(" "),o("p",[e._v("You can delete the lock by clicking on the ellipsis.")]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/locksblog3.png")}})])}),[],!1,null,null,null);t.default=s.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[256],{614:function(e,t,o){"use strict";o.r(t);var r=o(43),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),o("p",[e._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/app-service?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("App Service Documentation"),o("OutboundLink")],1),e._v(".")]),e._v(" "),o("p",[e._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=AScLxYSHbrU&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=27?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to Prevent Changes to Resources in Azure App Services"),o("OutboundLink")],1),e._v(".")])]),e._v(" "),o("h3",{attrs:{id:"prevent-changes-to-resources-in-azure-app-service"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#prevent-changes-to-resources-in-azure-app-service"}},[e._v("#")]),e._v(" Prevent Changes to Resources in Azure App Service")]),e._v(" "),o("p",[o("strong",[e._v("Locks")]),e._v(" allow you to prevent changes to a subscription or resources to prevent other users from accidentally deleting or modifying critical resources.")]),e._v(" "),o("p",[e._v("In order to take advantage of locks, you'll need to log into your Azure account and go to your App Service that you created and look under "),o("strong",[e._v("Settings")]),e._v(" then you will see "),o("strong",[e._v("Locks")]),e._v(". Open it and you'll see that you don't have any locks created. Go ahead and click "),o("strong",[e._v("Add")]),e._v(" and you'll see the following.")]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/locksblog1.png")}}),e._v(" "),o("p",[e._v("You'll want to provide the following information, but only the "),o("strong",[e._v("Lock type")]),e._v(" is required:")]),e._v(" "),o("ul",[o("li",[e._v("Name - Give it any name that you want")]),e._v(" "),o("li",[e._v("Lock Type - This can be "),o("strong",[e._v("Read-only")]),e._v(" or "),o("strong",[e._v("Delete")])])]),e._v(" "),o("p",[e._v("Delete - means that you can't delete the resource, your users can still read and modify though.\nReadOnly - means users can read a resource, but they can't delete or update the resource.")]),e._v(" "),o("ul",[o("li",[e._v("Notes - A description of the Lock.")])]),e._v(" "),o("p",[e._v("Fill out the form and press "),o("strong",[e._v("OK")]),e._v(" as shown below.")]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/locksblog2.png")}}),e._v(" "),o("p",[e._v("You can delete the lock by clicking on the ellipsis.")]),e._v(" "),o("img",{attrs:{src:e.$withBase("/files/locksblog3.png")}})])}),[],!1,null,null,null);t.default=s.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[257],{615:function(e,t,s){"use strict";s.r(t);var n=s(43),r=Object(n.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),s("p",[e._v("💡 Learn more : "),s("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-functions/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Functions Documentation"),s("OutboundLink")],1),e._v(".")]),e._v(" "),s("p",[e._v("📺 Watch the video : "),s("a",{attrs:{href:"https://www.youtube.com/watch?v=IoKkdVCvpNc&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=29?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to work with the Azure Functions File System"),s("OutboundLink")],1),e._v(".")])]),e._v(" "),s("h3",{attrs:{id:"work-with-the-azure-functions-file-system-using-the-console"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#work-with-the-azure-functions-file-system-using-the-console"}},[e._v("#")]),e._v(" Work with the Azure Functions File System using the Console")]),e._v(" "),s("p",[e._v('I debated writing this one, but have seen a lot of folks struggling with files and folders while using Azure Functions. The most common question being, "How do I rename my Function?" as shown below.')]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/azfunc1.png")}}),e._v(" "),s("p",[e._v("My preferred method for this type of task is working with the Azure Portal Console. You can access it by clicking on the name of your Azure Functions (You may have to click on "),s("strong",[e._v("Platform features")]),e._v(" and looking for "),s("strong",[e._v("Development Tools")]),e._v(" then "),s("strong",[e._v("Command")]),e._v(" as shown below.")]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/azfunc2.png")}}),e._v(" "),s("p",[e._v("Now that we have a "),s("strong",[e._v("Command Prompt")]),e._v(", we should see the following:")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("> dir\nD:\\home\\site\\wwwroot\nVolume in drive D is Windows\n Volume Serial Number is FE33-4717\n\n Directory of D:\\home\\site\\wwwroot\n\n06/02/2017 02:49 PM <DIR> .\n06/02/2017 02:49 PM <DIR> ..\n06/02/2017 06:01 PM 28 host.json\n06/02/2017 02:49 PM <DIR> TimerTriggerCSharp1\n06/02/2017 08:40 PM <DIR> TriggerICS\n 1 File(s) 28 bytes\n 4 Dir(s) 5,497,557,942,272 bytes free\n")])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br"),s("span",{staticClass:"line-number"},[e._v("3")]),s("br"),s("span",{staticClass:"line-number"},[e._v("4")]),s("br"),s("span",{staticClass:"line-number"},[e._v("5")]),s("br"),s("span",{staticClass:"line-number"},[e._v("6")]),s("br"),s("span",{staticClass:"line-number"},[e._v("7")]),s("br"),s("span",{staticClass:"line-number"},[e._v("8")]),s("br"),s("span",{staticClass:"line-number"},[e._v("9")]),s("br"),s("span",{staticClass:"line-number"},[e._v("10")]),s("br"),s("span",{staticClass:"line-number"},[e._v("11")]),s("br"),s("span",{staticClass:"line-number"},[e._v("12")]),s("br"),s("span",{staticClass:"line-number"},[e._v("13")]),s("br"),s("span",{staticClass:"line-number"},[e._v("14")]),s("br")])]),s("p",[e._v("We will rename the "),s("strong",[e._v("TimerTriggerCSharp1")]),e._v(" to something more meaningful by typing the following:")]),e._v(" "),s("p",[s("code",[e._v("ren TimerTriggerCharp1 MyAwesomeNewTriggerName")])]),e._v(" "),s("p",[e._v("You'll need to refresh the Azure Portal and you can see that the name changed.")]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/azfunc3.png")}})])}),[],!1,null,null,null);t.default=r.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{616:function(e,t,s){"use strict";s.r(t);var n=s(43),r=Object(n.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("div",{staticClass:"custom-block tip"},[s("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),s("p",[e._v("💡 Learn more : "),s("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-functions/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Functions Documentation"),s("OutboundLink")],1),e._v(".")]),e._v(" "),s("p",[e._v("📺 Watch the video : "),s("a",{attrs:{href:"https://www.youtube.com/watch?v=IoKkdVCvpNc&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=29?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to work with the Azure Functions File System"),s("OutboundLink")],1),e._v(".")])]),e._v(" "),s("h3",{attrs:{id:"work-with-the-azure-functions-file-system-using-the-console"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#work-with-the-azure-functions-file-system-using-the-console"}},[e._v("#")]),e._v(" Work with the Azure Functions File System using the Console")]),e._v(" "),s("p",[e._v('I debated writing this one, but have seen a lot of folks struggling with files and folders while using Azure Functions. The most common question being, "How do I rename my Function?" as shown below.')]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/azfunc1.png")}}),e._v(" "),s("p",[e._v("My preferred method for this type of task is working with the Azure Portal Console. You can access it by clicking on the name of your Azure Functions (You may have to click on "),s("strong",[e._v("Platform features")]),e._v(" and looking for "),s("strong",[e._v("Development Tools")]),e._v(" then "),s("strong",[e._v("Command")]),e._v(" as shown below.")]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/azfunc2.png")}}),e._v(" "),s("p",[e._v("Now that we have a "),s("strong",[e._v("Command Prompt")]),e._v(", we should see the following:")]),e._v(" "),s("div",{staticClass:"language- line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("> dir\nD:\\home\\site\\wwwroot\nVolume in drive D is Windows\n Volume Serial Number is FE33-4717\n\n Directory of D:\\home\\site\\wwwroot\n\n06/02/2017 02:49 PM <DIR> .\n06/02/2017 02:49 PM <DIR> ..\n06/02/2017 06:01 PM 28 host.json\n06/02/2017 02:49 PM <DIR> TimerTriggerCSharp1\n06/02/2017 08:40 PM <DIR> TriggerICS\n 1 File(s) 28 bytes\n 4 Dir(s) 5,497,557,942,272 bytes free\n")])]),e._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[e._v("1")]),s("br"),s("span",{staticClass:"line-number"},[e._v("2")]),s("br"),s("span",{staticClass:"line-number"},[e._v("3")]),s("br"),s("span",{staticClass:"line-number"},[e._v("4")]),s("br"),s("span",{staticClass:"line-number"},[e._v("5")]),s("br"),s("span",{staticClass:"line-number"},[e._v("6")]),s("br"),s("span",{staticClass:"line-number"},[e._v("7")]),s("br"),s("span",{staticClass:"line-number"},[e._v("8")]),s("br"),s("span",{staticClass:"line-number"},[e._v("9")]),s("br"),s("span",{staticClass:"line-number"},[e._v("10")]),s("br"),s("span",{staticClass:"line-number"},[e._v("11")]),s("br"),s("span",{staticClass:"line-number"},[e._v("12")]),s("br"),s("span",{staticClass:"line-number"},[e._v("13")]),s("br"),s("span",{staticClass:"line-number"},[e._v("14")]),s("br")])]),s("p",[e._v("We will rename the "),s("strong",[e._v("TimerTriggerCSharp1")]),e._v(" to something more meaningful by typing the following:")]),e._v(" "),s("p",[s("code",[e._v("ren TimerTriggerCharp1 MyAwesomeNewTriggerName")])]),e._v(" "),s("p",[e._v("You'll need to refresh the Azure Portal and you can see that the name changed.")]),e._v(" "),s("img",{attrs:{src:e.$withBase("/files/azfunc3.png")}})])}),[],!1,null,null,null);t.default=r.exports}}]);

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{616:function(e,t,n){"use strict";n.r(t);var s=n(43),a=Object(s.a)({},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[n("div",{staticClass:"custom-block tip"},[n("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),n("p",[e._v("💡 Learn more : "),n("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-functions/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Functions Documentation"),n("OutboundLink")],1),e._v(".")]),e._v(" "),n("p",[e._v("📺 Watch the video : "),n("a",{attrs:{href:"https://www.youtube.com/watch?v=v67yVTLEu3U&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=30?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to renew or revoke Azure Functions keys"),n("OutboundLink")],1),e._v(".")])]),e._v(" "),n("h3",{attrs:{id:"quickly-renew-or-revoke-azure-functions-keys"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#quickly-renew-or-revoke-azure-functions-keys"}},[e._v("#")]),e._v(" Quickly Renew or Revoke Azure Functions Keys")]),e._v(" "),n("p",[e._v("There are times when you've created a new Azure Function HTTP Trigger where your Function Key needs to be changed. For example, here is my Function URL:")]),e._v(" "),n("img",{attrs:{src:e.$withBase("/files/funckey1.png")}}),e._v(" "),n("p",[n("code",[e._v("https://mynewtestapp100.azurewebsites.net/api/HttpTriggerCSharp1?code=FJmHHtDmvqwp4wn0zXCS9J70NbakcmNDYCwM6trPOCTK3TdiCVg8pA==")])]),e._v(" "),n("p",[e._v("If you go to that page, you'll see the Trigger was activated as you passed the key:")]),e._v(" "),n("div",{staticClass:"language- line-numbers-mode"},[n("pre",{pre:!0,attrs:{class:"language-text"}},[n("code",[e._v('This XML file does not appear to have any style information associated with it. The document tree is shown below.\n<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/\')">\nPlease pass a name on the query string or in the request body\n</string>\n')])]),e._v(" "),n("div",{staticClass:"line-numbers-wrapper"},[n("span",{staticClass:"line-number"},[e._v("1")]),n("br"),n("span",{staticClass:"line-number"},[e._v("2")]),n("br"),n("span",{staticClass:"line-number"},[e._v("3")]),n("br"),n("span",{staticClass:"line-number"},[e._v("4")]),n("br")])]),n("p",[e._v("If something happens and someone gets the key, then you should go back to your Function and click "),n("strong",[e._v("Manage")]),e._v(", then press "),n("strong",[e._v("Revoke")]),e._v(". Now you can quickly gneerate a new key with the "),n("strong",[e._v("Add new function key")]),e._v(". You'll need to provide the name "),n("strong",[e._v("default")]),e._v(" and can leave the value empty. Now simply click "),n("strong",[e._v("Save")]),e._v(" and if you go back to your Function and click on "),n("strong",[e._v("Get Function URL")]),e._v(", then you'll notice the new key is in place.")]),e._v(" "),n("img",{attrs:{src:e.$withBase("/files/funckey2.png")}})])}),[],!1,null,null,null);t.default=a.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[259],{618:function(e,t,n){"use strict";n.r(t);var s=n(43),a=Object(s.a)({},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[n("div",{staticClass:"custom-block tip"},[n("p",{staticClass:"custom-block-title"},[e._v("TIP")]),e._v(" "),n("p",[e._v("💡 Learn more : "),n("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-functions/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("Azure Functions Documentation"),n("OutboundLink")],1),e._v(".")]),e._v(" "),n("p",[e._v("📺 Watch the video : "),n("a",{attrs:{href:"https://www.youtube.com/watch?v=v67yVTLEu3U&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=30?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[e._v("How to renew or revoke Azure Functions keys"),n("OutboundLink")],1),e._v(".")])]),e._v(" "),n("h3",{attrs:{id:"quickly-renew-or-revoke-azure-functions-keys"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#quickly-renew-or-revoke-azure-functions-keys"}},[e._v("#")]),e._v(" Quickly Renew or Revoke Azure Functions Keys")]),e._v(" "),n("p",[e._v("There are times when you've created a new Azure Function HTTP Trigger where your Function Key needs to be changed. For example, here is my Function URL:")]),e._v(" "),n("img",{attrs:{src:e.$withBase("/files/funckey1.png")}}),e._v(" "),n("p",[n("code",[e._v("https://mynewtestapp100.azurewebsites.net/api/HttpTriggerCSharp1?code=FJmHHtDmvqwp4wn0zXCS9J70NbakcmNDYCwM6trPOCTK3TdiCVg8pA==")])]),e._v(" "),n("p",[e._v("If you go to that page, you'll see the Trigger was activated as you passed the key:")]),e._v(" "),n("div",{staticClass:"language- line-numbers-mode"},[n("pre",{pre:!0,attrs:{class:"language-text"}},[n("code",[e._v('This XML file does not appear to have any style information associated with it. The document tree is shown below.\n<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/\')">\nPlease pass a name on the query string or in the request body\n</string>\n')])]),e._v(" "),n("div",{staticClass:"line-numbers-wrapper"},[n("span",{staticClass:"line-number"},[e._v("1")]),n("br"),n("span",{staticClass:"line-number"},[e._v("2")]),n("br"),n("span",{staticClass:"line-number"},[e._v("3")]),n("br"),n("span",{staticClass:"line-number"},[e._v("4")]),n("br")])]),n("p",[e._v("If something happens and someone gets the key, then you should go back to your Function and click "),n("strong",[e._v("Manage")]),e._v(", then press "),n("strong",[e._v("Revoke")]),e._v(". Now you can quickly gneerate a new key with the "),n("strong",[e._v("Add new function key")]),e._v(". You'll need to provide the name "),n("strong",[e._v("default")]),e._v(" and can leave the value empty. Now simply click "),n("strong",[e._v("Save")]),e._v(" and if you go back to your Function and click on "),n("strong",[e._v("Get Function URL")]),e._v(", then you'll notice the new key is in place.")]),e._v(" "),n("img",{attrs:{src:e.$withBase("/files/funckey2.png")}})])}),[],!1,null,null,null);t.default=a.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[262],{620:function(t,a,e){"use strict";e.r(a);var r=e(43),s=Object(r.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),e("p",[t._v("💡 Learn more : "),e("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-portal?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Portal Documentation"),e("OutboundLink")],1),t._v(".")]),t._v(" "),e("p",[t._v("📺 Watch the video : "),e("a",{attrs:{href:"https://www.youtube.com/watch?v=p-Dy4rSQAQo&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=3?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to Customize Tiles in Your Azure Dashboard"),e("OutboundLink")],1),t._v(".")])]),t._v(" "),e("h3",{attrs:{id:"customize-and-pin-charts-to-your-azure-dashboard"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#customize-and-pin-charts-to-your-azure-dashboard"}},[t._v("#")]),t._v(" Customize and Pin Charts to your Azure Dashboard")]),t._v(" "),e("p",[t._v("You are probably aware that you can drag and drop and re-size tiles in the Azure dashboard.")]),t._v(" "),e("img",{attrs:{src:t.$withBase("/files/azuredashboard1.gif")}}),t._v(" "),e("p",[t._v("You can not only drag and resize tiles but you can customize charts (such as the ones seen in Virtual Machines). In this sample, we change the CPU chart to use a bar chart and then pin it to the dashboard.")]),t._v(" "),e("img",{attrs:{src:t.$withBase("/files/azuretip4.gif")}})])}),[],!1,null,null,null);a.default=s.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[263],{621:function(t,a,e){"use strict";e.r(a);var r=e(43),s=Object(r.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),e("p",[t._v("💡 Learn more : "),e("a",{attrs:{href:"https://docs.microsoft.com/azure/azure-portal?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Portal Documentation"),e("OutboundLink")],1),t._v(".")]),t._v(" "),e("p",[t._v("📺 Watch the video : "),e("a",{attrs:{href:"https://www.youtube.com/watch?v=p-Dy4rSQAQo&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=3?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to Customize Tiles in Your Azure Dashboard"),e("OutboundLink")],1),t._v(".")])]),t._v(" "),e("h3",{attrs:{id:"customize-and-pin-charts-to-your-azure-dashboard"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#customize-and-pin-charts-to-your-azure-dashboard"}},[t._v("#")]),t._v(" Customize and Pin Charts to your Azure Dashboard")]),t._v(" "),e("p",[t._v("You are probably aware that you can drag and drop and re-size tiles in the Azure dashboard.")]),t._v(" "),e("img",{attrs:{src:t.$withBase("/files/azuredashboard1.gif")}}),t._v(" "),e("p",[t._v("You can not only drag and resize tiles but you can customize charts (such as the ones seen in Virtual Machines). In this sample, we change the CPU chart to use a bar chart and then pin it to the dashboard.")]),t._v(" "),e("img",{attrs:{src:t.$withBase("/files/azuretip4.gif")}})])}),[],!1,null,null,null);a.default=s.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[264],{622:function(o,e,t){"use strict";t.r(e);var r=t(43),s=Object(r.a)({},(function(){var o=this,e=o.$createElement,t=o._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":o.$parent.slotKey}},[t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[o._v("TIP")]),o._v(" "),t("p",[o._v("💡 Learn more : "),t("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[o._v("Azure Logic Apps Documentation"),t("OutboundLink")],1),o._v(".")]),o._v(" "),t("p",[o._v("📺 Watch the video : "),t("a",{attrs:{href:"https://www.youtube.com/watch?v=AqInZgTY57Y&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=33?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[o._v("How to quickly roll back versions of Azure Logic Apps"),t("OutboundLink")],1),o._v(".")])]),o._v(" "),t("h3",{attrs:{id:"quickly-roll-back-to-a-previous-version-of-an-azure-logic-app"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#quickly-roll-back-to-a-previous-version-of-an-azure-logic-app"}},[o._v("#")]),o._v(" Quickly Roll Back to a Previous Version of an Azure Logic App")]),o._v(" "),t("p",[o._v("This one seems to come up a lot, so I'll add it here. If you have created an Azure Logic App and would like to go back to a previous version, then you can do so very easily. Go ahead and open your logic app and look under "),t("strong",[o._v("Development Tools")]),o._v(" then "),t("strong",[o._v("Versions")]),o._v(" and select a previous version.")]),o._v(" "),t("img",{attrs:{src:o.$withBase("/files/versionlogic1.png")}}),o._v(" "),t("p",[o._v("Once you select a previous version, you'll see "),t("strong",[o._v("History")]),o._v(".")]),o._v(" "),t("img",{attrs:{src:o.$withBase("/files/versionlogic2.png")}}),o._v(" "),t("p",[o._v("From here you can hit the "),t("strong",[o._v("Promote")]),o._v(" button and "),t("strong",[o._v("Save")]),o._v(" to use this version in production.")])])}),[],!1,null,null,null);e.default=s.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[265],{623:function(o,e,t){"use strict";t.r(e);var r=t(43),s=Object(r.a)({},(function(){var o=this,e=o.$createElement,t=o._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":o.$parent.slotKey}},[t("div",{staticClass:"custom-block tip"},[t("p",{staticClass:"custom-block-title"},[o._v("TIP")]),o._v(" "),t("p",[o._v("💡 Learn more : "),t("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[o._v("Azure Logic Apps Documentation"),t("OutboundLink")],1),o._v(".")]),o._v(" "),t("p",[o._v("📺 Watch the video : "),t("a",{attrs:{href:"https://www.youtube.com/watch?v=AqInZgTY57Y&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=33?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[o._v("How to quickly roll back versions of Azure Logic Apps"),t("OutboundLink")],1),o._v(".")])]),o._v(" "),t("h3",{attrs:{id:"quickly-roll-back-to-a-previous-version-of-an-azure-logic-app"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#quickly-roll-back-to-a-previous-version-of-an-azure-logic-app"}},[o._v("#")]),o._v(" Quickly Roll Back to a Previous Version of an Azure Logic App")]),o._v(" "),t("p",[o._v("This one seems to come up a lot, so I'll add it here. If you have created an Azure Logic App and would like to go back to a previous version, then you can do so very easily. Go ahead and open your logic app and look under "),t("strong",[o._v("Development Tools")]),o._v(" then "),t("strong",[o._v("Versions")]),o._v(" and select a previous version.")]),o._v(" "),t("img",{attrs:{src:o.$withBase("/files/versionlogic1.png")}}),o._v(" "),t("p",[o._v("Once you select a previous version, you'll see "),t("strong",[o._v("History")]),o._v(".")]),o._v(" "),t("img",{attrs:{src:o.$withBase("/files/versionlogic2.png")}}),o._v(" "),t("p",[o._v("From here you can hit the "),t("strong",[o._v("Promote")]),o._v(" button and "),t("strong",[o._v("Save")]),o._v(" to use this version in production.")])])}),[],!1,null,null,null);e.default=s.exports}}]);

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[265],{624:function(t,e,o){"use strict";o.r(e);var n=o(43),i=Object(n.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),o("p",[t._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Logic Apps Documentation"),o("OutboundLink")],1),t._v(".")]),t._v(" "),o("p",[t._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=M99wMqOvRGM&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=34?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to edit an existing API Connection with Azure Logic Apps"),o("OutboundLink")],1),t._v(".")])]),t._v(" "),o("h3",{attrs:{id:"modifying-an-existing-api-connection-with-azure-logic-app"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#modifying-an-existing-api-connection-with-azure-logic-app"}},[t._v("#")]),t._v(" Modifying an existing API Connection with Azure Logic App")]),t._v(" "),o("p",[t._v("If you have created an Azure Logic App, and have an existing API Connection that you would like to modify, then you can do so very easily. Go ahead and open your logic app and look under "),o("strong",[t._v("Development Tools")]),t._v(" then "),o("strong",[t._v("API Connections")]),t._v(" and you'll see a list of API connections associated with the logic app.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/logicappconn1.png")}}),t._v(" "),o("p",[t._v("Under "),o("strong",[t._v("General")]),t._v(", you'll see "),o("strong",[t._v("Edit API Connection")]),t._v(".")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/logicappconn2.png")}}),t._v(" "),o("p",[t._v("Now you can edit the API information and then press "),o("strong",[t._v("Authorize")]),t._v(" to change the API connection associated with your Logic App.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/logicappconn3.png")}})])}),[],!1,null,null,null);e.default=i.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[266],{624:function(t,e,o){"use strict";o.r(e);var n=o(43),i=Object(n.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),o("p",[t._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Logic Apps Documentation"),o("OutboundLink")],1),t._v(".")]),t._v(" "),o("p",[t._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=M99wMqOvRGM&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=34?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to edit an existing API Connection with Azure Logic Apps"),o("OutboundLink")],1),t._v(".")])]),t._v(" "),o("h3",{attrs:{id:"modifying-an-existing-api-connection-with-azure-logic-app"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#modifying-an-existing-api-connection-with-azure-logic-app"}},[t._v("#")]),t._v(" Modifying an existing API Connection with Azure Logic App")]),t._v(" "),o("p",[t._v("If you have created an Azure Logic App, and have an existing API Connection that you would like to modify, then you can do so very easily. Go ahead and open your logic app and look under "),o("strong",[t._v("Development Tools")]),t._v(" then "),o("strong",[t._v("API Connections")]),t._v(" and you'll see a list of API connections associated with the logic app.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/logicappconn1.png")}}),t._v(" "),o("p",[t._v("Under "),o("strong",[t._v("General")]),t._v(", you'll see "),o("strong",[t._v("Edit API Connection")]),t._v(".")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/logicappconn2.png")}}),t._v(" "),o("p",[t._v("Now you can edit the API information and then press "),o("strong",[t._v("Authorize")]),t._v(" to change the API connection associated with your Logic App.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/logicappconn3.png")}})])}),[],!1,null,null,null);e.default=i.exports}}]);

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[266],{626:function(t,e,o){"use strict";o.r(e);var i=o(43),s=Object(i.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),o("p",[t._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Logic Apps Documentation"),o("OutboundLink")],1),t._v(".")]),t._v(" "),o("p",[t._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=blX-xpN8jFQ&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=35?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to work with Azure Logic App using Visual Studio 2017"),o("OutboundLink")],1),t._v(".")])]),t._v(" "),o("h3",{attrs:{id:"working-with-azure-logic-app-using-visual-studio-2017"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#working-with-azure-logic-app-using-visual-studio-2017"}},[t._v("#")]),t._v(" Working with Azure Logic App using Visual Studio 2017")]),t._v(" "),o("p",[t._v("A great tip that I remember learning from "),o("a",{attrs:{href:"https://twitter.com/jeffhollan?lang=en?WT.mc_id=twitter-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Jeff Hollan"),o("OutboundLink")],1),t._v(" is that folks can work with Logic Apps with Visual Studio. I'm going to use Visual Studio 2017 but previous version work as well.")]),t._v(" "),o("p",[t._v("Fire up Visual Studio 2017 and select "),o("strong",[t._v("File")]),t._v(" -> "),o("strong",[t._v("New Project")]),t._v(" -> "),o("strong",[t._v("Cloud")]),t._v(" -> "),o("strong",[t._v("Resource Group")])]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp1.png")}}),t._v(" "),o("p",[t._v("Give it a name and then you'll need to choose a template. Scroll down until you see "),o("strong",[t._v("Logic App")]),t._v(".")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp2.png")}}),t._v(" "),o("p",[t._v("Once everything spins up, you'll notice you have the following file structure in Visual Studio.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp3.png")}}),t._v(" "),o("ul",[o("li",[t._v("Deploy-AzureResourceGroup.ps1 - Is a PowerShell deployment script for the Logic App")]),t._v(" "),o("li",[t._v("LogicApp.json - This is where your main logic for your Logic App Lives")]),t._v(" "),o("li",[t._v("LogicApp.parameters.json - The parameters file that you'll mostly want to leave alone")])]),t._v(" "),o("p",[t._v("If you click on the "),o("strong",[t._v("LogicApp.json")]),t._v(" you'll see the code and a "),o("strong",[t._v("JSON Outline")]),t._v(" in Visual Studio and you could begin hand coding your app, but I'd rather use a designer. Go ahead and go to "),o("strong",[t._v("Tools")]),t._v(" and "),o("strong",[t._v("Extensions")]),t._v(" and search for "),o("strong",[t._v("Logic Apps")]),t._v(" and press "),o("strong",[t._v("Download")]),t._v(".")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp4.png")}}),t._v(" "),o("p",[t._v("A VSIX installer will appear after you close out of Visual Studio and just follow the steps to install it.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp5.png")}}),t._v(" "),o("p",[t._v("Now you can right click your "),o("strong",[t._v("LogicApp.json")]),t._v(" and have the ability to open it with the Designer!")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp6.png")}}),t._v(" "),o("p",[t._v("You'll need an internet connection and it will prompt you to log in.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp7.png")}}),t._v(" "),o("p",[t._v("Bingo! Now you're cooking with Fire! You can work with the designer just like you did in the Azure Portal.")])])}),[],!1,null,null,null);e.default=s.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[267],{625:function(t,e,o){"use strict";o.r(e);var i=o(43),s=Object(i.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),o("p",[t._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Logic Apps Documentation"),o("OutboundLink")],1),t._v(".")]),t._v(" "),o("p",[t._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=blX-xpN8jFQ&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=35?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to work with Azure Logic App using Visual Studio 2017"),o("OutboundLink")],1),t._v(".")])]),t._v(" "),o("h3",{attrs:{id:"working-with-azure-logic-app-using-visual-studio-2017"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#working-with-azure-logic-app-using-visual-studio-2017"}},[t._v("#")]),t._v(" Working with Azure Logic App using Visual Studio 2017")]),t._v(" "),o("p",[t._v("A great tip that I remember learning from "),o("a",{attrs:{href:"https://twitter.com/jeffhollan?lang=en?WT.mc_id=twitter-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Jeff Hollan"),o("OutboundLink")],1),t._v(" is that folks can work with Logic Apps with Visual Studio. I'm going to use Visual Studio 2017 but previous version work as well.")]),t._v(" "),o("p",[t._v("Fire up Visual Studio 2017 and select "),o("strong",[t._v("File")]),t._v(" -> "),o("strong",[t._v("New Project")]),t._v(" -> "),o("strong",[t._v("Cloud")]),t._v(" -> "),o("strong",[t._v("Resource Group")])]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp1.png")}}),t._v(" "),o("p",[t._v("Give it a name and then you'll need to choose a template. Scroll down until you see "),o("strong",[t._v("Logic App")]),t._v(".")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp2.png")}}),t._v(" "),o("p",[t._v("Once everything spins up, you'll notice you have the following file structure in Visual Studio.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp3.png")}}),t._v(" "),o("ul",[o("li",[t._v("Deploy-AzureResourceGroup.ps1 - Is a PowerShell deployment script for the Logic App")]),t._v(" "),o("li",[t._v("LogicApp.json - This is where your main logic for your Logic App Lives")]),t._v(" "),o("li",[t._v("LogicApp.parameters.json - The parameters file that you'll mostly want to leave alone")])]),t._v(" "),o("p",[t._v("If you click on the "),o("strong",[t._v("LogicApp.json")]),t._v(" you'll see the code and a "),o("strong",[t._v("JSON Outline")]),t._v(" in Visual Studio and you could begin hand coding your app, but I'd rather use a designer. Go ahead and go to "),o("strong",[t._v("Tools")]),t._v(" and "),o("strong",[t._v("Extensions")]),t._v(" and search for "),o("strong",[t._v("Logic Apps")]),t._v(" and press "),o("strong",[t._v("Download")]),t._v(".")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp4.png")}}),t._v(" "),o("p",[t._v("A VSIX installer will appear after you close out of Visual Studio and just follow the steps to install it.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp5.png")}}),t._v(" "),o("p",[t._v("Now you can right click your "),o("strong",[t._v("LogicApp.json")]),t._v(" and have the ability to open it with the Designer!")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp6.png")}}),t._v(" "),o("p",[t._v("You'll need an internet connection and it will prompt you to log in.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017logicapp7.png")}}),t._v(" "),o("p",[t._v("Bingo! Now you're cooking with Fire! You can work with the designer just like you did in the Azure Portal.")])])}),[],!1,null,null,null);e.default=s.exports}}]);

Просмотреть файл

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[267],{623:function(t,e,o){"use strict";o.r(e);var r=o(43),s=Object(r.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),o("p",[t._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Logic Apps Documentation"),o("OutboundLink")],1),t._v(".")]),t._v(" "),o("p",[t._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=sK26e6JIBao&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=40?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to Deploy Azure Logic Apps through Visual Studio 2017"),o("OutboundLink")],1),t._v(".")])]),t._v(" "),o("h3",{attrs:{id:"deploying-azure-logic-app-through-visual-studio-2017"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#deploying-azure-logic-app-through-visual-studio-2017"}},[t._v("#")]),t._v(" Deploying Azure Logic App through Visual Studio 2017")]),t._v(" "),o("p",[t._v("Now that you know "),o("a",{attrs:{href:"https://microsoft.github.io/AzureTipsAndTricks/blog/tip43.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("how to setup your Visual Studio environment"),o("OutboundLink")],1),t._v(", you probably wrote some code and it is time to deploy it.")]),t._v(" "),o("p",[t._v("Fire up Visual Studio 2017 Logic App project. In my case, I created an app that would monitor tweets and post them to OneDrive, but you can do whatever you want.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp1.png")}}),t._v(" "),o("p",[t._v("Right click on the name of your project and select "),o("strong",[t._v("Deploy")]),t._v(" and then either "),o("strong",[t._v("New")]),t._v(" or an existing resource group.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp2.png")}}),t._v(" "),o("p",[t._v("It will prompt you to login, so do so now.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp3.png")}}),t._v(" "),o("p",[t._v("If there are any fields that you missed, then it will prompt you to enter them now. In my case, I had not set the name and it prompted me to do so.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp4.png")}}),t._v(" "),o("p",[t._v("Now you'll see in the output window that it calls the PowerShell script to deploy the resources for your Logic App.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/deploylogicapp5.png")}}),t._v(" "),o("p",[t._v("Once it finishes deploying, log into the Azure Portal to see your new resource.")])])}),[],!1,null,null,null);e.default=s.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[268],{626:function(t,e,o){"use strict";o.r(e);var r=o(43),s=Object(r.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),o("p",[t._v("💡 Learn more : "),o("a",{attrs:{href:"https://docs.microsoft.com/azure/logic-apps/?WT.mc_id=docs-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("Azure Logic Apps Documentation"),o("OutboundLink")],1),t._v(".")]),t._v(" "),o("p",[t._v("📺 Watch the video : "),o("a",{attrs:{href:"https://www.youtube.com/watch?v=sK26e6JIBao&list=PLLasX02E8BPCNCK8Thcxu-Y-XcBUbhFWC&index=40?WT.mc_id=youtube-azuredevtips-azureappsdev",target:"_blank",rel:"noopener noreferrer"}},[t._v("How to Deploy Azure Logic Apps through Visual Studio 2017"),o("OutboundLink")],1),t._v(".")])]),t._v(" "),o("h3",{attrs:{id:"deploying-azure-logic-app-through-visual-studio-2017"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#deploying-azure-logic-app-through-visual-studio-2017"}},[t._v("#")]),t._v(" Deploying Azure Logic App through Visual Studio 2017")]),t._v(" "),o("p",[t._v("Now that you know "),o("a",{attrs:{href:"https://microsoft.github.io/AzureTipsAndTricks/blog/tip43.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("how to setup your Visual Studio environment"),o("OutboundLink")],1),t._v(", you probably wrote some code and it is time to deploy it.")]),t._v(" "),o("p",[t._v("Fire up Visual Studio 2017 Logic App project. In my case, I created an app that would monitor tweets and post them to OneDrive, but you can do whatever you want.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp1.png")}}),t._v(" "),o("p",[t._v("Right click on the name of your project and select "),o("strong",[t._v("Deploy")]),t._v(" and then either "),o("strong",[t._v("New")]),t._v(" or an existing resource group.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp2.png")}}),t._v(" "),o("p",[t._v("It will prompt you to login, so do so now.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp3.png")}}),t._v(" "),o("p",[t._v("If there are any fields that you missed, then it will prompt you to enter them now. In my case, I had not set the name and it prompted me to do so.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/vs2017deploylogicapp4.png")}}),t._v(" "),o("p",[t._v("Now you'll see in the output window that it calls the PowerShell script to deploy the resources for your Logic App.")]),t._v(" "),o("img",{attrs:{src:t.$withBase("/files/deploylogicapp5.png")}}),t._v(" "),o("p",[t._v("Once it finishes deploying, log into the Azure Portal to see your new resource.")])])}),[],!1,null,null,null);e.default=s.exports}}]);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше