How to create new Azure Subscription using Python SDK?
See original GitHub issueI cannot figure out how to create a new Azure Subscription using the Azure Pthon SDK. There does not appear to be an example anywhere on the internets.
I don’t know which module to import.
- Is it
azure.mgmt.subscription
orazure.mgmt.resource
?
import azure.mgmt.subscription
from azure.mgmt.resource import SubscriptionClient
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Microsoft Azure SDK for Python
This is the Microsoft Azure Subscription Management Client Library. This package has been tested with Python 3.7+. For a more complete view ...
Read more >Python code to create subscriptions in Azure - Stack Overflow
There is python SDK here can be used to create the subscription. First, you need to install the package using pip install azure-mgmt....
Read more >azure.mgmt.subscription.models module - NET
The created subscription object. Parameters. subscription_link (str) – The link to the new subscription. Use this link to check the status of subscription...
Read more >azure-mgmt-subscription - PyPI
Microsoft Azure SDK for Python. This is the Microsoft Azure Subscription Management Client Library. This package has been tested with Python 3.7+. For...
Read more >Subscriptions - | Azure SDK for Python
azure -mgmt-subscription. (Resource Management - Subscription). 3.1.1. Other versions. Back to top Azure SDK for Python.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
But above provided samples, doesn’t have any methods on how to create the subscriptions using new MCA
Closing this issue out since samples were provided in the above thread. Let us know if there are any other questions.