title | description | keywords | ms.date | ms.topic | ms.devlang | ms.service | ms.technology | manager |
---|---|---|---|---|---|---|---|---|
Azure Resources libraries for Python |
Azure, Python, SDK, API, Resources |
06/19/2017 |
reference |
python |
azure-python |
azure |
douge |
Manage Azure resources in resource groups.
Package | Description |
---|---|
azure.mgmt.resource.features | Azure Feature Exposure Control (AFEC) provides a mechanism for the resource providers to control feature exposure to users. |
azure.mgmt.resource.links | Azure resources can be linked together to form logical relationships. You can establish links between resources belonging to different resource groups. |
azure.mgmt.resource.locks | Azure resources can be locked to prevent other users in your organization from deleting or modifying resources. |
azure.mgmt.resource.managedapplications | ARM managed applications (appliances). |
azure.mgmt.resource.policy | To manage and control access to your resources, you can define customized policies and assign them at a scope. |
azure.mgmt.resource.resources | Provides operations for working with resources and resource groups. |
azure.mgmt.resource.subscriptions | All resource groups and resources exist within subscriptions. These operation enable you get information about your subscriptions and tenants. |
pip install azure-mgmt-resource
The following is an example of how to create a resource group.
from azure.mgmt.resource import ResourceManagementClient
client = ResourceManagementClient(credentials, subscription_id)
client.resource_groups.create(RESOURCE_GROUP_NAME, {'location':'eastus'})
Explore more sample Python code you can use in your apps.