azure
azure copied to clipboard
azure_rm_subscription_deployment
SUMMARY
Ability to create a deployment at the subscription level.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
azure_rm_subscription_deployment
ADDITIONAL INFORMATION
@coolhome There is currently no python SDK support for creating or deleting subscription_id. We will add it later when it is supported. subscription information is now available through the azure_rm_subscription_info.py module!
The ability to do tenant and management groups scoped Microsoft.Resource/deployments and deployment stacks deployments could be useful additions.
Tenant: https://learn.microsoft.com/en-us/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.deploymentsoperations?view=azure-python#azure-mgmt-resource-resources-v2022-09-01-operations-deploymentsoperations-begin-create-or-update-at-tenant-scope
Mangement Group: https://learn.microsoft.com/en-us/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.deploymentsoperations?view=azure-python#azure-mgmt-resource-resources-v2022-09-01-operations-deploymentsoperations-begin-create-or-update-at-management-group-scope
Subscription: https://learn.microsoft.com/en-us/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.deploymentsoperations?view=azure-python#azure-mgmt-resource-resources-v2022-09-01-operations-deploymentsoperations-begin-create-or-update-at-subscription-scope
@Fred-sun for subscription creation/deletion it may be possible today using the python sdk but it's for EA/MCA/MPA customers only. I think really this is two different topics here: Resource Management + Deployments at all scopes
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription