azure-cli-extensions
azure-cli-extensions copied to clipboard
Command az monitor data-collection endpoint list fails with an unexpected error
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
monitor
Similar issue. Any update?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @SameergMS, @dadunl.
Issue Details
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
Author: | sinePaul |
---|---|
Assignees: | kairu-ms, ZengTaoxu |
Labels: |
|
Milestone: | Backlog |
It seems the service team does not deploy 2021-09-01-preview
API in your region right now. Please use 0.2.0 version for a workaround. You can install that version by the following command:
az extension add --name monitor-control-service --version 0.2.0
@ZengTaoxu Please feedback this issue to service team. Thanks.