{"id":3575,"date":"2016-03-04T00:41:09","date_gmt":"2016-03-03T15:41:09","guid":{"rendered":"http:\/\/www.syuheiuda.com\/?p=3575"},"modified":"2016-04-07T14:39:28","modified_gmt":"2016-04-07T05:39:28","slug":"arm-%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae-azure-storage-%e3%81%ab%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0-%e3%83%89%e3%83%a1%e3%82%a4%e3%83%b3%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.syuheiuda.com\/?p=3575","title":{"rendered":"ARM \u30d9\u30fc\u30b9\u306e Azure Storage \u306b\u30ab\u30b9\u30bf\u30e0 \u30c9\u30e1\u30a4\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>Azure \u4e0a\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u6574\u7406\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001ARM \u306e Storage \u306b\u30ab\u30b9\u30bf\u30e0 \u30c9\u30e1\u30a4\u30f3\u3063\u3066\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u304b\u304c\u6c17\u306b\u306a\u3063\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u3001\u30dd\u30fc\u30bf\u30eb\u306b\u306f\u306a\u3044\u3051\u3069 PowerShell \u3068\u304b CLI \u3060\u3068\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>\u30cd\u30bf\u5143<br \/><a title=\"http:\/\/stackoverflow.com\/questions\/32117912\/azure-storage-non-classic-v2-how-to-configure-custom-domain\/\" href=\"http:\/\/stackoverflow.com\/questions\/32117912\/azure-storage-non-classic-v2-how-to-configure-custom-domain\/\">http:\/\/stackoverflow.com\/questions\/32117912\/azure-storage-non-classic-v2-how-to-configure-custom-domain\/<\/a><\/p>\n<p>\u4f7f\u7528\u3059\u308b\u306e\u306f Set-AzureRmStorageAccount \u306e \u2013CustomDomainName \u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u3088\u3046\u3067\u3059\u3002<br \/>\u30d8\u30eb\u30d7\u306f\u4ee5\u4e0b\u3082\u3057\u304f\u306f <a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt607146.aspx\">MSDN<\/a> \u3092\u3002<\/p>\n<blockquote>\n<p>PS &gt; Get-Help Set-AzureRmStorageAccount -Examples<\/p>\n<p>\u540d\u524d<br \/>&nbsp;&nbsp;&nbsp; Set-AzureRmStorageAccount<\/p>\n<p>\u6982\u8981<br \/>&nbsp;&nbsp;&nbsp; Update the Storage Account properties<\/p>\n<p>&nbsp;&nbsp;&nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&nbsp; Set Storage Account type&nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>&nbsp;&nbsp;&nbsp; PS C:\\&gt; # Set account type<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set-AzureRmStorageAccount -ResourceGroupName &#8220;myresourcegroup&#8221; -AccountName &#8220;mystorageaccount&#8221; -Type &#8220;Sta<br \/>&nbsp;&nbsp;&nbsp; ndard_RAGRS&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;&nbsp;&nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&nbsp; Set Custom Domain&nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>&nbsp;&nbsp;&nbsp; PS C:\\&gt; #Set custom domain<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set-AzureRmStorageAccount -ResourceGroupName &#8220;myresourcegroup&#8221; -AccountName &#8220;mystorageaccount&#8221; -CustomDom<br \/>&nbsp;&nbsp;&nbsp; ainName &#8220;www.domainname.com&#8221; \u2013UseSubDomain $true<\/p>\n<\/blockquote>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">PS &gt; Set-AzureRmStorageAccount \u2013ResourceGroupName &quot;&lt;\u30ea\u30bd\u30fc\u30b9 \u30b0\u30eb\u30fc\u30d7\u540d&gt;&quot; \u2013AccountName &quot;&lt;\u30b9\u30c8\u30ec\u30fc\u30b8 \u30a2\u30ab\u30a6\u30f3\u30c8\u540d&gt;&quot; \u2013CustomDomainName &quot;&lt;\u30ab\u30b9\u30bf\u30e0 \u30c9\u30e1\u30a4\u30f3\u540d&gt;&quot;<\/pre>\n<p><font color=\"#666666\">\u3042\u3068\u306f\u3001DNS \u5074\u3067 CNAME \u3092\u8a2d\u5b9a\u3059\u308c\u3070 OK \u306a\u306e\u304b\u306a\u3068\u3044\u3046\u611f\u3058\u3002<br \/>\uff08\u601d\u3044\u7acb\u3063\u3066\u8abf\u3079\u3066\u307f\u305f\u3051\u3069\u3001\u7279\u306b\u30ab\u30b9\u30bf\u30e0 \u30c9\u30e1\u30a4\u30f3\u306b\u3059\u308b\u5fc5\u8981\u6027\u304c\u306a\u3044\u306e\u3067\u8a66\u3057\u3066\u306a\u3044\u3067\u3059\u3002\uff09<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azure \u4e0a\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u6574\u7406\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001ARM \u306e Storage \u306b\u30ab&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.syuheiuda.com\/?p=3575\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"","_original_post":""},"categories":[31],"tags":[],"views":2755,"_links":{"self":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts\/3575"}],"collection":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3575"}],"version-history":[{"count":4,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts\/3575\/revisions"}],"predecessor-version":[{"id":3590,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=\/wp\/v2\/posts\/3575\/revisions\/3590"}],"wp:attachment":[{"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.syuheiuda.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}