az redis firewall-rules

Manage Redis firewall rules.

Commands

az redis firewall-rules create

Create a redis cache firewall rule.

az redis firewall-rules delete

Deletes a single firewall rule in a specified redis cache.

az redis firewall-rules list

Gets all firewall rules in the specified redis cache.

az redis firewall-rules show

Gets a single firewall rule in a specified redis cache.

az redis firewall-rules update

Update a redis cache firewall rule.

az redis firewall-rules create

Create a redis cache firewall rule.

Usage example - az redis firewall-rules create --name testCacheName --resource-group testResourceGroup --start-ip 10.10.10.10 --end-ip 20.20.20.20 --rule-name 10to20.

az redis firewall-rules create --end-ip
                               --name
                               --resource-group
                               --rule-name
                               --start-ip
                               [--subscription]

Required Parameters

--end-ip

Highest IP address included in the range.

--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>.

--rule-name

The name of the firewall rule.

--start-ip

Lowest IP address included in the range.

Optional Parameters

--subscription

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

az redis firewall-rules delete

Deletes a single firewall rule in a specified redis cache.

az redis firewall-rules delete --rule-name
                               [--ids]
                               [--name]
                               [--resource-group]
                               [--subscription]

Required Parameters

--rule-name

The name of the firewall rule.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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.

az redis firewall-rules list

Gets all firewall rules in the specified redis cache.

az redis firewall-rules list --name
                             --resource-group
                             [--query-examples]
                             [--subscription]

Required Parameters

--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>.

Optional Parameters

--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.

az redis firewall-rules show

Gets a single firewall rule in a specified redis cache.

az redis firewall-rules show --rule-name
                             [--ids]
                             [--name]
                             [--query-examples]
                             [--resource-group]
                             [--subscription]

Required Parameters

--rule-name

The name of the firewall rule.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the Redis cache.

--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.

--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.

az redis firewall-rules update

Update a redis cache firewall rule.

az redis firewall-rules update --end-ip
                               --rule-name
                               --start-ip
                               [--ids]
                               [--name]
                               [--resource-group]
                               [--subscription]

Required Parameters

--end-ip

Highest IP address included in the range.

--rule-name

The name of the firewall rule.

--start-ip

Lowest IP address included in the range.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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.