我有一个ARM(Azure资源管理器)脚本,用于创建包含主题和订阅者的Service总线。它工作了一段时间,但我决定启用主题会话并禁用分区。脚本已更改,在部署期间它给了我:
Template deployment returned the following errors:
07:56:00 - Resource Microsoft.ServiceBus/namespaces/topics 'ops-ServiceBus/default-topic' failed with message '{
"error": {
"message": "SubCode=40000. Partitioning cannot be changed for Topic. . TrackingId:<some_guid>_M11CH3_M11CH3_G1, SystemTracker:ops-servicebus.servicebus.windows.net:default-topic, Timestamp:2019-03-28T04:55:56 CorrelationId: <some_guid>",
"code": "BadRequest"
}
}'
07:56:21 - Template output evaluation skipped: at least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
是否可以使用ARM在Queue / Topic上执行更新操作?
我们使用arm模板配置了队列\主题,但根据错误 - 一些参数是不可变的,因此在这种情况下你必须重新创建。