provider/azurerm: Updating the Redis Documentation (#13893)

* Updating the Redis documentation to better match the Azure docs

* Updating the docs to use a C2 instance, to make it clearer
This commit is contained in:
Tom Harvey 2017-04-24 15:22:51 +01:00 committed by GitHub
parent 4239c6a441
commit 9b5055112a
1 changed files with 6 additions and 4 deletions

View File

@ -45,7 +45,7 @@ resource "azurerm_redis_cache" "test" {
name = "test"
location = "${azurerm_resource_group.test.location}"
resource_group_name = "${azurerm_resource_group.test.name}"
capacity = 1
capacity = 2
family = "C"
sku_name = "Standard"
enable_non_ssl_port = false
@ -95,9 +95,11 @@ The following arguments are supported:
* `resource_group_name` - (Required) The name of the resource group in which to
create the Redis instance.
* `capacity` - (Required) This corresponds to the size of the Redis instance you wish to use (e.g. a C0 would be 0, P3 would be 3 etc).
* `capacity` - (Required) The size of the Redis cache to deploy. Valid values for a SKU `family` of C (Basic/Standard) are `0, 1, 2, 3, 4, 5, 6`, and for P (Premium) `family` are `1, 2, 3, 4`.
* `family` - (Required) The pricing group for the Redis Family - either "C" or "P" at present.
* `family` - (Required) The SKU family to use. Valid values are `C` and `P`, where C = Basic/Standard, P = Premium.
The pricing group for the Redis Family - either "C" or "P" at present.
* `sku_name` - (Required) The SKU of Redis to use - can be either Basic, Standard or Premium.
@ -110,7 +112,7 @@ The following arguments are supported:
```hcl
redis_configuration {
maxclients = "512"
maxmemory_reserve" = "10"
maxmemory_reserve = "10"
maxmemory_delta = "2"
maxmemory_policy = "allkeys-lru"
}