{"id":641,"date":"2022-06-14T02:44:47","date_gmt":"2022-06-14T09:44:47","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/java-ch\/?p=641"},"modified":"2022-06-20T02:02:33","modified_gmt":"2022-06-20T09:02:33","slug":"java-on-azure-tooling-2022-06","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/java-ch\/java-on-azure-tooling-2022-06\/","title":{"rendered":"Java on Azure Tooling\u7684\u66f4\u65b0 \u2013 2022\u5e746\u6708"},"content":{"rendered":"<p style=\"text-align: justify;\">\u5927\u5bb6\u597d\uff0c\u6b22\u8fce\u6765\u5230 Java on Azure Tooling \u7684 6 \u6708\u66f4\u65b0\u3002\u5728\u8fd9\u6b21\u66f4\u65b0\u4e2d\uff0c\u6211\u4eec\u5c06\u4e3a Azure toolkit for IntelliJ \u5f15\u5165\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe\uff0c\u8fd9\u5c06\u4f7f\u7ba1\u7406\u754c\u9762\u5bf9\u7528\u6237\u66f4\u52a0\u53cb\u597d\u3002\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u65b0\u589e\u4e86\u5bf9\u66f4\u591a Azure \u670d\u52a1\u7684\u652f\u6301\u3002\u5bf9\u4e8e Gradle \u63d2\u4ef6\uff0c\u6211\u4eec\u4e3a Azure Web Apps \u548c Azure Functions \u63d0\u4f9b\u4e86\u4e00\u4e9b\u65b0\u652f\u6301\u3002\u6211\u4eec\u5e0c\u671b\u4f60\u559c\u6b22\u8fd9\u4e9b\u65b0\u529f\u80fd\u5e76\u4e0e\u6211\u4eec\u5206\u4eab\u4f60\u7684\u53cd\u9988\u3002\u8ba9\u6211\u4eec\u5f00\u59cb\u5427\uff01<\/p>\n<h2><strong>Azure Toolkit for IntelliJ \u66f4\u65b0<\/strong><\/h2>\n<h3><strong>Azure Explorer \u4e2d\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe\n<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u5728<a href=\"https:\/\/devblogs.microsoft.com\/java\/azure-toolkit-for-intellij-update-april-2022\/\">4\u6708\u4efd\u7684\u535a\u5ba2<\/a>\u4e2d\uff0c\u6211\u4eec\u9996\u6b21\u5728\u8def\u7ebf\u56fe\u4e2d\u4ecb\u7ecd\u4e86\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u6982\u5ff5\u3002\u76ee\u524d Azure \u8d44\u6e90\u7ba1\u7406\u5668\uff08Azure Explorer\uff09\u7ecf\u8fc7\u957f\u65f6\u95f4\u53d1\u5c55\uff0c\u5df2\u7ecf\u6269\u5c55\u5e76\u652f\u6301\u591a\u79cd\u4e91\u8d44\u6e90\u3002Azure\u8d44\u6e90\u7ba1\u7406\u5668\u662fWeb\u5e94\u7528\uff08Web Apps\uff09\u3001Function \u5e94\u7528\uff08Function Apps\uff09\u3001Spring\u5e94\u7528\uff08Spring Apps\uff09\u3001\u865a\u62df\u673a\uff08Virtual Machines\uff09\u3001\u5b58\u50a8\u8d26\u6237\uff08Storage Accounts\uff09\u3001\u6570\u636e\u5e93\uff08Databases\uff09\u548c\u5176\u4ed6\u670d\u52a1\u7684\u903b\u8f91\u96c6\u5408\u3002\u4f46\u5b83\u662f\u6309\u8d44\u6e90\u7c7b\u578b\u800c\u4e0d\u662f\u6309\u5e94\u7528\u7c7b\u578b\uff08\u8d44\u6e90\u7ec4\uff0cResource Groups\uff09\u5206\u7ec4\u7684\u3002\u5bf9\u4e8e\u5728 Azure \u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u6267\u884c\u64cd\u4f5c\u7684\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u8be5\u89c6\u56fe\u5c06\u4f7f\u7ba1\u7406\u548c\u7406\u89e3\u4e00\u4e2a\u5e94\u7528\u4e2d\u5177\u4f53\u6d89\u53ca\u7684\u54ea\u4e9b\u670d\u52a1\u6216\u4ea7\u54c1\u53d8\u5f97\u590d\u6742\u3002\u6211\u4eec\u8fd8\u53d1\u73b0\uff0c\u5728\u6309\u670d\u52a1\u7c7b\u578b\u5206\u7ec4\u7684\u8d44\u6e90\u89c6\u56fe\u5185\uff0c\u4e00\u4e9b\u5f00\u53d1\u4eba\u5458\u53ef\u80fd\u503e\u5411\u4e8e\u5931\u53bb\u5173\u6ce8\u70b9\u6216\u611f\u5230\u4e0d\u77e5\u6240\u63aa\u3002<\/p>\n<p style=\"text-align: justify;\">\u57fa\u4e8e\u8fd9\u4e9b\u539f\u56e0\uff0c\u6211\u4eec\u4e00\u76f4\u5728\u8fdb\u884c\u6295\u8d44\uff0c\u4ee5\u6539\u8fdb\u548c\u5f15\u5165\u8fd9\u79cd\u4ee5\u5e94\u7528\u7a0b\u5e8f\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe\u3002\u901a\u8fc7\u6b64\u89c6\u56fe\uff0c\u5b83\u5c06\u5e2e\u52a9\u5f00\u53d1\u8005\u8ba4\u8bc6\u548c\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u5177\u4f53\u5185\u5bb9\u3002\u5728\u4e0b\u9762\u7684\u5c55\u793a\u4e2d\uff0c\u4f60\u5c06\u80fd\u591f\u770b\u5230\u6309\u5e94\u7528\u5206\u7ec4\u7684 Azure \u8d44\u6e90\u7684\u89c6\u56fe\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/App-view-overview.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-654\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/App-view-overview.gif\" alt=\"Image App view overview\" width=\"1365\" height=\"769\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u8981\u5c1d\u8bd5\u8fd9\u4e2a\u65b0\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u5728 Azure \u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u627e\u5230\u6839\u8282\u70b9\u2014\u8d44\u6e90\u7ec4\uff08Resource Groups\uff09\u3002\u4f60\u53ef\u4ee5\u53d1\u73b0\u5bf9\u4e8e\u6bcf\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u5c5e\u4e8e\u540c\u4e00\u8d44\u6e90\u7ec4\u7684\u6240\u6709\u8d44\u6e90\u88ab\u96c6\u5408\u5728\u4e00\u8d77\u3002\u5982\u679c\u9700\u8981\uff0c\u4f60\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u5e94\u7528\u7a0b\u5e8f\u521b\u5efa\u6216\u5220\u9664\u8d44\u6e90\u7ec4\u4e2d\u7684\u8d44\u6e90\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u77ed\u7684\u6f14\u793a\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/App-view-new.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-655\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/App-view-new.gif\" alt=\"Image App view new\" width=\"1365\" height=\"773\" \/><\/a><\/p>\n<h3><strong>Application Insights \u652f\u6301<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u5728\u6700\u65b0\u53d1\u5e03\u7684\u7248\u672c\u4e2d\uff0cAzure Toolkit for IntelliJ \u4e0a\u5df2\u7ecf\u63d0\u4f9b\u5bf9\u5e94\u7528\u6d1e\u5bdf\uff08Application Insights\uff09\u7684\u652f\u6301\uff0c\u8fd9\u6837\u5f00\u53d1\u8005\u5c31\u53ef\u4ee5\u76f4\u63a5\u5728 Azure \u8d44\u6e90\u7ba1\u7406\u5668\uff08Azure Explorer\uff09 \u4e2d\u7ba1\u7406\u5e94\u7528\u6d1e\u5bdf\u3002\u8981\u521b\u5efa\u5b83\uff0c\u4f60\u53ea\u9700\u8981\u627e\u5230 Application Insights \u7ed3\u70b9\uff0c\u7136\u540e\u53f3\u51fb\u5b83\uff0c\u9009\u62e9 \u201ccreate&#8221;\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/AI1.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-656\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/AI1.gif\" alt=\"Image AI1\" width=\"1365\" height=\"773\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u6709\u4e86\u8fd9\u79cd\u529f\u80fd\u4e0a\u7684\u652f\u6301\uff0c\u4f60\u53ef\u4ee5\u5728\u521b\u5efa Application Insights \u4e4b\u540e\u901a\u8fc7 Azure Resource Connector \u624b\u52a8\u914d\u7f6e\u8d44\u6e90\u8fde\u63a5\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/AI2.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-657\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/AI2.gif\" alt=\"Image AI2\" width=\"1365\" height=\"773\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5f53\u4f60\u5728 &#8220;Open Live Metrics&#8221;\u9009\u9879\u4e2d\u53f3\u51fb\u8282\u70b9\u65f6\uff0c\u5b83\u5c06\u5bfc\u822a\u4f60\u5230 Application Insights \u7684\u95e8\u6237\u7f51\u7ad9\uff0c\u5728\u90a3\u91cc\u4f60\u53ef\u4ee5\u5728\u90e8\u7f72\u7684\u5168\u6d41\u7a0b\u4e2d\u5b9e\u65f6\u89c2\u5bdf\u4fe1\u606f\u6d41\u5e76\u5b9a\u4f4d\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/AI3.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-658\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/AI3.gif\" alt=\"Image AI3\" width=\"1365\" height=\"773\" \/><\/a><\/p>\n<h3><strong>Spring Apps \u66f4\u65b0<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u6700\u8fd1\uff0cAzure Spring Apps Enterprise <a href=\"https:\/\/techcommunity.microsoft.com\/t5\/apps-on-azure-blog\/azure-spring-apps-enterprise-tier-is-now-generally-available\/ba-p\/3418245\">\u6b63\u5f0f\u5ba3\u5e03<\/a>\u53ef\u7528\u3002\u6211\u4eec\u5df2\u7ecf\u5728\u4ea7\u54c1\u4e0a\u5bf9 Azure Spring Cloud Enterprise \u8fdb\u884c\u6295\u8d44\u5e76\u652f\u6301\u76f8\u5173\u529f\u80fd\u3002\u5982\u679c\u4f60\u9009\u62e9\u4f7f\u7528 Azure Spring Apps \u7684\u4f01\u4e1a\u7ea7\u5b9a\u4ef7\u89c4\u5219\uff0c\u4f60\u53ef\u4ee5\u7b80\u5355\u5730\u53f3\u51fb Spring \u5e94\u7528\u7a0b\u5e8f\u96c6\u7fa4\u8282\u70b9\u4e0b\u7684 &#8220;create&#8221;\u9009\u9879\u6765\u5b8c\u6210\u914d\u7f6e\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/Spring-apps1.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-659\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/Spring-apps1.gif\" alt=\"Image Spring apps1\" width=\"1365\" height=\"769\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u4e3a\u4e86\u589e\u5f3a\u8fd9\u79cd\u4f53\u9a8c\uff0c\u6211\u4eec\u5728 vCPU \u7248\u672c\u4e2d\u989d\u5916\u652f\u6301 0.5 \u5185\u6838\u548c 512M \u5185\u5b58\u3002\u6b64\u5916\uff0c\u4f60\u4e0d\u9700\u8981\u4e3a\u4f01\u4e1a\u7ea7\u5e94\u7528\u7a0b\u5e8f\u6307\u5b9a\u8fd0\u884c\u65f6\u523b\uff08runtime\uff09\uff0c\u56e0\u4e3a\u5b83\u5c06\u4ece\u6e90\u4ee3\u7801\u6216\u9879\u76ee\u4e2d\u81ea\u52a8\u68c0\u6d4b\u8fd0\u884c\u65f6\u523b\u6765\u8fdb\u884c\u90e8\u7f72\u3002\u5728\u90e8\u7f72\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u7b80\u5355\u5730\u53f3\u51fb\u8282\u70b9\uff0c\u9009\u62e9 &#8220;Show properties&#8221;\u6765\u67e5\u770b\u914d\u7f6e\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/Spring-apps2.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-660\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/Spring-apps2.gif\" alt=\"Image Spring apps2\" width=\"1365\" height=\"769\" \/><\/a><\/p>\n<h2><strong>Gradle Plugin \u66f4\u65b0<\/strong><\/h2>\n<h3><strong>Deployment Slots \u652f\u6301<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u5f53\u4f60\u5c06 Web \u5e94\u7528\u6216 Function \u5e94\u7528\u90e8\u7f72\u5230 Azure App Service \u65f6\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u5355\u72ec\u7684\u90e8\u7f72\u69fd\uff08deployment slot\uff09\u800c\u4e0d\u662f\u9ed8\u8ba4\u7684\u751f\u4ea7\u69fd\uff08default production slot\uff09\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u5148\u5728\u6682\u5b58\u90e8\u7f72\u69fd\u4e2d\u9a8c\u8bc1\u4efb\u4f55\u5e94\u7528\u7684\u53d8\u5316\uff0c\u7136\u540e\u5728\u540c\u4e00\u4e2a\u5e94\u7528\u670d\u52a1\u4e2d\u628a\u5b83\u66ff\u6362\u6210\u751f\u4ea7\u69fd\u3002<\/p>\n<pre class=\"prettyprint\">azurewebapp {\r\n    ...\r\n    deploymentSlot {\r\n      name = 'xxx'\r\n      configurationSource = 'parent'\r\n    }\r\n}\r\n<\/pre>\n<p style=\"text-align: justify;\">\u4ece 6 \u6708\u4efd\u5f00\u59cb\u5728\u6700\u65b0\u7684\u7248\u672c\u4e2d\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5 Gradle \u63d2\u4ef6\u5bf9\u4e8e deployment slots \u7684\u652f\u6301 \uff0c\u5bf9\u7248\u672c\u4e3a1.4.0.\u7684 Azure Web App \u548c\u7248\u672c\u4e3a1.9.0.\u7684 Azure Functions \u5747\u63d0\u4f9b\u652f\u6301\u3002\u4f60\u53ef\u4ee5\u5728 build.gradle \u6587\u4ef6\u4e2d\u624b\u52a8\u6dfb\u52a0\u4ee5\u4e0a\u914d\u7f6e\uff0c\u6765\u5c1d\u8bd5\u8fd9\u4e2a\u65b0\u529f\u80fd\u3002<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/Gradle-Slot2.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-661\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/Gradle-Slot2.gif\" alt=\"Image Gradle Slot2\" width=\"1201\" height=\"755\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u8981\u4e86\u89e3\u66f4\u591a\u5173\u4e8e Gradle \u63d2\u4ef6\u7684\u4fe1\u606f\uff0c\u4f60\u53ef\u4ee5\u627e\u5230\u66f4\u591a\u7ec6\u8282<a href=\"https:\/\/devblogs.microsoft.com\/java\/gradle-deploy-java-web-apps-to-azure-in-one-step\/\">\u5982\u4f55\u7528 Gradle \u5c06 Java Web \u5e94\u7528\u4e00\u6b65\u6b65\u90e8\u7f72\u5230 Azure<\/a>\u3002<\/p>\n<h2 id=\"try-it-out\" class=\"x-hidden-focus\"><strong><span class=\"\">\u53cd\u9988\u4e0e\u5efa\u8bae<\/span><\/strong><\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u60a8\u6709\u5174\u8da3\uff0c\u8bf7\u4e0d\u8981\u72b9\u8c6b\u5e76\u5c1d\u8bd5\u4f7f\u7528\u6211\u4eec\u7684\u4ea7\u54c1\u5427! \u60a8\u7684\u53cd\u9988\u548c\u5efa\u8bae\u5bf9\u6211\u4eec\u975e\u5e38\u91cd\u8981\uff0c\u5c06\u6709\u52a9\u4e8e\u6211\u4eec\u4ea7\u54c1\u7684\u672a\u6765\u53d1\u5c55\u3002<\/p>\n<ul>\n<li>\u5728\u6b64\u535a\u6587\u4e0a\u7559\u4e0b\u60a8\u7684\u8bc4\u8bba<\/li>\n<li>\u5728\u4ea7\u54c1\u7684<a href=\"https:\/\/github.com\/microsoft\/azure-tools-for-java\/issues\/new\">\u5b98\u65b9GitHub\u9875\u9762\u4e0a\u521b\u5efa\u4e00\u4e2a\u529f\u80fd\u8bf7\u6c42\u6216\u63d0\u4ea4\u4e00\u4e2a\u9519\u8bef<\/a><\/li>\n<li><a href=\"https:\/\/microsoft.qualtrics.com\/jfe\/form\/SV_b17fG5QQlMhs2up\">\u586b\u5199\u6211\u4eec\u7684\u8c03\u67e5\u95ee\u5377<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/ProvideFeedback.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-662\" src=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/ProvideFeedback.png\" alt=\"Image ProvideFeedback\" width=\"471\" height=\"236\" srcset=\"https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/ProvideFeedback.png 471w, https:\/\/devblogs.microsoft.com\/java-ch\/wp-content\/uploads\/sites\/59\/2022\/06\/ProvideFeedback-300x150.png 300w\" sizes=\"(max-width: 471px) 100vw, 471px\" \/><\/a><\/p>\n<h2 id=\"try-it-out\"><strong>\u8d44\u6e90<\/strong><\/h2>\n<p style=\"text-align: justify;\">\u4ee5\u4e0b\u94fe\u63a5\u548c\u8d44\u6e90\u80fd\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u4e86\u89e3 Java on Azure Tooling \u7684\u76f8\u5173\u4fe1\u606f\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/developer\/java\/toolkit-for-intellij\/\">Azure Toolkit for IntelliJ \u7684\u5b98\u65b9\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/developer\/java\/toolkit-for-eclipse\/installation\">Azure Toolkit for Eclipse \u7684\u5b98\u65b9\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/azure-maven-plugins\/wiki\/Azure-Spring-apps\">\u57fa\u4e8e Azure Web Apps\/Functions\/Spring Cloud \u7684 Maven \u63d2\u4ef6\u5b98\u65b9\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/azure-gradle-plugins\/wiki\">\u57fa\u4e8e Azure Web Apps\/Functions \u7684 Gradle \u63d2\u4ef6\u5b98\u65b9\u6587\u6863<\/a><\/li>\n<li><a href=\"https:\/\/code.visualstudio.com\/docs\/java\/java-on-azure\">\u57fa\u4e8e Azure Spring Apps \u7684 VS Code \u63d2\u4ef6\u5b98\u65b9\u6587\u6863<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6b22\u8fce\u6765\u5230 Java on Azure Tooling \u7684 6 \u6708\u66f4\u65b0\u3002\u5728\u8fd9\u6b21\u66f4\u65b0\u4e2d\uff0c\u6211\u4eec\u5c06\u4e3a Azure toolkit for IntelliJ \u5f15\u5165\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe\uff0c\u8fd9\u5c06\u4f7f\u7ba1\u7406\u754c\u9762\u5bf9\u7528\u6237\u66f4\u52a0\u53cb\u597d\u3002\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u65b0\u589e\u4e86\u5bf9\u66f4\u591a Azure \u670d\u52a1\u7684\u652f\u6301\u3002\u5bf9\u4e8e Gradle \u63d2\u4ef6\uff0c\u6211\u4eec\u4e3a Azure Web Apps \u548c Azure Functions \u63d0\u4f9b\u4e86\u4e00\u4e9b\u65b0\u652f\u6301\u3002\u6211\u4eec\u5e0c\u671b\u4f60\u559c\u6b22\u8fd9\u4e9b\u65b0\u529f\u80fd\u5e76\u4e0e\u6211\u4eec\u5206\u4eab\u4f60\u7684\u53cd\u9988\u3002\u8ba9\u6211\u4eec\u5f00\u59cb\u5427\uff01 Azure Toolkit for IntelliJ \u66f4\u65b0 Azure Explorer \u4e2d\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe \u57284\u6708\u4efd\u7684\u535a\u5ba2\u4e2d\uff0c\u6211\u4eec\u9996\u6b21\u5728\u8def\u7ebf\u56fe\u4e2d\u4ecb\u7ecd\u4e86\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u6982\u5ff5\u3002\u76ee\u524d Azure \u8d44\u6e90\u7ba1\u7406\u5668\uff08Azure Explorer\uff09\u7ecf\u8fc7\u957f\u65f6\u95f4\u53d1\u5c55\uff0c\u5df2\u7ecf\u6269\u5c55\u5e76\u652f\u6301\u591a\u79cd\u4e91\u8d44\u6e90\u3002Azure\u8d44\u6e90\u7ba1\u7406\u5668\u662fWeb\u5e94\u7528\uff08Web Apps\uff09\u3001Function \u5e94\u7528\uff08Function Apps\uff09\u3001Spring\u5e94\u7528\uff08Spring Apps\uff09\u3001\u865a\u62df\u673a\uff08Virtual Machines\uff09\u3001\u5b58\u50a8\u8d26\u6237\uff08Storage Accounts\uff09\u3001\u6570\u636e\u5e93\uff08Databases\uff09\u548c\u5176\u4ed6\u670d\u52a1\u7684\u903b\u8f91\u96c6\u5408\u3002\u4f46\u5b83\u662f\u6309\u8d44\u6e90\u7c7b\u578b\u800c\u4e0d\u662f\u6309\u5e94\u7528\u7c7b\u578b\uff08\u8d44\u6e90\u7ec4\uff0cResource Groups\uff09\u5206\u7ec4\u7684\u3002\u5bf9\u4e8e\u5728 Azure \u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u6267\u884c\u64cd\u4f5c\u7684\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u8be5\u89c6\u56fe\u5c06\u4f7f\u7ba1\u7406\u548c\u7406\u89e3\u4e00\u4e2a\u5e94\u7528\u4e2d\u5177\u4f53\u6d89\u53ca\u7684\u54ea\u4e9b\u670d\u52a1\u6216\u4ea7\u54c1\u53d8\u5f97\u590d\u6742\u3002\u6211\u4eec\u8fd8\u53d1\u73b0\uff0c\u5728\u6309\u670d\u52a1\u7c7b\u578b\u5206\u7ec4\u7684\u8d44\u6e90\u89c6\u56fe\u5185\uff0c\u4e00\u4e9b\u5f00\u53d1\u4eba\u5458\u53ef\u80fd\u503e\u5411\u4e8e\u5931\u53bb\u5173\u6ce8\u70b9\u6216\u611f\u5230\u4e0d\u77e5\u6240\u63aa\u3002 \u57fa\u4e8e\u8fd9\u4e9b\u539f\u56e0\uff0c\u6211\u4eec\u4e00\u76f4\u5728\u8fdb\u884c\u6295\u8d44\uff0c\u4ee5\u6539\u8fdb\u548c\u5f15\u5165\u8fd9\u79cd\u4ee5\u5e94\u7528\u7a0b\u5e8f\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe\u3002\u901a\u8fc7\u6b64\u89c6\u56fe\uff0c\u5b83\u5c06\u5e2e\u52a9\u5f00\u53d1\u8005\u8ba4\u8bc6\u548c\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u5177\u4f53\u5185\u5bb9\u3002\u5728\u4e0b\u9762\u7684\u5c55\u793a\u4e2d\uff0c\u4f60\u5c06\u80fd\u591f\u770b\u5230\u6309\u5e94\u7528\u5206\u7ec4\u7684 Azure \u8d44\u6e90\u7684\u89c6\u56fe\u3002 \u8981\u5c1d\u8bd5\u8fd9\u4e2a\u65b0\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u5728 Azure \u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u627e\u5230\u6839\u8282\u70b9\u2014\u8d44\u6e90\u7ec4\uff08Resource Groups\uff09\u3002\u4f60\u53ef\u4ee5\u53d1\u73b0\u5bf9\u4e8e\u6bcf\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u5c5e\u4e8e\u540c\u4e00\u8d44\u6e90\u7ec4\u7684\u6240\u6709\u8d44\u6e90\u88ab\u96c6\u5408\u5728\u4e00\u8d77\u3002\u5982\u679c\u9700\u8981\uff0c\u4f60\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u5e94\u7528\u7a0b\u5e8f\u521b\u5efa\u6216\u5220\u9664\u8d44\u6e90\u7ec4\u4e2d\u7684\u8d44\u6e90\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u77ed\u7684\u6f14\u793a\u3002 Application Insights \u652f\u6301 [&hellip;]<\/p>\n","protected":false},"author":87519,"featured_media":666,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2,1,22,4,3],"tags":[],"class_list":["post-641","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","category-java-ch","category-java-on-azure-tooling","category-open-source","category-visual-studio-code"],"acf":[],"blog_post_summary":"<p>\u5927\u5bb6\u597d\uff0c\u6b22\u8fce\u6765\u5230 Java on Azure Tooling \u7684 6 \u6708\u66f4\u65b0\u3002\u5728\u8fd9\u6b21\u66f4\u65b0\u4e2d\uff0c\u6211\u4eec\u5c06\u4e3a Azure toolkit for IntelliJ \u5f15\u5165\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe\uff0c\u8fd9\u5c06\u4f7f\u7ba1\u7406\u754c\u9762\u5bf9\u7528\u6237\u66f4\u52a0\u53cb\u597d\u3002\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u65b0\u589e\u4e86\u5bf9\u66f4\u591a Azure \u670d\u52a1\u7684\u652f\u6301\u3002\u5bf9\u4e8e Gradle \u63d2\u4ef6\uff0c\u6211\u4eec\u4e3a Azure Web Apps \u548c Azure Functions \u63d0\u4f9b\u4e86\u4e00\u4e9b\u65b0\u652f\u6301\u3002\u6211\u4eec\u5e0c\u671b\u4f60\u559c\u6b22\u8fd9\u4e9b\u65b0\u529f\u80fd\u5e76\u4e0e\u6211\u4eec\u5206\u4eab\u4f60\u7684\u53cd\u9988\u3002\u8ba9\u6211\u4eec\u5f00\u59cb\u5427\uff01 Azure Toolkit for IntelliJ \u66f4\u65b0 Azure Explorer \u4e2d\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe \u57284\u6708\u4efd\u7684\u535a\u5ba2\u4e2d\uff0c\u6211\u4eec\u9996\u6b21\u5728\u8def\u7ebf\u56fe\u4e2d\u4ecb\u7ecd\u4e86\u4ee5\u5e94\u7528\u4e3a\u4e2d\u5fc3\u7684\u6982\u5ff5\u3002\u76ee\u524d Azure \u8d44\u6e90\u7ba1\u7406\u5668\uff08Azure Explorer\uff09\u7ecf\u8fc7\u957f\u65f6\u95f4\u53d1\u5c55\uff0c\u5df2\u7ecf\u6269\u5c55\u5e76\u652f\u6301\u591a\u79cd\u4e91\u8d44\u6e90\u3002Azure\u8d44\u6e90\u7ba1\u7406\u5668\u662fWeb\u5e94\u7528\uff08Web Apps\uff09\u3001Function \u5e94\u7528\uff08Function Apps\uff09\u3001Spring\u5e94\u7528\uff08Spring Apps\uff09\u3001\u865a\u62df\u673a\uff08Virtual Machines\uff09\u3001\u5b58\u50a8\u8d26\u6237\uff08Storage Accounts\uff09\u3001\u6570\u636e\u5e93\uff08Databases\uff09\u548c\u5176\u4ed6\u670d\u52a1\u7684\u903b\u8f91\u96c6\u5408\u3002\u4f46\u5b83\u662f\u6309\u8d44\u6e90\u7c7b\u578b\u800c\u4e0d\u662f\u6309\u5e94\u7528\u7c7b\u578b\uff08\u8d44\u6e90\u7ec4\uff0cResource Groups\uff09\u5206\u7ec4\u7684\u3002\u5bf9\u4e8e\u5728 Azure \u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u6267\u884c\u64cd\u4f5c\u7684\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u8be5\u89c6\u56fe\u5c06\u4f7f\u7ba1\u7406\u548c\u7406\u89e3\u4e00\u4e2a\u5e94\u7528\u4e2d\u5177\u4f53\u6d89\u53ca\u7684\u54ea\u4e9b\u670d\u52a1\u6216\u4ea7\u54c1\u53d8\u5f97\u590d\u6742\u3002\u6211\u4eec\u8fd8\u53d1\u73b0\uff0c\u5728\u6309\u670d\u52a1\u7c7b\u578b\u5206\u7ec4\u7684\u8d44\u6e90\u89c6\u56fe\u5185\uff0c\u4e00\u4e9b\u5f00\u53d1\u4eba\u5458\u53ef\u80fd\u503e\u5411\u4e8e\u5931\u53bb\u5173\u6ce8\u70b9\u6216\u611f\u5230\u4e0d\u77e5\u6240\u63aa\u3002 \u57fa\u4e8e\u8fd9\u4e9b\u539f\u56e0\uff0c\u6211\u4eec\u4e00\u76f4\u5728\u8fdb\u884c\u6295\u8d44\uff0c\u4ee5\u6539\u8fdb\u548c\u5f15\u5165\u8fd9\u79cd\u4ee5\u5e94\u7528\u7a0b\u5e8f\u4e3a\u4e2d\u5fc3\u7684\u65b0\u89c6\u56fe\u3002\u901a\u8fc7\u6b64\u89c6\u56fe\uff0c\u5b83\u5c06\u5e2e\u52a9\u5f00\u53d1\u8005\u8ba4\u8bc6\u548c\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u5177\u4f53\u5185\u5bb9\u3002\u5728\u4e0b\u9762\u7684\u5c55\u793a\u4e2d\uff0c\u4f60\u5c06\u80fd\u591f\u770b\u5230\u6309\u5e94\u7528\u5206\u7ec4\u7684 Azure \u8d44\u6e90\u7684\u89c6\u56fe\u3002 \u8981\u5c1d\u8bd5\u8fd9\u4e2a\u65b0\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u5728 Azure \u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u627e\u5230\u6839\u8282\u70b9\u2014\u8d44\u6e90\u7ec4\uff08Resource Groups\uff09\u3002\u4f60\u53ef\u4ee5\u53d1\u73b0\u5bf9\u4e8e\u6bcf\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u5c5e\u4e8e\u540c\u4e00\u8d44\u6e90\u7ec4\u7684\u6240\u6709\u8d44\u6e90\u88ab\u96c6\u5408\u5728\u4e00\u8d77\u3002\u5982\u679c\u9700\u8981\uff0c\u4f60\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u5e94\u7528\u7a0b\u5e8f\u521b\u5efa\u6216\u5220\u9664\u8d44\u6e90\u7ec4\u4e2d\u7684\u8d44\u6e90\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u77ed\u7684\u6f14\u793a\u3002 Application Insights \u652f\u6301 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/posts\/641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/users\/87519"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/comments?post=641"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/posts\/641\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/media\/666"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/media?parent=641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/categories?post=641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java-ch\/wp-json\/wp\/v2\/tags?post=641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}