简体   繁体   English

在资源管理器中为Azure Blob存储设置自定义域(新门户)

[英]Set custom domain for Azure Blob Storage in Resource Manager (new portal)

I created an Azure Storage account using the Resource Manager model (the new portal), and now I'd like to configure a custom domain for blob storage. 我使用资源管理器模型(新门户)创建了一个Azure存储帐户,现在我想为blob存储配置一个自定义域。 The documentation says to do this using the old portal (for Classic accounts), but my storage account doesn't show up there (because it's a Resource Manager account and not a Classic account). 文档说使用旧门户(对于经典帐户)执行此操作,但我的存储帐户没有显示(因为它是资源管理器帐户而不是经典帐户)。 The new portal also doesn't provide a way for me to set the custom domain; 新门户网站也没有为我提供设置自定义域的方法; it just points me to the storage page on the old portal. 它只是指向旧门户网站上的存储页面。

Any idea how I can set a custom domain for blob storage? 知道如何为blob存储设置自定义域吗?

As of writing, the feature is not yet available in the preview portal for Azure Blob Storage in resource manager. 在编写时,资源管理器中Azure Blob存储的预览门户中尚未提供该功能。

However, the corresponding setting is located under 但是,相应的设置位于下方

Your Storage Account >> Services >> Blobs >> Settings >> Custom domains 您的存储帐户>>服务>> Blob >>设置>>自定义域

If you want to do it using Azure PowerShell, here is the syntax 如果要使用Azure PowerShell执行此操作,请使用以下语法

Set-AzureRmStorageAccount -ResourceGroupName "MyResourceGroup" -AccountName "mystorageaccount" -CustomDomainName "www.domainname.com" -UseSubDomain $True

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM