az afd profile show returns Null for frontDoorId
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
When using the below command and querying for frontdoorId it returns null. The front door profile has an ID based on the portal and the json provided in the portal. This cli command does return what I am looking for az resource show -g rg -n profileName --namespace Microsoft.Cdn --resource-type Profiles --query properties.frontDoorId --output tsv
with the correct params for the afd profile will return frontdoorID. I would assume az afd profile show
would also return fronDoorId not Null.
Command Name
az afd profile show
Errors:
az afd profile show -g rg --profile-name fdProfile
Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
{
"frontdoorId": null,
"id": "*****",
"kind": "frontdoor",
"location": "Global",
"name": "**********",
"provisioningState": "Succeeded",
"resourceGroup": "************",
"resourceState": "Active",
"sku": {
"name": "Standard_AzureFrontDoor"
},
"systemData": null,
"tags": {},
"type": "Microsoft.Cdn/profiles"
}
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az afd profile show -g {} --profile-name {} --query {}
Expected Behavior
Environment Summary
Linux-5.4.0-1072-azure-x86_64-with-glibc2.28 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.8.12
Installer: DEB
azure-cli 2.34.1
Extensions:
front-door 1.0.16
ai-examples 0.2.5
ssh 1.0.0
Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
az afd profile - Microsoft Learn
Name of the CDN profile which is unique within the resource group. --resource-group -g. Name of resource group. You can configure the default...
Read more >Azure Front Door Standard/Premium - Tips, Tricks, and ...
I share my experience, lessons-learned, and tips and tricks for working with the new Azure Front Door Standard/Premium SKUs.
Read more >Disable AFD Backend Pool's Backend Host with Azure Cli or ...
I am able to achieve your ask using PowerShell. Here is the script: $resourceGroup1 = "frontdoor" $frontDoor1 = "msrini". $afd ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in https://github.com/Azure/azure-cli/releases/tag/azure-cli-2.35.0
@dtupy usually after the PR merge, release will be scheduled once it is done, it should be fixed. @t-bzhan can you please help us with any ETA by when the release will be completed?