-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az redisenterprise returns inconsistent id #31791
Copy link
Copy link
Open
Labels
Auto-ResolveAuto resolve by botAuto resolve by botRedis CacheService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Metadata
Metadata
Assignees
Labels
Auto-ResolveAuto resolve by botAuto resolve by botRedis CacheService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Describe the bug
When you create an Azure Managed Redis through az cli you obtain an id with the following format:
/subscriptions/[sub]/resourceGroups/[rg]/providers/Microsoft.Cache/redisEnterprise/[name]/databases/default
When you run the show command for the previously created resource you get:
/subscriptions/[sub]/resourceGroups/[rg]/providers/Microsoft.Cache/redisEnterprise/[name]
Related command
az redisenterprise create -g group -n name --sku Balanced_B5 --query id o tsv
az redisenterprise show -g group -n name --query id -o tsv
Errors
Values returned should be the same but they are different
Issue script & Debug output
[skip]
Expected behavior
Same output for both commands
Environment Summary
azure-cli 2.74.0 *
core 2.74.0 *
telemetry 1.1.0
Extensions:
bastion 1.4.0
redisenterprise 1.2.1
Dependencies:
msal 1.32.3
azure-mgmt-resource 23.3.0
Python location '/opt/az/bin/python3'
Config directory '/home/eule/.azure'
Extensions directory '/home/eule/.azure/cliextensions'
Python (Linux) 3.12.10 (main, May 27 2025, 09:12:38) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response