Azure / Azure/azure-cli-extensions
Command az monitor data-collection endpoint list fails with an unexpected error
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
**Command Name**
`az monitor data-collection endpoint list
Extension Name: monitor-control-service. Version: 0.3.0.`
**Errors:**
```
(InvalidResourceType) The resource type 'dataCollectionEndpoints' could not be found in the namespace 'Microsoft.Insights' for api version '2021-09-01-preview'. The supported api-versions are '2021-04-01,2019-11-01-preview'.
Code: InvalidResourceType
Message: The resource type 'dataCollectionEndpoints' could not be found in the namespace 'Microsoft.Insights' for api version '2021-09-01-preview'. The supported api-versions are '2021-04-01,2019-11-01-preview'.
```
## 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 monitor data-collection endpoint list --resource-group {}`
## Expected Behavior
## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI
azure-cli 2.32.0 *
Extensions:
monitor-control-service 0.3.0
ssh 1.0.1
storage-preview 0.8.0
Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.