Azure 事件订阅存储队列ARM模板
这是我的资源,无法部署事件订阅,但出现以下错误: |资源Microsoft.EventGrid/topics/providers/eventSubscriptions |'Eventtopictest集成/Microsoft.EventGrid/EventSubcriptiontest集成' 失败,错误为Azure 事件订阅存储队列ARM模板,azure,templates,arm,Azure,Templates,Arm,这是我的资源,无法部署事件订阅,但出现以下错误: |资源Microsoft.EventGrid/topics/providers/eventSubscriptions |'Eventtopictest集成/Microsoft.EventGrid/EventSubcriptiontest集成' 失败,错误为 |消息“{”错误“{”代码“:“InvalidRequest”,“消息“:“无效事件订阅” |请求:提供的URL无效。它不能为null或空,并且应该是正确的HTTPS URL,如 |.“}}”
|消息“{”错误“{”代码“:“InvalidRequest”,“消息“:“无效事件订阅” |请求:提供的URL无效。它不能为null或空,并且应该是正确的HTTPS URL,如 |.“}}”
您使用的是
2018-01-01
,它不支持StorageQueue
值。
从2019-01-01及以后。您使用的是不支持
StorageQueue
值的2018-01-01
。
从
2019-01-01
及以后。我相信您的一个参数有问题。你能展示一下这个手臂使用了什么参数吗?eventGridTopicName,eventGridSubscriptionName。我相信您的一个参数有问题。你能展示一下这个手臂使用了什么参数吗?例如,eventGridTopicName、eventGridSubscriptionName。
"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"
}
}
]