我已经为主题类型' Azure订阅'创建了大约12个eventgrid订阅。自2018年5月30日以来,无法在Azure门户中看到任何这些内容。
我可以在azure cli中看到这个列表(参见截图list_shown_in_cli) 但在GUI中看不到相同的内容(请参阅屏幕截图list_not_shown_in_gui)。
此外,我也无法创建新的订阅。在尝试创建新的eventgrid订阅时,我在浏览器的开发者控制台中发现了javascript错误(请参阅屏幕截图error_creating_eventgrid_subscription)。
答案 0 :(得分:0)
所有支持的主题类型的列表:
{
"value": [
{
"properties": {
"provider": "Microsoft.Eventhub",
"displayName": "Event Hubs Namespaces",
"description": "Microsoft Event Hubs service events.",
"resourceRegionType": "RegionalResource",
"provisioningState": "Succeeded",
"supportedLocations": [
"West US 2",
"West Central US",
"East US 2 EUAP",
"East US",
"West US",
"Central US",
"East US 2",
"West Europe",
"North Europe",
"Southeast Asia",
"East Asia",
"Japan East",
"Japan West",
"Australia East",
"Australia Southeast"
]
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces",
"name": "Microsoft.Eventhub.Namespaces",
"type": "Microsoft.EventGrid/topicTypes"
},
{
"properties": {
"provider": "Microsoft.Storage",
"displayName": "Storage Accounts",
"description": "Microsoft Storage service events.",
"resourceRegionType": "RegionalResource",
"provisioningState": "Succeeded",
"supportedLocations": [
"West US 2",
"West Central US",
"East US 2 EUAP",
"East US",
"West US",
"Central US",
"East US 2",
"West Europe",
"North Europe",
"Southeast Asia",
"East Asia",
"Japan East",
"Japan West",
"Australia East",
"Australia Southeast"
]
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts",
"name": "Microsoft.Storage.StorageAccounts",
"type": "Microsoft.EventGrid/topicTypes"
},
{
"properties": {
"provider": "Microsoft.Resources",
"displayName": "Azure Subscriptions",
"description": "Resource management events under an Azure subscription",
"resourceRegionType": "GlobalResource",
"provisioningState": "Succeeded",
"supportedLocations": []
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Resources.Subscriptions",
"name": "Microsoft.Resources.Subscriptions",
"type": "Microsoft.EventGrid/topicTypes"
},
{
"properties": {
"provider": "Microsoft.Resources",
"displayName": "Resource Groups",
"description": "Resource management events under a resource group.",
"resourceRegionType": "GlobalResource",
"provisioningState": "Succeeded",
"supportedLocations": []
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Resources.ResourceGroups",
"name": "Microsoft.Resources.ResourceGroups",
"type": "Microsoft.EventGrid/topicTypes"
},
{
"properties": {
"provider": "Microsoft.Devices",
"displayName": "Azure IoT Hub Accounts",
"description": "Azure IoT Hub service events",
"resourceRegionType": "RegionalResource",
"provisioningState": "Succeeded",
"supportedLocations": [
"West US 2",
"West Central US",
"East US",
"West US",
"Central US",
"East US 2",
"West Europe",
"North Europe",
"Southeast Asia",
"East Asia",
"Japan East",
"Japan West",
"Australia East",
"Australia Southeast"
]
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Devices.IoTHubs",
"name": "Microsoft.Devices.IoTHubs",
"type": "Microsoft.EventGrid/topicTypes"
},
{
"properties": {
"provider": "Microsoft.EventGrid",
"displayName": "Event Grid Topics",
"description": "Custom events via Event Grid Topics",
"resourceRegionType": "RegionalResource",
"provisioningState": "Succeeded",
"supportedLocations": [
"West US 2",
"West Central US",
"East US 2 EUAP",
"East US",
"West US",
"Central US",
"East US 2",
"West Europe",
"North Europe",
"Southeast Asia",
"East Asia",
"Japan East",
"Japan West",
"Australia East",
"Australia Southeast"
]
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.EventGrid.Topics",
"name": "Microsoft.EventGrid.Topics",
"type": "Microsoft.EventGrid/topicTypes"
},
{
"properties": {
"provider": "Microsoft.ServiceBus",
"displayName": "Service Bus Namespaces",
"description": "Service Bus events",
"resourceRegionType": "RegionalResource",
"provisioningState": "Succeeded",
"supportedLocations": [
"West US 2",
"West Central US",
"East US 2 EUAP",
"East US",
"West US",
"Central US",
"East US 2",
"West Europe",
"North Europe",
"Southeast Asia",
"East Asia",
"Japan East",
"Japan West",
"Australia East",
"Australia Southeast"
]
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.ServiceBus.Namespaces",
"name": "Microsoft.ServiceBus.Namespaces",
"type": "Microsoft.EventGrid/topicTypes"
},
{
"properties": {
"provider": "Microsoft.Media",
"displayName": "Microsoft Azure Media Services",
"description": "Microsoft Azure Media Services events",
"resourceRegionType": "RegionalResource",
"provisioningState": "Succeeded",
"supportedLocations": [
"West US 2",
"West US",
"West Europe",
"West Central US",
"Southeast Asia",
"North Europe",
"East US",
"East US 2",
"Central US",
"East Asia"
]
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Media.MediaServices",
"name": "Microsoft.Media.MediaServices",
"type": "Microsoft.EventGrid/topicTypes"
}
]
}
答案 1 :(得分:0)
您的错误似乎无效RG - 您确定您尝试订阅的资源组和/或资源是否有效?
它也可能是您尝试收听的无效资源类型。像Container Registry这样的东西尚不支持。可以在此处找到支持的源的完整列表:https://docs.microsoft.com/en-us/azure/event-grid/event-sources
确保您的订阅仍然有效并且有效的第一个测试是通过AZ CLI 2.0搜索它们
。您可以在CloudShell中打开它或下载到本地客户端,然后运行az eventgrid event-subscription list
。