Skip to content

Commit

Permalink
Generated from e85eeb71ab77774c5c472d3b7dcd6a45662d9cfb
Browse files Browse the repository at this point in the history
fix travis build error
  • Loading branch information
AutorestCI committed Jan 29, 2018
1 parent 587bc9a commit caba431
Show file tree
Hide file tree
Showing 258 changed files with 30,136 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class SecurityRule(SubResource):
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, protocol, source_address_prefix=None, destination_address_prefix=None, access=None, direction=None, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, destination_address_prefixes=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
def __init__(self, protocol, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefix=None, source_address_prefixes=None, destination_address_prefix=None, destination_address_prefixes=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
super(SecurityRule, self).__init__(id=id)
self.description = description
self.protocol = protocol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class SecurityRule(SubResource):
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, protocol, source_address_prefix=None, destination_address_prefix=None, access=None, direction=None, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, destination_address_prefixes=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
def __init__(self, protocol, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefix=None, source_address_prefixes=None, destination_address_prefix=None, destination_address_prefixes=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
super(SecurityRule, self).__init__(id=id)
self.description = description
self.protocol = protocol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class SecurityRule(SubResource):
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, protocol, source_address_prefix=None, destination_address_prefix=None, access=None, direction=None, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
def __init__(self, protocol, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefix=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefix=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
super(SecurityRule, self).__init__(id=id)
self.description = description
self.protocol = protocol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class SecurityRule(SubResource):
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, protocol, source_address_prefix=None, destination_address_prefix=None, access=None, direction=None, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
def __init__(self, protocol, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefix=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefix=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
super(SecurityRule, self).__init__(id=id)
self.description = description
self.protocol = protocol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class PatchRouteFilterRule(SubResource):
:ivar etag: A unique read-only string that changes whenever the resource
is updated.
:vartype etag: str
:param tags: Resource tags.
:type tags: dict[str, str]
"""

_validation = {
Expand All @@ -59,16 +57,14 @@ class PatchRouteFilterRule(SubResource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
}

route_filter_rule_type = "Community"

def __init__(self, access, communities, id=None, tags=None):
def __init__(self, access, communities, id=None):
super(PatchRouteFilterRule, self).__init__(id=id)
self.access = access
self.communities = communities
self.provisioning_state = None
self.name = None
self.etag = None
self.tags = tags
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class RouteFilterRule(SubResource):
:ivar etag: A unique read-only string that changes whenever the resource
is updated.
:vartype etag: str
:param tags: Resource tags.
:type tags: dict[str, str]
"""

_validation = {
Expand All @@ -61,17 +59,15 @@ class RouteFilterRule(SubResource):
'name': {'key': 'name', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
}

route_filter_rule_type = "Community"

def __init__(self, access, communities, id=None, name=None, location=None, tags=None):
def __init__(self, access, communities, id=None, name=None, location=None):
super(RouteFilterRule, self).__init__(id=id)
self.access = access
self.communities = communities
self.provisioning_state = None
self.name = name
self.location = location
self.etag = None
self.tags = tags
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class SecurityRule(SubResource):
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, protocol, source_address_prefix=None, destination_address_prefix=None, access=None, direction=None, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
def __init__(self, protocol, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefix=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefix=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None):
super(SecurityRule, self).__init__(id=id)
self.description = description
self.protocol = protocol
Expand Down
18 changes: 18 additions & 0 deletions azure-mgmt-network/azure/mgmt/network/v2018_01_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

0 comments on commit caba431

Please sign in to comment.