Skip to content

[AutoPR] network/resource-manager #3779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 27, 2018
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions azure-mgmt-network/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
Release History
===============

2.4.0 (2018-11-27)
++++++++++++++++++

**Features**

- Model ApplicationGatewaySslCertificate has a new parameter key_vault_secret_id
- Model ApplicationGatewayRequestRoutingRule has a new parameter rewrite_rule_set
- Model FlowLogInformation has a new parameter format
- Model ApplicationGateway has a new parameter identity
- Model ApplicationGateway has a new parameter rewrite_rule_sets
- Model TrafficAnalyticsConfigurationProperties has a new parameter traffic_analytics_interval
- Model ApplicationGatewayPathRule has a new parameter rewrite_rule_set
- Model ApplicationGatewayUrlPathMap has a new parameter default_rewrite_rule_set

**Breaking changes**

- Model ApplicationGatewayTrustedRootCertificate no longer has parameter keyvault_secret_id (replaced by key_vault_secret_id)

2.3.0 (2018-11-07)
++++++++++++++++++

Expand Down
205 changes: 203 additions & 2 deletions azure-mgmt-network/azure/mgmt/network/network_management_client.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ class NetworkInterface(Resource):
:type location: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param virtual_machine: The reference of a virtual machine.
:type virtual_machine: ~azure.mgmt.network.v2018_08_01.models.SubResource
:ivar virtual_machine: The reference of a virtual machine.
:vartype virtual_machine:
~azure.mgmt.network.v2018_08_01.models.SubResource
:param network_security_group: The reference of the NetworkSecurityGroup
resource.
:type network_security_group:
Expand Down Expand Up @@ -76,6 +77,7 @@ class NetworkInterface(Resource):
_validation = {
'name': {'readonly': True},
'type': {'readonly': True},
'virtual_machine': {'readonly': True},
'interface_endpoint': {'readonly': True},
'hosted_workloads': {'readonly': True},
}
Expand Down Expand Up @@ -104,7 +106,7 @@ class NetworkInterface(Resource):

def __init__(self, **kwargs):
super(NetworkInterface, self).__init__(**kwargs)
self.virtual_machine = kwargs.get('virtual_machine', None)
self.virtual_machine = None
self.network_security_group = kwargs.get('network_security_group', None)
self.interface_endpoint = None
self.ip_configurations = kwargs.get('ip_configurations', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ class NetworkInterface(Resource):
:type location: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param virtual_machine: The reference of a virtual machine.
:type virtual_machine: ~azure.mgmt.network.v2018_08_01.models.SubResource
:ivar virtual_machine: The reference of a virtual machine.
:vartype virtual_machine:
~azure.mgmt.network.v2018_08_01.models.SubResource
:param network_security_group: The reference of the NetworkSecurityGroup
resource.
:type network_security_group:
Expand Down Expand Up @@ -76,6 +77,7 @@ class NetworkInterface(Resource):
_validation = {
'name': {'readonly': True},
'type': {'readonly': True},
'virtual_machine': {'readonly': True},
'interface_endpoint': {'readonly': True},
'hosted_workloads': {'readonly': True},
}
Expand All @@ -102,9 +104,9 @@ class NetworkInterface(Resource):
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_machine=None, network_security_group=None, ip_configurations=None, tap_configurations=None, dns_settings=None, mac_address: str=None, primary: bool=None, enable_accelerated_networking: bool=None, enable_ip_forwarding: bool=None, resource_guid: str=None, provisioning_state: str=None, etag: str=None, **kwargs) -> None:
def __init__(self, *, id: str=None, location: str=None, tags=None, network_security_group=None, ip_configurations=None, tap_configurations=None, dns_settings=None, mac_address: str=None, primary: bool=None, enable_accelerated_networking: bool=None, enable_ip_forwarding: bool=None, resource_guid: str=None, provisioning_state: str=None, etag: str=None, **kwargs) -> None:
super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs)
self.virtual_machine = virtual_machine
self.virtual_machine = None
self.network_security_group = network_security_group
self.interface_endpoint = None
self.ip_configurations = ip_configurations
Expand Down
18 changes: 18 additions & 0 deletions azure-mgmt-network/azure/mgmt/network/v2018_10_01/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .network_management_client import NetworkManagementClient
from .version import VERSION

__all__ = ['NetworkManagementClient']

__version__ = VERSION

Loading