зеркало из
1
0
Форкнуть 0

Merge pull request #14 from mspnp/andrew/ext-settings

Add support for protectedSettings on VM extensions
This commit is contained in:
Rohit Sharma 2016-08-30 12:48:46 -07:00 коммит произвёл GitHub
Родитель 004446388b f251453a43
Коммит 98b3fd9b54
4 изменённых файлов: 15 добавлений и 10 удалений

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

@ -82,7 +82,8 @@
"Paths": "c:\\test",
"Processes": "test.exe"
}
}
},
"protectedSettingsConfig": { }
},
{
"name": "malware",
@ -92,7 +93,8 @@
"autoUpgradeMinorVersion": true,
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"settingsConfig": {
}
},
"protectedSettingsConfig": { }
}
],

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

@ -33,7 +33,8 @@
"Paths": "c:\\test",
"Processes": "test.exe"
}
}
},
"protectedSettingsConfig": { }
},
{
"name": "malware",
@ -43,7 +44,8 @@
"autoUpgradeMinorVersion": true,
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"settingsConfig": {
}
},
"protectedSettingsConfig": { }
}
]
},
@ -55,8 +57,8 @@
"publisher": "Microsoft.Azure.Security",
"type": "IaaSAntimalware",
"typeHandlerVersion": "1.3",
"settingsMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"properties": {
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"settingsConfig": {
"AntimalwareEnabled": true,
"RealtimeProtectionEnabled": "false",
"ScheduledScanSettings": {
@ -70,7 +72,8 @@
"Paths": "c:\\test",
"Processes": "test.exe"
}
}
},
"protectedSettingsConfig": { }
}
]
}

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

@ -8,8 +8,8 @@
},
"variables": {
"instance": {
"settings": "[parameters('source')]",
"protectedSettings": { }
"settings": "[parameters('source').settingsConfig]",
"protectedSettings": "[parameters('source').protectedSettingsConfig]"
}
},

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

@ -33,7 +33,7 @@
"parentTemplateUniqueString": "[concat(variables('templateUniqueString'), '-setting', parameters('iteration'))]"
}
},
"source": { "value": "[parameters('source').settingsConfig]" },
"source": { "value": "[parameters('source')]" },
"context": { "value": "[parameters('context')]" }
}
}