Azure Service Busのネームスペース、トピック、サブスクリプションを作成/管理してすべてのメッセージを受信するAzure ARMテンプレートをセットアップする方法を知ることができました。ただし、MicrosoftのドキュメントではARMテンポラリでは非常に不足しており、.NET SDKを使用して管理できるテンプレート内のサブスクリプションに対してSqlFilterを定義する方法を理解することはできません。Azure ARMテンプレートを使用して、Sqlフィルタを使用したサービスバストピックサブスクリプションを作成しますか?
ARMテンプレート内のサービスバストピックサブスクリプションにSQLフィルタを追加する方法を知っている人はいますか?
ここでSQLのフィルターなしでサービスバストピックおよびサブスクリプションを作成するための私が持っているARMテンプレートへのリンクです:
:また、ここで私が参照してるARMテンプレートのソースはです
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"serviceBusNamespaceName": {
"type": "string",
"metadata": {
"description": "Name of the Service Bus Namespace"
}
},
"serviceBusTopicName": {
"type": "string",
"metadata": {
"description": "Name of the Service Bus Topic"
}
},
"serviceBusTopicSubscriptionName": {
"type": "string",
"metadata": {
"description": "Name of the Service Bus Topic Subscription"
}
}
},
"variables": {
"sbVersion": "2015-08-01"
},
"resources": [
{
"apiVersion": "[variables('sbVersion')]",
"name": "[parameters('serviceBusNamespaceName')]",
"type": "Microsoft.ServiceBus/namespaces",
"location": "[resourceGroup().location]",
"properties": {
},
"resources": [
{
"apiVersion": "[variables('sbVersion')]",
"name": "[parameters('serviceBusTopicName')]",
"type": "Topics",
"dependsOn": [
"[concat('Microsoft.ServiceBus/namespaces/', parameters('serviceBusNamespaceName'))]"
],
"properties": {
"path": "[parameters('serviceBusTopicName')]"
},
"resources": [
{
"apiVersion": "[variables('sbVersion')]",
"name": "[parameters('serviceBusTopicSubscriptionName')]",
"type": "Subscriptions",
"dependsOn": [
"[parameters('serviceBusTopicName')]"
],
"properties": {
},
"resources": [
]
}
]
}
]
}
],
"outputs": {
}
}
ええ、それは私の知る限り...あまりにもこの上 –