gpt4 book ai didi

.net - 通过代码将域添加到 Azure 网站

转载 作者:行者123 更新时间:2023-12-01 01:05:52 24 4
gpt4 key购买 nike

如何以编程方式将其他域名添加到 Azure 网站?

希望有我错过的 .NET API,可能在 Azure SDK 或 NuGet 包中。或者也许有一个 REST 接口(interface)。

最佳答案

Windows Azure 网站管理 REST API 应该提供您正在寻找的功能。

楼盘 Site.HostNames Windows Azure 网站的属性可用于提供额外的域名。这些属性可以在网站创建期间或更新时提供。

另请注意 Configuring a custom domain name for a Windows Azure web site 上的一般信息.您还必须以编程方式将验证条目添加到您的 DNS。

我不确定网站管理 API 是否有任何包装 SDKs/libs/powershell commandlet。

关于.net - 通过代码将域添加到 Azure 网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18730806/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com