Skip to main content

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.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.

Compatibility

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

Usage

For code examples, see Network Management on docs.microsoft.com.

Provide Feedback

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

Release History

2.0.0rc3 (2018-06-14)

Bugfixes

  • API version 2018-02-01 enum Probe now supports HTTPS (standard SKU load balancer)

  • API version 2015-06-15 adding missing “primary” in NetworkInterfaceIPConfiguration

2.0.0rc2 (2018-04-03)

Features

  • All clients now support Azure profiles.

  • API version 2018-02-01 is now the default

  • Express Route Circuit Connection (considered preview)

  • Express Route Provider APIs

  • GetTopologyOperation supports query parameter

  • Feature work for setting Custom IPsec/IKE policy for Virtual Network Gateway point-to-site clients

  • DDoS Protection Plans

2.0.0rc1 (2018-03-07)

General Breaking changes

This version uses a next-generation code generator that might introduce breaking changes.

  • Model signatures now use only keyword-argument syntax. All positional arguments must be re-written as keyword-arguments. To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the “*” syntax for keyword-only arguments.

  • Enum types now use the “str” mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered. While this is not a breaking change, the distinctions are important, and are documented here: https://docs.python.org/3/library/enum.html#others At a glance:

    • “is” should not be used at all.

    • “format” will return the string value, where “%s” string formatting will return NameOfEnum.stringvalue. Format syntax should be prefered.

  • New Long Running Operation:

    • Return type changes from msrestazure.azure_operation.AzureOperationPoller to msrest.polling.LROPoller. External API is the same.

    • Return type is now always a msrest.polling.LROPoller, regardless of the optional parameters used.

    • The behavior has changed when using raw=True. Instead of returning the initial call result as ClientRawResponse, without polling, now this returns an LROPoller. After polling, the final resource will be returned as a ClientRawResponse.

    • New polling parameter. The default behavior is Polling=True which will poll using ARM algorithm. When Polling=False, the response of the initial call will be returned without polling.

    • polling parameter accepts instances of subclasses of msrest.polling.PollingMethod.

    • add_done_callback will no longer raise if called after polling is finished, but will instead execute the callback right away.

Network Breaking changes

  • Operation network_watcher.get_topology changed method signature

Features

  • Add API Version 2018-01-01. Not default yet in this version.

  • Add ConnectionMonitor operation group (2017-10/11-01)

  • Add target_virtual_network / target_subnet to topology_parameter (2017-10/11-01)

  • Add idle_timeout_in_minutes / enable_floating_ip to inbound_nat_pool (2017-11-01)

Bugfixes

  • Fix peer_asn validation rules (2017-10/11-01)

1.7.1 (2017-12-20)

Bugfixes

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)

Features

  • 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 azure.mgmt.network.__version__

Features

  • 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)

Features

  • 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)

Features

  • 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)

Features

  • 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)

Features

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)

Features

  • 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)

Features

  • Added check connectivity api to network watcher

1.0.0rc2 (2017-04-18)

Features

  • Add ApiVersion 2016-12-01 and 2017-03-01

  • 2017-03-01 is now default ApiVersion

Bugfixes

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

1.0.0rc1 (2017-04-11)

Features

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 | RSS feed

Download files

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

Source Distribution

azure-mgmt-network-2.0.0rc3.zip (5.0 MB view details)

Uploaded Source

Built Distribution

azure_mgmt_network-2.0.0rc3-py2.py3-none-any.whl (5.0 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file azure-mgmt-network-2.0.0rc3.zip.

File metadata

File hashes

Hashes for azure-mgmt-network-2.0.0rc3.zip
Algorithm Hash digest
SHA256 87e5d847970a2e28437a1b0c751d8590411adf63d6917cd6fbd3d47a84a7e7ed
MD5 6a65fcafdcffd86ff2184c1839330ec8
BLAKE2b-256 c6ce27caa87ff5f12af522d392aeea035e14b560d59cd5c034dfb94be08a30dd

See more details on using hashes here.

File details

Details for the file azure_mgmt_network-2.0.0rc3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_network-2.0.0rc3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fbe4c58ef71a3a566f6ef17de5f0fec1be02050f692d8525b3aa25fad79143fb
MD5 9282cfc4cf46fdf0669f2f49c11538e6
BLAKE2b-256 438b60054f2ecc12532f718f9d7214313318d19d0157de60691306b5e5af9549

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page