Unable to retrieve CDN endpoint list for az cli versions 2.60 and 2.61 #29005
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Network - CDN
az cdn
Network
az network vnet/lb/nic/dns/etc...
Service Attention
This issue is responsible by Azure service team.
Describe the bug
I'm using AzureChinaCloud region.
And I'm trying to retrieve cdn endpoint list from the following command:
az cdn endpoint list -g cdn --profile-name jiacdnprofile
But I got this error:
(InvalidResourceType) The resource type 'profiles/endpoints' could not be found in the namespace 'Microsoft.Cdn' for api version '2024-02-01'. The supported api-versions are '2015-06-01,2016-04-02,2016-10-02,2017-04-02,2017-10-12,2018-04-02,2019-04-15,2019-06-15-preview,2019-12-31,2020-09-01,2021-06-01,2023-05-01'.
Code: InvalidResourceType
Message: The resource type 'profiles/endpoints' could not be found in the namespace 'Microsoft.Cdn' for api version '2024-02-01'. The supported api-versions are '2015-06-01,2016-04-02,2016-10-02,2017-04-02,2017-10-12,2018-04-02,2019-04-15,2019-06-15-preview,2019-12-31,2020-09-01,2021-06-01,2023-05-01'.
This issue can be produced in az versions 2.60 and 2.61. And for versions including and below 2.59, this issue does not exist.
Related command
az cdn endpoint list
Errors
(InvalidResourceType) The resource type 'profiles/endpoints' could not be found in the namespace 'Microsoft.Cdn' for api version '2024-02-01'. The supported api-versions are '2015-06-01,2016-04-02,2016-10-02,2017-04-02,2017-10-12,2018-04-02,2019-04-15,2019-06-15-preview,2019-12-31,2020-09-01,2021-06-01,2023-05-01'.
Code: InvalidResourceType
Message: The resource type 'profiles/endpoints' could not be found in the namespace 'Microsoft.Cdn' for api version '2024-02-01'. The supported api-versions are '2015-06-01,2016-04-02,2016-10-02,2017-04-02,2017-10-12,2018-04-02,2019-04-15,2019-06-15-preview,2019-12-31,2020-09-01,2021-06-01,2023-05-01'.
Issue script & Debug output
(InvalidResourceType) The resource type 'profiles/endpoints' could not be found in the namespace 'Microsoft.Cdn' for api version '2024-02-01'. The supported api-versions are '2015-06-01,2016-04-02,2016-10-02,2017-04-02,2017-10-12,2018-04-02,2019-04-15,2019-06-15-preview,2019-12-31,2020-09-01,2021-06-01,2023-05-01'.
Code: InvalidResourceType
Message: The resource type 'profiles/endpoints' could not be found in the namespace 'Microsoft.Cdn' for api version '2024-02-01'. The supported api-versions are '2015-06-01,2016-04-02,2016-10-02,2017-04-02,2017-10-12,2018-04-02,2019-04-15,2019-06-15-preview,2019-12-31,2020-09-01,2021-06-01,2023-05-01'.
Expected behavior
Retrieve the cnd endpoints
Environment Summary
2.60.0
2.61.0
Additional context
No response
The text was updated successfully, but these errors were encountered: