Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
be945f8
Generated from d9d5c60e307288b5fc4fe17b8a9faf6b09aee544
AutorestCI Apr 8, 2019
390a1b3
Generated from d9304d926cb0bd0d413fa9693cb881ceafeae0ce
AutorestCI Apr 9, 2019
1b83683
Packaging update of azure-mgmt-network
azuresdkci Apr 9, 2019
6d08c0b
Generated from b3ac379f92c2db63f2c30c2529bb618bebcaa4d6
AutorestCI Apr 11, 2019
ac05b40
Generated from 48703239a5a8a4d840e3086d5d52f67a46c9f52d
AutorestCI Apr 12, 2019
d0fcfde
Generated from 3fd1b97b681b33ca6da9b0b15a22aad4262a295e (#4840)
AutorestCI Apr 12, 2019
70568de
Generated from e2c3ec3c42f6980617fa3678ec796b8538443939
AutorestCI Apr 12, 2019
59d94d1
Generated from e30338eb768cedebd77c024fe290d5c91af7397b (#4852)
AutorestCI Apr 15, 2019
1aebb99
Generated from 04fdf1fe8412fcaa3bd0df3883b5c5b52ee88c24 (#4853)
AutorestCI Apr 15, 2019
b01291c
Generated from 6eca950a4ad587ccd45a8c75ece0506578d6eb74
AutorestCI Apr 18, 2019
fe77572
Generated from a3d8e6242c0e7b9c01d55552a4ff54d697b731d3 (#4881)
AutorestCI Apr 18, 2019
ecf39e3
Generated from 924f82edcf711df9d7d704cc674130792471c4fd (#4902)
AutorestCI Apr 18, 2019
747a7e7
Generated from 63f8b714d145762e274c5bea2b176dae7b71a24f
AutorestCI Apr 19, 2019
b83ff94
[AutoPR network/resource-manager] Remove duplicate enums from Network…
AutorestCI Apr 19, 2019
4051685
Generated from 059756ea619344e900e985d12b8cdb7cd422804d
AutorestCI Apr 19, 2019
afa1715
Generated from 643dd3c9a5812b1f44f088dcb33b70e647c5f746
AutorestCI Apr 19, 2019
0ecf180
Generated from c51dd73f316b78d99f24cfb996e37d9690320a45
AutorestCI Apr 19, 2019
12ddf05
[AutoPR network/resource-manager] Remove duplicate enum "ApplicationG…
AutorestCI Apr 24, 2019
2c6c8ae
Generated from ae9a401568b13c001ee70bc507163a4e51306333 (#4867)
AutorestCI Apr 24, 2019
cbad47d
Generated from c8837c2962958df23ba49bf27f181eabc375b532 (#4830)
AutorestCI Apr 24, 2019
0368c61
[AutoPR network/resource-manager] Add new Nat Gateway resource (#4815)
AutorestCI Apr 24, 2019
bb11f48
Merge branch 'master' into restapi_auto_network-march-release
lmazuel Apr 24, 2019
88357ec
Sync network with latest Swagger
lmazuel Apr 25, 2019
f53924c
updated versioning and change log
iscai-msft Apr 25, 2019
bc0f217
Update HISTORY.rst
iscai-msft Apr 25, 2019
aa799c6
Update HISTORY.rst
iscai-msft Apr 26, 2019
d05e1a9
2.7.0
lmazuel Apr 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Generated from e30338eb768cedebd77c024fe290d5c91af7397b (#4852)
fix api version
  • Loading branch information
AutorestCI authored Apr 15, 2019
commit 59d94d121cb698dd726a8d13fd7f81ec34c158cb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# --------------------------------------------------------------------------

try:
from .application_gateway_probe_health_response_match_py3 import ApplicationGatewayProbeHealthResponseMatch
from .application_gateway_on_demand_probe_py3 import ApplicationGatewayOnDemandProbe
from .network_interface_tap_configuration_py3 import NetworkInterfaceTapConfiguration
from .sub_resource_py3 import SubResource
from .application_security_group_py3 import ApplicationSecurityGroup
Expand Down Expand Up @@ -46,6 +48,7 @@
from .application_gateway_backend_http_settings_py3 import ApplicationGatewayBackendHttpSettings
from .application_gateway_backend_health_server_py3 import ApplicationGatewayBackendHealthServer
from .application_gateway_backend_health_http_settings_py3 import ApplicationGatewayBackendHealthHttpSettings
from .application_gateway_backend_health_on_demand_py3 import ApplicationGatewayBackendHealthOnDemand
from .application_gateway_backend_health_pool_py3 import ApplicationGatewayBackendHealthPool
from .application_gateway_backend_health_py3 import ApplicationGatewayBackendHealth
from .application_gateway_sku_py3 import ApplicationGatewaySku
Expand All @@ -59,7 +62,6 @@
from .application_gateway_custom_error_py3 import ApplicationGatewayCustomError
from .application_gateway_http_listener_py3 import ApplicationGatewayHttpListener
from .application_gateway_path_rule_py3 import ApplicationGatewayPathRule
from .application_gateway_probe_health_response_match_py3 import ApplicationGatewayProbeHealthResponseMatch
from .application_gateway_probe_py3 import ApplicationGatewayProbe
from .application_gateway_request_routing_rule_py3 import ApplicationGatewayRequestRoutingRule
from .application_gateway_rewrite_rule_condition_py3 import ApplicationGatewayRewriteRuleCondition
Expand Down Expand Up @@ -305,6 +307,8 @@
from .web_application_firewall_custom_rule_py3 import WebApplicationFirewallCustomRule
from .web_application_firewall_policy_py3 import WebApplicationFirewallPolicy
except (SyntaxError, ImportError):
from .application_gateway_probe_health_response_match import ApplicationGatewayProbeHealthResponseMatch
from .application_gateway_on_demand_probe import ApplicationGatewayOnDemandProbe
from .network_interface_tap_configuration import NetworkInterfaceTapConfiguration
from .sub_resource import SubResource
from .application_security_group import ApplicationSecurityGroup
Expand Down Expand Up @@ -341,6 +345,7 @@
from .application_gateway_backend_http_settings import ApplicationGatewayBackendHttpSettings
from .application_gateway_backend_health_server import ApplicationGatewayBackendHealthServer
from .application_gateway_backend_health_http_settings import ApplicationGatewayBackendHealthHttpSettings
from .application_gateway_backend_health_on_demand import ApplicationGatewayBackendHealthOnDemand
from .application_gateway_backend_health_pool import ApplicationGatewayBackendHealthPool
from .application_gateway_backend_health import ApplicationGatewayBackendHealth
from .application_gateway_sku import ApplicationGatewaySku
Expand All @@ -354,7 +359,6 @@
from .application_gateway_custom_error import ApplicationGatewayCustomError
from .application_gateway_http_listener import ApplicationGatewayHttpListener
from .application_gateway_path_rule import ApplicationGatewayPathRule
from .application_gateway_probe_health_response_match import ApplicationGatewayProbeHealthResponseMatch
from .application_gateway_probe import ApplicationGatewayProbe
from .application_gateway_request_routing_rule import ApplicationGatewayRequestRoutingRule
from .application_gateway_rewrite_rule_condition import ApplicationGatewayRewriteRuleCondition
Expand Down Expand Up @@ -666,6 +670,7 @@
from .p2_svpn_gateway_paged import P2SVpnGatewayPaged
from .web_application_firewall_policy_paged import WebApplicationFirewallPolicyPaged
from .network_management_client_enums import (
ApplicationGatewayProtocol,
IPAllocationMethod,
SecurityRuleProtocol,
SecurityRuleAccess,
Expand All @@ -675,7 +680,6 @@
IPVersion,
DdosSettingsProtectionCoverage,
TransportProtocol,
ApplicationGatewayProtocol,
ApplicationGatewayCookieBasedAffinity,
ApplicationGatewayBackendHealthServerHealth,
ApplicationGatewaySkuName,
Expand Down Expand Up @@ -774,6 +778,8 @@
)

__all__ = [
'ApplicationGatewayProbeHealthResponseMatch',
'ApplicationGatewayOnDemandProbe',
'NetworkInterfaceTapConfiguration',
'SubResource',
'ApplicationSecurityGroup',
Expand Down Expand Up @@ -810,6 +816,7 @@
'ApplicationGatewayBackendHttpSettings',
'ApplicationGatewayBackendHealthServer',
'ApplicationGatewayBackendHealthHttpSettings',
'ApplicationGatewayBackendHealthOnDemand',
'ApplicationGatewayBackendHealthPool',
'ApplicationGatewayBackendHealth',
'ApplicationGatewaySku',
Expand All @@ -823,7 +830,6 @@
'ApplicationGatewayCustomError',
'ApplicationGatewayHttpListener',
'ApplicationGatewayPathRule',
'ApplicationGatewayProbeHealthResponseMatch',
'ApplicationGatewayProbe',
'ApplicationGatewayRequestRoutingRule',
'ApplicationGatewayRewriteRuleCondition',
Expand Down Expand Up @@ -1134,6 +1140,7 @@
'P2SVpnServerConfigurationPaged',
'P2SVpnGatewayPaged',
'WebApplicationFirewallPolicyPaged',
'ApplicationGatewayProtocol',
'IPAllocationMethod',
'SecurityRuleProtocol',
'SecurityRuleAccess',
Expand All @@ -1143,7 +1150,6 @@
'IPVersion',
'DdosSettingsProtectionCoverage',
'TransportProtocol',
'ApplicationGatewayProtocol',
'ApplicationGatewayCookieBasedAffinity',
'ApplicationGatewayBackendHealthServerHealth',
'ApplicationGatewaySkuName',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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 msrest.serialization import Model


class ApplicationGatewayBackendHealthOnDemand(Model):
"""Result of on demand test probe.

:param backend_address_pool: Reference of an
ApplicationGatewayBackendAddressPool resource.
:type backend_address_pool:
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendAddressPool
:param backend_health_http_settings: Application gateway BackendHealthHttp
settings.
:type backend_health_http_settings:
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealthHttpSettings
"""

_attribute_map = {
'backend_address_pool': {'key': 'backendAddressPool', 'type': 'ApplicationGatewayBackendAddressPool'},
'backend_health_http_settings': {'key': 'backendHealthHttpSettings', 'type': 'ApplicationGatewayBackendHealthHttpSettings'},
}

def __init__(self, **kwargs):
super(ApplicationGatewayBackendHealthOnDemand, self).__init__(**kwargs)
self.backend_address_pool = kwargs.get('backend_address_pool', None)
self.backend_health_http_settings = kwargs.get('backend_health_http_settings', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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 msrest.serialization import Model


class ApplicationGatewayBackendHealthOnDemand(Model):
"""Result of on demand test probe.

:param backend_address_pool: Reference of an
ApplicationGatewayBackendAddressPool resource.
:type backend_address_pool:
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendAddressPool
:param backend_health_http_settings: Application gateway BackendHealthHttp
settings.
:type backend_health_http_settings:
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealthHttpSettings
"""

_attribute_map = {
'backend_address_pool': {'key': 'backendAddressPool', 'type': 'ApplicationGatewayBackendAddressPool'},
'backend_health_http_settings': {'key': 'backendHealthHttpSettings', 'type': 'ApplicationGatewayBackendHealthHttpSettings'},
}

def __init__(self, *, backend_address_pool=None, backend_health_http_settings=None, **kwargs) -> None:
super(ApplicationGatewayBackendHealthOnDemand, self).__init__(**kwargs)
self.backend_address_pool = backend_address_pool
self.backend_health_http_settings = backend_health_http_settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# 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 msrest.serialization import Model


class ApplicationGatewayOnDemandProbe(Model):
"""Details of on demand test probe request.

:param protocol: The protocol used for the probe. Possible values are
'Http' and 'Https'. Possible values include: 'Http', 'Https'
:type protocol: str or
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProtocol
:param host: Host name to send the probe to.
:type host: str
:param path: Relative path of probe. Valid path starts from '/'. Probe is
sent to <Protocol>://<host>:<port><path>
:type path: str
:param timeout: The probe timeout in seconds. Probe marked as failed if
valid response is not received with this timeout period. Acceptable values
are from 1 second to 86400 seconds.
:type timeout: int
:param pick_host_name_from_backend_http_settings: Whether the host header
should be picked from the backend http settings. Default value is false.
:type pick_host_name_from_backend_http_settings: bool
:param match: Criterion for classifying a healthy probe response.
:type match:
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProbeHealthResponseMatch
:param backend_pool_name: Name of backend pool of application gateway to
which probe request will be sent.
:type backend_pool_name: str
:param backend_http_setting_name: Name of backend http setting of
application gateway to be used for test probe
:type backend_http_setting_name: str
"""

_attribute_map = {
'protocol': {'key': 'protocol', 'type': 'str'},
'host': {'key': 'host', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
'timeout': {'key': 'timeout', 'type': 'int'},
'pick_host_name_from_backend_http_settings': {'key': 'pickHostNameFromBackendHttpSettings', 'type': 'bool'},
'match': {'key': 'match', 'type': 'ApplicationGatewayProbeHealthResponseMatch'},
'backend_pool_name': {'key': 'backendPoolName', 'type': 'str'},
'backend_http_setting_name': {'key': 'backendHttpSettingName', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ApplicationGatewayOnDemandProbe, self).__init__(**kwargs)
self.protocol = kwargs.get('protocol', None)
self.host = kwargs.get('host', None)
self.path = kwargs.get('path', None)
self.timeout = kwargs.get('timeout', None)
self.pick_host_name_from_backend_http_settings = kwargs.get('pick_host_name_from_backend_http_settings', None)
self.match = kwargs.get('match', None)
self.backend_pool_name = kwargs.get('backend_pool_name', None)
self.backend_http_setting_name = kwargs.get('backend_http_setting_name', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# 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 msrest.serialization import Model


class ApplicationGatewayOnDemandProbe(Model):
"""Details of on demand test probe request.

:param protocol: The protocol used for the probe. Possible values are
'Http' and 'Https'. Possible values include: 'Http', 'Https'
:type protocol: str or
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProtocol
:param host: Host name to send the probe to.
:type host: str
:param path: Relative path of probe. Valid path starts from '/'. Probe is
sent to <Protocol>://<host>:<port><path>
:type path: str
:param timeout: The probe timeout in seconds. Probe marked as failed if
valid response is not received with this timeout period. Acceptable values
are from 1 second to 86400 seconds.
:type timeout: int
:param pick_host_name_from_backend_http_settings: Whether the host header
should be picked from the backend http settings. Default value is false.
:type pick_host_name_from_backend_http_settings: bool
:param match: Criterion for classifying a healthy probe response.
:type match:
~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProbeHealthResponseMatch
:param backend_pool_name: Name of backend pool of application gateway to
which probe request will be sent.
:type backend_pool_name: str
:param backend_http_setting_name: Name of backend http setting of
application gateway to be used for test probe
:type backend_http_setting_name: str
"""

_attribute_map = {
'protocol': {'key': 'protocol', 'type': 'str'},
'host': {'key': 'host', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
'timeout': {'key': 'timeout', 'type': 'int'},
'pick_host_name_from_backend_http_settings': {'key': 'pickHostNameFromBackendHttpSettings', 'type': 'bool'},
'match': {'key': 'match', 'type': 'ApplicationGatewayProbeHealthResponseMatch'},
'backend_pool_name': {'key': 'backendPoolName', 'type': 'str'},
'backend_http_setting_name': {'key': 'backendHttpSettingName', 'type': 'str'},
}

def __init__(self, *, protocol=None, host: str=None, path: str=None, timeout: int=None, pick_host_name_from_backend_http_settings: bool=None, match=None, backend_pool_name: str=None, backend_http_setting_name: str=None, **kwargs) -> None:
super(ApplicationGatewayOnDemandProbe, self).__init__(**kwargs)
self.protocol = protocol
self.host = host
self.path = path
self.timeout = timeout
self.pick_host_name_from_backend_http_settings = pick_host_name_from_backend_http_settings
self.match = match
self.backend_pool_name = backend_pool_name
self.backend_http_setting_name = backend_http_setting_name
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
from enum import Enum


class ApplicationGatewayProtocol(str, Enum):

http = "Http"
https = "Https"


class IPAllocationMethod(str, Enum):

static = "Static"
Expand Down Expand Up @@ -73,12 +79,6 @@ class TransportProtocol(str, Enum):
all = "All"


class ApplicationGatewayProtocol(str, Enum):

http = "Http"
https = "Https"


class ApplicationGatewayCookieBasedAffinity(str, Enum):

enabled = "Enabled"
Expand Down
Loading