Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to retrieve CDN endpoint list for az cli versions 2.60 and 2.61 #29005

Open
theAmazingJia opened this issue May 22, 2024 · 6 comments
Open
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.

Comments

@theAmazingJia
Copy link

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

@theAmazingJia theAmazingJia added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label May 22, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Network az network vnet/lb/nic/dns/etc... Network - CDN az cdn Service Attention This issue is responsible by Azure service team. labels May 22, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented May 22, 2024

Thank you for opening this issue, we will look into it.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @t-bzhan, @gxue, @TracyYaoYao.

@t-bzhan
Copy link
Contributor

t-bzhan commented Jun 4, 2024

Loop @Ptnan7 to take a look.

@t-bzhan
Copy link
Contributor

t-bzhan commented Jun 4, 2024

Hi @theAmazingJia , We are working on upgrading the Miicrosoft.CDN manifest for AzureChinaCloud. Those versions should be available in a week or two.

@Ptnan7
Copy link
Member

Ptnan7 commented Jun 11, 2024

We updated the CDN manifest for China, please retry and if any failure, contact us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

4 participants