update params
updated params to ask for workspaceid and key and pass in api connection
This commit is contained in:
Родитель
4f941cef2e
Коммит
ea00d85529
|
@ -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')]"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче