【发布时间】:2020-04-26 06:23:35
【问题描述】:
"resources": [
{
"name": "[concat(parameters('eventGridTopicName'), '/Microsoft.EventGrid/', parameters('eventGridSubscriptionName'))]",
"type": "Microsoft.EventGrid/topics/providers/eventSubscriptions",
"location": "France central",
"apiVersion": "2018-01-01",
"properties": {
"destination": {
"endpointType": "StorageQueue",
"properties": {
"resourceId": "/subscriptions/57a94d8d-cece-4585-af8a-e0660dd3eeac/resourceGroups/APP-Integration-InterfaceEchange-RG/providers/Microsoft.Storage/storageAccounts/storageaccounttestinteg",
"queueName":"testqueueintg"
}
},
"filter": {
"advancedFilters": []
},
"labels": [],
"eventDeliverySchema": "EventGridSchema"
}
}
]
这是我部署事件订阅的资源,但我收到此错误:
|资源 Microsoft.EventGrid/topics/providers/eventSubscriptions | 'Eventtopictest-Integration/Microsoft.EventGrid/EventSubcriptiontest-Integration' 失败了
| message '{ "error": { "code": "InvalidRequest", "message": "无效的事件订阅 |请求:提供的 URL 无效。它不能为 null 或为空,并且应该是正确的 HTTPS URL,例如 | https://www.example.com。” } }'
【问题讨论】:
-
我认为您的某个参数有问题。你能说明这个 ARM 使用了哪些参数吗?前任。 eventGridTopicName, eventGridSubscriptionName.