Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.43k stars 2.74k forks source link

Query ALL azure services available in EACH region by azure sdk for python #20679

Closed yansyunchen closed 2 years ago

yansyunchen commented 2 years ago

I know we can use the following code to list all available region by my subscription.

sms = ServiceManagementService(subscription_id, certificate_path) result = sms.list_subscriptions() for location in result: print(location.name)

But I wonder is that possible or do we have the feature can list "ALL azure services available in EACH region" by azure python SDK?

E.g. Web App - Central US Web App - East Asia Function App - East US Service Bus - Japan East Service Bus - South Asia ...

Thanks in advance.

catalinaperalta commented 2 years ago

Hi @yansyunchen, thanks for reaching out! We'll get back to you ASAP. Adding @msyyc to provide more guidance.

msyyc commented 2 years ago

Thank you for your @yansyunchen, we will investigate asap.

RAY-316 commented 2 years ago

@yansyunchen Because the python SDK is generated based on the services provided by the service-team, we will give feedback on this and let you know as soon as possible if this function is feasible

ghost commented 2 years ago

Hi @yansyunchen. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve” to remove the “issue-addressed” label and continue the conversation.

BigCat20196 commented 2 years ago

Hi @yansyunchen, If possible, this will be a good feature. Unfortunately, the python SDK is generated based on the RestAPI. Please go here to feed back the issue. Once such an API is updated, we will generate the corresponding function asap.

ghost commented 2 years ago

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!