Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -210,7 +212,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -247,7 +249,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ApplicationGateway>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -371,6 +373,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -418,7 +422,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -455,7 +459,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ApplicationGateway>>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -545,6 +549,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -592,7 +598,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -629,7 +635,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ApplicationGateway>>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -805,6 +811,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -983,6 +991,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -1036,7 +1046,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -1073,7 +1083,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ApplicationGateway>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand All @@ -1091,7 +1101,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ApplicationGateway>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -1196,6 +1206,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -1359,6 +1371,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -1535,6 +1549,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -1582,7 +1598,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -1619,7 +1635,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ApplicationGatewayBackendHealth>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -1706,6 +1722,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -1753,7 +1771,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -1790,7 +1808,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ApplicationGateway>>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -1877,6 +1895,8 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -1924,7 +1944,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -1961,7 +1981,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ApplicationGateway>>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -223,7 +225,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -260,7 +262,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ExpressRouteCircuitAuthorization>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -397,6 +399,8 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -444,7 +448,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -481,7 +485,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ExpressRouteCircuitAuthorization>>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -596,6 +600,8 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -780,6 +786,8 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -833,7 +841,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -870,7 +878,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ExpressRouteCircuitAuthorization>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand All @@ -888,7 +896,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<ExpressRouteCircuitAuthorization>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down Expand Up @@ -975,6 +983,8 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}


if (customHeaders != null)
{
foreach(var _header in customHeaders)
Expand Down Expand Up @@ -1022,7 +1032,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
ex.Body = _errorBody;
}
}
catch (Newtonsoft.Json.JsonException)
catch (JsonException)
{
// Ignore the exception
}
Expand Down Expand Up @@ -1059,7 +1069,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<ExpressRouteCircuitAuthorization>>(_responseContent, Client.DeserializationSettings);
}
catch (Newtonsoft.Json.JsonException ex)
catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
Expand Down
Loading