gpt4 book ai didi

azure - 事件订阅存储队列ARM模板

转载 作者:行者123 更新时间:2023-12-03 04:03:20 25 4
gpt4 key购买 nike

"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"
}
}
]

这是我部署事件订阅的资源,但我收到此错误:

| Resource Microsoft.EventGrid/topics/providers/eventSubscriptions | 'Eventtopictest-Integration/Microsoft.EventGrid/EventSubcriptiontest-Integration' failed with
| message '{ "error": { "code": "InvalidRequest", "message": "Invalid event subscription | request: Supplied URL is invalid. It cannot be null or empty and should be a proper HTTPS URL like | https://www.example.com." } }'

最佳答案

您正在使用2018-01-01 API version ,它不支持 StorageQueue 值。 There is support2019-01-01 及以后。

关于azure - 事件订阅存储队列ARM模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61150635/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com