updated params to ask for workspaceid and key and pass in api connection
This commit is contained in:
swiftsolves-msft 2020-05-15 12:47:15 -04:00
Родитель 4f941cef2e
Коммит ea00d85529
1 изменённых файлов: 12 добавлений и 4 удалений

Просмотреть файл

@ -10,9 +10,13 @@
"defaultValue": "Ingest-Prisma",
"type": "String"
},
"UserName": {
"defaultValue": "<username>@<domain>",
"WorkspaceID": {
"defaultValue": "your-workspaceID",
"type": "string"
},
"WorkspaceKey": {
"defaultValue": "your-workspaceKey",
"type": "securestring"
}
},
"variables": {
@ -25,11 +29,15 @@
"name": "[variables('azureloganalyticsdatacollectorConnectionName')]",
"location": "[resourceGroup().location]",
"properties": {
"displayName": "[parameters('UserName')]",
"displayName": "IngestPrismaData",
"customParameterValues": {},
"api": {
"id": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/azureloganalyticsdatacollector')]"
}
},
"parameterValues": {
"username": "[parameters('workspaceId')]",
"password": "[parameters('workspaceKey')]"
}
}
},
{