如何从webapp中删除流量管理器域名? [英] How to remove traffic manager domain name from a webapp?

查看:81
本文介绍了如何从webapp中删除流量管理器域名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我添加了一个TM并在WebApp中添加了TM的域名。现在我已经删除了TM,我无法删除WebApp中自定义域下的TM域名。 


我甚至尝试过以下API调用,但得到了

 DELETE  https://management.azure.com/subscriptions/ {subscriptionId} / resourceGroups / {resourceGroupName} /providers/Microsoft.Web/sites/ { name} / hostNameBindings / {hostName}?api-version = 2016-08-01 

但得到以下错误

 {
" Code":" BadRequest",
" Message":"流量管理器域(tm - * .trafficmanager.net)只能通过以下方式删除交通管理员。",
" Target":null,
" Details":[

我看不到任何选项交通管理员也将其删除。我只能删除添加的基于SNI的自定义域名,而不是像trafficmanager.net等那样来自Azure的域名。


任何帮助都将不胜感激。


谢谢&此致,以
Sundar。

解决方案

您可以尝试转到您的Traffic Manager个人资料  blade>  设置 >点击您要停用的终端>然后在端点 刀片上,点击编辑并将端点状态
更改为已启用,然后点击 保存。如果问题仍然存在,请告诉我。


您可以参考以下链接: https://docs.microsoft.com/en-us/azure/traffic-manager/交通管理器管理的的端点


Hi,

I have added a TM and added the TM's Domain name in the WebApp. Now that I have removed the TM, I am unable to remove the TM's Domain name under custom domain in the WebApp. 

I even tried the below API call, but got

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}?api-version=2016-08-01

But got below error

{
  "Code": "BadRequest",
  "Message": "The traffic manager domain (tm-*.trafficmanager.net) can be removed only through the Traffic Manager.",
  "Target": null,
  "Details": [

I do not see any option in the Traffic manager as well to remove it. I can only remove the SNI based custom domain names that was added and not the ones from Azure like trafficmanager.net, etc.

Any help would be appreciated.

Thanks & Regards,
Sundar.

解决方案

You could try going to your Traffic Manager profile blade>  Settings > click Endpoints you want to disable> and then on the Endpoint blade, click Edit and change the endpoint status to Enabled, and then click Save. Let me know if issue persists.

You may refer to below link: https://docs.microsoft.com/en-us/azure/traffic-manager/traffic-manager-manage-endpoints


这篇关于如何从webapp中删除流量管理器域名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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