Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.68k stars 5.1k forks source link

Azure Redis Spec missing `aof-backup-enabled` from redisConfiguration. #19321

Open rshade opened 2 years ago

rshade commented 2 years ago

The Azure Redis spec here: https://github.com/Azure/azure-rest-api-specs/blob/23d896b00311e101dbbd6fea04c9ae9f0006be92/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/redis.json#L1823 is missing aof-backup-enabled. You can not enable AOF without it. Its an available option in the ARM Template below:

{
    "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {},
    "resources": [
        {
            "name": "cach16",
            "type": "Microsoft.Cache/redis",
            "apiVersion": "2021-06-01",
            "location": "eastus",
            "dependsOn": [],
            "properties": {
                "sku": {
                    "name": "Premium",
                    "family": "P",
                    "capacity": 1
                },
                "redisConfiguration": {
                    "aof-backup-enabled": "true",
                    "aof-storage-connection-string-0": "[concat('DefaultEndpointsProtocol=https;AccountName=sa175538bf;BlobEndpoint=https://sa175538bf.blob.core.windows.net/;AccountKey=', listKeys('/subscriptions/SUBSCRIPTIONID/resourceGroups/resource_group83501aec/providers/Microsoft.Storage/storageAccounts/sa175538bf', '2015-06-15').key1)]",
                    "aof-storage-connection-string-1": "[concat('DefaultEndpointsProtocol=https;AccountName=sa175538bf;BlobEndpoint=https://sa175538bf.blob.core.windows.net/;AccountKey=', listKeys('/subscriptions/SUBSCRIPTIONID/resourceGroups/resource_group83501aec/providers/Microsoft.Storage/storageAccounts/sa175538bf', '2015-06-15').key1)]",
                    "preferred-data-persistence-auth-method": "sas"
                },
                "enableNonSslPort": false,
                "redisVersion": "6"
            },
            "tags": {}
        }
    ]
}
OracPrime commented 2 years ago

If anyone is in this area, can they also add the missing notify-keyspace-events property?