Skip to content
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

[AutoPR network/resource-manager] [Portal Generated] Review request for Microsoft.Network to add version 2018-10-01 #3718

Merged
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions azure-mgmt-network/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py

251 changes: 251 additions & 0 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 @@ -55,6 +55,7 @@
from .application_gateway_ssl_certificate_py3 import ApplicationGatewaySslCertificate
from .application_gateway_frontend_ip_configuration_py3 import ApplicationGatewayFrontendIPConfiguration
from .application_gateway_frontend_port_py3 import ApplicationGatewayFrontendPort
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
Expand All @@ -63,6 +64,7 @@
from .application_gateway_redirect_configuration_py3 import ApplicationGatewayRedirectConfiguration
from .application_gateway_url_path_map_py3 import ApplicationGatewayUrlPathMap
from .application_gateway_firewall_disabled_rule_group_py3 import ApplicationGatewayFirewallDisabledRuleGroup
from .application_gateway_firewall_exclusion_py3 import ApplicationGatewayFirewallExclusion
from .application_gateway_web_application_firewall_configuration_py3 import ApplicationGatewayWebApplicationFirewallConfiguration
from .application_gateway_autoscale_configuration_py3 import ApplicationGatewayAutoscaleConfiguration
from .application_gateway_py3 import ApplicationGateway
Expand Down Expand Up @@ -123,6 +125,10 @@
from .express_route_gateway_py3 import ExpressRouteGateway
from .express_route_gateway_list_py3 import ExpressRouteGatewayList
from .express_route_connection_list_py3 import ExpressRouteConnectionList
from .express_route_ports_location_bandwidths_py3 import ExpressRoutePortsLocationBandwidths
from .express_route_ports_location_py3 import ExpressRoutePortsLocation
from .express_route_link_py3 import ExpressRouteLink
from .express_route_port_py3 import ExpressRoutePort
from .load_balancer_sku_py3 import LoadBalancerSku
from .load_balancing_rule_py3 import LoadBalancingRule
from .probe_py3 import Probe
Expand Down Expand Up @@ -201,7 +207,7 @@
from .connection_monitor_result_py3 import ConnectionMonitorResult
from .connection_state_snapshot_py3 import ConnectionStateSnapshot
from .connection_monitor_query_result_py3 import ConnectionMonitorQueryResult
from .traffic_query_py3 import TrafficQuery
from .network_configuration_diagnostic_profile_py3 import NetworkConfigurationDiagnosticProfile
from .network_configuration_diagnostic_parameters_py3 import NetworkConfigurationDiagnosticParameters
from .matched_rule_py3 import MatchedRule
from .network_security_rules_evaluation_result_py3 import NetworkSecurityRulesEvaluationResult
Expand Down Expand Up @@ -322,6 +328,7 @@
from .application_gateway_ssl_certificate import ApplicationGatewaySslCertificate
from .application_gateway_frontend_ip_configuration import ApplicationGatewayFrontendIPConfiguration
from .application_gateway_frontend_port import ApplicationGatewayFrontendPort
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
Expand All @@ -330,6 +337,7 @@
from .application_gateway_redirect_configuration import ApplicationGatewayRedirectConfiguration
from .application_gateway_url_path_map import ApplicationGatewayUrlPathMap
from .application_gateway_firewall_disabled_rule_group import ApplicationGatewayFirewallDisabledRuleGroup
from .application_gateway_firewall_exclusion import ApplicationGatewayFirewallExclusion
from .application_gateway_web_application_firewall_configuration import ApplicationGatewayWebApplicationFirewallConfiguration
from .application_gateway_autoscale_configuration import ApplicationGatewayAutoscaleConfiguration
from .application_gateway import ApplicationGateway
Expand Down Expand Up @@ -390,6 +398,10 @@
from .express_route_gateway import ExpressRouteGateway
from .express_route_gateway_list import ExpressRouteGatewayList
from .express_route_connection_list import ExpressRouteConnectionList
from .express_route_ports_location_bandwidths import ExpressRoutePortsLocationBandwidths
from .express_route_ports_location import ExpressRoutePortsLocation
from .express_route_link import ExpressRouteLink
from .express_route_port import ExpressRoutePort
from .load_balancer_sku import LoadBalancerSku
from .load_balancing_rule import LoadBalancingRule
from .probe import Probe
Expand Down Expand Up @@ -468,7 +480,7 @@
from .connection_monitor_result import ConnectionMonitorResult
from .connection_state_snapshot import ConnectionStateSnapshot
from .connection_monitor_query_result import ConnectionMonitorQueryResult
from .traffic_query import TrafficQuery
from .network_configuration_diagnostic_profile import NetworkConfigurationDiagnosticProfile
from .network_configuration_diagnostic_parameters import NetworkConfigurationDiagnosticParameters
from .matched_rule import MatchedRule
from .network_security_rules_evaluation_result import NetworkSecurityRulesEvaluationResult
Expand Down Expand Up @@ -557,12 +569,16 @@
from .express_route_service_provider_paged import ExpressRouteServiceProviderPaged
from .express_route_cross_connection_paged import ExpressRouteCrossConnectionPaged
from .express_route_cross_connection_peering_paged import ExpressRouteCrossConnectionPeeringPaged
from .express_route_ports_location_paged import ExpressRoutePortsLocationPaged
from .express_route_port_paged import ExpressRoutePortPaged
from .express_route_link_paged import ExpressRouteLinkPaged
from .interface_endpoint_paged import InterfaceEndpointPaged
from .load_balancer_paged import LoadBalancerPaged
from .backend_address_pool_paged import BackendAddressPoolPaged
from .frontend_ip_configuration_paged import FrontendIPConfigurationPaged
from .inbound_nat_rule_paged import InboundNatRulePaged
from .load_balancing_rule_paged import LoadBalancingRulePaged
from .outbound_rule_paged import OutboundRulePaged
from .network_interface_paged import NetworkInterfacePaged
from .probe_paged import ProbePaged
from .network_interface_ip_configuration_paged import NetworkInterfaceIPConfigurationPaged
Expand Down Expand Up @@ -619,6 +635,7 @@
ApplicationGatewaySslPolicyType,
ApplicationGatewaySslPolicyName,
ApplicationGatewaySslCipherSuite,
ApplicationGatewayCustomErrorStatusCode,
ApplicationGatewayRequestRoutingRuleType,
ApplicationGatewayRedirectType,
ApplicationGatewayOperationalState,
Expand All @@ -638,6 +655,9 @@
ExpressRouteCircuitSkuTier,
ExpressRouteCircuitSkuFamily,
ServiceProviderProvisioningState,
ExpressRouteLinkConnectorType,
ExpressRouteLinkAdminState,
ExpressRoutePortsEncapsulation,
LoadBalancerSkuName,
LoadDistribution,
ProbeProtocol,
Expand All @@ -661,6 +681,7 @@
ConnectionMonitorSourceStatus,
ConnectionState,
EvaluationState,
VerbosityLevel,
PublicIPPrefixSkuName,
VirtualNetworkPeeringState,
VirtualNetworkGatewayType,
Expand Down Expand Up @@ -734,6 +755,7 @@
'ApplicationGatewaySslCertificate',
'ApplicationGatewayFrontendIPConfiguration',
'ApplicationGatewayFrontendPort',
'ApplicationGatewayCustomError',
'ApplicationGatewayHttpListener',
'ApplicationGatewayPathRule',
'ApplicationGatewayProbeHealthResponseMatch',
Expand All @@ -742,6 +764,7 @@
'ApplicationGatewayRedirectConfiguration',
'ApplicationGatewayUrlPathMap',
'ApplicationGatewayFirewallDisabledRuleGroup',
'ApplicationGatewayFirewallExclusion',
'ApplicationGatewayWebApplicationFirewallConfiguration',
'ApplicationGatewayAutoscaleConfiguration',
'ApplicationGateway',
Expand Down Expand Up @@ -802,6 +825,10 @@
'ExpressRouteGateway',
'ExpressRouteGatewayList',
'ExpressRouteConnectionList',
'ExpressRoutePortsLocationBandwidths',
'ExpressRoutePortsLocation',
'ExpressRouteLink',
'ExpressRoutePort',
'LoadBalancerSku',
'LoadBalancingRule',
'Probe',
Expand Down Expand Up @@ -880,7 +907,7 @@
'ConnectionMonitorResult',
'ConnectionStateSnapshot',
'ConnectionMonitorQueryResult',
'TrafficQuery',
'NetworkConfigurationDiagnosticProfile',
'NetworkConfigurationDiagnosticParameters',
'MatchedRule',
'NetworkSecurityRulesEvaluationResult',
Expand Down Expand Up @@ -969,12 +996,16 @@
'ExpressRouteServiceProviderPaged',
'ExpressRouteCrossConnectionPaged',
'ExpressRouteCrossConnectionPeeringPaged',
'ExpressRoutePortsLocationPaged',
'ExpressRoutePortPaged',
'ExpressRouteLinkPaged',
'InterfaceEndpointPaged',
'LoadBalancerPaged',
'BackendAddressPoolPaged',
'FrontendIPConfigurationPaged',
'InboundNatRulePaged',
'LoadBalancingRulePaged',
'OutboundRulePaged',
'NetworkInterfacePaged',
'ProbePaged',
'NetworkInterfaceIPConfigurationPaged',
Expand Down Expand Up @@ -1030,6 +1061,7 @@
'ApplicationGatewaySslPolicyType',
'ApplicationGatewaySslPolicyName',
'ApplicationGatewaySslCipherSuite',
'ApplicationGatewayCustomErrorStatusCode',
'ApplicationGatewayRequestRoutingRuleType',
'ApplicationGatewayRedirectType',
'ApplicationGatewayOperationalState',
Expand All @@ -1049,6 +1081,9 @@
'ExpressRouteCircuitSkuTier',
'ExpressRouteCircuitSkuFamily',
'ServiceProviderProvisioningState',
'ExpressRouteLinkConnectorType',
'ExpressRouteLinkAdminState',
'ExpressRoutePortsEncapsulation',
'LoadBalancerSkuName',
'LoadDistribution',
'ProbeProtocol',
Expand All @@ -1072,6 +1107,7 @@
'ConnectionMonitorSourceStatus',
'ConnectionState',
'EvaluationState',
'VerbosityLevel',
'PublicIPPrefixSkuName',
'VirtualNetworkPeeringState',
'VirtualNetworkGatewayType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ class ApplicationGateway(Resource):
:param provisioning_state: Provisioning state of the application gateway
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
:type provisioning_state: str
:param custom_error_configurations: Custom error configurations of the
application gateway resource.
:type custom_error_configurations:
list[~azure.mgmt.network.v2018_08_01.models.ApplicationGatewayCustomError]
:param etag: A unique read-only string that changes whenever the resource
is updated.
:type etag: str
Expand Down Expand Up @@ -147,6 +151,7 @@ class ApplicationGateway(Resource):
'autoscale_configuration': {'key': 'properties.autoscaleConfiguration', 'type': 'ApplicationGatewayAutoscaleConfiguration'},
'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'},
'etag': {'key': 'etag', 'type': 'str'},
'zones': {'key': 'zones', 'type': '[str]'},
}
Expand Down Expand Up @@ -175,5 +180,6 @@ def __init__(self, **kwargs):
self.autoscale_configuration = kwargs.get('autoscale_configuration', None)
self.resource_guid = kwargs.get('resource_guid', None)
self.provisioning_state = kwargs.get('provisioning_state', None)
self.custom_error_configurations = kwargs.get('custom_error_configurations', None)
self.etag = kwargs.get('etag', None)
self.zones = kwargs.get('zones', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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 ApplicationGatewayCustomError(Model):
"""Customer error of an application gateway.

:param status_code: Status code of the application gateway customer error.
Possible values include: 'HttpStatus403', 'HttpStatus502'
:type status_code: str or
~azure.mgmt.network.v2018_08_01.models.ApplicationGatewayCustomErrorStatusCode
:param custom_error_page_url: Error page URL of the application gateway
customer error.
:type custom_error_page_url: str
"""

_attribute_map = {
'status_code': {'key': 'statusCode', 'type': 'str'},
'custom_error_page_url': {'key': 'customErrorPageUrl', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ApplicationGatewayCustomError, self).__init__(**kwargs)
self.status_code = kwargs.get('status_code', None)
self.custom_error_page_url = kwargs.get('custom_error_page_url', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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 ApplicationGatewayCustomError(Model):
"""Customer error of an application gateway.

:param status_code: Status code of the application gateway customer error.
Possible values include: 'HttpStatus403', 'HttpStatus502'
:type status_code: str or
~azure.mgmt.network.v2018_08_01.models.ApplicationGatewayCustomErrorStatusCode
:param custom_error_page_url: Error page URL of the application gateway
customer error.
:type custom_error_page_url: str
"""

_attribute_map = {
'status_code': {'key': 'statusCode', 'type': 'str'},
'custom_error_page_url': {'key': 'customErrorPageUrl', 'type': 'str'},
}

def __init__(self, *, status_code=None, custom_error_page_url: str=None, **kwargs) -> None:
super(ApplicationGatewayCustomError, self).__init__(**kwargs)
self.status_code = status_code
self.custom_error_page_url = custom_error_page_url
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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 ApplicationGatewayFirewallExclusion(Model):
"""Allow to exclude some variable satisfy the condition for the WAF check.

All required parameters must be populated in order to send to Azure.

:param match_variable: Required. The variable to be excluded.
:type match_variable: str
:param selector_match_operator: Required. When matchVariable is a
collection, operate on the selector to specify which elements in the
collection this exclusion applies to.
:type selector_match_operator: str
:param selector: Required. When matchVariable is a collection, operator
used to specify which elements in the collection this exclusion applies
to.
:type selector: str
"""

_validation = {
'match_variable': {'required': True},
'selector_match_operator': {'required': True},
'selector': {'required': True},
}

_attribute_map = {
'match_variable': {'key': 'matchVariable', 'type': 'str'},
'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'},
'selector': {'key': 'selector', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ApplicationGatewayFirewallExclusion, self).__init__(**kwargs)
self.match_variable = kwargs.get('match_variable', None)
self.selector_match_operator = kwargs.get('selector_match_operator', None)
self.selector = kwargs.get('selector', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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 ApplicationGatewayFirewallExclusion(Model):
"""Allow to exclude some variable satisfy the condition for the WAF check.

All required parameters must be populated in order to send to Azure.

:param match_variable: Required. The variable to be excluded.
:type match_variable: str
:param selector_match_operator: Required. When matchVariable is a
collection, operate on the selector to specify which elements in the
collection this exclusion applies to.
:type selector_match_operator: str
:param selector: Required. When matchVariable is a collection, operator
used to specify which elements in the collection this exclusion applies
to.
:type selector: str
"""

_validation = {
'match_variable': {'required': True},
'selector_match_operator': {'required': True},
'selector': {'required': True},
}

_attribute_map = {
'match_variable': {'key': 'matchVariable', 'type': 'str'},
'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'},
'selector': {'key': 'selector', 'type': 'str'},
}

def __init__(self, *, match_variable: str, selector_match_operator: str, selector: str, **kwargs) -> None:
super(ApplicationGatewayFirewallExclusion, self).__init__(**kwargs)
self.match_variable = match_variable
self.selector_match_operator = selector_match_operator
self.selector = selector
Loading