Azure / Azure/azure-cli

az resource list with --resource-type 'Microsoft.Web/sites/deployments' returns no results

Open
#16,351 1 comment 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-identity-squad ARM feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug
the list is always empty for any resource-group I try if resource-type is 'Microsoft.Web/sites/deployments'
**Command Name**
`az resource list`

**Errors:**

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- Have some resource such as a webapp with some deployments_
- `az resource list --resource-group {} --resource-type 'Microsoft.Web/sites/deployments'`
the result is an empty array

## Expected Behavior
the same list of deployments visible in the portal or in the https://resources.azure.com/ viewer
## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.16.0

Extensions:
application-insights 0.1.3

```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.