Jim*_*m T 7 azure azure-functions azure-eventgrid
好的,非常基本 - 我似乎无法在 Azure 门户中创建对 Azure 事件网格主题的订阅。按照指南进行操作,表格中没有红色墨水(表示任何错误或我错过的任何内容),但“创建”按钮仍然保持灰色,对我越来越绝望的按下没有反应!
因此,在 Azure 门户上使用“创建事件订阅”表单...
显然缺少一些非常基本的东西,但表格没有给出任何关于它是什么的线索。
唯一的想法是:
我不知所措。我已经包含了高级编辑器中显示的尝试订阅的 json(如果这提供了任何线索)...
{
"name": "testeventsub",
"properties": {
"topic": "/subscriptions/xxxxxxxxxx/resourceGroups/DBProject/providers/Microsoft.EventGrid/topics/filings",
"destination": {
"endpointType": "AzureFunction",
"properties": {
"resourceId": "/subscriptions/xxxxxxxxxxx/resourceGroups/DBProject/providers/Microsoft.Web/sites/FilingTestEventTrigger1/functions/NewFilingTrigger1",
"maxEventsPerBatch": 1,
"preferredBatchSizeInKilobytes": 64
}
},
"filter": {
"advancedFilters": []
},
"labels": [],
"eventDeliverySchema": "EventGridSchema"
}
Run Code Online (Sandbox Code Playgroud)
}
1_1*_*1_1 10
我做了一个测试,我遇到的问题和你描述的一样:
我也面临Create按钮变灰的情况。event grid subscription仅当您尝试在服务下创建时才会出现此问题event grid topic。
但您可以直接在event grid subscription服务下创建事件网格订阅。
这是json我这边的格式:
{
"name": "0308bowman2",
"properties": {
"topic": "/subscriptions/xxxxxx/resourceGroups/testtopic/providers/Microsoft.EventGrid/Topics/testtopic",
"destination": {
"endpointType": "AzureFunction",
"properties": {
"resourceId": "/subscriptions/xxxxxx/resourceGroups/0730BowmanWindow/providers/Microsoft.Web/sites/0308bowman/functions/EventGridTrigger1",
"maxEventsPerBatch": 1,
"preferredBatchSizeInKilobytes": 64
}
},
"filter": {
"advancedFilters": []
},
"labels": [],
"eventDeliverySchema": "EventGridSchema"
}
}
Run Code Online (Sandbox Code Playgroud)
这可以创造成功,但我认为这还不够。如果我们看一下事件网格订阅和其他服务的集成模式,我们会发现我们需要提供事件类型和主题过滤器(我没有做类似的事情event topic&event subcription。但是以与其他服务的集成为例,我认为这是必要的.)。
因此,对于按钮变灰的问题Create,我认为这是azure Portal的前端bug,而这不是你的问题。
| 归档时间: |
|
| 查看次数: |
1601 次 |
| 最近记录: |