az cache

Commands to manage CLI objects cached using the --defer argument.

Commands

az cache delete Delete an object from the cache.
az cache list List the contents of the object cache.
az cache purge Clear the entire CLI object cache.
az cache show Show the contents of a specific object in the cache.

az cache delete

Delete an object from the cache.

az cache delete --name
--resource-group
--resource-type
[--subscription]

Required Parameters

--name -n

The resource name.

--resource-group -g

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

--resource-type -t

The resource type.

Optional Parameters

--subscription

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

az cache list

List the contents of the object cache.

az cache list [--subscription]

Optional Parameters

--subscription

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

az cache purge

Clear the entire CLI object cache.

az cache purge [--subscription]

Optional Parameters

--subscription

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

az cache show

Show the contents of a specific object in the cache.

az cache show --name
--resource-group
--resource-type
[--subscription]

Required Parameters

--name -n

The resource name.

--resource-group -g

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

--resource-type -t

The resource type.

Optional Parameters

--subscription

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