diff --git a/src/SDKs/Network/AzSdk.RP.props b/src/SDKs/Network/AzSdk.RP.props
index a4db7e7f3c2d6..38d883af78643 100644
--- a/src/SDKs/Network/AzSdk.RP.props
+++ b/src/SDKs/Network/AzSdk.RP.props
@@ -1,7 +1,7 @@
- Compute_2017-03-30;Network_2018-06-01;
+ Compute_2017-03-30;Network_2018-07-01;
$(PackageTags);$(CommonTags);$(AzureApiTag);
\ No newline at end of file
diff --git a/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs b/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs
index 9a41c5df7abae..d5e542bfc847b 100644
--- a/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs
@@ -116,7 +116,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -353,7 +353,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -531,7 +531,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -778,7 +778,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -954,7 +954,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1130,7 +1130,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1313,7 +1313,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "predefinedPolicyName");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1502,7 +1502,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1689,7 +1689,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1915,7 +1915,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2113,7 +2113,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2286,7 +2286,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2467,7 +2467,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs
index 99e096d6c5d84..894da3c70296e 100644
--- a/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs
@@ -116,7 +116,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -322,7 +322,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -505,7 +505,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -694,7 +694,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -878,7 +878,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs b/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs
index 3d2dba66162c4..c74088a325d40 100644
--- a/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs
@@ -87,7 +87,7 @@ internal AvailableEndpointServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/AzureFirewallsOperations.cs b/src/SDKs/Network/Management.Network/Generated/AzureFirewallsOperations.cs
index e7b83c5aec7d0..9bb5501953679 100644
--- a/src/SDKs/Network/Management.Network/Generated/AzureFirewallsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/AzureFirewallsOperations.cs
@@ -116,7 +116,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -328,7 +328,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -506,7 +506,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -693,7 +693,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -876,7 +876,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs b/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs
index c2d97a99e587c..797e98381a769 100644
--- a/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs
@@ -80,7 +80,7 @@ internal BgpServiceCommunitiesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs
index 11925ead9c1a3..b02bd9bd5e3a3 100644
--- a/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs
@@ -96,7 +96,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -129,7 +129,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -216,14 +216,13 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -233,10 +232,6 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -396,7 +391,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -425,7 +420,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -510,14 +505,13 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -527,10 +521,6 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -596,7 +586,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -637,7 +627,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -731,14 +721,13 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 201)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -748,10 +737,6 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -832,7 +817,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -862,7 +847,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -949,14 +934,13 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -966,10 +950,6 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -1014,7 +994,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1044,7 +1024,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1131,14 +1111,13 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1148,10 +1127,6 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -1196,7 +1171,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1226,7 +1201,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1313,14 +1288,13 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1330,10 +1304,6 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -1378,7 +1348,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1411,7 +1381,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1498,14 +1468,13 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1515,10 +1484,6 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs b/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs
index 0943b93fd5890..b44bf77650c39 100644
--- a/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs
@@ -116,7 +116,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -321,7 +321,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -504,7 +504,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -693,7 +693,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -876,7 +876,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs
index 973d6fa2e3478..bd47471149fea 100644
--- a/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs
@@ -94,7 +94,7 @@ internal DefaultSecurityRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -295,7 +295,7 @@ internal DefaultSecurityRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs
index 15689f098c3cc..9f4e1dfde6f6d 100644
--- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs
@@ -127,7 +127,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -352,7 +352,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -551,7 +551,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -744,7 +744,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs
index 29aae11a49947..04613a98c60aa 100644
--- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs
@@ -138,7 +138,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -381,7 +381,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -584,7 +584,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs
index 204fced93f4d0..7ea6a9284aee3 100644
--- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs
@@ -126,7 +126,7 @@ internal ExpressRouteCircuitPeeringsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -351,7 +351,7 @@ internal ExpressRouteCircuitPeeringsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -549,7 +549,7 @@ internal ExpressRouteCircuitPeeringsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -746,7 +746,7 @@ internal ExpressRouteCircuitPeeringsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs
index 886566b4360e7..17550567d235f 100644
--- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs
@@ -116,7 +116,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -448,7 +448,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -649,7 +649,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -838,7 +838,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1016,7 +1016,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1203,7 +1203,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1387,7 +1387,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1613,7 +1613,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1829,7 +1829,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2042,7 +2042,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2255,7 +2255,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs
index 733905011209c..3940504d7de3c 100644
--- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs
@@ -94,7 +94,7 @@ internal ExpressRouteCrossConnectionPeeringsOperations(NetworkManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -320,7 +320,7 @@ internal ExpressRouteCrossConnectionPeeringsOperations(NetworkManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -549,7 +549,7 @@ internal ExpressRouteCrossConnectionPeeringsOperations(NetworkManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -746,7 +746,7 @@ internal ExpressRouteCrossConnectionPeeringsOperations(NetworkManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs
index 0f62948ea95ea..9eeb4c8cc3b5c 100644
--- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs
@@ -80,7 +80,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -263,7 +263,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -455,7 +455,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -793,7 +793,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1001,7 +1001,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1217,7 +1217,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1430,7 +1430,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1643,7 +1643,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs
index 3d30b3353e8f0..3a638740c4d8a 100644
--- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs
@@ -80,7 +80,7 @@ internal ExpressRouteServiceProvidersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/HubVirtualNetworkConnectionsOperations.cs b/src/SDKs/Network/Management.Network/Generated/HubVirtualNetworkConnectionsOperations.cs
index cfb39b3bfc154..80426630fa8bb 100644
--- a/src/SDKs/Network/Management.Network/Generated/HubVirtualNetworkConnectionsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/HubVirtualNetworkConnectionsOperations.cs
@@ -101,7 +101,7 @@ internal HubVirtualNetworkConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "connectionName");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -292,7 +292,7 @@ internal HubVirtualNetworkConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/IConnectionMonitorsOperations.cs b/src/SDKs/Network/Management.Network/Generated/IConnectionMonitorsOperations.cs
index 1571f9a2c632c..5f3338ead98ef 100644
--- a/src/SDKs/Network/Management.Network/Generated/IConnectionMonitorsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/IConnectionMonitorsOperations.cs
@@ -45,7 +45,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -73,7 +73,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -101,7 +101,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -126,7 +126,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -151,7 +151,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -176,7 +176,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -201,7 +201,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -233,7 +233,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -261,7 +261,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -286,7 +286,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -311,7 +311,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -336,7 +336,7 @@ public partial interface IConnectionMonitorsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/src/SDKs/Network/Management.Network/Generated/INetworkManagementClient.cs b/src/SDKs/Network/Management.Network/Generated/INetworkManagementClient.cs
index 22d9c1b1b7c2e..bab1ff811c570 100644
--- a/src/SDKs/Network/Management.Network/Generated/INetworkManagementClient.cs
+++ b/src/SDKs/Network/Management.Network/Generated/INetworkManagementClient.cs
@@ -52,19 +52,20 @@ public partial interface INetworkManagementClient : System.IDisposable
string SubscriptionId { get; set; }
///
- /// Gets or sets the preferred language for the response.
+ /// The preferred language for the response.
///
string AcceptLanguage { get; set; }
///
- /// Gets or sets the retry timeout in seconds for Long Running
- /// Operations. Default value is 30.
+ /// The retry timeout in seconds for Long Running Operations. Default
+ /// value is 30.
///
int? LongRunningOperationRetryTimeout { get; set; }
///
- /// When set to true a unique x-ms-client-request-id value is generated
- /// and included in each request. Default is true.
+ /// Whether a unique x-ms-client-request-id should be generated. When
+ /// set to true a unique x-ms-client-request-id value is generated and
+ /// included in each request. Default is true.
///
bool? GenerateClientRequestId { get; set; }
@@ -219,6 +220,11 @@ public partial interface INetworkManagementClient : System.IDisposable
///
IPublicIPAddressesOperations PublicIPAddresses { get; }
+ ///
+ /// Gets the IPublicIPPrefixesOperations.
+ ///
+ IPublicIPPrefixesOperations PublicIPPrefixes { get; }
+
///
/// Gets the IRouteFiltersOperations.
///
@@ -314,6 +320,16 @@ public partial interface INetworkManagementClient : System.IDisposable
///
IVpnConnectionsOperations VpnConnections { get; }
+ ///
+ /// Gets the IServiceEndpointPoliciesOperations.
+ ///
+ IServiceEndpointPoliciesOperations ServiceEndpointPolicies { get; }
+
+ ///
+ /// Gets the IServiceEndpointPolicyDefinitionsOperations.
+ ///
+ IServiceEndpointPolicyDefinitionsOperations ServiceEndpointPolicyDefinitions { get; }
+
///
/// Checks whether a domain name in the cloudapp.azure.com zone is
/// available for use.
diff --git a/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs b/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs
index 2a116d9fb8d84..826822974aa07 100644
--- a/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs
@@ -42,7 +42,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -67,7 +67,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -92,7 +92,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -117,7 +117,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -139,7 +139,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -158,7 +158,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -186,7 +186,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -215,7 +215,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -243,7 +243,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -272,7 +272,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -300,7 +300,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -330,7 +330,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -359,7 +359,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -389,7 +389,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -420,7 +420,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -449,7 +449,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -478,7 +478,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -489,6 +489,34 @@ public partial interface INetworkWatchersOperations
///
Task> ListAvailableProvidersWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, AvailableProvidersListParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
+ /// Get network configuration diagnostic.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the network watcher.
+ ///
+ ///
+ /// Parameters to get network configuration diagnostic.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> GetNetworkConfigurationDiagnosticWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, NetworkConfigurationDiagnosticParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
/// Deletes the specified network watcher resource.
///
///
@@ -503,7 +531,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -529,7 +557,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -557,7 +585,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -586,7 +614,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -614,7 +642,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -644,7 +672,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -673,7 +701,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -703,7 +731,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -734,7 +762,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -763,7 +791,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -792,7 +820,7 @@ public partial interface INetworkWatchersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -802,5 +830,33 @@ public partial interface INetworkWatchersOperations
/// Thrown when a required parameter is null
///
Task> BeginListAvailableProvidersWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, AvailableProvidersListParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Get network configuration diagnostic.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the network watcher.
+ ///
+ ///
+ /// Parameters to get network configuration diagnostic.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> BeginGetNetworkConfigurationDiagnosticWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, NetworkConfigurationDiagnosticParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
diff --git a/src/SDKs/Network/Management.Network/Generated/IPacketCapturesOperations.cs b/src/SDKs/Network/Management.Network/Generated/IPacketCapturesOperations.cs
index f1b707c3fda2b..dcdf47833d61f 100644
--- a/src/SDKs/Network/Management.Network/Generated/IPacketCapturesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/IPacketCapturesOperations.cs
@@ -44,7 +44,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -72,7 +72,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -100,7 +100,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -125,7 +125,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -150,7 +150,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -176,7 +176,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -207,7 +207,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -235,7 +235,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -260,7 +260,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -285,7 +285,7 @@ public partial interface IPacketCapturesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/src/SDKs/Network/Management.Network/Generated/IPublicIPPrefixesOperations.cs b/src/SDKs/Network/Management.Network/Generated/IPublicIPPrefixesOperations.cs
new file mode 100644
index 0000000000000..c51e13e12a0ed
--- /dev/null
+++ b/src/SDKs/Network/Management.Network/Generated/IPublicIPPrefixesOperations.cs
@@ -0,0 +1,298 @@
+//
+// 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.
+//
+
+namespace Microsoft.Azure.Management.Network
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// PublicIPPrefixesOperations operations.
+ ///
+ public partial interface IPublicIPPrefixesOperations
+ {
+ ///
+ /// Deletes the specified public IP prefix.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the PublicIpPrefix.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task DeleteWithHttpMessagesAsync(string resourceGroupName, string publicIpPrefixName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets the specified public IP prefix in a specified resource group.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the PublicIPPrefx.
+ ///
+ ///
+ /// Expands referenced resources.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> GetWithHttpMessagesAsync(string resourceGroupName, string publicIpPrefixName, string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates a static or dynamic public IP prefix.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the public IP prefix.
+ ///
+ ///
+ /// Parameters supplied to the create or update public IP prefix
+ /// operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string publicIpPrefixName, PublicIPPrefix parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Updates public IP prefix tags.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the public IP prefix.
+ ///
+ ///
+ /// Parameters supplied to update public IP prefix tags.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> UpdateTagsWithHttpMessagesAsync(string resourceGroupName, string publicIpPrefixName, TagsObject parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all the public IP prefixes in a subscription.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListAllWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all public IP prefixes in a resource group.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Deletes the specified public IP prefix.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the PublicIpPrefix.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string publicIpPrefixName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates a static or dynamic public IP prefix.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the public IP prefix.
+ ///
+ ///
+ /// Parameters supplied to the create or update public IP prefix
+ /// operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string publicIpPrefixName, PublicIPPrefix parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Updates public IP prefix tags.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the public IP prefix.
+ ///
+ ///
+ /// Parameters supplied to update public IP prefix tags.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> BeginUpdateTagsWithHttpMessagesAsync(string resourceGroupName, string publicIpPrefixName, TagsObject parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all the public IP prefixes in a subscription.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListAllNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all public IP prefixes in a resource group.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
diff --git a/src/SDKs/Network/Management.Network/Generated/IServiceEndpointPoliciesOperations.cs b/src/SDKs/Network/Management.Network/Generated/IServiceEndpointPoliciesOperations.cs
new file mode 100644
index 0000000000000..76b3039e0430a
--- /dev/null
+++ b/src/SDKs/Network/Management.Network/Generated/IServiceEndpointPoliciesOperations.cs
@@ -0,0 +1,299 @@
+//
+// 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.
+//
+
+namespace Microsoft.Azure.Management.Network
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// ServiceEndpointPoliciesOperations operations.
+ ///
+ public partial interface IServiceEndpointPoliciesOperations
+ {
+ ///
+ /// Deletes the specified service endpoint policy.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets the specified service Endpoint Policies in a specified
+ /// resource group.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// Expands referenced resources.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates a service Endpoint Policies.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// Parameters supplied to the create or update service endpoint policy
+ /// operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, ServiceEndpointPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Updates service Endpoint Policies.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// Parameters supplied to update service endpoint policy tags.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, TagsObject parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all the service endpoint policies in a subscription.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all service endpoint Policies in a resource group.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Deletes the specified service endpoint policy.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates a service Endpoint Policies.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// Parameters supplied to the create or update service endpoint policy
+ /// operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, ServiceEndpointPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Updates service Endpoint Policies.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// Parameters supplied to update service endpoint policy tags.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, TagsObject parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all the service endpoint policies in a subscription.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all service endpoint Policies in a resource group.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
diff --git a/src/SDKs/Network/Management.Network/Generated/IServiceEndpointPolicyDefinitionsOperations.cs b/src/SDKs/Network/Management.Network/Generated/IServiceEndpointPolicyDefinitionsOperations.cs
new file mode 100644
index 0000000000000..dade1976c7f0b
--- /dev/null
+++ b/src/SDKs/Network/Management.Network/Generated/IServiceEndpointPolicyDefinitionsOperations.cs
@@ -0,0 +1,221 @@
+//
+// 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.
+//
+
+namespace Microsoft.Azure.Management.Network
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// ServiceEndpointPolicyDefinitionsOperations operations.
+ ///
+ public partial interface IServiceEndpointPolicyDefinitionsOperations
+ {
+ ///
+ /// Deletes the specified ServiceEndpoint policy definitions.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the Service Endpoint Policy.
+ ///
+ ///
+ /// The name of the service endpoint policy definition.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Get the specified service endpoint policy definitions from service
+ /// endpoint policy.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy name.
+ ///
+ ///
+ /// The name of the service endpoint policy definition name.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates a service endpoint policy definition in the
+ /// specified service endpoint policy.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// The name of the service endpoint policy definition name.
+ ///
+ ///
+ /// Parameters supplied to the create or update service endpoint policy
+ /// operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all service endpoint policy definitions in a service end point
+ /// policy.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy name.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Deletes the specified ServiceEndpoint policy definitions.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the Service Endpoint Policy.
+ ///
+ ///
+ /// The name of the service endpoint policy definition.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates a service endpoint policy definition in the
+ /// specified service endpoint policy.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the service endpoint policy.
+ ///
+ ///
+ /// The name of the service endpoint policy definition name.
+ ///
+ ///
+ /// Parameters supplied to the create or update service endpoint policy
+ /// operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all service endpoint policy definitions in a service end point
+ /// policy.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
diff --git a/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs
index 86454b4f32b12..33f5ba9f1caa5 100644
--- a/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs
@@ -94,7 +94,7 @@ internal InboundNatRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -323,7 +323,7 @@ internal InboundNatRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -556,7 +556,7 @@ internal InboundNatRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -748,7 +748,7 @@ internal InboundNatRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs
index 09d20879c6287..8f2e2461339e7 100644
--- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerBackendAddressPoolsOperations(NetworkManagementClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -295,7 +295,7 @@ internal LoadBalancerBackendAddressPoolsOperations(NetworkManagementClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs
index 5aef24525adec..b8490af1a795a 100644
--- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerFrontendIPConfigurationsOperations(NetworkManagementClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -295,7 +295,7 @@ internal LoadBalancerFrontendIPConfigurationsOperations(NetworkManagementClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs
index f7edf3b001e07..02f763dae2b39 100644
--- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerLoadBalancingRulesOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -295,7 +295,7 @@ internal LoadBalancerLoadBalancingRulesOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs
index a6b0a938762c4..1818d1a71582b 100644
--- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerNetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs
index c70baa671258b..440040dcb5c1f 100644
--- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerProbesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -295,7 +295,7 @@ internal LoadBalancerProbesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs
index d92244d7e1e32..6ed991a8fe7a5 100644
--- a/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs
@@ -119,7 +119,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -354,7 +354,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -537,7 +537,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -726,7 +726,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1135,7 +1135,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs b/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs
index 51e643a03390d..f3bfb71f75043 100644
--- a/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs
+++ b/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs
@@ -127,7 +127,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -361,7 +361,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -568,7 +568,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -791,7 +791,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -981,7 +981,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2018-06-01";
+ string apiVersion = "2018-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/BackendAddressPool.cs b/src/SDKs/Network/Management.Network/Generated/Models/BackendAddressPool.cs
index 0f9f9ac79867c..575e25e063cfb 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/BackendAddressPool.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/BackendAddressPool.cs
@@ -39,7 +39,7 @@ public BackendAddressPool()
/// to IP addresses defined in network interfaces.
/// Gets load balancing rules that use
/// this backend address pool.
- /// Gets outbound rules that use this
+ /// Gets outbound rules that use this
/// backend address pool.
/// Get provisioning state of the
/// public IP resource. Possible values are: 'Updating', 'Deleting',
@@ -49,12 +49,12 @@ public BackendAddressPool()
/// resource.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public BackendAddressPool(string id = default(string), IList backendIPConfigurations = default(IList), IList loadBalancingRules = default(IList), SubResource outboundNatRule = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string))
+ public BackendAddressPool(string id = default(string), IList backendIPConfigurations = default(IList), IList loadBalancingRules = default(IList), SubResource outboundRule = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string))
: base(id)
{
BackendIPConfigurations = backendIPConfigurations;
LoadBalancingRules = loadBalancingRules;
- OutboundNatRule = outboundNatRule;
+ OutboundRule = outboundRule;
ProvisioningState = provisioningState;
Name = name;
Etag = etag;
@@ -82,8 +82,8 @@ public BackendAddressPool()
///
/// Gets outbound rules that use this backend address pool.
///
- [JsonProperty(PropertyName = "properties.outboundNatRule")]
- public SubResource OutboundNatRule { get; private set; }
+ [JsonProperty(PropertyName = "properties.outboundRule")]
+ public SubResource OutboundRule { get; private set; }
///
/// Gets or sets get provisioning state of the public IP resource.
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ConnectionStateSnapshot.cs b/src/SDKs/Network/Management.Network/Generated/Models/ConnectionStateSnapshot.cs
index f7fc5bf898e63..ed3fc7cd98230 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/ConnectionStateSnapshot.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/ConnectionStateSnapshot.cs
@@ -40,14 +40,24 @@ public ConnectionStateSnapshot()
/// Connectivity analysis evaluation
/// state. Possible values include: 'NotStarted', 'InProgress',
/// 'Completed'
+ /// Average latency in ms.
+ /// Minimum latency in ms.
+ /// Maximum latency in ms.
+ /// The number of sent probes.
+ /// The number of failed probes.
/// List of hops between the source and the
/// destination.
- public ConnectionStateSnapshot(string connectionState = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string evaluationState = default(string), IList hops = default(IList))
+ public ConnectionStateSnapshot(string connectionState = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string evaluationState = default(string), int? avgLatencyInMs = default(int?), int? minLatencyInMs = default(int?), int? maxLatencyInMs = default(int?), int? probesSent = default(int?), int? probesFailed = default(int?), IList hops = default(IList))
{
ConnectionState = connectionState;
StartTime = startTime;
EndTime = endTime;
EvaluationState = evaluationState;
+ AvgLatencyInMs = avgLatencyInMs;
+ MinLatencyInMs = minLatencyInMs;
+ MaxLatencyInMs = maxLatencyInMs;
+ ProbesSent = probesSent;
+ ProbesFailed = probesFailed;
Hops = hops;
CustomInit();
}
@@ -83,6 +93,36 @@ public ConnectionStateSnapshot()
[JsonProperty(PropertyName = "evaluationState")]
public string EvaluationState { get; set; }
+ ///
+ /// Gets or sets average latency in ms.
+ ///
+ [JsonProperty(PropertyName = "avgLatencyInMs")]
+ public int? AvgLatencyInMs { get; set; }
+
+ ///
+ /// Gets or sets minimum latency in ms.
+ ///
+ [JsonProperty(PropertyName = "minLatencyInMs")]
+ public int? MinLatencyInMs { get; set; }
+
+ ///
+ /// Gets or sets maximum latency in ms.
+ ///
+ [JsonProperty(PropertyName = "maxLatencyInMs")]
+ public int? MaxLatencyInMs { get; set; }
+
+ ///
+ /// Gets or sets the number of sent probes.
+ ///
+ [JsonProperty(PropertyName = "probesSent")]
+ public int? ProbesSent { get; set; }
+
+ ///
+ /// Gets or sets the number of failed probes.
+ ///
+ [JsonProperty(PropertyName = "probesFailed")]
+ public int? ProbesFailed { get; set; }
+
///
/// Gets list of hops between the source and the destination.
///
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ErrorResponse.cs b/src/SDKs/Network/Management.Network/Generated/Models/ErrorResponse.cs
new file mode 100644
index 0000000000000..01debe446c6d4
--- /dev/null
+++ b/src/SDKs/Network/Management.Network/Generated/Models/ErrorResponse.cs
@@ -0,0 +1,51 @@
+//
+// 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.
+//
+
+namespace Microsoft.Azure.Management.Network.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// The error object.
+ ///
+ public partial class ErrorResponse
+ {
+ ///
+ /// Initializes a new instance of the ErrorResponse class.
+ ///
+ public ErrorResponse()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorResponse class.
+ ///
+ /// Error
+ public ErrorResponse(ErrorDetails error = default(ErrorDetails))
+ {
+ Error = error;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets error
+ ///
+ [JsonProperty(PropertyName = "error")]
+ public ErrorDetails Error { get; set; }
+
+ }
+}
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ErrorResponseException.cs b/src/SDKs/Network/Management.Network/Generated/Models/ErrorResponseException.cs
new file mode 100644
index 0000000000000..3a2e492022401
--- /dev/null
+++ b/src/SDKs/Network/Management.Network/Generated/Models/ErrorResponseException.cs
@@ -0,0 +1,62 @@
+//
+// 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.
+//
+
+namespace Microsoft.Azure.Management.Network.Models
+{
+ using Microsoft.Rest;
+
+ ///
+ /// Exception thrown for an invalid response with ErrorResponse
+ /// information.
+ ///
+ public partial class ErrorResponseException : RestException
+ {
+ ///
+ /// Gets information about the associated HTTP request.
+ ///
+ public HttpRequestMessageWrapper Request { get; set; }
+
+ ///
+ /// Gets information about the associated HTTP response.
+ ///
+ public HttpResponseMessageWrapper Response { get; set; }
+
+ ///
+ /// Gets or sets the body object.
+ ///
+ public ErrorResponse Body { get; set; }
+
+ ///
+ /// Initializes a new instance of the ErrorResponseException class.
+ ///
+ public ErrorResponseException()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorResponseException class.
+ ///
+ /// The exception message.
+ public ErrorResponseException(string message)
+ : this(message, null)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ErrorResponseException class.
+ ///
+ /// The exception message.
+ /// Inner exception.
+ public ErrorResponseException(string message, System.Exception innerException)
+ : base(message, innerException)
+ {
+ }
+ }
+}
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/EvaluatedNetworkSecurityGroup.cs b/src/SDKs/Network/Management.Network/Generated/Models/EvaluatedNetworkSecurityGroup.cs
new file mode 100644
index 0000000000000..ddd4d9590a2aa
--- /dev/null
+++ b/src/SDKs/Network/Management.Network/Generated/Models/EvaluatedNetworkSecurityGroup.cs
@@ -0,0 +1,71 @@
+//
+// 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.
+//
+
+namespace Microsoft.Azure.Management.Network.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Results of network security group evaluation.
+ ///
+ public partial class EvaluatedNetworkSecurityGroup
+ {
+ ///
+ /// Initializes a new instance of the EvaluatedNetworkSecurityGroup
+ /// class.
+ ///
+ public EvaluatedNetworkSecurityGroup()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the EvaluatedNetworkSecurityGroup
+ /// class.
+ ///
+ /// Network security group
+ /// ID.
+ /// List of network security rules
+ /// evaluation results.
+ public EvaluatedNetworkSecurityGroup(string networkSecurityGroupId = default(string), MatchedRule matchedRule = default(MatchedRule), IList rulesEvaluationResult = default(IList))
+ {
+ NetworkSecurityGroupId = networkSecurityGroupId;
+ MatchedRule = matchedRule;
+ RulesEvaluationResult = rulesEvaluationResult;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets network security group ID.
+ ///
+ [JsonProperty(PropertyName = "networkSecurityGroupId")]
+ public string NetworkSecurityGroupId { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "matchedRule")]
+ public MatchedRule MatchedRule { get; set; }
+
+ ///
+ /// Gets list of network security rules evaluation results.
+ ///
+ [JsonProperty(PropertyName = "rulesEvaluationResult")]
+ public IList RulesEvaluationResult { get; private set; }
+
+ }
+}
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ExpressRouteCircuit.cs b/src/SDKs/Network/Management.Network/Generated/Models/ExpressRouteCircuit.cs
index 26030b8c11dc9..83f210fb9886e 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/ExpressRouteCircuit.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/ExpressRouteCircuit.cs
@@ -60,9 +60,11 @@ public ExpressRouteCircuit()
/// public IP resource. Possible values are: 'Updating', 'Deleting',
/// and 'Failed'.
/// The GatewayManager Etag.
+ /// Flag to enable Global Reach on the
+ /// circuit.
/// Gets a unique read-only string that changes
/// whenever the resource is updated.
- public ExpressRouteCircuit(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExpressRouteCircuitSku sku = default(ExpressRouteCircuitSku), bool? allowClassicOperations = default(bool?), string circuitProvisioningState = default(string), string serviceProviderProvisioningState = default(string), IList authorizations = default(IList), IList peerings = default(IList), string serviceKey = default(string), string serviceProviderNotes = default(string), ExpressRouteCircuitServiceProviderProperties serviceProviderProperties = default(ExpressRouteCircuitServiceProviderProperties), string provisioningState = default(string), string gatewayManagerEtag = default(string), string etag = default(string))
+ public ExpressRouteCircuit(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExpressRouteCircuitSku sku = default(ExpressRouteCircuitSku), bool? allowClassicOperations = default(bool?), string circuitProvisioningState = default(string), string serviceProviderProvisioningState = default(string), IList authorizations = default(IList), IList peerings = default(IList), string serviceKey = default(string), string serviceProviderNotes = default(string), ExpressRouteCircuitServiceProviderProperties serviceProviderProperties = default(ExpressRouteCircuitServiceProviderProperties), string provisioningState = default(string), string gatewayManagerEtag = default(string), bool? allowGlobalReach = default(bool?), string etag = default(string))
: base(id, name, type, location, tags)
{
Sku = sku;
@@ -76,6 +78,7 @@ public ExpressRouteCircuit()
ServiceProviderProperties = serviceProviderProperties;
ProvisioningState = provisioningState;
GatewayManagerEtag = gatewayManagerEtag;
+ AllowGlobalReach = allowGlobalReach;
Etag = etag;
CustomInit();
}
@@ -155,6 +158,12 @@ public ExpressRouteCircuit()
[JsonProperty(PropertyName = "properties.gatewayManagerEtag")]
public string GatewayManagerEtag { get; set; }
+ ///
+ /// Gets or sets flag to enable Global Reach on the circuit.
+ ///
+ [JsonProperty(PropertyName = "properties.allowGlobalReach")]
+ public bool? AllowGlobalReach { get; set; }
+
///
/// Gets a unique read-only string that changes whenever the resource
/// is updated.
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/FrontendIpConfiguration.cs b/src/SDKs/Network/Management.Network/Generated/Models/FrontendIpConfiguration.cs
index fe5d8bb8de4e5..a58dea739a46f 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/FrontendIpConfiguration.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/FrontendIpConfiguration.cs
@@ -39,8 +39,8 @@ public FrontendIPConfiguration()
/// use this frontend IP.
/// Read only. Inbound pools URIs that
/// use this frontend IP.
- /// Read only. Outbound rules URIs that
- /// use this frontend IP.
+ /// Read only. Outbound rules URIs that use
+ /// this frontend IP.
/// Gets load balancing rules URIs
/// that use this frontend IP.
/// The private IP address of the IP
@@ -51,6 +51,8 @@ public FrontendIPConfiguration()
/// The reference of the subnet resource.
/// The reference of the Public IP
/// resource.
+ /// The reference of the Public IP Prefix
+ /// resource.
/// Gets the provisioning state of the
/// public IP resource. Possible values are: 'Updating', 'Deleting',
/// and 'Failed'.
@@ -61,17 +63,18 @@ public FrontendIPConfiguration()
/// the resource is updated.
/// A list of availability zones denoting the IP
/// allocated for the resource needs to come from.
- public FrontendIPConfiguration(string id = default(string), IList inboundNatRules = default(IList), IList inboundNatPools = default(IList), IList outboundNatRules = default(IList), IList loadBalancingRules = default(IList), string privateIPAddress = default(string), string privateIPAllocationMethod = default(string), Subnet subnet = default(Subnet), PublicIPAddress publicIPAddress = default(PublicIPAddress), string provisioningState = default(string), string name = default(string), string etag = default(string), IList zones = default(IList))
+ public FrontendIPConfiguration(string id = default(string), IList inboundNatRules = default(IList), IList inboundNatPools = default(IList), IList outboundRules = default(IList), IList loadBalancingRules = default(IList), string privateIPAddress = default(string), string privateIPAllocationMethod = default(string), Subnet subnet = default(Subnet), PublicIPAddress publicIPAddress = default(PublicIPAddress), SubResource publicIPPrefix = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), IList zones = default(IList))
: base(id)
{
InboundNatRules = inboundNatRules;
InboundNatPools = inboundNatPools;
- OutboundNatRules = outboundNatRules;
+ OutboundRules = outboundRules;
LoadBalancingRules = loadBalancingRules;
PrivateIPAddress = privateIPAddress;
PrivateIPAllocationMethod = privateIPAllocationMethod;
Subnet = subnet;
PublicIPAddress = publicIPAddress;
+ PublicIPPrefix = publicIPPrefix;
ProvisioningState = provisioningState;
Name = name;
Etag = etag;
@@ -99,8 +102,8 @@ public FrontendIPConfiguration()
///
/// Gets read only. Outbound rules URIs that use this frontend IP.
///
- [JsonProperty(PropertyName = "properties.outboundNatRules")]
- public IList OutboundNatRules { get; private set; }
+ [JsonProperty(PropertyName = "properties.outboundRules")]
+ public IList OutboundRules { get; private set; }
///
/// Gets load balancing rules URIs that use this frontend IP.
@@ -134,6 +137,12 @@ public FrontendIPConfiguration()
[JsonProperty(PropertyName = "properties.publicIPAddress")]
public PublicIPAddress PublicIPAddress { get; set; }
+ ///
+ /// Gets or sets the reference of the Public IP Prefix resource.
+ ///
+ [JsonProperty(PropertyName = "properties.publicIPPrefix")]
+ public SubResource PublicIPPrefix { get; set; }
+
///
/// Gets the provisioning state of the public IP resource. Possible
/// values are: 'Updating', 'Deleting', and 'Failed'.
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/InboundNatPool.cs b/src/SDKs/Network/Management.Network/Generated/Models/InboundNatPool.cs
index e5f856efd337f..650d42fb2ce9a 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/InboundNatPool.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/InboundNatPool.cs
@@ -56,6 +56,9 @@ public InboundNatPool()
/// AlwaysOn Availability Group. This setting is required when using
/// the SQL AlwaysOn Availability Groups in SQL server. This setting
/// can't be changed after you create the endpoint.
+ /// Receive bidirectional TCP Reset on TCP
+ /// flow idle timeout or unexpected connection termination. This
+ /// element is only used when the protocol is set to TCP.
/// Gets the provisioning state of the
/// PublicIP resource. Possible values are: 'Updating', 'Deleting', and
/// 'Failed'.
@@ -64,7 +67,7 @@ public InboundNatPool()
/// resource.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public InboundNatPool(string protocol, int frontendPortRangeStart, int frontendPortRangeEnd, int backendPort, string id = default(string), SubResource frontendIPConfiguration = default(SubResource), int? idleTimeoutInMinutes = default(int?), bool? enableFloatingIP = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
+ public InboundNatPool(string protocol, int frontendPortRangeStart, int frontendPortRangeEnd, int backendPort, string id = default(string), SubResource frontendIPConfiguration = default(SubResource), int? idleTimeoutInMinutes = default(int?), bool? enableFloatingIP = default(bool?), bool? enableTcpReset = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
: base(id)
{
FrontendIPConfiguration = frontendIPConfiguration;
@@ -74,6 +77,7 @@ public InboundNatPool()
BackendPort = backendPort;
IdleTimeoutInMinutes = idleTimeoutInMinutes;
EnableFloatingIP = enableFloatingIP;
+ EnableTcpReset = enableTcpReset;
ProvisioningState = provisioningState;
Name = name;
Etag = etag;
@@ -138,6 +142,14 @@ public InboundNatPool()
[JsonProperty(PropertyName = "properties.enableFloatingIP")]
public bool? EnableFloatingIP { get; set; }
+ ///
+ /// Gets or sets receive bidirectional TCP Reset on TCP flow idle
+ /// timeout or unexpected connection termination. This element is only
+ /// used when the protocol is set to TCP.
+ ///
+ [JsonProperty(PropertyName = "properties.enableTcpReset")]
+ public bool? EnableTcpReset { get; set; }
+
///
/// Gets the provisioning state of the PublicIP resource. Possible
/// values are: 'Updating', 'Deleting', and 'Failed'.
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/InboundNatRule.cs b/src/SDKs/Network/Management.Network/Generated/Models/InboundNatRule.cs
index 0df3f03845258..6faa7f4df2981 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/InboundNatRule.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/InboundNatRule.cs
@@ -55,6 +55,9 @@ public InboundNatRule()
/// AlwaysOn Availability Group. This setting is required when using
/// the SQL AlwaysOn Availability Groups in SQL server. This setting
/// can't be changed after you create the endpoint.
+ /// Receive bidirectional TCP Reset on TCP
+ /// flow idle timeout or unexpected connection termination. This
+ /// element is only used when the protocol is set to TCP.
/// Gets the provisioning state of the
/// public IP resource. Possible values are: 'Updating', 'Deleting',
/// and 'Failed'.
@@ -63,7 +66,7 @@ public InboundNatRule()
/// resource.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public InboundNatRule(string id = default(string), SubResource frontendIPConfiguration = default(SubResource), NetworkInterfaceIPConfiguration backendIPConfiguration = default(NetworkInterfaceIPConfiguration), string protocol = default(string), int? frontendPort = default(int?), int? backendPort = default(int?), int? idleTimeoutInMinutes = default(int?), bool? enableFloatingIP = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
+ public InboundNatRule(string id = default(string), SubResource frontendIPConfiguration = default(SubResource), NetworkInterfaceIPConfiguration backendIPConfiguration = default(NetworkInterfaceIPConfiguration), string protocol = default(string), int? frontendPort = default(int?), int? backendPort = default(int?), int? idleTimeoutInMinutes = default(int?), bool? enableFloatingIP = default(bool?), bool? enableTcpReset = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
: base(id)
{
FrontendIPConfiguration = frontendIPConfiguration;
@@ -73,6 +76,7 @@ public InboundNatRule()
BackendPort = backendPort;
IdleTimeoutInMinutes = idleTimeoutInMinutes;
EnableFloatingIP = enableFloatingIP;
+ EnableTcpReset = enableTcpReset;
ProvisioningState = provisioningState;
Name = name;
Etag = etag;
@@ -137,6 +141,14 @@ public InboundNatRule()
[JsonProperty(PropertyName = "properties.enableFloatingIP")]
public bool? EnableFloatingIP { get; set; }
+ ///
+ /// Gets or sets receive bidirectional TCP Reset on TCP flow idle
+ /// timeout or unexpected connection termination. This element is only
+ /// used when the protocol is set to TCP.
+ ///
+ [JsonProperty(PropertyName = "properties.enableTcpReset")]
+ public bool? EnableTcpReset { get; set; }
+
///
/// Gets the provisioning state of the public IP resource. Possible
/// values are: 'Updating', 'Deleting', and 'Failed'.
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/IpTag.cs b/src/SDKs/Network/Management.Network/Generated/Models/IpTag.cs
index f1461cba3650a..da9128c3f5f0a 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/IpTag.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/IpTag.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.Network.Models
using System.Linq;
///
- /// Contains the IpTag associated with the public IP address
+ /// Contains the IpTag associated with the object
///
public partial class IpTag
{
diff --git a/src/SDKs/Network/Management.Network/Generated/Models/LoadBalancer.cs b/src/SDKs/Network/Management.Network/Generated/Models/LoadBalancer.cs
index f586df56566c3..760cd7af05aa6 100644
--- a/src/SDKs/Network/Management.Network/Generated/Models/LoadBalancer.cs
+++ b/src/SDKs/Network/Management.Network/Generated/Models/LoadBalancer.cs
@@ -65,7 +65,7 @@ public LoadBalancer()
/// associated with individual virtual machines cannot reference an
/// inbound NAT pool. They have to reference individual inbound NAT
/// rules.
- /// The outbound NAT rules.
+ /// The outbound rules.
/// The resource GUID property of the load
/// balancer resource.
/// Gets the provisioning state of the
@@ -73,7 +73,7 @@ public LoadBalancer()
/// 'Failed'.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public LoadBalancer(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), LoadBalancerSku sku = default(LoadBalancerSku), IList frontendIPConfigurations = default(IList), IList backendAddressPools = default(IList), IList