Merge pull request #10609 from talhers/upgrade-va-storage

Upgraded storage creation in Vulnerability Assessment auto enablement…
This commit is contained in:
Yabo Hu 2019-11-27 15:04:33 +08:00 коммит произвёл GitHub
Родитель 2a11f899dd c495520783
Коммит fc1d01e50a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 27 добавлений и 22 удалений

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

@ -21,18 +21,20 @@
"storageName": "[tolower(concat('sqlva', variables('uniqueStorage')))]",
},
"resources": [
{
"condition": "[parameters('enableVa')]",
"type": "Microsoft.Storage/storageAccounts",
"name": "[variables('storageName')]",
"apiVersion": "2016-01-01",
"location": "[parameters('location')]",
"sku": {
"name": "Standard_LRS",
},
"kind": "Storage",
"properties": {},
{
"condition": "[parameters('enableVa')]",
"type": "Microsoft.Storage/storageAccounts",
"name": "[variables('storageName')]",
"apiVersion": "2019-04-01",
"location": "[parameters('location')]",
"sku": {
"name": "Standard_LRS",
},
"kind": "StorageV2",
"properties": {
"supportsHttpsTrafficOnly": true
}
},
{
"condition": "[parameters('enableVa')]",
"type": "Microsoft.Sql/managedInstances/vulnerabilityAssessments",

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

@ -21,18 +21,20 @@
"storageName": "[tolower(concat('sqlva', variables('uniqueStorage')))]",
},
"resources": [
{
"condition": "[parameters('enableVa')]",
"type": "Microsoft.Storage/storageAccounts",
"name": "[variables('storageName')]",
"apiVersion": "2016-01-01",
"location": "[parameters('location')]",
"sku": {
"name": "Standard_LRS",
},
"kind": "Storage",
"properties": {},
{
"condition": "[parameters('enableVa')]",
"type": "Microsoft.Storage/storageAccounts",
"name": "[variables('storageName')]",
"apiVersion": "2019-04-01",
"location": "[parameters('location')]",
"sku": {
"name": "Standard_LRS",
},
"kind": "StorageV2",
"properties": {
"supportsHttpsTrafficOnly": true
}
},
{
"condition": "[parameters('enableVa')]",
"type": "Microsoft.Sql/servers/vulnerabilityAssessments",

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

@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Upgraded storage creation in Vulnerability Assessment auto enablement to StorageV2
## Version 2.1.0
* Added support for database ReadReplicaCount.