You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-manage-cli.md
-278Lines changed: 0 additions & 278 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,281 +35,3 @@ For Azure CLI sample scripts for Azure Cache for Redis, see the following articl
35
35
>[!NOTE]
36
36
>The current article contained content about the Azure classic CLI, an older version of Azure CLI that is no longer available. The Azure classic CLI could be used only with the discontinued Azure classic deployment model.
37
37
38
-
<!--## Prerequisites
39
-
40
-
To create and manage Azure Cache for Redis instances using Azure classic CLI, you must complete the following steps.
41
-
42
-
* You must have an Azure account. If you don't have one, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a few moments.
43
-
* [Install the Azure classic CLI](/cli/azure/install-classic-cli).
44
-
* Connect your Azure CLI installation with a personal Azure account, or with a work or school Azure account, and sign in from the classic CLI using the `azure login` command.
45
-
* Before running any of the following commands, switch the classic CLI into Resource Manager mode by running the `azure config mode arm` command. For more information, see [Use the Azure classic CLI to manage Azure resources and resource groups](../azure-resource-manager/management/manage-resources-cli.md).
46
-
47
-
## Azure Cache for Redis properties
48
-
49
-
The following properties are used when creating and updating Azure Cache for Redis instances.
50
-
51
-
| Property | Switch | Description |
52
-
| --- | --- | --- |
53
-
| name |-n, --name |Name of the Azure Cache for Redis. |
54
-
| resource group |-g, --resource-group |Name of the Resource Group. |
55
-
| location |-l, --location |Location to create cache. |
56
-
| size |-z, --size |Size of the Azure Cache for Redis. Valid values: [C0, C1, C2, C3, C4, C5, C6, P1, P2, P3, P4] |
57
-
| sku |-x, --sku |Redis SKU. Should be one of: [Basic, Standard, Premium] |
58
-
| EnableNonSslPort |-e, --enable-non-ssl-port |EnableNonSslPort property of the Azure Cache for Redis. Add this flag if you want to enable the non-TLS/SSL Port for your cache |
59
-
| Redis Configuration |-c, --redis-configuration |Redis Configuration. Enter a JSON formatted string of configuration keys and values here. Format:"{"":"","":""}" |
60
-
| Redis Configuration |-f, --redis-configuration-file |Redis Configuration. Enter the path of a file containing configuration keys and values here. Format for the file entry: {"":"","":""} |
61
-
| Shard Count |-r, --shard-count |Number of Shards to create on a Premium Cluster Cache with clustering. |
62
-
| Virtual Network |-v, --virtual-network |When hosting your cache in a VNET, specifies the exact Resource Manager resource ID of the virtual network to deploy the Azure Cache for Redis in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1 |
63
-
| key type |-t, --key-type |Type of key to renew. Valid values: [Primary, Secondary] |
64
-
| StaticIP |-p, --static-ip \<static-ip\> |When hosting your cache in a VNET, specifies a unique IP address in the subnet for the cache. If not provided, one is chosen for you from the subnet. |
65
-
| Subnet |t, --subnet \<subnet\> |When hosting your cache in a VNET, specifies the name of the subnet in which to deploy the cache. |
66
-
| VirtualNetwork |-v, --virtual-network \<virtual-network\> |When hosting your cache in a VNET, specifies the exact Resource Manager resource ID of the virtual network to deploy the Azure Cache for Redis in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1 |
help: -n, --name <name> Name of the Azure Cache for Redis.
126
-
help: -g, --resource-group <resource-group> Name of the Resource Group
127
-
help: -l, --location <location> Location to create cache.
128
-
help: -z, --size <size> Size of the Azure Cache for Redis. Valid values: [C0, C1, C2, C3, C4, C5, C6, P1, P2, P3, P4]
129
-
help: -x, --sku <sku> Redis SKU. Should be one of : [Basic, Standard, Premium]
130
-
help: -e, --enable-non-ssl-port EnableNonSslPort property of the Azure Cache for Redis. Add this flag if you want to enable the non-TLS/SSL Port for your cache
131
-
help: -c, --redis-configuration <redis-configuration> Redis Configuration. Enter a JSON formatted string of configuration keys and values here. Format:"{"<key1>":"<value1>","<key2>":"<value2>"}"
132
-
help: -f, --redis-configuration-file <redisConfigurationFile> Redis Configuration. Enter the path of a file containing configuration keys and values here. Format for the file entry: {"<key1>":"<value1>","<key2>":"<value2>"}
133
-
help: -r, --shard-count <shard-count> Number of Shards to create on a Premium Cluster Cache
134
-
help: -v, --virtual-network <virtual-network> The exact ARM resource ID of the virtual network to deploy the Azure Cache for Redis in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1
135
-
help: -t, --subnet <subnet> Required when deploying an Azure Cache for Redis inside an existing Azure Virtual Network
136
-
help: -p, --static-ip <static-ip> Required when deploying an Azure Cache for Redis inside an existing Azure Virtual Network
137
-
help: -s, --subscription <id> the subscription identifier
138
-
help:
139
-
help: Current Mode: arm (Azure Resource Management)
140
-
```
141
-
142
-
## Delete an existing Azure Cache for Redis
143
-
144
-
To delete an Azure Cache for Redis, use the following command:
help: -n, --name <name> Name of the Azure Cache for Redis.
249
-
help: -g, --resource-group <resource-group> Name of the Resource Group
250
-
help: -c, --redis-configuration <redis-configuration> Redis Configuration. Enter a JSON formatted string of configuration keys and values here.
251
-
help: -f, --redis-configuration-file <redisConfigurationFile> Redis Configuration. Enter the path of a file containing configuration keys and values here.
252
-
help: -s, --subscription <subscription> the subscription identifier
253
-
help:
254
-
help: Current Mode: arm (Azure Resource Management)
255
-
```
256
-
257
-
## Renew the authentication key for an existing Azure Cache for Redis
258
-
259
-
To renew the authentication key for an existing Azure Cache for Redis, use the following command:
0 commit comments