"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 /主题/提供者/事件订阅 | 'Eventtopictest-Integration / Microsoft.EventGrid / EventSubcriptiontest-Integration' 失败,
|消息'{“错误”:{“代码”:“ InvalidRequest”,“消息”:“无效的事件订阅 |要求:提供的网址无效。它不能为null或为空,并且应该是正确的HTTPS URL,例如 | https://www.example.com。“}}'