From 25d08a307999e99ad00c767683c67eb2a2091d90 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 26 Jan 2018 01:07:56 +0000 Subject: [PATCH] Generated from master8 #1443089: [Network-2018-01-01] Update version to 2018-01-01 in the readme file --- .../azure/mgmt/network/v2017_06_01/models/security_rule.py | 2 +- .../azure/mgmt/network/v2017_08_01/models/security_rule.py | 2 +- .../azure/mgmt/network/v2017_09_01/models/security_rule.py | 2 +- .../azure/mgmt/network/v2017_10_01/models/security_rule.py | 2 +- .../network/v2017_11_01/models/patch_route_filter_rule.py | 6 +----- .../mgmt/network/v2017_11_01/models/route_filter_rule.py | 6 +----- .../azure/mgmt/network/v2017_11_01/models/security_rule.py | 2 +- 7 files changed, 7 insertions(+), 15 deletions(-) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py index e47dba350098..98ba7895cdd2 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py @@ -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 diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule.py index aae11e9d1b9a..fd6357c82a90 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule.py @@ -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 diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/security_rule.py index 067d91121336..0ff278477a2f 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/security_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/security_rule.py @@ -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 diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/security_rule.py index c2f1f923a436..1752fa042608 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/security_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/security_rule.py @@ -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 diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/patch_route_filter_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/patch_route_filter_rule.py index cfab772335cf..ac4588cc78b3 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/patch_route_filter_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/patch_route_filter_rule.py @@ -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 = { @@ -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 diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/route_filter_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/route_filter_rule.py index a8253fc60c47..ca4b0ec3fb9a 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/route_filter_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/route_filter_rule.py @@ -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 = { @@ -61,12 +59,11 @@ 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 @@ -74,4 +71,3 @@ def __init__(self, access, communities, id=None, name=None, location=None, tags= self.name = name self.location = location self.etag = None - self.tags = tags diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/security_rule.py index 7e64f6ff4b06..e802a40363f5 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/security_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/security_rule.py @@ -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