Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Microsoft Azure Network Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Network Management Client Library.

Azure Resource Manager (ARM) is the next generation of management APIs that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.3, 3.4, 3.5 and 3.6.

For the older Azure Service Management (ASM) libraries, see azure-servicemanagement-legacy library.

For a more complete set of Azure libraries, see the azure bundle package.


IMPORTANT: If you have an earlier version of the azure package (version < 1.0), you should uninstall it before installing this package.

You can check the version using pip:

pip freeze

If you see azure==0.11.0 (or any version below 1.0), uninstall it first:

pip uninstall azure


For code examples, see Compute and Network Resource Management on

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

1.7.1 (2017-12-20)


Fix SecurityRule constructor parameters order to respect the one used until 1.5.0. This indeed introduces a breaking change for users of 1.6.0 and 1.7.0, but this constructor signature change was not expected, and following semantic versionning all 1.x versions should follow the same signature.

This fixes third party library, like Ansible, that expects (for excellent reasons) this SDK to follow strictly semantic versionning with regards to breaking changes and have their dependency system asking for >=1.0;<2.0

1.7.0 (2017-12-14)


  • Add iptag. IpTag is way to restrict the range of IPaddresses to be allocated.
  • Default API version is now 2017-11-01

Bug fixes

  • Added valid ASN range in ExpressRouteCircuitPeering (#1672)

1.6.0 (2017-11-28)

Bug fixes

  • Accept space in location for “usage” (i.e. “west us”).
  • sourceAddressPrefix, sourceAddressPrefixes and sourceApplicationSecurityGroups are mutually exclusive and one only is needed, meaning none of them is required by itself. Thus, sourceAddressPrefix is not required anymore.
  • destinationAddressPrefix, destinationAddressPrefixes and destinationApplicationSecurityGroups are mutually exclusive and one only is needed, meaning none of them is required by itself. Thus, destinationAddressPrefix is not required anymore.
  • Client now accept unicode string as a valid subscription_id parameter
  • Restore missing


  • Client now accept a “profile” parameter to define API version per operation group.
  • Add update_tags to most of the resources
  • Add operations group to list all available rest API operations
  • NetworkInterfaces_ListVirtualMachineScaleSetIpConfigurations
  • NetworkInterfaces_GetVirtualMachineScaleSetIpConfiguration

1.5.0 (2017-09-26)


  • Availability Zones
  • Add network_watchers.get_azure_reachability_report
  • Add network_watchers.list_available_providers
  • Add virtual_network_gateways.supported_vpn_devices
  • Add virtual_network_gateways.vpn_device_configuration_script

1.5.0rc1 (2017-09-18)


  • Add ApiVersion 2017-09-01 (new default)
  • Add application_security_groups (ASG) operations group
  • Add ASG to network_interface operations
  • Add ASG to IP operations
  • Add source/destination ASGs to network security rules
  • Add DDOS protection and VM protection to vnet operations

Bug fix

  • check_dns_name_availability now correctly defines “domain_name_label” as required and not optional

1.4.0 (2017-08-23)


  • Add ApiVersion 2017-08-01 (new default)
  • Added in both 2017-08-01 and 2017-06-01:
    • virtual_network_gateways.list_connections method
    • default_security_rules operations group
    • inbound_nat_rules operations group
    • load_balancer_backend_address_pools operations group
    • load_balancer_frontend_ip_configurations operations group
    • load_balancer_load_balancing_rules operations group
    • load_balancer_network_interfaces operations group
    • load_balancer_probes operations group
    • network_interface_ip_configurations operations group
    • network_interface_load_balancers operations group
    • EffectiveNetworkSecurityGroup.tag_map attribute
    • EffectiveNetworkSecurityRule.source_port_ranges attribute
    • EffectiveNetworkSecurityRule.destination_port_ranges attribute
    • EffectiveNetworkSecurityRule.source_address_prefixes attribute
    • EffectiveNetworkSecurityRule.destination_address_prefixes attribute
    • SecurityRule.source_port_ranges attribute
    • SecurityRule.destination_port_ranges attribute
    • SecurityRule.source_address_prefixes attribute
    • SecurityRule.destination_address_prefixes attribute
  • Added in 2017-08-01 only
    • PublicIPAddress.sku
    • LoadBalancer.sku

Changes on preview

  • “available_private_access_services” is renamed “available_endpoint_services”
  • “radius_secret” parsing fix (was unable to work in 1.3.0)

1.3.0 (2017-07-10)

Preview features

  • Adding “available_private_access_services” operation group (preview)
  • Adding “radius_secret” in Virtual Network Gateway (preview)

Bug Fixes

  • VMSS Network ApiVersion fix in 2017-06-01 (point to 2017-03-30)

1.2.0 (2017-07-03)


Adding the following features to both 2017-03-01 and 2017-06-01:

  • express route ipv6
  • VMSS Network (get, list, etc.)
  • VMSS Public IP (get, list, etc.)

1.1.0 (2017-06-27)


  • Add list_usage in virtual networks (2017-03-01)
  • Add ApiVersion 2017-06-01 (new default)

This new ApiVersion is for new Application Gateway features:

  • ApplicationGateway Ssl Policy custom cipher suites support [new properties added to Sslpolicy Property of ApplciationGatewayPropertiesFormat]
  • Get AvailableSslOptions api [new resource ApplicationGatewayAvailableSslOptions and child resource ApplicationGatewayPredefinedPolicy]
  • Redirection support [new child resource ApplicationGatewayRedirectConfiguration for Application Gateway, new properties in UrlPathMap, PathRules and RequestRoutingRule]
  • Azure Websites feature support [new properties in ApplicationGatewayBackendHttpSettingsPropertiesFormat, ApplicationGatewayProbePropertiesFormat, schema for property ApplicationGatewayProbeHealthResponseMatch]

1.0.0 (2017-05-15)

  • Tag 1.0.0rc3 as stable (same content)

1.0.0rc3 (2017-05-03)


  • Added check connectivity api to network watcher

1.0.0rc2 (2017-04-18)


  • Add ApiVersion 2016-12-01 and 2017-03-01
  • 2017-03-01 is now default ApiVersion


  • Restore access to NetworkWatcher and PacketCapture from 2016-09-01

1.0.0rc1 (2017-04-11)


To help customers with sovereign clouds (not general Azure), this version has official multi ApiVersion support for 2015-06-15 and 2016-09-01

0.30.1 (2017-03-27)

  • Add NetworkWatcher
  • Add PacketCapture
  • Add new methods to Virtualk Network Gateway
    • get_bgp_peer_status
    • get_learned_routes
    • get_advertised_routes

0.30.0 (2016-11-01)

  • Initial preview release. Based on API version 2016-09-01.

0.20.0 (2015-08-31)

  • Initial preview release. Based on API version 2015-05-01-preview.

Project details

Release history Release notifications

History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
azure_mgmt_network-1.7.1-py2.py3-none-any.whl (2.3 MB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 21, 2017 (2.4 MB) Copy SHA256 hash SHA256 Source None Dec 21, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page