设置自定义域使用Azure的PowerShell中存储帐户 [英] Set a custom domain for a storage account using Azure Powershell

查看:183
本文介绍了设置自定义域使用Azure的PowerShell中存储帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能设立的Azure使用PowerShell中的Azure资源管理器(ARM)存储帐户的自定义域?如果是这样,怎么样?

Is it possible to set up a custom domain for a Azure Resource Manager (ARM) storage account using Azure Powershell? If so, how?

我试图建立通过Azure的preVIEW门户网站的自定义域,但该功能尚不存在的新的资源管理器的存储帐户。

I tried to set up a custom domain through the Azure Preview Web Portal but that functionality does not yet exist for the new resource manager storage accounts.

使用此文档,我能够登录并看看我的新RM存储帐户的属性,但我不确定如何更新 CustomDomain 属性。我希望能够找到这如何与旧的存储帐户合作为例/文档,但我还没有发现任何东西。

Using this documentation, I am able to login and see the properties of my new RM storage account, but I am unsure how to update the CustomDomain property. I expected to find an example/documentation of how this worked with the old storage accounts, but I have not found anything.

推荐答案

我发现,对我们工作的解决方案。您可以使用设置AzureRmStorageAccount 命令来对现有存储组设置属性。不知道我怎么错过了这一个。

I have found a solution that worked for us. You can use the Set-AzureRmStorageAccount command to set properties on an existing storage group. Not sure how I missed this one.

Set-AzureRmStorageAccount -ResourceGroupName "<YOUR RESOURCE GROUPNAME>" -Name "<YOUR STORAGE ACCOUNT NAME>" -CustomDomainName <YOUR.CUSTOM.DOMAIN> -UseSubDomain $true

这篇关于设置自定义域使用Azure的PowerShell中存储帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆