az redis server-link

Manage Redis server links.

Commands

az redis server-link create

Adds a server link to the Redis cache (requires Premium SKU).

az redis server-link delete

Deletes the linked server from a redis cache (requires Premium SKU).

az redis server-link list

Gets the list of linked servers associated with this redis cache (requires Premium SKU).

az redis server-link show

Gets the detailed information about a linked server of a redis cache (requires Premium SKU).

Adds a server link to the Redis cache (requires Premium SKU).

Usage example - az redis server-link create --name testCacheName --resource-group testResourceGroup --cache-to-link secondTestCacheName --replication-role Secondary.

az redis server-link create --name
                            --replication-role {Primary, Secondary}
                            --resource-group
                            --server-to-link
                            [--subscription]
--name -n

Name of the Redis cache.

--replication-role

Role of the redis cache to be linked.

accepted values: Primary, Secondary
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--server-to-link

Resource ID or name of the redis cache to be linked.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Deletes the linked server from a redis cache (requires Premium SKU).

az redis server-link delete --linked-server-name
                            --name
                            --resource-group
                            [--subscription]
--linked-server-name

Name of the linked redis cache.

--name -n

Name of the Redis cache.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Gets the list of linked servers associated with this redis cache (requires Premium SKU).

az redis server-link list --name
                          --resource-group
                          [--query-examples]
                          [--subscription]
--name -n

Name of the Redis cache.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Gets the detailed information about a linked server of a redis cache (requires Premium SKU).

az redis server-link show --linked-server-name
                          --name
                          --resource-group
                          [--query-examples]
                          [--subscription]
--linked-server-name

Name of the linked redis cache.

--name -n

Name of the Redis cache.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.