json Skatteberegning Eventhub ARM模板
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Skatteberegning Eventhub ARM模板相关的知识,希望对你有一定的参考价值。
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"namespaceName": {
"type": "string",
"metadata": {
"description": "Name of the EventHub namespace, e.g. SkatteberegningEventhub"
}
},
"eventHubName": {
"type": "string",
"metadata": {
"description": "Name of the Event Hub, e.g. FnrStream"
}
},
"consumerGroupName": {
"type": "string",
"metadata": {
"description": "Name of the new consumer group to create in addition to $default"
}
}
},
"variables": {
"defaultSASKeyName": "RootManageSharedAccessKey",
"authRuleResourceId": "[resourceId('Microsoft.EventHub/namespaces/authorizationRules', parameters('namespaceName'), variables('defaultSASKeyName'))]",
"ehVersion": "2017-04-01"
},
"resources": [
{
"apiVersion": "2017-04-01",
"name": "[parameters('namespaceName')]",
"type": "Microsoft.EventHub/Namespaces",
"location": "[resourceGroup().location]",
"sku": {
"name": "Standard"
},
"properties": {
"isAutoInflateEnabled": "true",
"maximumThroughputUnits": "20"
},
"resources": [
{
"apiVersion": "2017-04-01",
"name": "[parameters('eventHubName')]",
"type": "EventHubs",
"dependsOn": [
"[concat('Microsoft.EventHub/namespaces/', parameters('namespaceName'))]"
],
"properties": {
"messageRetentionInDays": "7",
"partitionCount": "4"
},
"resources": [
{
"apiVersion": "2017-04-01",
"name": "[parameters('consumerGroupName')]",
"type": "ConsumerGroups",
"dependsOn": [
"[parameters('eventHubName')]"
],
"properties": {
"userMetadata": "This is a Test Metadata"
}
}
]
}
]
}
],
"outputs": {
"NamespaceConnectionString": {
"type": "string",
"value": "[listkeys(variables('authRuleResourceId'), variables('ehVersion')).primaryConnectionString]"
},
"SharedAccessPolicyPrimaryKey": {
"type": "string",
"value": "[listkeys(variables('authRuleResourceId'), variables('ehVersion')).primaryKey]"
}
}
}
以上是关于json Skatteberegning Eventhub ARM模板的主要内容,如果未能解决你的问题,请参考以下文章
Redshift:从 s3 复制命令 Json 数据
CSS 选择器 :nth-child(even) 与 jQuery( ":even" )
CodeIgniter 在 JSON 响应中返回 HTML
.is(':even') 不适用于变量选择器?
Codeforces Round #616(Div.2) Even But Not Even
English - even though和even if用法解析