diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway.py index 78035663e327..4f104e2e4f1f 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway.py @@ -105,9 +105,9 @@ 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_configuration: Custom error configurations of the + :param custom_error_configurations: Custom error configurations of the application gateway resource. - :type custom_error_configuration: + :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. @@ -151,7 +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_configuration': {'key': 'properties.customErrorConfiguration', 'type': '[ApplicationGatewayCustomError]'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, } @@ -180,6 +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_configuration = kwargs.get('custom_error_configuration', None) + self.custom_error_configurations = kwargs.get('custom_error_configurations', None) self.etag = kwargs.get('etag', None) self.zones = kwargs.get('zones', None) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error.py index 5ebdc06fa1dc..da1da7a67bef 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error.py @@ -16,7 +16,7 @@ class ApplicationGatewayCustomError(Model): """Customer error of an application gateway. :param status_code: Status code of the application gateway customer error. - Possible values include: '403', '502' + 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 diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error_py3.py index b739bbbe8917..adc214f5265c 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_custom_error_py3.py @@ -16,7 +16,7 @@ class ApplicationGatewayCustomError(Model): """Customer error of an application gateway. :param status_code: Status code of the application gateway customer error. - Possible values include: '403', '502' + 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 diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener.py index 113fa54069b3..7169600bb488 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener.py @@ -38,9 +38,9 @@ class ApplicationGatewayHttpListener(SubResource): :param provisioning_state: Provisioning state of the HTTP listener resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :type provisioning_state: str - :param custom_error_configuration: Custom error configurations of the HTTP - listener. - :type custom_error_configuration: + :param custom_error_configurations: Custom error configurations of the + HTTP listener. + :type custom_error_configurations: list[~azure.mgmt.network.v2018_08_01.models.ApplicationGatewayCustomError] :param name: Name of the HTTP listener that is unique within an Application Gateway. @@ -61,7 +61,7 @@ class ApplicationGatewayHttpListener(SubResource): 'ssl_certificate': {'key': 'properties.sslCertificate', 'type': 'SubResource'}, 'require_server_name_indication': {'key': 'properties.requireServerNameIndication', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'custom_error_configuration': {'key': 'properties.customErrorConfiguration', 'type': '[ApplicationGatewayCustomError]'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, @@ -76,7 +76,7 @@ def __init__(self, **kwargs): self.ssl_certificate = kwargs.get('ssl_certificate', None) self.require_server_name_indication = kwargs.get('require_server_name_indication', None) self.provisioning_state = kwargs.get('provisioning_state', None) - self.custom_error_configuration = kwargs.get('custom_error_configuration', None) + self.custom_error_configurations = kwargs.get('custom_error_configurations', None) self.name = kwargs.get('name', None) self.etag = kwargs.get('etag', None) self.type = kwargs.get('type', None) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener_py3.py index f6db2b56bf4e..683d784d5f82 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_http_listener_py3.py @@ -38,9 +38,9 @@ class ApplicationGatewayHttpListener(SubResource): :param provisioning_state: Provisioning state of the HTTP listener resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. :type provisioning_state: str - :param custom_error_configuration: Custom error configurations of the HTTP - listener. - :type custom_error_configuration: + :param custom_error_configurations: Custom error configurations of the + HTTP listener. + :type custom_error_configurations: list[~azure.mgmt.network.v2018_08_01.models.ApplicationGatewayCustomError] :param name: Name of the HTTP listener that is unique within an Application Gateway. @@ -61,13 +61,13 @@ class ApplicationGatewayHttpListener(SubResource): 'ssl_certificate': {'key': 'properties.sslCertificate', 'type': 'SubResource'}, 'require_server_name_indication': {'key': 'properties.requireServerNameIndication', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'custom_error_configuration': {'key': 'properties.customErrorConfiguration', 'type': '[ApplicationGatewayCustomError]'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, frontend_ip_configuration=None, frontend_port=None, protocol=None, host_name: str=None, ssl_certificate=None, require_server_name_indication: bool=None, provisioning_state: str=None, custom_error_configuration=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, frontend_ip_configuration=None, frontend_port=None, protocol=None, host_name: str=None, ssl_certificate=None, require_server_name_indication: bool=None, provisioning_state: str=None, custom_error_configurations=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: super(ApplicationGatewayHttpListener, self).__init__(id=id, **kwargs) self.frontend_ip_configuration = frontend_ip_configuration self.frontend_port = frontend_port @@ -76,7 +76,7 @@ def __init__(self, *, id: str=None, frontend_ip_configuration=None, frontend_por self.ssl_certificate = ssl_certificate self.require_server_name_indication = require_server_name_indication self.provisioning_state = provisioning_state - self.custom_error_configuration = custom_error_configuration + self.custom_error_configurations = custom_error_configurations self.name = name self.etag = etag self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_py3.py index e414f9b322a6..767732d47c70 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/application_gateway_py3.py @@ -105,9 +105,9 @@ 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_configuration: Custom error configurations of the + :param custom_error_configurations: Custom error configurations of the application gateway resource. - :type custom_error_configuration: + :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. @@ -151,12 +151,12 @@ 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_configuration': {'key': 'properties.customErrorConfiguration', 'type': '[ApplicationGatewayCustomError]'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl_policy=None, gateway_ip_configurations=None, authentication_certificates=None, trusted_root_certificates=None, ssl_certificates=None, frontend_ip_configurations=None, frontend_ports=None, probes=None, backend_address_pools=None, backend_http_settings_collection=None, http_listeners=None, url_path_maps=None, request_routing_rules=None, redirect_configurations=None, web_application_firewall_configuration=None, enable_http2: bool=None, enable_fips: bool=None, autoscale_configuration=None, resource_guid: str=None, provisioning_state: str=None, custom_error_configuration=None, etag: str=None, zones=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl_policy=None, gateway_ip_configurations=None, authentication_certificates=None, trusted_root_certificates=None, ssl_certificates=None, frontend_ip_configurations=None, frontend_ports=None, probes=None, backend_address_pools=None, backend_http_settings_collection=None, http_listeners=None, url_path_maps=None, request_routing_rules=None, redirect_configurations=None, web_application_firewall_configuration=None, enable_http2: bool=None, enable_fips: bool=None, autoscale_configuration=None, resource_guid: str=None, provisioning_state: str=None, custom_error_configurations=None, etag: str=None, zones=None, **kwargs) -> None: super(ApplicationGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) self.sku = sku self.ssl_policy = ssl_policy @@ -180,6 +180,6 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl self.autoscale_configuration = autoscale_configuration self.resource_guid = resource_guid self.provisioning_state = provisioning_state - self.custom_error_configuration = custom_error_configuration + self.custom_error_configurations = custom_error_configurations self.etag = etag self.zones = zones diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_management_client_enums.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_management_client_enums.py index de6ee4966447..60de1b2cf4ef 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_management_client_enums.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/network_management_client_enums.py @@ -156,8 +156,8 @@ class ApplicationGatewaySslCipherSuite(str, Enum): class ApplicationGatewayCustomErrorStatusCode(str, Enum): - four_zero_three = "403" - five_zero_two = "502" + http_status403 = "HttpStatus403" + http_status502 = "HttpStatus502" class ApplicationGatewayRequestRoutingRuleType(str, Enum):