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.

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). If provided, no other 'Resource Id' arguments should be specified.

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

--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]
[--resource-group]
[--subscription]

Required Parameters

--rule-name

The name of the firewall rule.

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--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 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). If provided, no other 'Resource Id' arguments should be specified.

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