我创建了一个如下所示的EventGrid主题,但选择了错误的位置:az eventgrid topic create --name esales -l eastus -g mylaketest
然后我注意到我选择了错误的位置,所以我尝试使用以下命令删除主题:az eventgrid topic delete --name esales -g mylaketest
如果输入以下命令:az eventgrid topic list
我得到了这样的回应:[]
所以我假设这个主题已经被删除了,如果我更正我的初始命令并再次输入它,这一次是在不同的位置:az eventgrid topic create --name esales -l westeurope -g mylaketest
我得到了这样的回应:(ResourceConflict) Topic with name esales already exists. Choose a different topic name. For more troubleshooting information, please refer to https://aka.ms/EventGridTroubleshooting . Code: ResourceConflict Message: Topic with name esales already exists. Choose a different topic name. For more troubleshooting information, please refer to https://aka.ms/EventGridTroubleshooting .
看起来我需要删除其他内容,或者我错过了什么?
1条答案
按热度按时间hkmswyz61#
验证以下内容:
az eventgrid topic create -l EastUs
:az eventgrid topic delete
:az eventgrid topic list
:az eventgrid topic create -l westus2
:参考MSDoc