你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithCustomDomain.WithCustomDomain 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithCustomDomain(CustomDomain) |
指定分配给存储帐户的用户域。 |
WithCustomDomain(String) |
指定分配给存储帐户的用户域。 |
WithCustomDomain(String, Boolean) |
指定分配给存储帐户的用户域。 |
WithCustomDomain(CustomDomain)
指定分配给存储帐户的用户域。
public Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Update.IUpdate WithCustomDomain (Microsoft.Azure.Management.Storage.Fluent.Models.CustomDomain customDomain);
abstract member WithCustomDomain : Microsoft.Azure.Management.Storage.Fluent.Models.CustomDomain -> Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Update.IUpdate
Public Function WithCustomDomain (customDomain As CustomDomain) As IUpdate
参数
- customDomain
- CustomDomain
分配给存储帐户的用户域。
返回
适用于
WithCustomDomain(String)
指定分配给存储帐户的用户域。
public Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Update.IUpdate WithCustomDomain (string name);
abstract member WithCustomDomain : string -> Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Update.IUpdate
Public Function WithCustomDomain (name As String) As IUpdate
参数
- name
- String
自定义域名,即 CNAME 源。
返回
适用于
WithCustomDomain(String, Boolean)
指定分配给存储帐户的用户域。
public Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Update.IUpdate WithCustomDomain (string name, bool useSubDomain);
abstract member WithCustomDomain : string * bool -> Microsoft.Azure.Management.Storage.Fluent.StorageAccount.Update.IUpdate
Public Function WithCustomDomain (name As String, useSubDomain As Boolean) As IUpdate
参数
- name
- String
自定义域名,即 CNAME 源。
- useSubDomain
- Boolean
是否启用间接 CName 验证。