diff --git a/sdk/network/Microsoft.Azure.Management.Network/AzSdk.RP.props b/sdk/network/Microsoft.Azure.Management.Network/AzSdk.RP.props
index 6c231fe0f039..aec54849f33b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/AzSdk.RP.props
+++ b/sdk/network/Microsoft.Azure.Management.Network/AzSdk.RP.props
@@ -1,7 +1,7 @@
- Compute_2018-10-01;Network_2020-06-01;
+ Compute_2018-10-01;Network_2020-07-01;
$(PackageTags);$(CommonTags);$(AzureApiTag);
\ No newline at end of file
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionsOperations.cs
index 819118f06966..f2de0ff4cbe5 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionsOperations.cs
@@ -155,7 +155,7 @@ internal ApplicationGatewayPrivateEndpointConnectionsOperations(NetworkManagemen
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -351,7 +351,7 @@ internal ApplicationGatewayPrivateEndpointConnectionsOperations(NetworkManagemen
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -549,7 +549,7 @@ internal ApplicationGatewayPrivateEndpointConnectionsOperations(NetworkManagemen
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -742,7 +742,7 @@ internal ApplicationGatewayPrivateEndpointConnectionsOperations(NetworkManagemen
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateLinkResourcesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateLinkResourcesOperations.cs
index 97778780e361..8a921a9ea898 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateLinkResourcesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayPrivateLinkResourcesOperations.cs
@@ -94,7 +94,7 @@ internal ApplicationGatewayPrivateLinkResourcesOperations(NetworkManagementClien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewaysOperations.cs
index 3c59d8d1edf8..3a2218258ea6 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewaysOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewaysOperations.cs
@@ -116,7 +116,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -342,7 +342,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -536,7 +536,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -714,7 +714,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -991,7 +991,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1162,7 +1162,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1333,7 +1333,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1504,7 +1504,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1680,7 +1680,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1856,7 +1856,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2039,7 +2039,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "predefinedPolicyName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2228,7 +2228,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2415,7 +2415,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2631,7 +2631,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2804,7 +2804,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2985,7 +2985,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3196,7 +3196,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "probeRequest");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationSecurityGroupsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationSecurityGroupsOperations.cs
index 4f6fd2c8bc8a..9d5f2c5884ec 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationSecurityGroupsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationSecurityGroupsOperations.cs
@@ -116,7 +116,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -343,7 +343,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -530,7 +530,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -713,7 +713,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -902,7 +902,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1086,7 +1086,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableDelegationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableDelegationsOperations.cs
index ad9e8778c198..10a8ddcab67b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableDelegationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableDelegationsOperations.cs
@@ -88,7 +88,7 @@ internal AvailableDelegationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableEndpointServicesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableEndpointServicesOperations.cs
index 90c47b042140..e193f6569d86 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableEndpointServicesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableEndpointServicesOperations.cs
@@ -87,7 +87,7 @@ internal AvailableEndpointServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailablePrivateEndpointTypesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailablePrivateEndpointTypesOperations.cs
index fbbf35ab669a..be09f6e43d4f 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailablePrivateEndpointTypesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailablePrivateEndpointTypesOperations.cs
@@ -88,7 +88,7 @@ internal AvailablePrivateEndpointTypesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -281,7 +281,7 @@ internal AvailablePrivateEndpointTypesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableResourceGroupDelegationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableResourceGroupDelegationsOperations.cs
index 106005f53c8b..9aec29a3b89e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableResourceGroupDelegationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableResourceGroupDelegationsOperations.cs
@@ -95,7 +95,7 @@ internal AvailableResourceGroupDelegationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableServiceAliasesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableServiceAliasesOperations.cs
index eb43c2425d60..889409d30f59 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableServiceAliasesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AvailableServiceAliasesOperations.cs
@@ -87,7 +87,7 @@ internal AvailableServiceAliasesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -279,7 +279,7 @@ internal AvailableServiceAliasesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallFqdnTagsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallFqdnTagsOperations.cs
index 4f465c526393..6f53a14a70af 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallFqdnTagsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallFqdnTagsOperations.cs
@@ -80,7 +80,7 @@ internal AzureFirewallFqdnTagsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperations.cs
index d6af1eb1dd0f..25c5d5b98d7e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperations.cs
@@ -116,7 +116,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -353,7 +353,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -531,7 +531,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -718,7 +718,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -912,7 +912,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1138,7 +1138,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BastionHostsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BastionHostsOperations.cs
index 28e19e72f24d..321dd6d8b53f 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BastionHostsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BastionHostsOperations.cs
@@ -116,7 +116,7 @@ internal BastionHostsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -321,7 +321,7 @@ internal BastionHostsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -504,7 +504,7 @@ internal BastionHostsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -693,7 +693,7 @@ internal BastionHostsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -876,7 +876,7 @@ internal BastionHostsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BgpServiceCommunitiesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BgpServiceCommunitiesOperations.cs
index 3b0ea74add2e..30a5ab4bb6c0 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BgpServiceCommunitiesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/BgpServiceCommunitiesOperations.cs
@@ -80,7 +80,7 @@ internal BgpServiceCommunitiesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs
index 2037d8029e75..cc873ed18462 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs
@@ -65,16 +65,20 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// Parameters that define the operation to create a connection monitor.
///
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated to V2
+ /// format.
+ ///
///
/// The headers that will be added to request.
///
///
/// The cancellation token.
///
- public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
// Send Request
- AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, customHeaders, cancellationToken).ConfigureAwait(false);
+ AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, migrate, customHeaders, cancellationToken).ConfigureAwait(false);
return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
}
@@ -129,7 +133,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -359,7 +363,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -632,7 +636,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -792,6 +796,10 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// Parameters that define the operation to create a connection monitor.
///
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated to V2
+ /// format.
+ ///
///
/// Headers that will be added to request.
///
@@ -813,7 +821,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (resourceGroupName == null)
{
@@ -839,7 +847,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -852,6 +860,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
tracingParameters.Add("connectionMonitorName", connectionMonitorName);
tracingParameters.Add("parameters", parameters);
tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("migrate", migrate);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters);
}
@@ -867,6 +876,10 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
+ if (migrate != null)
+ {
+ _queryParameters.Add(string.Format("migrate={0}", System.Uri.EscapeDataString(migrate)));
+ }
if (_queryParameters.Count > 0)
{
_url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
@@ -1059,7 +1072,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1236,7 +1249,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1413,7 +1426,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1593,7 +1606,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperationsExtensions.cs
index 73c38804b6c1..87fd32555585 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperationsExtensions.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperationsExtensions.cs
@@ -41,9 +41,13 @@ public static partial class ConnectionMonitorsOperationsExtensions
///
/// Parameters that define the operation to create a connection monitor.
///
- public static ConnectionMonitorResult CreateOrUpdate(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters)
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated to V2
+ /// format.
+ ///
+ public static ConnectionMonitorResult CreateOrUpdate(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string))
{
- return operations.CreateOrUpdateAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters).GetAwaiter().GetResult();
+ return operations.CreateOrUpdateAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, migrate).GetAwaiter().GetResult();
}
///
@@ -64,12 +68,16 @@ public static ConnectionMonitorResult CreateOrUpdate(this IConnectionMonitorsOpe
///
/// Parameters that define the operation to create a connection monitor.
///
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated to V2
+ /// format.
+ ///
///
/// The cancellation token.
///
- public static async Task CreateOrUpdateAsync(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task CreateOrUpdateAsync(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string), CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, migrate, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
@@ -406,9 +414,13 @@ public static IEnumerable List(this IConnectionMonitors
///
/// Parameters that define the operation to create a connection monitor.
///
- public static ConnectionMonitorResult BeginCreateOrUpdate(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters)
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated to V2
+ /// format.
+ ///
+ public static ConnectionMonitorResult BeginCreateOrUpdate(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string))
{
- return operations.BeginCreateOrUpdateAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters).GetAwaiter().GetResult();
+ return operations.BeginCreateOrUpdateAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, migrate).GetAwaiter().GetResult();
}
///
@@ -429,12 +441,16 @@ public static ConnectionMonitorResult BeginCreateOrUpdate(this IConnectionMonito
///
/// Parameters that define the operation to create a connection monitor.
///
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated to V2
+ /// format.
+ ///
///
/// The cancellation token.
///
- public static async Task BeginCreateOrUpdateAsync(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task BeginCreateOrUpdateAsync(this IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string), CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, migrate, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/CustomIPPrefixesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/CustomIPPrefixesOperations.cs
index db279724572f..3f1f4a3342a0 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/CustomIPPrefixesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/CustomIPPrefixesOperations.cs
@@ -119,7 +119,7 @@ internal CustomIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal CustomIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -537,7 +537,7 @@ internal CustomIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -720,7 +720,7 @@ internal CustomIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal CustomIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1092,7 +1092,7 @@ internal CustomIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosCustomPoliciesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosCustomPoliciesOperations.cs
index ead3d313c62f..4c915a76e91b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosCustomPoliciesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosCustomPoliciesOperations.cs
@@ -116,7 +116,7 @@ internal DdosCustomPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -342,7 +342,7 @@ internal DdosCustomPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -540,7 +540,7 @@ internal DdosCustomPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -723,7 +723,7 @@ internal DdosCustomPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosProtectionPlansOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosProtectionPlansOperations.cs
index 455c70b0f86b..367db1a93cda 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosProtectionPlansOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DdosProtectionPlansOperations.cs
@@ -116,7 +116,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -342,7 +342,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -529,7 +529,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -712,7 +712,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -901,7 +901,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1084,7 +1084,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DefaultSecurityRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DefaultSecurityRulesOperations.cs
index ac94b869beed..86a311e4787e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DefaultSecurityRulesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DefaultSecurityRulesOperations.cs
@@ -94,7 +94,7 @@ internal DefaultSecurityRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DscpConfigurationOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DscpConfigurationOperations.cs
index 32a9c9eb5692..ce9a0618c0ec 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DscpConfigurationOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/DscpConfigurationOperations.cs
@@ -141,7 +141,7 @@ internal DscpConfigurationOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -328,7 +328,7 @@ internal DscpConfigurationOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -506,7 +506,7 @@ internal DscpConfigurationOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -703,7 +703,7 @@ internal DscpConfigurationOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -919,7 +919,7 @@ internal DscpConfigurationOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs
index 8deff3840f75..c6b490730551 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs
@@ -127,7 +127,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitConnectionsOperations.cs
index cf03d5f2340f..2b416329d5c7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitConnectionsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitConnectionsOperations.cs
@@ -138,7 +138,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -377,7 +377,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -585,7 +585,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -788,7 +788,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitPeeringsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitPeeringsOperations.cs
index 7e2bd5c30559..3a8e38785c19 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitPeeringsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitPeeringsOperations.cs
@@ -126,7 +126,7 @@ internal ExpressRouteCircuitPeeringsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitsOperations.cs
index 91311d52c941..e2510a3c7985 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCircuitsOperations.cs
@@ -116,7 +116,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -343,7 +343,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -631,7 +631,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -832,7 +832,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1021,7 +1021,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1199,7 +1199,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1386,7 +1386,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1570,7 +1570,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1804,7 +1804,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2017,7 +2017,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2230,7 +2230,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteConnectionsOperations.cs
index 965e06992d4e..daf95f589937 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteConnectionsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteConnectionsOperations.cs
@@ -130,7 +130,7 @@ internal ExpressRouteConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -351,7 +351,7 @@ internal ExpressRouteConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -564,7 +564,7 @@ internal ExpressRouteConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -789,7 +789,7 @@ internal ExpressRouteConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs
index 879f9bd12e88..f2a281bcea0c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs
@@ -94,7 +94,7 @@ internal ExpressRouteCrossConnectionPeeringsOperations(NetworkManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionsOperations.cs
index 7071ad779ef1..844f4baf5304 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteCrossConnectionsOperations.cs
@@ -80,7 +80,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -681,7 +681,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -976,7 +976,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1192,7 +1192,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1405,7 +1405,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1618,7 +1618,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteGatewaysOperations.cs
index 7f36110dc583..236f364be94d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteGatewaysOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteGatewaysOperations.cs
@@ -80,7 +80,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -263,7 +263,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -480,7 +480,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -709,7 +709,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -927,7 +927,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteLinksOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteLinksOperations.cs
index 998d3da6af6f..b90e5b25fd4f 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteLinksOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteLinksOperations.cs
@@ -101,7 +101,7 @@ internal ExpressRouteLinksOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "linkName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -298,7 +298,7 @@ internal ExpressRouteLinksOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "expressRoutePortName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs
index 25a298509dc3..9c606ac383d5 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs
@@ -82,7 +82,7 @@ internal ExpressRoutePortsLocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -266,7 +266,7 @@ internal ExpressRoutePortsLocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "locationName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsOperations.cs
index 3a062eb76356..a2378c880c1c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsOperations.cs
@@ -116,7 +116,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "expressRoutePortName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -342,7 +342,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -536,7 +536,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -714,7 +714,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -916,7 +916,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client)
{
request.Validate();
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1114,7 +1114,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "expressRoutePortName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1297,7 +1297,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteServiceProvidersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteServiceProvidersOperations.cs
index 404d32e53fad..e4376e2a6e50 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteServiceProvidersOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteServiceProvidersOperations.cs
@@ -80,7 +80,7 @@ internal ExpressRouteServiceProvidersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPoliciesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPoliciesOperations.cs
index a2b68fc3517d..e289c6b0f447 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPoliciesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPoliciesOperations.cs
@@ -119,7 +119,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -336,7 +336,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -514,7 +514,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -701,7 +701,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -884,7 +884,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyRuleCollectionGroupsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyRuleCollectionGroupsOperations.cs
index 2956fbab15a6..60f9500ede0c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyRuleCollectionGroupsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyRuleCollectionGroupsOperations.cs
@@ -126,7 +126,7 @@ internal FirewallPolicyRuleCollectionGroupsOperations(NetworkManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -351,7 +351,7 @@ internal FirewallPolicyRuleCollectionGroupsOperations(NetworkManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -549,7 +549,7 @@ internal FirewallPolicyRuleCollectionGroupsOperations(NetworkManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -746,7 +746,7 @@ internal FirewallPolicyRuleCollectionGroupsOperations(NetworkManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FlowLogsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FlowLogsOperations.cs
index b0fc59de2e3c..09cf8597c771 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FlowLogsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FlowLogsOperations.cs
@@ -136,7 +136,7 @@ internal FlowLogsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -341,7 +341,7 @@ internal FlowLogsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -557,7 +557,7 @@ internal FlowLogsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -764,7 +764,7 @@ internal FlowLogsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -984,7 +984,7 @@ internal FlowLogsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubRouteTablesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubRouteTablesOperations.cs
index eb595b348bcc..34e93a665982 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubRouteTablesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubRouteTablesOperations.cs
@@ -130,7 +130,7 @@ internal HubRouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "routeTableName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -351,7 +351,7 @@ internal HubRouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -560,7 +560,7 @@ internal HubRouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "routeTableParameters");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -785,7 +785,7 @@ internal HubRouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "routeTableName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubVirtualNetworkConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubVirtualNetworkConnectionsOperations.cs
index b0db616aa45e..649fd08180b4 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubVirtualNetworkConnectionsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/HubVirtualNetworkConnectionsOperations.cs
@@ -155,7 +155,7 @@ internal HubVirtualNetworkConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "connectionName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -351,7 +351,7 @@ internal HubVirtualNetworkConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -560,7 +560,7 @@ internal HubVirtualNetworkConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "hubVirtualNetworkConnectionParameters");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -785,7 +785,7 @@ internal HubVirtualNetworkConnectionsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "connectionName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IConnectionMonitorsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IConnectionMonitorsOperations.cs
index f6ae52c9f1cf..77ac65c5428f 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IConnectionMonitorsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IConnectionMonitorsOperations.cs
@@ -39,6 +39,10 @@ public partial interface IConnectionMonitorsOperations
/// Parameters that define the operation to create a connection
/// monitor.
///
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated
+ /// to V2 format.
+ ///
///
/// The headers that will be added to request.
///
@@ -54,7 +58,7 @@ public partial interface IConnectionMonitorsOperations
///
/// Thrown when a required parameter is null
///
- Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets a connection monitor by name.
///
@@ -258,6 +262,10 @@ public partial interface IConnectionMonitorsOperations
/// Parameters that define the operation to create a connection
/// monitor.
///
+ ///
+ /// Value indicating whether connection monitor V1 should be migrated
+ /// to V2 format.
+ ///
///
/// The headers that will be added to request.
///
@@ -273,7 +281,7 @@ public partial interface IConnectionMonitorsOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, ConnectionMonitor parameters, string migrate = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Deletes the specified connection monitor.
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs
index 1e64ecc367a0..58a144ed6325 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs
@@ -120,6 +120,11 @@ public partial interface INetworkManagementClient : System.IDisposable
///
IAzureFirewallFqdnTagsOperations AzureFirewallFqdnTags { get; }
+ ///
+ /// Gets the IWebCategoriesOperations.
+ ///
+ IWebCategoriesOperations WebCategories { get; }
+
///
/// Gets the IBastionHostsOperations.
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs
index 3f34cd5d07c6..8fda8a2ea594 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs
@@ -30,7 +30,7 @@ public partial interface IPublicIPAddressesOperations
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// The headers that will be added to request.
@@ -52,7 +52,7 @@ public partial interface IPublicIPAddressesOperations
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// Expands referenced resources.
@@ -279,7 +279,7 @@ public partial interface IPublicIPAddressesOperations
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// The headers that will be added to request.
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IWebCategoriesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IWebCategoriesOperations.cs
new file mode 100644
index 000000000000..cc37e92c8902
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IWebCategoriesOperations.cs
@@ -0,0 +1,94 @@
+//
+// 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;
+
+ ///
+ /// WebCategoriesOperations operations.
+ ///
+ public partial interface IWebCategoriesOperations
+ {
+ ///
+ /// Gets the specified Azure Web Category.
+ ///
+ ///
+ /// The name of the azureWebCategory.
+ ///
+ ///
+ /// Expands resourceIds back referenced by the azureWebCategory
+ /// resource.
+ ///
+ ///
+ /// 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 name, string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all the Azure Web Categories 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>> ListBySubscriptionWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all the Azure Web Categories 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>> ListBySubscriptionNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundNatRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundNatRulesOperations.cs
index d221a71cd0da..c16079f3679b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundNatRulesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundNatRulesOperations.cs
@@ -94,7 +94,7 @@ internal InboundNatRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -744,11 +744,15 @@ internal InboundNatRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "inboundNatRuleParameters");
}
+ if (inboundNatRuleParameters != null)
+ {
+ inboundNatRuleParameters.Validate();
+ }
if (Client.SubscriptionId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs
index 37d23c9028b6..8cc0fbde27eb 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs
@@ -140,7 +140,7 @@ internal InboundSecurityRuleOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpAllocationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpAllocationsOperations.cs
index 5ed6d35a6e93..418d9f77edc2 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpAllocationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpAllocationsOperations.cs
@@ -119,7 +119,7 @@ internal IpAllocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal IpAllocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -537,7 +537,7 @@ internal IpAllocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -720,7 +720,7 @@ internal IpAllocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal IpAllocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1092,7 +1092,7 @@ internal IpAllocationsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpGroupsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpGroupsOperations.cs
index b8d85f8cbae5..af3c1cb5a6e7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpGroupsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpGroupsOperations.cs
@@ -98,7 +98,7 @@ internal IpGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -324,7 +324,7 @@ internal IpGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -535,7 +535,7 @@ internal IpGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -708,7 +708,7 @@ internal IpGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -900,7 +900,7 @@ internal IpGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1111,7 +1111,7 @@ internal IpGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs
index 7e967962fe1b..8550ff2dc6a5 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerBackendAddressPoolsOperations(NetworkManagementClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -560,7 +560,7 @@ internal LoadBalancerBackendAddressPoolsOperations(NetworkManagementClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -785,7 +785,7 @@ internal LoadBalancerBackendAddressPoolsOperations(NetworkManagementClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs
index 47a42700b943..a771e8acc621 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerFrontendIPConfigurationsOperations(NetworkManagementClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs
index 1bc1e9d74824..02f20344feed 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerLoadBalancingRulesOperations(NetworkManagementClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerNetworkInterfacesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerNetworkInterfacesOperations.cs
index 9a0015b1b54c..e89f3b026444 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerNetworkInterfacesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerNetworkInterfacesOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerNetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerOutboundRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerOutboundRulesOperations.cs
index 6c6e589849fb..8f24bc7f1662 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerOutboundRulesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerOutboundRulesOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerOutboundRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -295,7 +295,7 @@ internal LoadBalancerOutboundRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerProbesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerProbesOperations.cs
index d3094452beeb..b1374acdb59b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerProbesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancerProbesOperations.cs
@@ -94,7 +94,7 @@ internal LoadBalancerProbesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperations.cs
index 260a6de8b3cb..de1b74d9daf7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperations.cs
@@ -119,7 +119,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -720,7 +720,7 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-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 = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1088,11 +1088,15 @@ internal LoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
+ if (parameters != null)
+ {
+ parameters.Validate();
+ }
if (Client.SubscriptionId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LocalNetworkGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LocalNetworkGatewaysOperations.cs
index b80d734d8ece..c440b5dfa456 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LocalNetworkGatewaysOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LocalNetworkGatewaysOperations.cs
@@ -127,7 +127,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -357,7 +357,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -551,7 +551,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -762,7 +762,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -985,7 +985,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayAutoscaleConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayAutoscaleConfiguration.cs
index feca79d52be4..310e30ea48b3 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayAutoscaleConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayAutoscaleConfiguration.cs
@@ -72,9 +72,12 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.InclusiveMinimum, "MinCapacity", 0);
}
- if (MaxCapacity < 2)
+ if (MaxCapacity != null)
{
- throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxCapacity", 2);
+ if (MaxCapacity < 2)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxCapacity", 2);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthHttpSettings.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthHttpSettings.cs
index f031eeef3a70..c2a9bdc553d5 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthHttpSettings.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthHttpSettings.cs
@@ -75,6 +75,16 @@ public virtual void Validate()
{
BackendHttpSettings.Validate();
}
+ if (Servers != null)
+ {
+ foreach (var element in Servers)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthServer.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthServer.cs
index 46b8ad150f46..2caf05181f53 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthServer.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthServer.cs
@@ -76,5 +76,18 @@ public ApplicationGatewayBackendHealthServer()
[JsonProperty(PropertyName = "healthProbeLog")]
public string HealthProbeLog { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (IpConfiguration != null)
+ {
+ IpConfiguration.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayProbe.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayProbe.cs
index 1444f590718f..de4d79857277 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayProbe.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayProbe.cs
@@ -202,13 +202,16 @@ public ApplicationGatewayProbe()
///
public virtual void Validate()
{
- if (Port > 65535)
+ if (Port != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
- }
- if (Port < 1)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 1);
+ if (Port > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
+ }
+ if (Port < 1)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 1);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs
index 60a8efa151e4..7b87e43a5fd0 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs
@@ -171,13 +171,16 @@ public ApplicationGatewayRequestRoutingRule()
///
public virtual void Validate()
{
- if (Priority > 20000)
+ if (Priority != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 20000);
- }
- if (Priority < 1)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 1);
+ if (Priority > 20000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 20000);
+ }
+ if (Priority < 1)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 1);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayWebApplicationFirewallConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayWebApplicationFirewallConfiguration.cs
index bd4966fd77a9..dad33866910e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayWebApplicationFirewallConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayWebApplicationFirewallConfiguration.cs
@@ -165,25 +165,34 @@ public virtual void Validate()
}
}
}
- if (MaxRequestBodySize > 128)
+ if (MaxRequestBodySize != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxRequestBodySize", 128);
- }
- if (MaxRequestBodySize < 8)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxRequestBodySize", 8);
- }
- if (MaxRequestBodySizeInKb > 128)
- {
- throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxRequestBodySizeInKb", 128);
+ if (MaxRequestBodySize > 128)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxRequestBodySize", 128);
+ }
+ if (MaxRequestBodySize < 8)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxRequestBodySize", 8);
+ }
}
- if (MaxRequestBodySizeInKb < 8)
+ if (MaxRequestBodySizeInKb != null)
{
- throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxRequestBodySizeInKb", 8);
+ if (MaxRequestBodySizeInKb > 128)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxRequestBodySizeInKb", 128);
+ }
+ if (MaxRequestBodySizeInKb < 8)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxRequestBodySizeInKb", 8);
+ }
}
- if (FileUploadLimitInMb < 0)
+ if (FileUploadLimitInMb != null)
{
- throw new ValidationException(ValidationRules.InclusiveMinimum, "FileUploadLimitInMb", 0);
+ if (FileUploadLimitInMb < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "FileUploadLimitInMb", 0);
+ }
}
if (Exclusions != null)
{
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationRule.cs
index bd82acb16ce8..3bfb4fabf638 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationRule.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationRule.cs
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// Rule of type application.
///
+ [Newtonsoft.Json.JsonObject("ApplicationRule")]
public partial class ApplicationRule : FirewallPolicyRule
{
///
@@ -39,18 +40,27 @@ public ApplicationRule()
/// or Service Tags.
/// Array of Application Protocols.
/// List of FQDNs for this rule.
+ /// List of Urls for this rule
+ /// condition.
/// List of FQDN Tags for this rule.
/// List of source IpGroups for this
/// rule.
- public ApplicationRule(string name = default(string), string description = default(string), IList sourceAddresses = default(IList), IList destinationAddresses = default(IList), IList protocols = default(IList), IList targetFqdns = default(IList), IList fqdnTags = default(IList), IList sourceIpGroups = default(IList))
+ /// Terminate TLS connections for this
+ /// rule.
+ /// List of destination azure web
+ /// categories.
+ public ApplicationRule(string name = default(string), string description = default(string), IList sourceAddresses = default(IList), IList destinationAddresses = default(IList), IList protocols = default(IList), IList targetFqdns = default(IList), IList targetUrls = default(IList), IList fqdnTags = default(IList), IList sourceIpGroups = default(IList), bool? terminateTLS = default(bool?), IList webCategories = default(IList))
: base(name, description)
{
SourceAddresses = sourceAddresses;
DestinationAddresses = destinationAddresses;
Protocols = protocols;
TargetFqdns = targetFqdns;
+ TargetUrls = targetUrls;
FqdnTags = fqdnTags;
SourceIpGroups = sourceIpGroups;
+ TerminateTLS = terminateTLS;
+ WebCategories = webCategories;
CustomInit();
}
@@ -83,6 +93,12 @@ public ApplicationRule()
[JsonProperty(PropertyName = "targetFqdns")]
public IList TargetFqdns { get; set; }
+ ///
+ /// Gets or sets list of Urls for this rule condition.
+ ///
+ [JsonProperty(PropertyName = "targetUrls")]
+ public IList TargetUrls { get; set; }
+
///
/// Gets or sets list of FQDN Tags for this rule.
///
@@ -95,5 +111,17 @@ public ApplicationRule()
[JsonProperty(PropertyName = "sourceIpGroups")]
public IList SourceIpGroups { get; set; }
+ ///
+ /// Gets or sets terminate TLS connections for this rule.
+ ///
+ [JsonProperty(PropertyName = "terminateTLS")]
+ public bool? TerminateTLS { get; set; }
+
+ ///
+ /// Gets or sets list of destination azure web categories.
+ ///
+ [JsonProperty(PropertyName = "webCategories")]
+ public IList WebCategories { get; set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs
index 6528bdb761cf..30fea8c7ada4 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs
@@ -116,13 +116,16 @@ public AzureFirewallApplicationRuleCollection()
///
public virtual void Validate()
{
- if (Priority > 65000)
+ if (Priority != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
- }
- if (Priority < 100)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ if (Priority > 65000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
+ }
+ if (Priority < 100)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleProtocol.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleProtocol.cs
index f2c9c74fdc19..278a39b679cb 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleProtocol.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallApplicationRuleProtocol.cs
@@ -70,13 +70,16 @@ public AzureFirewallApplicationRuleProtocol()
///
public virtual void Validate()
{
- if (Port > 64000)
+ if (Port != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 64000);
- }
- if (Port < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ if (Port > 64000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 64000);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs
index d18672edde1b..01ffee90b3fd 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs
@@ -116,13 +116,16 @@ public AzureFirewallNatRuleCollection()
///
public virtual void Validate()
{
- if (Priority > 65000)
+ if (Priority != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
- }
- if (Priority < 100)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ if (Priority > 65000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
+ }
+ if (Priority < 100)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs
index 00531f0237b2..cb720dc5c385 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs
@@ -115,13 +115,16 @@ public AzureFirewallNetworkRuleCollection()
///
public virtual void Validate()
{
- if (Priority > 65000)
+ if (Priority != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
- }
- if (Priority < 100)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ if (Priority > 65000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
+ }
+ if (Priority < 100)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureReachabilityReportLatencyInfo.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureReachabilityReportLatencyInfo.cs
index a204272b613f..da00b97ff30c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureReachabilityReportLatencyInfo.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureReachabilityReportLatencyInfo.cs
@@ -68,13 +68,16 @@ public AzureReachabilityReportLatencyInfo()
///
public virtual void Validate()
{
- if (Score > 100)
+ if (Score != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Score", 100);
- }
- if (Score < 1)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Score", 1);
+ if (Score > 100)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Score", 100);
+ }
+ if (Score < 1)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Score", 1);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureWebCategory.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureWebCategory.cs
new file mode 100644
index 000000000000..3c2df782911e
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureWebCategory.cs
@@ -0,0 +1,89 @@
+//
+// 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;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Azure Web Category Resource.
+ ///
+ [Rest.Serialization.JsonTransformation]
+ public partial class AzureWebCategory
+ {
+ ///
+ /// Initializes a new instance of the AzureWebCategory class.
+ ///
+ public AzureWebCategory()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureWebCategory class.
+ ///
+ /// The name of the group that the category belongs
+ /// to.
+ /// Resource ID.
+ /// Resource name.
+ /// Resource type.
+ /// A unique read-only string that changes whenever
+ /// the resource is updated.
+ public AzureWebCategory(string group = default(string), string id = default(string), string name = default(string), string type = default(string), string etag = default(string))
+ {
+ Group = group;
+ Id = id;
+ Name = name;
+ Type = type;
+ Etag = etag;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets the name of the group that the category belongs to.
+ ///
+ [JsonProperty(PropertyName = "properties.group")]
+ public string Group { get; private set; }
+
+ ///
+ /// Gets or sets resource ID.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; set; }
+
+ ///
+ /// Gets resource name.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets resource type.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
+ ///
+ /// Gets a unique read-only string that changes whenever the resource
+ /// is updated.
+ ///
+ [JsonProperty(PropertyName = "etag")]
+ public string Etag { get; private set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpConnection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpConnection.cs
index 9afc670cf39e..0a2306a862fd 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpConnection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpConnection.cs
@@ -116,13 +116,16 @@ public BgpConnection()
///
public virtual void Validate()
{
- if (PeerAsn > 4294967295)
+ if (PeerAsn != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerAsn", 4294967295);
- }
- if (PeerAsn < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerAsn", 0);
+ if (PeerAsn > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerAsn", 4294967295);
+ }
+ if (PeerAsn < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerAsn", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpPeerStatus.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpPeerStatus.cs
index 4add761aab2f..843529d85907 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpPeerStatus.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpPeerStatus.cs
@@ -119,13 +119,16 @@ public BgpPeerStatus()
///
public virtual void Validate()
{
- if (Asn > 4294967295)
+ if (Asn != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Asn", 4294967295);
- }
- if (Asn < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Asn", 0);
+ if (Asn > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Asn", 4294967295);
+ }
+ if (Asn < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Asn", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpSettings.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpSettings.cs
index 5e5788fc6e23..7ae62bc4e6bb 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpSettings.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BgpSettings.cs
@@ -88,13 +88,16 @@ public BgpSettings()
///
public virtual void Validate()
{
- if (Asn > 4294967295)
+ if (Asn != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Asn", 4294967295);
- }
- if (Asn < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Asn", 0);
+ if (Asn > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Asn", 4294967295);
+ }
+ if (Asn < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Asn", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitor.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitor.cs
index af3a8a15eea9..89593c0c4910 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitor.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitor.cs
@@ -154,6 +154,21 @@ public virtual void Validate()
{
Source.Validate();
}
+ if (Destination != null)
+ {
+ Destination.Validate();
+ }
+ if (MonitoringIntervalInSeconds != null)
+ {
+ if (MonitoringIntervalInSeconds > 1800)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MonitoringIntervalInSeconds", 1800);
+ }
+ if (MonitoringIntervalInSeconds < 30)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MonitoringIntervalInSeconds", 30);
+ }
+ }
if (Endpoints != null)
{
foreach (var element in Endpoints)
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorDestination.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorDestination.cs
index bc1c8f1edf7b..a2c4c891be63 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorDestination.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorDestination.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.Network.Models
{
+ using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -70,5 +71,25 @@ public ConnectionMonitorDestination()
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Port != null)
+ {
+ if (Port > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorHttpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorHttpConfiguration.cs
index 913a5fb21113..9f52940d25c4 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorHttpConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorHttpConfiguration.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.Network.Models
{
+ using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -101,5 +102,25 @@ public ConnectionMonitorHttpConfiguration()
[JsonProperty(PropertyName = "preferHTTPS")]
public bool? PreferHTTPS { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Port != null)
+ {
+ if (Port > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorParameters.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorParameters.cs
index b4920d0f3789..403ef9585674 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorParameters.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorParameters.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.Network.Models
{
+ using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -128,7 +129,7 @@ public ConnectionMonitorParameters()
///
/// Validate the object.
///
- ///
+ ///
/// Thrown if validation fails
///
public virtual void Validate()
@@ -137,6 +138,21 @@ public virtual void Validate()
{
Source.Validate();
}
+ if (Destination != null)
+ {
+ Destination.Validate();
+ }
+ if (MonitoringIntervalInSeconds != null)
+ {
+ if (MonitoringIntervalInSeconds > 1800)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MonitoringIntervalInSeconds", 1800);
+ }
+ if (MonitoringIntervalInSeconds < 30)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MonitoringIntervalInSeconds", 30);
+ }
+ }
if (Endpoints != null)
{
foreach (var element in Endpoints)
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorResult.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorResult.cs
index cd70e6e80266..afe0533ea4c7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorResult.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorResult.cs
@@ -229,6 +229,21 @@ public virtual void Validate()
{
Source.Validate();
}
+ if (Destination != null)
+ {
+ Destination.Validate();
+ }
+ if (MonitoringIntervalInSeconds != null)
+ {
+ if (MonitoringIntervalInSeconds > 1800)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MonitoringIntervalInSeconds", 1800);
+ }
+ if (MonitoringIntervalInSeconds < 30)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MonitoringIntervalInSeconds", 30);
+ }
+ }
if (Endpoints != null)
{
foreach (var element in Endpoints)
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorSource.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorSource.cs
index 0ada013db668..83bd49a53e0d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorSource.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorSource.cs
@@ -71,6 +71,17 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "ResourceId");
}
+ if (Port != null)
+ {
+ if (Port > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTcpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTcpConfiguration.cs
index 4eb367cbdcd1..2fe276a1ca7c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTcpConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTcpConfiguration.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.Network.Models
{
+ using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -69,5 +70,25 @@ public ConnectionMonitorTcpConfiguration()
[JsonProperty(PropertyName = "destinationPortBehavior")]
public string DestinationPortBehavior { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Port != null)
+ {
+ if (Port > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTestConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTestConfiguration.cs
index ed5d627a67d1..90d21586f194 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTestConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionMonitorTestConfiguration.cs
@@ -139,6 +139,14 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "Protocol");
}
+ if (HttpConfiguration != null)
+ {
+ HttpConfiguration.Validate();
+ }
+ if (TcpConfiguration != null)
+ {
+ TcpConfiguration.Validate();
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionStateSnapshot.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionStateSnapshot.cs
index ed3fc7cd9823..fb8bdc77ff24 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionStateSnapshot.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectionStateSnapshot.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.Network.Models
{
+ using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -47,7 +48,7 @@ public ConnectionStateSnapshot()
/// 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), int? avgLatencyInMs = default(int?), int? minLatencyInMs = default(int?), int? maxLatencyInMs = default(int?), int? probesSent = default(int?), int? probesFailed = default(int?), 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), long? avgLatencyInMs = default(long?), long? minLatencyInMs = default(long?), long? maxLatencyInMs = default(long?), long? probesSent = default(long?), long? probesFailed = default(long?), IList hops = default(IList))
{
ConnectionState = connectionState;
StartTime = startTime;
@@ -97,31 +98,31 @@ public ConnectionStateSnapshot()
/// Gets or sets average latency in ms.
///
[JsonProperty(PropertyName = "avgLatencyInMs")]
- public int? AvgLatencyInMs { get; set; }
+ public long? AvgLatencyInMs { get; set; }
///
/// Gets or sets minimum latency in ms.
///
[JsonProperty(PropertyName = "minLatencyInMs")]
- public int? MinLatencyInMs { get; set; }
+ public long? MinLatencyInMs { get; set; }
///
/// Gets or sets maximum latency in ms.
///
[JsonProperty(PropertyName = "maxLatencyInMs")]
- public int? MaxLatencyInMs { get; set; }
+ public long? MaxLatencyInMs { get; set; }
///
/// Gets or sets the number of sent probes.
///
[JsonProperty(PropertyName = "probesSent")]
- public int? ProbesSent { get; set; }
+ public long? ProbesSent { get; set; }
///
/// Gets or sets the number of failed probes.
///
[JsonProperty(PropertyName = "probesFailed")]
- public int? ProbesFailed { get; set; }
+ public long? ProbesFailed { get; set; }
///
/// Gets list of hops between the source and the destination.
@@ -129,5 +130,69 @@ public ConnectionStateSnapshot()
[JsonProperty(PropertyName = "hops")]
public IList Hops { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (AvgLatencyInMs != null)
+ {
+ if (AvgLatencyInMs > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "AvgLatencyInMs", 4294967295);
+ }
+ if (AvgLatencyInMs < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "AvgLatencyInMs", 0);
+ }
+ }
+ if (MinLatencyInMs != null)
+ {
+ if (MinLatencyInMs > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MinLatencyInMs", 4294967295);
+ }
+ if (MinLatencyInMs < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MinLatencyInMs", 0);
+ }
+ }
+ if (MaxLatencyInMs != null)
+ {
+ if (MaxLatencyInMs > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxLatencyInMs", 4294967295);
+ }
+ if (MaxLatencyInMs < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxLatencyInMs", 0);
+ }
+ }
+ if (ProbesSent != null)
+ {
+ if (ProbesSent > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "ProbesSent", 4294967295);
+ }
+ if (ProbesSent < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "ProbesSent", 0);
+ }
+ }
+ if (ProbesFailed != null)
+ {
+ if (ProbesFailed > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "ProbesFailed", 4294967295);
+ }
+ if (ProbesFailed < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "ProbesFailed", 0);
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityDestination.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityDestination.cs
index 834fdbb82864..f6f519013db7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityDestination.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityDestination.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.Network.Models
{
+ using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -68,5 +69,25 @@ public ConnectivityDestination()
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Port != null)
+ {
+ if (Port > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityParameters.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityParameters.cs
index 4f4a290f61d9..0c8e2d55c9bd 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityParameters.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityParameters.cs
@@ -105,6 +105,10 @@ public virtual void Validate()
{
Source.Validate();
}
+ if (Destination != null)
+ {
+ Destination.Validate();
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivitySource.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivitySource.cs
index 3a21be9be957..9115d726b250 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivitySource.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivitySource.cs
@@ -72,6 +72,17 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "ResourceId");
}
+ if (Port != null)
+ {
+ if (Port > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 65535);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRoutesParameters.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRoutesParameters.cs
index 38df709a8d32..5d909dbbcce0 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRoutesParameters.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRoutesParameters.cs
@@ -36,7 +36,7 @@ public EffectiveRoutesParameters()
/// resource like RouteTable, ExpressRouteConnection,
/// HubVirtualNetworkConnection, VpnConnection and
/// P2SConnection.
- public EffectiveRoutesParameters(Resource resourceId = default(Resource), string virtualWanResourceType = default(string))
+ public EffectiveRoutesParameters(string resourceId = default(string), string virtualWanResourceType = default(string))
{
ResourceId = resourceId;
VirtualWanResourceType = virtualWanResourceType;
@@ -53,7 +53,7 @@ public EffectiveRoutesParameters()
/// requested.
///
[JsonProperty(PropertyName = "resourceId")]
- public Resource ResourceId { get; set; }
+ public string ResourceId { get; set; }
///
/// Gets or sets the type of the specified resource like RouteTable,
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCircuitPeering.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCircuitPeering.cs
index 207feb5c06e7..5a4692d55c50 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCircuitPeering.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCircuitPeering.cs
@@ -265,13 +265,16 @@ public ExpressRouteCircuitPeering()
///
public virtual void Validate()
{
- if (PeerASN > 4294967295)
+ if (PeerASN != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerASN", 4294967295);
- }
- if (PeerASN < 1)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerASN", 1);
+ if (PeerASN > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerASN", 4294967295);
+ }
+ if (PeerASN < 1)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerASN", 1);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCrossConnectionPeering.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCrossConnectionPeering.cs
index 7f0342d94b6b..2246452167f1 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCrossConnectionPeering.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCrossConnectionPeering.cs
@@ -209,13 +209,16 @@ public ExpressRouteCrossConnectionPeering()
///
public virtual void Validate()
{
- if (PeerASN > 4294967295)
+ if (PeerASN != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerASN", 4294967295);
- }
- if (PeerASN < 1)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerASN", 1);
+ if (PeerASN > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerASN", 4294967295);
+ }
+ if (PeerASN < 1)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerASN", 1);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExtendedLocation.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExtendedLocation.cs
new file mode 100644
index 000000000000..831005217ace
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExtendedLocation.cs
@@ -0,0 +1,78 @@
+//
+// 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;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// ExtendedLocation complex type.
+ ///
+ public partial class ExtendedLocation
+ {
+ ///
+ /// Initializes a new instance of the ExtendedLocation class.
+ ///
+ public ExtendedLocation()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ExtendedLocation class.
+ ///
+ /// The name of the extended location.
+ public ExtendedLocation(string name)
+ {
+ Name = name;
+ CustomInit();
+ }
+ ///
+ /// Static constructor for ExtendedLocation class.
+ ///
+ static ExtendedLocation()
+ {
+ Type = "EdgeZone";
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the name of the extended location.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; set; }
+
+ ///
+ /// The type of the extended location.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public static string Type { get; private set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Name == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Name");
+ }
+ }
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExtendedLocationTypes.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExtendedLocationTypes.cs
new file mode 100644
index 000000000000..b6a45ceb1bdf
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExtendedLocationTypes.cs
@@ -0,0 +1,21 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for ExtendedLocationTypes.
+ ///
+ public static class ExtendedLocationTypes
+ {
+ public const string EdgeZone = "EdgeZone";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicy.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicy.cs
index 0f1629ae771c..44e0a4d85aac 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicy.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicy.cs
@@ -56,9 +56,15 @@ public FirewallPolicy()
/// ThreatIntel Whitelist for
/// Firewall Policy.
/// DNS Proxy Settings definition.
+ /// The configuration for Intrusion
+ /// detection.
+ /// TLS Configuration
+ /// definition.
+ /// The Firewall Policy SKU.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public FirewallPolicy(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ruleCollectionGroups = default(IList), string provisioningState = default(string), SubResource basePolicy = default(SubResource), IList firewalls = default(IList), IList childPolicies = default(IList), string threatIntelMode = default(string), FirewallPolicyThreatIntelWhitelist threatIntelWhitelist = default(FirewallPolicyThreatIntelWhitelist), DnsSettings dnsSettings = default(DnsSettings), string etag = default(string))
+ /// The identity of the firewall policy.
+ public FirewallPolicy(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ruleCollectionGroups = default(IList), string provisioningState = default(string), SubResource basePolicy = default(SubResource), IList firewalls = default(IList), IList childPolicies = default(IList), string threatIntelMode = default(string), FirewallPolicyThreatIntelWhitelist threatIntelWhitelist = default(FirewallPolicyThreatIntelWhitelist), DnsSettings dnsSettings = default(DnsSettings), FirewallPolicyIntrusionDetection intrusionDetection = default(FirewallPolicyIntrusionDetection), FirewallPolicyTransportSecurity transportSecurity = default(FirewallPolicyTransportSecurity), FirewallPolicySku sku = default(FirewallPolicySku), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
: base(id, name, type, location, tags)
{
RuleCollectionGroups = ruleCollectionGroups;
@@ -69,7 +75,11 @@ public FirewallPolicy()
ThreatIntelMode = threatIntelMode;
ThreatIntelWhitelist = threatIntelWhitelist;
DnsSettings = dnsSettings;
+ IntrusionDetection = intrusionDetection;
+ TransportSecurity = transportSecurity;
+ Sku = sku;
Etag = etag;
+ Identity = identity;
CustomInit();
}
@@ -131,6 +141,24 @@ public FirewallPolicy()
[JsonProperty(PropertyName = "properties.dnsSettings")]
public DnsSettings DnsSettings { get; set; }
+ ///
+ /// Gets or sets the configuration for Intrusion detection.
+ ///
+ [JsonProperty(PropertyName = "properties.intrusionDetection")]
+ public FirewallPolicyIntrusionDetection IntrusionDetection { get; set; }
+
+ ///
+ /// Gets or sets TLS Configuration definition.
+ ///
+ [JsonProperty(PropertyName = "properties.transportSecurity")]
+ public FirewallPolicyTransportSecurity TransportSecurity { get; set; }
+
+ ///
+ /// Gets or sets the Firewall Policy SKU.
+ ///
+ [JsonProperty(PropertyName = "properties.sku")]
+ public FirewallPolicySku Sku { get; set; }
+
///
/// Gets a unique read-only string that changes whenever the resource
/// is updated.
@@ -138,5 +166,11 @@ public FirewallPolicy()
[JsonProperty(PropertyName = "etag")]
public string Etag { get; private set; }
+ ///
+ /// Gets or sets the identity of the firewall policy.
+ ///
+ [JsonProperty(PropertyName = "identity")]
+ public ManagedServiceIdentity Identity { get; set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyCertificateAuthority.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyCertificateAuthority.cs
new file mode 100644
index 000000000000..8d33e63068b0
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyCertificateAuthority.cs
@@ -0,0 +1,64 @@
+//
+// 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;
+
+ ///
+ /// Trusted Root certificates properties for tls.
+ ///
+ public partial class FirewallPolicyCertificateAuthority
+ {
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyCertificateAuthority class.
+ ///
+ public FirewallPolicyCertificateAuthority()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyCertificateAuthority class.
+ ///
+ /// Secret Id of (base-64 encoded
+ /// unencrypted pfx) 'Secret' or 'Certificate' object stored in
+ /// KeyVault.
+ /// Name of the CA certificate.
+ public FirewallPolicyCertificateAuthority(string keyVaultSecretId = default(string), string name = default(string))
+ {
+ KeyVaultSecretId = keyVaultSecretId;
+ Name = name;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets secret Id of (base-64 encoded unencrypted pfx)
+ /// 'Secret' or 'Certificate' object stored in KeyVault.
+ ///
+ [JsonProperty(PropertyName = "keyVaultSecretId")]
+ public string KeyVaultSecretId { get; set; }
+
+ ///
+ /// Gets or sets name of the CA certificate.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs
index f0a93af05634..2184add4699b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// Firewall Policy Filter Rule Collection.
///
+ [Newtonsoft.Json.JsonObject("FirewallPolicyFilterRuleCollection")]
public partial class FirewallPolicyFilterRuleCollection : FirewallPolicyRuleCollection
{
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetection.cs
new file mode 100644
index 000000000000..b452a9ef4666
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetection.cs
@@ -0,0 +1,64 @@
+//
+// 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;
+
+ ///
+ /// Configuration for intrusion detection mode and rules.
+ ///
+ public partial class FirewallPolicyIntrusionDetection
+ {
+ ///
+ /// Initializes a new instance of the FirewallPolicyIntrusionDetection
+ /// class.
+ ///
+ public FirewallPolicyIntrusionDetection()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the FirewallPolicyIntrusionDetection
+ /// class.
+ ///
+ /// Intrusion detection general state. Possible
+ /// values include: 'Off', 'Alert', 'Deny'
+ /// Intrusion detection configuration
+ /// properties.
+ public FirewallPolicyIntrusionDetection(string mode = default(string), FirewallPolicyIntrusionDetectionConfiguration configuration = default(FirewallPolicyIntrusionDetectionConfiguration))
+ {
+ Mode = mode;
+ Configuration = configuration;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets intrusion detection general state. Possible values
+ /// include: 'Off', 'Alert', 'Deny'
+ ///
+ [JsonProperty(PropertyName = "mode")]
+ public string Mode { get; set; }
+
+ ///
+ /// Gets or sets intrusion detection configuration properties.
+ ///
+ [JsonProperty(PropertyName = "configuration")]
+ public FirewallPolicyIntrusionDetectionConfiguration Configuration { get; set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.cs
new file mode 100644
index 000000000000..da43e2399faa
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.cs
@@ -0,0 +1,120 @@
+//
+// 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;
+
+ ///
+ /// Intrusion detection bypass traffic specification.
+ ///
+ public partial class FirewallPolicyIntrusionDetectionBypassTrafficSpecifications
+ {
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyIntrusionDetectionBypassTrafficSpecifications class.
+ ///
+ public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyIntrusionDetectionBypassTrafficSpecifications class.
+ ///
+ /// Name of the bypass traffic rule.
+ /// Description of the bypass traffic
+ /// rule.
+ /// The rule bypass protocol. Possible values
+ /// include: 'TCP', 'UDP', 'ICMP', 'ANY'
+ /// List of source IP addresses or ranges
+ /// for this rule.
+ /// List of destination IP addresses
+ /// or ranges for this rule.
+ /// List of destination ports or
+ /// ranges.
+ /// List of source IpGroups for this
+ /// rule.
+ /// List of destination IpGroups for
+ /// this rule.
+ public FirewallPolicyIntrusionDetectionBypassTrafficSpecifications(string name = default(string), string description = default(string), string protocol = default(string), IList sourceAddresses = default(IList), IList destinationAddresses = default(IList), IList destinationPorts = default(IList), IList sourceIpGroups = default(IList), IList destinationIpGroups = default(IList))
+ {
+ Name = name;
+ Description = description;
+ Protocol = protocol;
+ SourceAddresses = sourceAddresses;
+ DestinationAddresses = destinationAddresses;
+ DestinationPorts = destinationPorts;
+ SourceIpGroups = sourceIpGroups;
+ DestinationIpGroups = destinationIpGroups;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets name of the bypass traffic rule.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; set; }
+
+ ///
+ /// Gets or sets description of the bypass traffic rule.
+ ///
+ [JsonProperty(PropertyName = "description")]
+ public string Description { get; set; }
+
+ ///
+ /// Gets or sets the rule bypass protocol. Possible values include:
+ /// 'TCP', 'UDP', 'ICMP', 'ANY'
+ ///
+ [JsonProperty(PropertyName = "protocol")]
+ public string Protocol { get; set; }
+
+ ///
+ /// Gets or sets list of source IP addresses or ranges for this rule.
+ ///
+ [JsonProperty(PropertyName = "sourceAddresses")]
+ public IList SourceAddresses { get; set; }
+
+ ///
+ /// Gets or sets list of destination IP addresses or ranges for this
+ /// rule.
+ ///
+ [JsonProperty(PropertyName = "destinationAddresses")]
+ public IList DestinationAddresses { get; set; }
+
+ ///
+ /// Gets or sets list of destination ports or ranges.
+ ///
+ [JsonProperty(PropertyName = "destinationPorts")]
+ public IList DestinationPorts { get; set; }
+
+ ///
+ /// Gets or sets list of source IpGroups for this rule.
+ ///
+ [JsonProperty(PropertyName = "sourceIpGroups")]
+ public IList SourceIpGroups { get; set; }
+
+ ///
+ /// Gets or sets list of destination IpGroups for this rule.
+ ///
+ [JsonProperty(PropertyName = "destinationIpGroups")]
+ public IList DestinationIpGroups { get; set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionConfiguration.cs
new file mode 100644
index 000000000000..f1d84397cc78
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionConfiguration.cs
@@ -0,0 +1,65 @@
+//
+// 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;
+
+ ///
+ /// The operation for configuring intrusion detection.
+ ///
+ public partial class FirewallPolicyIntrusionDetectionConfiguration
+ {
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyIntrusionDetectionConfiguration class.
+ ///
+ public FirewallPolicyIntrusionDetectionConfiguration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyIntrusionDetectionConfiguration class.
+ ///
+ /// List of specific signatures
+ /// states.
+ /// List of rules for traffic to
+ /// bypass.
+ public FirewallPolicyIntrusionDetectionConfiguration(IList signatureOverrides = default(IList), IList bypassTrafficSettings = default(IList))
+ {
+ SignatureOverrides = signatureOverrides;
+ BypassTrafficSettings = bypassTrafficSettings;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets list of specific signatures states.
+ ///
+ [JsonProperty(PropertyName = "signatureOverrides")]
+ public IList SignatureOverrides { get; set; }
+
+ ///
+ /// Gets or sets list of rules for traffic to bypass.
+ ///
+ [JsonProperty(PropertyName = "bypassTrafficSettings")]
+ public IList BypassTrafficSettings { get; set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionProtocol.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionProtocol.cs
new file mode 100644
index 000000000000..4f3325dee453
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionProtocol.cs
@@ -0,0 +1,24 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for FirewallPolicyIntrusionDetectionProtocol.
+ ///
+ public static class FirewallPolicyIntrusionDetectionProtocol
+ {
+ public const string TCP = "TCP";
+ public const string UDP = "UDP";
+ public const string ICMP = "ICMP";
+ public const string ANY = "ANY";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionSignatureSpecification.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionSignatureSpecification.cs
new file mode 100644
index 000000000000..517d693a0198
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionSignatureSpecification.cs
@@ -0,0 +1,63 @@
+//
+// 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;
+
+ ///
+ /// Intrusion detection signatures specification states.
+ ///
+ public partial class FirewallPolicyIntrusionDetectionSignatureSpecification
+ {
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyIntrusionDetectionSignatureSpecification class.
+ ///
+ public FirewallPolicyIntrusionDetectionSignatureSpecification()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// FirewallPolicyIntrusionDetectionSignatureSpecification class.
+ ///
+ /// Signature id.
+ /// The signature state. Possible values include:
+ /// 'Off', 'Alert', 'Deny'
+ public FirewallPolicyIntrusionDetectionSignatureSpecification(string id = default(string), string mode = default(string))
+ {
+ Id = id;
+ Mode = mode;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets signature id.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; set; }
+
+ ///
+ /// Gets or sets the signature state. Possible values include: 'Off',
+ /// 'Alert', 'Deny'
+ ///
+ [JsonProperty(PropertyName = "mode")]
+ public string Mode { get; set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionStateType.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionStateType.cs
new file mode 100644
index 000000000000..0b8d17fbfc23
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionStateType.cs
@@ -0,0 +1,23 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for FirewallPolicyIntrusionDetectionStateType.
+ ///
+ public static class FirewallPolicyIntrusionDetectionStateType
+ {
+ public const string Off = "Off";
+ public const string Alert = "Alert";
+ public const string Deny = "Deny";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs
index 45fc27690fbb..5466fda21bf3 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// Firewall Policy NAT Rule Collection.
///
+ [Newtonsoft.Json.JsonObject("FirewallPolicyNatRuleCollection")]
public partial class FirewallPolicyNatRuleCollection : FirewallPolicyRuleCollection
{
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRule.cs
index f56257124f71..ed4b7f977df1 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRule.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRule.cs
@@ -16,6 +16,7 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// Properties of a rule.
///
+ [Newtonsoft.Json.JsonObject("FirewallPolicyRule")]
public partial class FirewallPolicyRule
{
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleApplicationProtocol.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleApplicationProtocol.cs
index cf68f4aa6b54..2bad4a0ff8cf 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleApplicationProtocol.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleApplicationProtocol.cs
@@ -70,13 +70,16 @@ public FirewallPolicyRuleApplicationProtocol()
///
public virtual void Validate()
{
- if (Port > 64000)
+ if (Port != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 64000);
- }
- if (Port < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ if (Port > 64000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Port", 64000);
+ }
+ if (Port < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Port", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollection.cs
index 03123f19d0fa..824b73fb84a3 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollection.cs
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// Properties of the rule collection.
///
+ [Newtonsoft.Json.JsonObject("FirewallPolicyRuleCollection")]
public partial class FirewallPolicyRuleCollection
{
///
@@ -68,13 +69,16 @@ public FirewallPolicyRuleCollection()
///
public virtual void Validate()
{
- if (Priority > 65000)
+ if (Priority != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
- }
- if (Priority < 100)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ if (Priority > 65000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
+ }
+ if (Priority < 100)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs
index b417d38a1e8c..3cd122ca0f1d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs
@@ -116,13 +116,16 @@ public FirewallPolicyRuleCollectionGroup()
///
public virtual void Validate()
{
- if (Priority > 65000)
+ if (Priority != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
- }
- if (Priority < 100)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ if (Priority > 65000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Priority", 65000);
+ }
+ if (Priority < 100)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Priority", 100);
+ }
}
if (RuleCollections != null)
{
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicySku.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicySku.cs
new file mode 100644
index 000000000000..902de3099afb
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicySku.cs
@@ -0,0 +1,53 @@
+//
+// 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;
+
+ ///
+ /// SKU of Firewall policy.
+ ///
+ public partial class FirewallPolicySku
+ {
+ ///
+ /// Initializes a new instance of the FirewallPolicySku class.
+ ///
+ public FirewallPolicySku()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the FirewallPolicySku class.
+ ///
+ /// Tier of Firewall Policy. Possible values
+ /// include: 'Standard', 'Premium'
+ public FirewallPolicySku(string tier = default(string))
+ {
+ Tier = tier;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets tier of Firewall Policy. Possible values include:
+ /// 'Standard', 'Premium'
+ ///
+ [JsonProperty(PropertyName = "tier")]
+ public string Tier { get; set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicySkuTier.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicySkuTier.cs
new file mode 100644
index 000000000000..0feed0f034e5
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicySkuTier.cs
@@ -0,0 +1,22 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for FirewallPolicySkuTier.
+ ///
+ public static class FirewallPolicySkuTier
+ {
+ public const string Standard = "Standard";
+ public const string Premium = "Premium";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyTransportSecurity.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyTransportSecurity.cs
new file mode 100644
index 000000000000..f374a8f0e766
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyTransportSecurity.cs
@@ -0,0 +1,54 @@
+//
+// 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;
+
+ ///
+ /// Configuration needed to perform TLS termination & initiation.
+ ///
+ public partial class FirewallPolicyTransportSecurity
+ {
+ ///
+ /// Initializes a new instance of the FirewallPolicyTransportSecurity
+ /// class.
+ ///
+ public FirewallPolicyTransportSecurity()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the FirewallPolicyTransportSecurity
+ /// class.
+ ///
+ /// The CA used for intermediate CA
+ /// generation.
+ public FirewallPolicyTransportSecurity(FirewallPolicyCertificateAuthority certificateAuthority = default(FirewallPolicyCertificateAuthority))
+ {
+ CertificateAuthority = certificateAuthority;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the CA used for intermediate CA generation.
+ ///
+ [JsonProperty(PropertyName = "certificateAuthority")]
+ public FirewallPolicyCertificateAuthority CertificateAuthority { get; set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIpConfiguration.cs
index e55c34709dc6..e3b82f118118 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIpConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIpConfiguration.cs
@@ -194,5 +194,18 @@ public FrontendIPConfiguration()
[JsonProperty(PropertyName = "zones")]
public IList Zones { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (PublicIPAddress != null)
+ {
+ PublicIPAddress.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HopLink.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HopLink.cs
index cb8b113376e1..cfec5a05915c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HopLink.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HopLink.cs
@@ -45,7 +45,7 @@ public HopLink()
/// List of issues.
/// Provides additional context on links.
/// Resource ID.
- public HopLink(string nextHopId = default(string), string linkType = default(string), int? roundTripTimeMin = default(int?), int? roundTripTimeAvg = default(int?), int? roundTripTimeMax = default(int?), IList issues = default(IList), IDictionary context = default(IDictionary), string resourceId = default(string))
+ public HopLink(string nextHopId = default(string), string linkType = default(string), long? roundTripTimeMin = default(long?), long? roundTripTimeAvg = default(long?), long? roundTripTimeMax = default(long?), IList issues = default(IList), IDictionary context = default(IDictionary), string resourceId = default(string))
{
NextHopId = nextHopId;
LinkType = linkType;
@@ -79,19 +79,19 @@ public HopLink()
/// Gets minimum roundtrip time in milliseconds.
///
[JsonProperty(PropertyName = "properties.roundTripTimeMin")]
- public int? RoundTripTimeMin { get; private set; }
+ public long? RoundTripTimeMin { get; private set; }
///
/// Gets average roundtrip time in milliseconds.
///
[JsonProperty(PropertyName = "properties.roundTripTimeAvg")]
- public int? RoundTripTimeAvg { get; private set; }
+ public long? RoundTripTimeAvg { get; private set; }
///
/// Gets maximum roundtrip time in milliseconds.
///
[JsonProperty(PropertyName = "properties.roundTripTimeMax")]
- public int? RoundTripTimeMax { get; private set; }
+ public long? RoundTripTimeMax { get; private set; }
///
/// Gets list of issues.
@@ -111,5 +111,47 @@ public HopLink()
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (RoundTripTimeMin != null)
+ {
+ if (RoundTripTimeMin > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "RoundTripTimeMin", 4294967295);
+ }
+ if (RoundTripTimeMin < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "RoundTripTimeMin", 0);
+ }
+ }
+ if (RoundTripTimeAvg != null)
+ {
+ if (RoundTripTimeAvg > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "RoundTripTimeAvg", 4294967295);
+ }
+ if (RoundTripTimeAvg < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "RoundTripTimeAvg", 0);
+ }
+ }
+ if (RoundTripTimeMax != null)
+ {
+ if (RoundTripTimeMax > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "RoundTripTimeMax", 4294967295);
+ }
+ if (RoundTripTimeMax < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "RoundTripTimeMax", 0);
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubIpConfiguration.cs
index fd8a90ac97a1..6c4362bf084d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubIpConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubIpConfiguration.cs
@@ -119,5 +119,18 @@ public HubIpConfiguration()
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (PublicIPAddress != null)
+ {
+ PublicIPAddress.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubRouteTable.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubRouteTable.cs
index f4d6fae1faa8..6af63b5da34f 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubRouteTable.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/HubRouteTable.cs
@@ -51,7 +51,7 @@ public HubRouteTable()
/// A unique read-only string that changes whenever
/// the resource is updated.
/// Resource type.
- public HubRouteTable(string id = default(string), IList routes = default(IList), IList labels = default(IList), IList associatedConnections = default(IList), IList propagatingConnections = default(IList), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
+ public HubRouteTable(string id = default(string), IList routes = default(IList), IList labels = default(IList), IList associatedConnections = default(IList), IList propagatingConnections = default(IList), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
: base(id)
{
Routes = routes;
@@ -86,13 +86,13 @@ public HubRouteTable()
/// Gets list of all connections associated with this route table.
///
[JsonProperty(PropertyName = "properties.associatedConnections")]
- public IList AssociatedConnections { get; private set; }
+ public IList AssociatedConnections { get; private set; }
///
/// Gets list of all connections that advertise to this route table.
///
[JsonProperty(PropertyName = "properties.propagatingConnections")]
- public IList PropagatingConnections { get; private set; }
+ public IList PropagatingConnections { get; private set; }
///
/// Gets the provisioning state of the RouteTable resource. Possible
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPConfiguration.cs
index 7141647772af..5bca8e8b4870 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPConfiguration.cs
@@ -114,5 +114,18 @@ public IPConfiguration()
[JsonProperty(PropertyName = "etag")]
public string Etag { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (PublicIPAddress != null)
+ {
+ PublicIPAddress.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundNatRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundNatRule.cs
index 81c585da4bfa..7efd2ff41914 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundNatRule.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundNatRule.cs
@@ -182,5 +182,18 @@ public InboundNatRule()
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (BackendIPConfiguration != null)
+ {
+ BackendIPConfiguration.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRules.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRules.cs
index be9f44b217ff..133d8fe7975e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRules.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRules.cs
@@ -78,13 +78,16 @@ public InboundSecurityRules()
///
public virtual void Validate()
{
- if (DestinationPortRange > 65535)
+ if (DestinationPortRange != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "DestinationPortRange", 65535);
- }
- if (DestinationPortRange < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "DestinationPortRange", 0);
+ if (DestinationPortRange > 65535)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "DestinationPortRange", 65535);
+ }
+ if (DestinationPortRange < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "DestinationPortRange", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IpGroup.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IpGroup.cs
index fee325fb856c..95a4a7ca07ea 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IpGroup.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IpGroup.cs
@@ -44,16 +44,19 @@ public IpGroup()
/// 'Updating', 'Deleting', 'Failed'
/// IpAddresses/IpAddressPrefixes in the
/// IpGroups resource.
- /// List of references to Azure resources that
- /// this IpGroups is associated with.
+ /// List of references to Firewall resources
+ /// that this IpGroups is associated with.
+ /// List of references to Firewall
+ /// Policies resources that this IpGroups is associated with.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public IpGroup(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), IList ipAddresses = default(IList), IList firewalls = default(IList), string etag = default(string))
+ public IpGroup(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), IList ipAddresses = default(IList), IList firewalls = default(IList), IList firewallPolicies = default(IList), string etag = default(string))
: base(id, name, type, location, tags)
{
ProvisioningState = provisioningState;
IpAddresses = ipAddresses;
Firewalls = firewalls;
+ FirewallPolicies = firewallPolicies;
Etag = etag;
CustomInit();
}
@@ -78,12 +81,19 @@ public IpGroup()
public IList IpAddresses { get; set; }
///
- /// Gets list of references to Azure resources that this IpGroups is
+ /// Gets list of references to Firewall resources that this IpGroups is
/// associated with.
///
[JsonProperty(PropertyName = "properties.firewalls")]
public IList Firewalls { get; private set; }
+ ///
+ /// Gets list of references to Firewall Policies resources that this
+ /// IpGroups is associated with.
+ ///
+ [JsonProperty(PropertyName = "properties.firewallPolicies")]
+ public IList FirewallPolicies { get; private set; }
+
///
/// Gets a unique read-only string that changes whenever the resource
/// is updated.
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancer.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancer.cs
index eeab7ab5ea5a..7db69cc00db7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancer.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancer.cs
@@ -39,6 +39,8 @@ public LoadBalancer()
/// Resource type.
/// Resource location.
/// Resource tags.
+ /// The extended location of the load
+ /// balancer.
/// The load balancer SKU.
/// Object representing the
/// frontend IPs to be used for the load balancer.
@@ -73,9 +75,10 @@ public LoadBalancer()
/// 'Updating', 'Deleting', '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 loadBalancingRules = default(IList), IList probes = default(IList), IList inboundNatRules = default(IList), IList inboundNatPools = default(IList), IList outboundRules = default(IList), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
+ public LoadBalancer(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), LoadBalancerSku sku = default(LoadBalancerSku), IList frontendIPConfigurations = default(IList), IList backendAddressPools = default(IList), IList loadBalancingRules = default(IList), IList probes = default(IList), IList inboundNatRules = default(IList), IList inboundNatPools = default(IList), IList outboundRules = default(IList), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
: base(id, name, type, location, tags)
{
+ ExtendedLocation = extendedLocation;
Sku = sku;
FrontendIPConfigurations = frontendIPConfigurations;
BackendAddressPools = backendAddressPools;
@@ -95,6 +98,12 @@ public LoadBalancer()
///
partial void CustomInit();
+ ///
+ /// Gets or sets the extended location of the load balancer.
+ ///
+ [JsonProperty(PropertyName = "extendedLocation")]
+ public ExtendedLocation ExtendedLocation { get; set; }
+
///
/// Gets or sets the load balancer SKU.
///
@@ -181,5 +190,78 @@ public LoadBalancer()
[JsonProperty(PropertyName = "etag")]
public string Etag { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (ExtendedLocation != null)
+ {
+ ExtendedLocation.Validate();
+ }
+ if (FrontendIPConfigurations != null)
+ {
+ foreach (var element in FrontendIPConfigurations)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
+ if (LoadBalancingRules != null)
+ {
+ foreach (var element1 in LoadBalancingRules)
+ {
+ if (element1 != null)
+ {
+ element1.Validate();
+ }
+ }
+ }
+ if (Probes != null)
+ {
+ foreach (var element2 in Probes)
+ {
+ if (element2 != null)
+ {
+ element2.Validate();
+ }
+ }
+ }
+ if (InboundNatRules != null)
+ {
+ foreach (var element3 in InboundNatRules)
+ {
+ if (element3 != null)
+ {
+ element3.Validate();
+ }
+ }
+ }
+ if (InboundNatPools != null)
+ {
+ foreach (var element4 in InboundNatPools)
+ {
+ if (element4 != null)
+ {
+ element4.Validate();
+ }
+ }
+ }
+ if (OutboundRules != null)
+ {
+ foreach (var element5 in OutboundRules)
+ {
+ if (element5 != null)
+ {
+ element5.Validate();
+ }
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddress.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddress.cs
index 7f5974c09af4..0dcd3929aa02 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddress.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddress.cs
@@ -38,12 +38,16 @@ public LoadBalancerBackendAddress()
/// virtual network.
/// Reference to IP
/// address defined in network interfaces.
+ /// Reference to the
+ /// frontend ip address configuration defined in regional
+ /// loadbalancer.
/// Name of the backend address.
- public LoadBalancerBackendAddress(SubResource virtualNetwork = default(SubResource), string ipAddress = default(string), SubResource networkInterfaceIPConfiguration = default(SubResource), string name = default(string))
+ public LoadBalancerBackendAddress(SubResource virtualNetwork = default(SubResource), string ipAddress = default(string), SubResource networkInterfaceIPConfiguration = default(SubResource), SubResource loadBalancerFrontendIPConfiguration = default(SubResource), string name = default(string))
{
VirtualNetwork = virtualNetwork;
IpAddress = ipAddress;
NetworkInterfaceIPConfiguration = networkInterfaceIPConfiguration;
+ LoadBalancerFrontendIPConfiguration = loadBalancerFrontendIPConfiguration;
Name = name;
CustomInit();
}
@@ -72,6 +76,13 @@ public LoadBalancerBackendAddress()
[JsonProperty(PropertyName = "properties.networkInterfaceIPConfiguration")]
public SubResource NetworkInterfaceIPConfiguration { get; private set; }
+ ///
+ /// Gets or sets reference to the frontend ip address configuration
+ /// defined in regional loadbalancer.
+ ///
+ [JsonProperty(PropertyName = "properties.loadBalancerFrontendIPConfiguration")]
+ public SubResource LoadBalancerFrontendIPConfiguration { get; set; }
+
///
/// Gets or sets name of the backend address.
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerSku.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerSku.cs
index 24a02b9a3ff7..b7daccca169d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerSku.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerSku.cs
@@ -31,9 +31,12 @@ public LoadBalancerSku()
///
/// Name of a load balancer SKU. Possible values
/// include: 'Basic', 'Standard'
- public LoadBalancerSku(string name = default(string))
+ /// Tier of a load balancer SKU. Possible values
+ /// include: 'Regional', 'Global'
+ public LoadBalancerSku(string name = default(string), string tier = default(string))
{
Name = name;
+ Tier = tier;
CustomInit();
}
@@ -49,5 +52,12 @@ public LoadBalancerSku()
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
+ ///
+ /// Gets or sets tier of a load balancer SKU. Possible values include:
+ /// 'Regional', 'Global'
+ ///
+ [JsonProperty(PropertyName = "tier")]
+ public string Tier { get; set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerSkuTier.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerSkuTier.cs
new file mode 100644
index 000000000000..f13adf92d538
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerSkuTier.cs
@@ -0,0 +1,22 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for LoadBalancerSkuTier.
+ ///
+ public static class LoadBalancerSkuTier
+ {
+ public const string Regional = "Regional";
+ public const string Global = "Global";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NatRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NatRule.cs
index db52061a0f28..8dbc9d3c938e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NatRule.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NatRule.cs
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// Rule of type nat.
///
+ [Newtonsoft.Json.JsonObject("NatRule")]
public partial class NatRule : FirewallPolicyRule
{
///
@@ -46,7 +47,9 @@ public NatRule()
/// rule.
/// List of source IpGroups for this
/// rule.
- public NatRule(string name = default(string), string description = default(string), IList ipProtocols = default(IList), IList sourceAddresses = default(IList), IList destinationAddresses = default(IList), IList destinationPorts = default(IList), string translatedAddress = default(string), string translatedPort = default(string), IList sourceIpGroups = default(IList))
+ /// The translated FQDN for this NAT
+ /// rule.
+ public NatRule(string name = default(string), string description = default(string), IList ipProtocols = default(IList), IList sourceAddresses = default(IList), IList destinationAddresses = default(IList), IList destinationPorts = default(IList), string translatedAddress = default(string), string translatedPort = default(string), IList sourceIpGroups = default(IList), string translatedFqdn = default(string))
: base(name, description)
{
IpProtocols = ipProtocols;
@@ -56,6 +59,7 @@ public NatRule()
TranslatedAddress = translatedAddress;
TranslatedPort = translatedPort;
SourceIpGroups = sourceIpGroups;
+ TranslatedFqdn = translatedFqdn;
CustomInit();
}
@@ -106,5 +110,11 @@ public NatRule()
[JsonProperty(PropertyName = "sourceIpGroups")]
public IList SourceIpGroups { get; set; }
+ ///
+ /// Gets or sets the translated FQDN for this NAT rule.
+ ///
+ [JsonProperty(PropertyName = "translatedFqdn")]
+ public string TranslatedFqdn { get; set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterface.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterface.cs
index b1c711364182..0625cdd0c4d4 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterface.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterface.cs
@@ -39,6 +39,8 @@ public NetworkInterface()
/// Resource type.
/// Resource location.
/// Resource tags.
+ /// The extended location of the network
+ /// interface.
/// The reference to a virtual
/// machine.
/// The reference to the
@@ -70,9 +72,10 @@ public NetworkInterface()
/// 'Updating', 'Deleting', 'Failed'
/// A unique read-only string that changes whenever
/// the resource is updated.
- public NetworkInterface(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), SubResource virtualMachine = default(SubResource), NetworkSecurityGroup networkSecurityGroup = default(NetworkSecurityGroup), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), IList ipConfigurations = default(IList), IList tapConfigurations = default(IList), NetworkInterfaceDnsSettings dnsSettings = default(NetworkInterfaceDnsSettings), string macAddress = default(string), bool? primary = default(bool?), bool? enableAcceleratedNetworking = default(bool?), bool? enableIPForwarding = default(bool?), IList hostedWorkloads = default(IList), SubResource dscpConfiguration = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
+ public NetworkInterface(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), SubResource virtualMachine = default(SubResource), NetworkSecurityGroup networkSecurityGroup = default(NetworkSecurityGroup), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), IList ipConfigurations = default(IList), IList tapConfigurations = default(IList), NetworkInterfaceDnsSettings dnsSettings = default(NetworkInterfaceDnsSettings), string macAddress = default(string), bool? primary = default(bool?), bool? enableAcceleratedNetworking = default(bool?), bool? enableIPForwarding = default(bool?), IList hostedWorkloads = default(IList), SubResource dscpConfiguration = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
: base(id, name, type, location, tags)
{
+ ExtendedLocation = extendedLocation;
VirtualMachine = virtualMachine;
NetworkSecurityGroup = networkSecurityGroup;
PrivateEndpoint = privateEndpoint;
@@ -96,6 +99,12 @@ public NetworkInterface()
///
partial void CustomInit();
+ ///
+ /// Gets or sets the extended location of the network interface.
+ ///
+ [JsonProperty(PropertyName = "extendedLocation")]
+ public ExtendedLocation ExtendedLocation { get; set; }
+
///
/// Gets the reference to a virtual machine.
///
@@ -194,5 +203,38 @@ public NetworkInterface()
[JsonProperty(PropertyName = "etag")]
public string Etag { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (ExtendedLocation != null)
+ {
+ ExtendedLocation.Validate();
+ }
+ if (IpConfigurations != null)
+ {
+ foreach (var element in IpConfigurations)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
+ if (TapConfigurations != null)
+ {
+ foreach (var element1 in TapConfigurations)
+ {
+ if (element1 != null)
+ {
+ element1.Validate();
+ }
+ }
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIpConfiguration.cs
index 13e6c1032ee3..fc1d252e53df 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIpConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIpConfiguration.cs
@@ -196,5 +196,38 @@ public NetworkInterfaceIPConfiguration()
[JsonProperty(PropertyName = "etag")]
public string Etag { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (VirtualNetworkTaps != null)
+ {
+ foreach (var element in VirtualNetworkTaps)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
+ if (LoadBalancerInboundNatRules != null)
+ {
+ foreach (var element1 in LoadBalancerInboundNatRules)
+ {
+ if (element1 != null)
+ {
+ element1.Validate();
+ }
+ }
+ }
+ if (PublicIPAddress != null)
+ {
+ PublicIPAddress.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceTapConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceTapConfiguration.cs
index 7be020d7ccf3..2b922b608c31 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceTapConfiguration.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceTapConfiguration.cs
@@ -96,5 +96,18 @@ public NetworkInterfaceTapConfiguration()
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (VirtualNetworkTap != null)
+ {
+ VirtualNetworkTap.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkRule.cs
index 7a0279f4f82e..feebc1b0ae05 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkRule.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkRule.cs
@@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// Rule of type network.
///
+ [Newtonsoft.Json.JsonObject("NetworkRule")]
public partial class NetworkRule : FirewallPolicyRule
{
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliance.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliance.cs
index e56c23395ae6..40d6b8c5b999 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliance.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliance.cs
@@ -179,13 +179,16 @@ public NetworkVirtualAppliance()
///
public virtual void Validate()
{
- if (VirtualApplianceAsn > 4294967295)
+ if (VirtualApplianceAsn != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "VirtualApplianceAsn", 4294967295);
- }
- if (VirtualApplianceAsn < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "VirtualApplianceAsn", 0);
+ if (VirtualApplianceAsn > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "VirtualApplianceAsn", 4294967295);
+ }
+ if (VirtualApplianceAsn < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "VirtualApplianceAsn", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/P2SVpnGateway.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/P2SVpnGateway.cs
index 2b8dcf47cdd7..04318ee992f5 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/P2SVpnGateway.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/P2SVpnGateway.cs
@@ -54,9 +54,11 @@ public P2SVpnGateway()
/// connection health status.
/// List of all customer specified DNS
/// servers IP addresses.
+ /// Enable Routing Preference
+ /// property for the Public IP Interface of the P2SVpnGateway.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public P2SVpnGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), SubResource virtualHub = default(SubResource), IList p2SConnectionConfigurations = default(IList), string provisioningState = default(string), int? vpnGatewayScaleUnit = default(int?), SubResource vpnServerConfiguration = default(SubResource), VpnClientConnectionHealth vpnClientConnectionHealth = default(VpnClientConnectionHealth), IList customDnsServers = default(IList), string etag = default(string))
+ public P2SVpnGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), SubResource virtualHub = default(SubResource), IList p2SConnectionConfigurations = default(IList), string provisioningState = default(string), int? vpnGatewayScaleUnit = default(int?), SubResource vpnServerConfiguration = default(SubResource), VpnClientConnectionHealth vpnClientConnectionHealth = default(VpnClientConnectionHealth), IList customDnsServers = default(IList), bool? isRoutingPreferenceInternet = default(bool?), string etag = default(string))
: base(id, name, type, location, tags)
{
VirtualHub = virtualHub;
@@ -66,6 +68,7 @@ public P2SVpnGateway()
VpnServerConfiguration = vpnServerConfiguration;
VpnClientConnectionHealth = vpnClientConnectionHealth;
CustomDnsServers = customDnsServers;
+ IsRoutingPreferenceInternet = isRoutingPreferenceInternet;
Etag = etag;
CustomInit();
}
@@ -122,6 +125,13 @@ public P2SVpnGateway()
[JsonProperty(PropertyName = "properties.customDnsServers")]
public IList CustomDnsServers { get; set; }
+ ///
+ /// Gets or sets enable Routing Preference property for the Public IP
+ /// Interface of the P2SVpnGateway.
+ ///
+ [JsonProperty(PropertyName = "properties.isRoutingPreferenceInternet")]
+ public bool? IsRoutingPreferenceInternet { get; set; }
+
///
/// Gets a unique read-only string that changes whenever the resource
/// is updated.
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCapture.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCapture.cs
index 915f8514424a..0cb6d02efca3 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCapture.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCapture.cs
@@ -45,7 +45,7 @@ public PacketCapture()
/// Maximum duration of the capture
/// session in seconds.
/// A list of packet capture filters.
- public PacketCapture(string target, PacketCaptureStorageLocation storageLocation, int? bytesToCapturePerPacket = default(int?), int? totalBytesPerSession = default(int?), int? timeLimitInSeconds = default(int?), IList filters = default(IList))
+ public PacketCapture(string target, PacketCaptureStorageLocation storageLocation, long? bytesToCapturePerPacket = default(long?), long? totalBytesPerSession = default(long?), int? timeLimitInSeconds = default(int?), IList filters = default(IList))
{
Target = target;
BytesToCapturePerPacket = bytesToCapturePerPacket;
@@ -73,13 +73,13 @@ public PacketCapture()
/// bytes are truncated.
///
[JsonProperty(PropertyName = "properties.bytesToCapturePerPacket")]
- public int? BytesToCapturePerPacket { get; set; }
+ public long? BytesToCapturePerPacket { get; set; }
///
/// Gets or sets maximum size of the capture output.
///
[JsonProperty(PropertyName = "properties.totalBytesPerSession")]
- public int? TotalBytesPerSession { get; set; }
+ public long? TotalBytesPerSession { get; set; }
///
/// Gets or sets maximum duration of the capture session in seconds.
@@ -115,6 +115,39 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "StorageLocation");
}
+ if (BytesToCapturePerPacket != null)
+ {
+ if (BytesToCapturePerPacket > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "BytesToCapturePerPacket", 4294967295);
+ }
+ if (BytesToCapturePerPacket < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "BytesToCapturePerPacket", 0);
+ }
+ }
+ if (TotalBytesPerSession != null)
+ {
+ if (TotalBytesPerSession > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TotalBytesPerSession", 4294967295);
+ }
+ if (TotalBytesPerSession < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TotalBytesPerSession", 0);
+ }
+ }
+ if (TimeLimitInSeconds != null)
+ {
+ if (TimeLimitInSeconds > 18000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TimeLimitInSeconds", 18000);
+ }
+ if (TimeLimitInSeconds < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TimeLimitInSeconds", 0);
+ }
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureParameters.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureParameters.cs
index 4869cc83c098..e791803e4fad 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureParameters.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureParameters.cs
@@ -43,7 +43,7 @@ public PacketCaptureParameters()
/// Maximum duration of the capture
/// session in seconds.
/// A list of packet capture filters.
- public PacketCaptureParameters(string target, PacketCaptureStorageLocation storageLocation, int? bytesToCapturePerPacket = default(int?), int? totalBytesPerSession = default(int?), int? timeLimitInSeconds = default(int?), IList filters = default(IList))
+ public PacketCaptureParameters(string target, PacketCaptureStorageLocation storageLocation, long? bytesToCapturePerPacket = default(long?), long? totalBytesPerSession = default(long?), int? timeLimitInSeconds = default(int?), IList filters = default(IList))
{
Target = target;
BytesToCapturePerPacket = bytesToCapturePerPacket;
@@ -71,13 +71,13 @@ public PacketCaptureParameters()
/// bytes are truncated.
///
[JsonProperty(PropertyName = "bytesToCapturePerPacket")]
- public int? BytesToCapturePerPacket { get; set; }
+ public long? BytesToCapturePerPacket { get; set; }
///
/// Gets or sets maximum size of the capture output.
///
[JsonProperty(PropertyName = "totalBytesPerSession")]
- public int? TotalBytesPerSession { get; set; }
+ public long? TotalBytesPerSession { get; set; }
///
/// Gets or sets maximum duration of the capture session in seconds.
@@ -113,6 +113,39 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "StorageLocation");
}
+ if (BytesToCapturePerPacket != null)
+ {
+ if (BytesToCapturePerPacket > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "BytesToCapturePerPacket", 4294967295);
+ }
+ if (BytesToCapturePerPacket < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "BytesToCapturePerPacket", 0);
+ }
+ }
+ if (TotalBytesPerSession != null)
+ {
+ if (TotalBytesPerSession > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TotalBytesPerSession", 4294967295);
+ }
+ if (TotalBytesPerSession < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TotalBytesPerSession", 0);
+ }
+ }
+ if (TimeLimitInSeconds != null)
+ {
+ if (TimeLimitInSeconds > 18000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TimeLimitInSeconds", 18000);
+ }
+ if (TimeLimitInSeconds < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TimeLimitInSeconds", 0);
+ }
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureResult.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureResult.cs
index 7aa6a53e290e..ed6a805dc78e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureResult.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PacketCaptureResult.cs
@@ -52,7 +52,7 @@ public PacketCaptureResult()
/// The provisioning state of the
/// packet capture session. Possible values include: 'Succeeded',
/// 'Updating', 'Deleting', 'Failed'
- public PacketCaptureResult(string target, PacketCaptureStorageLocation storageLocation, string name = default(string), string id = default(string), string etag = default(string), int? bytesToCapturePerPacket = default(int?), int? totalBytesPerSession = default(int?), int? timeLimitInSeconds = default(int?), IList filters = default(IList), string provisioningState = default(string))
+ public PacketCaptureResult(string target, PacketCaptureStorageLocation storageLocation, string name = default(string), string id = default(string), string etag = default(string), long? bytesToCapturePerPacket = default(long?), long? totalBytesPerSession = default(long?), int? timeLimitInSeconds = default(int?), IList filters = default(IList), string provisioningState = default(string))
{
Name = name;
Id = id;
@@ -103,13 +103,13 @@ public PacketCaptureResult()
/// bytes are truncated.
///
[JsonProperty(PropertyName = "properties.bytesToCapturePerPacket")]
- public int? BytesToCapturePerPacket { get; set; }
+ public long? BytesToCapturePerPacket { get; set; }
///
/// Gets or sets maximum size of the capture output.
///
[JsonProperty(PropertyName = "properties.totalBytesPerSession")]
- public int? TotalBytesPerSession { get; set; }
+ public long? TotalBytesPerSession { get; set; }
///
/// Gets or sets maximum duration of the capture session in seconds.
@@ -152,6 +152,39 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "StorageLocation");
}
+ if (BytesToCapturePerPacket != null)
+ {
+ if (BytesToCapturePerPacket > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "BytesToCapturePerPacket", 4294967295);
+ }
+ if (BytesToCapturePerPacket < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "BytesToCapturePerPacket", 0);
+ }
+ }
+ if (TotalBytesPerSession != null)
+ {
+ if (TotalBytesPerSession > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TotalBytesPerSession", 4294967295);
+ }
+ if (TotalBytesPerSession < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TotalBytesPerSession", 0);
+ }
+ }
+ if (TimeLimitInSeconds != null)
+ {
+ if (TimeLimitInSeconds > 18000)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TimeLimitInSeconds", 18000);
+ }
+ if (TimeLimitInSeconds < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TimeLimitInSeconds", 0);
+ }
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs
index 69188a800488..9ef831837899 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs
@@ -95,17 +95,23 @@ public PolicySettings()
///
public virtual void Validate()
{
- if (MaxRequestBodySizeInKb > 128)
+ if (MaxRequestBodySizeInKb != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxRequestBodySizeInKb", 128);
+ if (MaxRequestBodySizeInKb > 128)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxRequestBodySizeInKb", 128);
+ }
+ if (MaxRequestBodySizeInKb < 8)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxRequestBodySizeInKb", 8);
+ }
}
- if (MaxRequestBodySizeInKb < 8)
+ if (FileUploadLimitInMb != null)
{
- throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxRequestBodySizeInKb", 8);
- }
- if (FileUploadLimitInMb < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "FileUploadLimitInMb", 0);
+ if (FileUploadLimitInMb < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "FileUploadLimitInMb", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressSku.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressSku.cs
index ed86b7c1c64f..b08c74d5bfc5 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressSku.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressSku.cs
@@ -31,9 +31,12 @@ public PublicIPAddressSku()
///
/// Name of a public IP address SKU. Possible values
/// include: 'Basic', 'Standard'
- public PublicIPAddressSku(string name = default(string))
+ /// Tier of a public IP address SKU. Possible values
+ /// include: 'Regional', 'Global'
+ public PublicIPAddressSku(string name = default(string), string tier = default(string))
{
Name = name;
+ Tier = tier;
CustomInit();
}
@@ -49,5 +52,12 @@ public PublicIPAddressSku()
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
+ ///
+ /// Gets or sets tier of a public IP address SKU. Possible values
+ /// include: 'Regional', 'Global'
+ ///
+ [JsonProperty(PropertyName = "tier")]
+ public string Tier { get; set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressSkuTier.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressSkuTier.cs
new file mode 100644
index 000000000000..0c40a4fbdceb
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressSkuTier.cs
@@ -0,0 +1,22 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for PublicIPAddressSkuTier.
+ ///
+ public static class PublicIPAddressSkuTier
+ {
+ public const string Regional = "Regional";
+ public const string Global = "Global";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefix.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefix.cs
index 2220e41c897a..c7a322fbc0be 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefix.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefix.cs
@@ -39,6 +39,8 @@ public PublicIPPrefix()
/// Resource type.
/// Resource location.
/// Resource tags.
+ /// The extended location of the public
+ /// ip address.
/// The public IP prefix SKU.
/// The public IP address version.
/// Possible values include: 'IPv4', 'IPv6'
@@ -63,9 +65,10 @@ public PublicIPPrefix()
/// the resource is updated.
/// A list of availability zones denoting the IP
/// allocated for the resource needs to come from.
- public PublicIPPrefix(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), PublicIPPrefixSku sku = default(PublicIPPrefixSku), string publicIPAddressVersion = default(string), IList ipTags = default(IList), int? prefixLength = default(int?), string ipPrefix = default(string), IList publicIPAddresses = default(IList), SubResource loadBalancerFrontendIpConfiguration = default(SubResource), SubResource customIPPrefix = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string), IList zones = default(IList))
+ public PublicIPPrefix(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), PublicIPPrefixSku sku = default(PublicIPPrefixSku), string publicIPAddressVersion = default(string), IList ipTags = default(IList), int? prefixLength = default(int?), string ipPrefix = default(string), IList publicIPAddresses = default(IList), SubResource loadBalancerFrontendIpConfiguration = default(SubResource), SubResource customIPPrefix = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string), IList zones = default(IList))
: base(id, name, type, location, tags)
{
+ ExtendedLocation = extendedLocation;
Sku = sku;
PublicIPAddressVersion = publicIPAddressVersion;
IpTags = ipTags;
@@ -86,6 +89,12 @@ public PublicIPPrefix()
///
partial void CustomInit();
+ ///
+ /// Gets or sets the extended location of the public ip address.
+ ///
+ [JsonProperty(PropertyName = "extendedLocation")]
+ public ExtendedLocation ExtendedLocation { get; set; }
+
///
/// Gets or sets the public IP prefix SKU.
///
@@ -165,5 +174,18 @@ public PublicIPPrefix()
[JsonProperty(PropertyName = "zones")]
public IList Zones { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (ExtendedLocation != null)
+ {
+ ExtendedLocation.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefixSku.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefixSku.cs
index 072ccb9ac05c..5fadd6fb6678 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefixSku.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefixSku.cs
@@ -31,9 +31,12 @@ public PublicIPPrefixSku()
///
/// Name of a public IP prefix SKU. Possible values
/// include: 'Standard'
- public PublicIPPrefixSku(string name = default(string))
+ /// Tier of a public IP prefix SKU. Possible values
+ /// include: 'Regional', 'Global'
+ public PublicIPPrefixSku(string name = default(string), string tier = default(string))
{
Name = name;
+ Tier = tier;
CustomInit();
}
@@ -49,5 +52,12 @@ public PublicIPPrefixSku()
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
+ ///
+ /// Gets or sets tier of a public IP prefix SKU. Possible values
+ /// include: 'Regional', 'Global'
+ ///
+ [JsonProperty(PropertyName = "tier")]
+ public string Tier { get; set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefixSkuTier.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefixSkuTier.cs
new file mode 100644
index 000000000000..6d0dd808b63a
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPPrefixSkuTier.cs
@@ -0,0 +1,22 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for PublicIPPrefixSkuTier.
+ ///
+ public static class PublicIPPrefixSkuTier
+ {
+ public const string Regional = "Regional";
+ public const string Global = "Global";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddress.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddress.cs
index 050a3d11af32..aea875128f69 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddress.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddress.cs
@@ -39,6 +39,8 @@ public PublicIPAddress()
/// Resource type.
/// Resource location.
/// Resource tags.
+ /// The extended location of the public
+ /// ip address.
/// The public IP address SKU.
/// The public IP address
/// allocation method. Possible values include: 'Static',
@@ -68,9 +70,10 @@ public PublicIPAddress()
/// the resource is updated.
/// A list of availability zones denoting the IP
/// allocated for the resource needs to come from.
- public PublicIPAddress(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), PublicIPAddressSku sku = default(PublicIPAddressSku), string publicIPAllocationMethod = default(string), string publicIPAddressVersion = default(string), IPConfiguration ipConfiguration = default(IPConfiguration), PublicIPAddressDnsSettings dnsSettings = default(PublicIPAddressDnsSettings), DdosSettings ddosSettings = default(DdosSettings), IList ipTags = default(IList), string ipAddress = default(string), SubResource publicIPPrefix = default(SubResource), int? idleTimeoutInMinutes = default(int?), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string), IList zones = default(IList))
+ public PublicIPAddress(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), PublicIPAddressSku sku = default(PublicIPAddressSku), string publicIPAllocationMethod = default(string), string publicIPAddressVersion = default(string), IPConfiguration ipConfiguration = default(IPConfiguration), PublicIPAddressDnsSettings dnsSettings = default(PublicIPAddressDnsSettings), DdosSettings ddosSettings = default(DdosSettings), IList ipTags = default(IList), string ipAddress = default(string), SubResource publicIPPrefix = default(SubResource), int? idleTimeoutInMinutes = default(int?), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string), IList zones = default(IList))
: base(id, name, type, location, tags)
{
+ ExtendedLocation = extendedLocation;
Sku = sku;
PublicIPAllocationMethod = publicIPAllocationMethod;
PublicIPAddressVersion = publicIPAddressVersion;
@@ -93,6 +96,12 @@ public PublicIPAddress()
///
partial void CustomInit();
+ ///
+ /// Gets or sets the extended location of the public ip address.
+ ///
+ [JsonProperty(PropertyName = "extendedLocation")]
+ public ExtendedLocation ExtendedLocation { get; set; }
+
///
/// Gets or sets the public IP address SKU.
///
@@ -188,5 +197,22 @@ public PublicIPAddress()
[JsonProperty(PropertyName = "zones")]
public IList Zones { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (ExtendedLocation != null)
+ {
+ ExtendedLocation.Validate();
+ }
+ if (IpConfiguration != null)
+ {
+ IpConfiguration.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceTagsListResult.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceTagsListResult.cs
index 34e3d69e3d04..ef95688014da 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceTagsListResult.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ServiceTagsListResult.cs
@@ -38,7 +38,9 @@ public ServiceTagsListResult()
/// The name of the cloud.
/// The list of service tag information
/// resources.
- public ServiceTagsListResult(string name = default(string), string id = default(string), string type = default(string), string changeNumber = default(string), string cloud = default(string), IList values = default(IList))
+ /// The URL to get next page of service tag
+ /// information resources.
+ public ServiceTagsListResult(string name = default(string), string id = default(string), string type = default(string), string changeNumber = default(string), string cloud = default(string), IList values = default(IList), string nextLink = default(string))
{
Name = name;
Id = id;
@@ -46,6 +48,7 @@ public ServiceTagsListResult()
ChangeNumber = changeNumber;
Cloud = cloud;
Values = values;
+ NextLink = nextLink;
CustomInit();
}
@@ -90,5 +93,11 @@ public ServiceTagsListResult()
[JsonProperty(PropertyName = "values")]
public IList Values { get; private set; }
+ ///
+ /// Gets the URL to get next page of service tag information resources.
+ ///
+ [JsonProperty(PropertyName = "nextLink")]
+ public string NextLink { get; private set; }
+
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHub.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHub.cs
index 045a35242f97..07a717e1743c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHub.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHub.cs
@@ -71,11 +71,11 @@ public VirtualHub()
/// IpConfigurations.
/// VirtualRouter ASN.
/// VirtualRouter IPs.
- /// Flag to control
- /// route propogation for VirtualRouter hub.
+ /// Flag to control transit
+ /// for VirtualRouter hub.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VirtualHub(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), SubResource virtualWan = default(SubResource), SubResource vpnGateway = default(SubResource), SubResource p2SVpnGateway = default(SubResource), SubResource expressRouteGateway = default(SubResource), SubResource azureFirewall = default(SubResource), SubResource securityPartnerProvider = default(SubResource), string addressPrefix = default(string), VirtualHubRouteTable routeTable = default(VirtualHubRouteTable), string provisioningState = default(string), string securityProviderName = default(string), IList virtualHubRouteTableV2s = default(IList), string sku = default(string), string routingState = default(string), IList bgpConnections = default(IList), IList ipConfigurations = default(IList), long? virtualRouterAsn = default(long?), IList virtualRouterIps = default(IList), bool? enableVirtualRouterRoutePropogation = default(bool?), string etag = default(string))
+ public VirtualHub(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), SubResource virtualWan = default(SubResource), SubResource vpnGateway = default(SubResource), SubResource p2SVpnGateway = default(SubResource), SubResource expressRouteGateway = default(SubResource), SubResource azureFirewall = default(SubResource), SubResource securityPartnerProvider = default(SubResource), string addressPrefix = default(string), VirtualHubRouteTable routeTable = default(VirtualHubRouteTable), string provisioningState = default(string), string securityProviderName = default(string), IList virtualHubRouteTableV2s = default(IList), string sku = default(string), string routingState = default(string), IList bgpConnections = default(IList), IList ipConfigurations = default(IList), long? virtualRouterAsn = default(long?), IList virtualRouterIps = default(IList), bool? allowBranchToBranchTraffic = default(bool?), string etag = default(string))
: base(id, name, type, location, tags)
{
VirtualWan = virtualWan;
@@ -95,7 +95,7 @@ public VirtualHub()
IpConfigurations = ipConfigurations;
VirtualRouterAsn = virtualRouterAsn;
VirtualRouterIps = virtualRouterIps;
- EnableVirtualRouterRoutePropogation = enableVirtualRouterRoutePropogation;
+ AllowBranchToBranchTraffic = allowBranchToBranchTraffic;
Etag = etag;
CustomInit();
}
@@ -213,11 +213,10 @@ public VirtualHub()
public IList VirtualRouterIps { get; set; }
///
- /// Gets or sets flag to control route propogation for VirtualRouter
- /// hub.
+ /// Gets or sets flag to control transit for VirtualRouter hub.
///
- [JsonProperty(PropertyName = "properties.enableVirtualRouterRoutePropogation")]
- public bool? EnableVirtualRouterRoutePropogation { get; set; }
+ [JsonProperty(PropertyName = "properties.allowBranchToBranchTraffic")]
+ public bool? AllowBranchToBranchTraffic { get; set; }
///
/// Gets a unique read-only string that changes whenever the resource
@@ -234,13 +233,16 @@ public VirtualHub()
///
public virtual void Validate()
{
- if (VirtualRouterAsn > 4294967295)
+ if (VirtualRouterAsn != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "VirtualRouterAsn", 4294967295);
- }
- if (VirtualRouterAsn < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "VirtualRouterAsn", 0);
+ if (VirtualRouterAsn > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "VirtualRouterAsn", 4294967295);
+ }
+ if (VirtualRouterAsn < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "VirtualRouterAsn", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHubEffectiveRouteEffectiveRouteList.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHubEffectiveRouteList.cs
similarity index 74%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHubEffectiveRouteEffectiveRouteList.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHubEffectiveRouteList.cs
index 18b8dfa79cc1..b3010110a689 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHubEffectiveRouteEffectiveRouteList.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualHubEffectiveRouteList.cs
@@ -18,24 +18,24 @@ namespace Microsoft.Azure.Management.Network.Models
///
/// EffectiveRoutes List.
///
- public partial class VirtualHubEffectiveRouteEffectiveRouteList
+ public partial class VirtualHubEffectiveRouteList
{
///
- /// Initializes a new instance of the
- /// VirtualHubEffectiveRouteEffectiveRouteList class.
+ /// Initializes a new instance of the VirtualHubEffectiveRouteList
+ /// class.
///
- public VirtualHubEffectiveRouteEffectiveRouteList()
+ public VirtualHubEffectiveRouteList()
{
CustomInit();
}
///
- /// Initializes a new instance of the
- /// VirtualHubEffectiveRouteEffectiveRouteList class.
+ /// Initializes a new instance of the VirtualHubEffectiveRouteList
+ /// class.
///
/// The list of effective routes configured on the
/// virtual hub or the specified resource.
- public VirtualHubEffectiveRouteEffectiveRouteList(IList value = default(IList))
+ public VirtualHubEffectiveRouteList(IList value = default(IList))
{
Value = value;
CustomInit();
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetwork.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetwork.cs
index b2016696970d..3643f4bb762e 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetwork.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetwork.cs
@@ -39,6 +39,8 @@ public VirtualNetwork()
/// Resource type.
/// Resource location.
/// Resource tags.
+ /// The extended location of the virtual
+ /// network.
/// The AddressSpace that contains an array
/// of IP address ranges that can be used by subnets.
/// The dhcpOptions that contains an array of
@@ -67,9 +69,10 @@ public VirtualNetwork()
/// this VNET.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VirtualNetwork(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList subnets = default(IList), IList virtualNetworkPeerings = default(IList), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDdosProtection = default(bool?), bool? enableVmProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), VirtualNetworkBgpCommunities bgpCommunities = default(VirtualNetworkBgpCommunities), IList ipAllocations = default(IList), string etag = default(string))
+ public VirtualNetwork(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList subnets = default(IList), IList virtualNetworkPeerings = default(IList), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDdosProtection = default(bool?), bool? enableVmProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), VirtualNetworkBgpCommunities bgpCommunities = default(VirtualNetworkBgpCommunities), IList ipAllocations = default(IList), string etag = default(string))
: base(id, name, type, location, tags)
{
+ ExtendedLocation = extendedLocation;
AddressSpace = addressSpace;
DhcpOptions = dhcpOptions;
Subnets = subnets;
@@ -90,6 +93,12 @@ public VirtualNetwork()
///
partial void CustomInit();
+ ///
+ /// Gets or sets the extended location of the virtual network.
+ ///
+ [JsonProperty(PropertyName = "extendedLocation")]
+ public ExtendedLocation ExtendedLocation { get; set; }
+
///
/// Gets or sets the AddressSpace that contains an array of IP address
/// ranges that can be used by subnets.
@@ -180,6 +189,10 @@ public VirtualNetwork()
///
public virtual void Validate()
{
+ if (ExtendedLocation != null)
+ {
+ ExtendedLocation.Validate();
+ }
if (VirtualNetworkPeerings != null)
{
foreach (var element in VirtualNetworkPeerings)
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs
index c810aeeee7b2..fbbb4838763b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs
@@ -42,7 +42,8 @@ public VirtualNetworkGateway()
/// IP configurations for virtual
/// network gateway.
/// The type of this virtual network gateway.
- /// Possible values include: 'Vpn', 'ExpressRoute'
+ /// Possible values include: 'Vpn', 'ExpressRoute',
+ /// 'LocalGateway'
/// The type of this virtual network gateway.
/// Possible values include: 'PolicyBased', 'RouteBased'
/// The generation for this
@@ -78,9 +79,14 @@ public VirtualNetworkGateway()
/// or not.
/// The IP address allocated
/// by the gateway to which dns requests can be sent.
+ /// MAS FIJI
+ /// customer vnet resource id. VirtualNetworkGateway of type local
+ /// gateway is associated with the customer vnet.
+ /// The extended location of type local
+ /// virtual network gateway.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ipConfigurations = default(IList), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIpAddress = default(bool?), bool? activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string etag = default(string))
+ public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ipConfigurations = default(IList), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIpAddress = default(bool?), bool? activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string virtualNetworkExtendedLocationResourceId = default(string), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string))
: base(id, name, type, location, tags)
{
IpConfigurations = ipConfigurations;
@@ -99,6 +105,8 @@ public VirtualNetworkGateway()
ProvisioningState = provisioningState;
EnableDnsForwarding = enableDnsForwarding;
InboundDnsForwardingEndpoint = inboundDnsForwardingEndpoint;
+ VirtualNetworkExtendedLocationResourceId = virtualNetworkExtendedLocationResourceId;
+ ExtendedLocation = extendedLocation;
Etag = etag;
CustomInit();
}
@@ -116,7 +124,7 @@ public VirtualNetworkGateway()
///
/// Gets or sets the type of this virtual network gateway. Possible
- /// values include: 'Vpn', 'ExpressRoute'
+ /// values include: 'Vpn', 'ExpressRoute', 'LocalGateway'
///
[JsonProperty(PropertyName = "properties.gatewayType")]
public string GatewayType { get; set; }
@@ -220,6 +228,21 @@ public VirtualNetworkGateway()
[JsonProperty(PropertyName = "properties.inboundDnsForwardingEndpoint")]
public string InboundDnsForwardingEndpoint { get; private set; }
+ ///
+ /// Gets or sets MAS FIJI customer vnet resource id.
+ /// VirtualNetworkGateway of type local gateway is associated with the
+ /// customer vnet.
+ ///
+ [JsonProperty(PropertyName = "properties.virtualNetworkExtendedLocationResourceId")]
+ public string VirtualNetworkExtendedLocationResourceId { get; set; }
+
+ ///
+ /// Gets or sets the extended location of type local virtual network
+ /// gateway.
+ ///
+ [JsonProperty(PropertyName = "properties.extendedLocation")]
+ public ExtendedLocation ExtendedLocation { get; set; }
+
///
/// Gets a unique read-only string that changes whenever the resource
/// is updated.
@@ -239,6 +262,10 @@ public virtual void Validate()
{
BgpSettings.Validate();
}
+ if (ExtendedLocation != null)
+ {
+ ExtendedLocation.Validate();
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnection.cs
index 5ab19ee2e8ab..099f51438b2d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnection.cs
@@ -29,6 +29,7 @@ public partial class VirtualNetworkGatewayConnection : Resource
///
public VirtualNetworkGatewayConnection()
{
+ VirtualNetworkGateway1 = new VirtualNetworkGateway();
CustomInit();
}
@@ -56,6 +57,9 @@ public VirtualNetworkGatewayConnection()
/// The routing weight.
/// The dead peer detection timeout of
/// this connection in seconds.
+ /// The connection mode for this
+ /// connection. Possible values include: 'Default', 'ResponderOnly',
+ /// 'InitiatorOnly'
/// The IPSec shared key.
/// Virtual Network Gateway connection
/// status. Possible values include: 'Unknown', 'Connecting',
@@ -85,7 +89,7 @@ public VirtualNetworkGatewayConnection()
/// for data forwarding.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VirtualNetworkGatewayConnection(VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string authorizationKey = default(string), VirtualNetworkGateway virtualNetworkGateway2 = default(VirtualNetworkGateway), LocalNetworkGateway localNetworkGateway2 = default(LocalNetworkGateway), string connectionProtocol = default(string), int? routingWeight = default(int?), int? dpdTimeoutSeconds = default(int?), string sharedKey = default(string), string connectionStatus = default(string), IList tunnelConnectionStatus = default(IList), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), bool? useLocalAzureIpAddress = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), IList ipsecPolicies = default(IList), IList trafficSelectorPolicies = default(IList), string resourceGuid = default(string), string provisioningState = default(string), bool? expressRouteGatewayBypass = default(bool?), string etag = default(string))
+ public VirtualNetworkGatewayConnection(VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string authorizationKey = default(string), VirtualNetworkGateway virtualNetworkGateway2 = default(VirtualNetworkGateway), LocalNetworkGateway localNetworkGateway2 = default(LocalNetworkGateway), string connectionProtocol = default(string), int? routingWeight = default(int?), int? dpdTimeoutSeconds = default(int?), string connectionMode = default(string), string sharedKey = default(string), string connectionStatus = default(string), IList tunnelConnectionStatus = default(IList), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), bool? useLocalAzureIpAddress = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), IList ipsecPolicies = default(IList), IList trafficSelectorPolicies = default(IList), string resourceGuid = default(string), string provisioningState = default(string), bool? expressRouteGatewayBypass = default(bool?), string etag = default(string))
: base(id, name, type, location, tags)
{
AuthorizationKey = authorizationKey;
@@ -96,6 +100,7 @@ public VirtualNetworkGatewayConnection()
ConnectionProtocol = connectionProtocol;
RoutingWeight = routingWeight;
DpdTimeoutSeconds = dpdTimeoutSeconds;
+ ConnectionMode = connectionMode;
SharedKey = sharedKey;
ConnectionStatus = connectionStatus;
TunnelConnectionStatus = tunnelConnectionStatus;
@@ -170,6 +175,13 @@ public VirtualNetworkGatewayConnection()
[JsonProperty(PropertyName = "properties.dpdTimeoutSeconds")]
public int? DpdTimeoutSeconds { get; set; }
+ ///
+ /// Gets or sets the connection mode for this connection. Possible
+ /// values include: 'Default', 'ResponderOnly', 'InitiatorOnly'
+ ///
+ [JsonProperty(PropertyName = "properties.connectionMode")]
+ public string ConnectionMode { get; set; }
+
///
/// Gets or sets the IPSec shared key.
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs
index 8a135e674733..81e9ad29116a 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs
@@ -54,6 +54,9 @@ public VirtualNetworkGatewayConnectionListEntity()
/// Connection protocol used for this
/// connection. Possible values include: 'IKEv2', 'IKEv1'
/// The routing weight.
+ /// The connection mode for this
+ /// connection. Possible values include: 'Default', 'ResponderOnly',
+ /// 'InitiatorOnly'
/// The IPSec shared key.
/// Virtual Network Gateway connection
/// status. Possible values include: 'Unknown', 'Connecting',
@@ -81,7 +84,7 @@ public VirtualNetworkGatewayConnectionListEntity()
/// for data forwarding.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VirtualNetworkGatewayConnectionListEntity(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1, string connectionType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string authorizationKey = default(string), VirtualNetworkConnectionGatewayReference virtualNetworkGateway2 = default(VirtualNetworkConnectionGatewayReference), VirtualNetworkConnectionGatewayReference localNetworkGateway2 = default(VirtualNetworkConnectionGatewayReference), string connectionProtocol = default(string), int? routingWeight = default(int?), string sharedKey = default(string), string connectionStatus = default(string), IList tunnelConnectionStatus = default(IList), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), IList ipsecPolicies = default(IList), IList trafficSelectorPolicies = default(IList), string resourceGuid = default(string), string provisioningState = default(string), bool? expressRouteGatewayBypass = default(bool?), string etag = default(string))
+ public VirtualNetworkGatewayConnectionListEntity(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1, string connectionType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string authorizationKey = default(string), VirtualNetworkConnectionGatewayReference virtualNetworkGateway2 = default(VirtualNetworkConnectionGatewayReference), VirtualNetworkConnectionGatewayReference localNetworkGateway2 = default(VirtualNetworkConnectionGatewayReference), string connectionProtocol = default(string), int? routingWeight = default(int?), string connectionMode = default(string), string sharedKey = default(string), string connectionStatus = default(string), IList tunnelConnectionStatus = default(IList), long? egressBytesTransferred = default(long?), long? ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool? enableBgp = default(bool?), bool? usePolicyBasedTrafficSelectors = default(bool?), IList ipsecPolicies = default(IList), IList trafficSelectorPolicies = default(IList), string resourceGuid = default(string), string provisioningState = default(string), bool? expressRouteGatewayBypass = default(bool?), string etag = default(string))
: base(id, name, type, location, tags)
{
AuthorizationKey = authorizationKey;
@@ -91,6 +94,7 @@ public VirtualNetworkGatewayConnectionListEntity()
ConnectionType = connectionType;
ConnectionProtocol = connectionProtocol;
RoutingWeight = routingWeight;
+ ConnectionMode = connectionMode;
SharedKey = sharedKey;
ConnectionStatus = connectionStatus;
TunnelConnectionStatus = tunnelConnectionStatus;
@@ -157,6 +161,13 @@ public VirtualNetworkGatewayConnectionListEntity()
[JsonProperty(PropertyName = "properties.routingWeight")]
public int? RoutingWeight { get; set; }
+ ///
+ /// Gets or sets the connection mode for this connection. Possible
+ /// values include: 'Default', 'ResponderOnly', 'InitiatorOnly'
+ ///
+ [JsonProperty(PropertyName = "properties.connectionMode")]
+ public string ConnectionMode { get; set; }
+
///
/// Gets or sets the IPSec shared key.
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnectionMode.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnectionMode.cs
new file mode 100644
index 000000000000..2007e1e57491
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayConnectionMode.cs
@@ -0,0 +1,23 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for VirtualNetworkGatewayConnectionMode.
+ ///
+ public static class VirtualNetworkGatewayConnectionMode
+ {
+ public const string Default = "Default";
+ public const string ResponderOnly = "ResponderOnly";
+ public const string InitiatorOnly = "InitiatorOnly";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayType.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayType.cs
index 7d3d8be16c9f..2b6c6f9454d7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayType.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayType.cs
@@ -18,5 +18,6 @@ public static class VirtualNetworkGatewayType
{
public const string Vpn = "Vpn";
public const string ExpressRoute = "ExpressRoute";
+ public const string LocalGateway = "LocalGateway";
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPeering.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPeering.cs
index 68807c1c4136..1f3fb9e15a6c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPeering.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPeering.cs
@@ -52,13 +52,21 @@ public VirtualNetworkPeering()
/// different region (preview). See here to register for the preview
/// and learn more
/// (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
- /// The reference to the remote
- /// virtual network address space.
+ /// The reference to the address space
+ /// peered with the remote virtual network.
+ /// The reference to the
+ /// current address space of the remote virtual network.
/// The reference to the remote
/// virtual network's Bgp Communities.
/// The status of the virtual network
/// peering. Possible values include: 'Initiated', 'Connected',
/// 'Disconnected'
+ /// The peering sync status of the
+ /// virtual network peering. Possible values include: 'FullySynced',
+ /// 'RemoteUnsynced', 'LocalUnsynced', 'LocalAndRemoteUnsynced'
+ /// Provided when user wants to
+ /// sync the peering with address space on the remote virtual network
+ /// after the address space is updated.
/// The provisioning state of the
/// virtual network peering resource. Possible values include:
/// 'Succeeded', 'Updating', 'Deleting', 'Failed'
@@ -67,7 +75,7 @@ public VirtualNetworkPeering()
/// resource.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VirtualNetworkPeering(string id = default(string), bool? allowVirtualNetworkAccess = default(bool?), bool? allowForwardedTraffic = default(bool?), bool? allowGatewayTransit = default(bool?), bool? useRemoteGateways = default(bool?), SubResource remoteVirtualNetwork = default(SubResource), AddressSpace remoteAddressSpace = default(AddressSpace), VirtualNetworkBgpCommunities remoteBgpCommunities = default(VirtualNetworkBgpCommunities), string peeringState = default(string), string provisioningState = default(string), string name = default(string), string etag = default(string))
+ public VirtualNetworkPeering(string id = default(string), bool? allowVirtualNetworkAccess = default(bool?), bool? allowForwardedTraffic = default(bool?), bool? allowGatewayTransit = default(bool?), bool? useRemoteGateways = default(bool?), SubResource remoteVirtualNetwork = default(SubResource), AddressSpace remoteAddressSpace = default(AddressSpace), AddressSpace remoteVirtualNetworkAddressSpace = default(AddressSpace), VirtualNetworkBgpCommunities remoteBgpCommunities = default(VirtualNetworkBgpCommunities), string peeringState = default(string), string peeringSyncLevel = default(string), bool? syncRemoteAddressSpace = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
: base(id)
{
AllowVirtualNetworkAccess = allowVirtualNetworkAccess;
@@ -76,8 +84,11 @@ public VirtualNetworkPeering()
UseRemoteGateways = useRemoteGateways;
RemoteVirtualNetwork = remoteVirtualNetwork;
RemoteAddressSpace = remoteAddressSpace;
+ RemoteVirtualNetworkAddressSpace = remoteVirtualNetworkAddressSpace;
RemoteBgpCommunities = remoteBgpCommunities;
PeeringState = peeringState;
+ PeeringSyncLevel = peeringSyncLevel;
+ SyncRemoteAddressSpace = syncRemoteAddressSpace;
ProvisioningState = provisioningState;
Name = name;
Etag = etag;
@@ -132,12 +143,19 @@ public VirtualNetworkPeering()
public SubResource RemoteVirtualNetwork { get; set; }
///
- /// Gets or sets the reference to the remote virtual network address
- /// space.
+ /// Gets or sets the reference to the address space peered with the
+ /// remote virtual network.
///
[JsonProperty(PropertyName = "properties.remoteAddressSpace")]
public AddressSpace RemoteAddressSpace { get; set; }
+ ///
+ /// Gets or sets the reference to the current address space of the
+ /// remote virtual network.
+ ///
+ [JsonProperty(PropertyName = "properties.remoteVirtualNetworkAddressSpace")]
+ public AddressSpace RemoteVirtualNetworkAddressSpace { get; set; }
+
///
/// Gets or sets the reference to the remote virtual network's Bgp
/// Communities.
@@ -152,6 +170,22 @@ public VirtualNetworkPeering()
[JsonProperty(PropertyName = "properties.peeringState")]
public string PeeringState { get; set; }
+ ///
+ /// Gets or sets the peering sync status of the virtual network
+ /// peering. Possible values include: 'FullySynced', 'RemoteUnsynced',
+ /// 'LocalUnsynced', 'LocalAndRemoteUnsynced'
+ ///
+ [JsonProperty(PropertyName = "properties.peeringSyncLevel")]
+ public string PeeringSyncLevel { get; set; }
+
+ ///
+ /// Gets or sets provided when user wants to sync the peering with
+ /// address space on the remote virtual network after the address space
+ /// is updated.
+ ///
+ [JsonProperty(PropertyName = "properties.syncRemoteAddressSpace")]
+ public bool? SyncRemoteAddressSpace { get; set; }
+
///
/// Gets the provisioning state of the virtual network peering
/// resource. Possible values include: 'Succeeded', 'Updating',
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPeeringLevel.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPeeringLevel.cs
new file mode 100644
index 000000000000..6da7d2466e9c
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkPeeringLevel.cs
@@ -0,0 +1,24 @@
+//
+// 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
+{
+
+ ///
+ /// Defines values for VirtualNetworkPeeringLevel.
+ ///
+ public static class VirtualNetworkPeeringLevel
+ {
+ public const string FullySynced = "FullySynced";
+ public const string RemoteUnsynced = "RemoteUnsynced";
+ public const string LocalUnsynced = "LocalUnsynced";
+ public const string LocalAndRemoteUnsynced = "LocalAndRemoteUnsynced";
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkTap.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkTap.cs
index fae7eacd4bbb..18f6870e7822 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkTap.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkTap.cs
@@ -125,5 +125,32 @@ public VirtualNetworkTap()
[JsonProperty(PropertyName = "etag")]
public string Etag { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (NetworkInterfaceTapConfigurations != null)
+ {
+ foreach (var element in NetworkInterfaceTapConfigurations)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
+ if (DestinationNetworkInterfaceIPConfiguration != null)
+ {
+ DestinationNetworkInterfaceIPConfiguration.Validate();
+ }
+ if (DestinationLoadBalancerFrontEndIPConfiguration != null)
+ {
+ DestinationLoadBalancerFrontEndIPConfiguration.Validate();
+ }
+ }
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouter.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouter.cs
index 970f9a3fe686..e6a1b590c68a 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouter.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouter.cs
@@ -122,13 +122,16 @@ public VirtualRouter()
///
public virtual void Validate()
{
- if (VirtualRouterAsn > 4294967295)
+ if (VirtualRouterAsn != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "VirtualRouterAsn", 4294967295);
- }
- if (VirtualRouterAsn < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "VirtualRouterAsn", 0);
+ if (VirtualRouterAsn > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "VirtualRouterAsn", 4294967295);
+ }
+ if (VirtualRouterAsn < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "VirtualRouterAsn", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouterPeering.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouterPeering.cs
index 356b2fda9334..35a8277064c2 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouterPeering.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualRouterPeering.cs
@@ -107,13 +107,16 @@ public VirtualRouterPeering()
///
public virtual void Validate()
{
- if (PeerAsn > 4294967295)
+ if (PeerAsn != null)
{
- throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerAsn", 4294967295);
- }
- if (PeerAsn < 0)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerAsn", 0);
+ if (PeerAsn > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "PeerAsn", 4294967295);
+ }
+ if (PeerAsn < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "PeerAsn", 0);
+ }
}
}
}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VpnGateway.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VpnGateway.cs
index 6b288659e1f1..6419f433f44d 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VpnGateway.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VpnGateway.cs
@@ -52,9 +52,11 @@ public VpnGateway()
/// gateway.
/// List of all IPs configured on the
/// gateway.
+ /// Enable Routing Preference
+ /// property for the Public IP Interface of the VpnGateway.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public VpnGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), SubResource virtualHub = default(SubResource), IList connections = default(IList), BgpSettings bgpSettings = default(BgpSettings), string provisioningState = default(string), int? vpnGatewayScaleUnit = default(int?), IList ipConfigurations = default(IList), string etag = default(string))
+ public VpnGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), SubResource virtualHub = default(SubResource), IList connections = default(IList), BgpSettings bgpSettings = default(BgpSettings), string provisioningState = default(string), int? vpnGatewayScaleUnit = default(int?), IList ipConfigurations = default(IList), bool? isRoutingPreferenceInternet = default(bool?), string etag = default(string))
: base(id, name, type, location, tags)
{
VirtualHub = virtualHub;
@@ -63,6 +65,7 @@ public VpnGateway()
ProvisioningState = provisioningState;
VpnGatewayScaleUnit = vpnGatewayScaleUnit;
IpConfigurations = ipConfigurations;
+ IsRoutingPreferenceInternet = isRoutingPreferenceInternet;
Etag = etag;
CustomInit();
}
@@ -109,6 +112,13 @@ public VpnGateway()
[JsonProperty(PropertyName = "properties.ipConfigurations")]
public IList IpConfigurations { get; private set; }
+ ///
+ /// Gets or sets enable Routing Preference property for the Public IP
+ /// Interface of the VpnGateway.
+ ///
+ [JsonProperty(PropertyName = "properties.isRoutingPreferenceInternet")]
+ public bool? IsRoutingPreferenceInternet { get; set; }
+
///
/// Gets a unique read-only string that changes whenever the resource
/// is updated.
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatGatewaysOperations.cs
index 878a5b985e2d..02e1a737e250 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatGatewaysOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatGatewaysOperations.cs
@@ -119,7 +119,7 @@ internal NatGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal NatGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -537,7 +537,7 @@ internal NatGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -720,7 +720,7 @@ internal NatGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal NatGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1092,7 +1092,7 @@ internal NatGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1260,24 +1260,6 @@ internal NatGatewaysOperations(NetworkManagementClient client)
throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
}
}
- // Deserialize Response
- if ((int)_statusCode == 202)
- {
- _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- try
- {
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
- }
- catch (JsonException ex)
- {
- _httpRequest.Dispose();
- if (_httpResponse != null)
- {
- _httpResponse.Dispose();
- }
- throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
- }
- }
if (_shouldTrace)
{
ServiceClientTracing.Exit(_invocationId, _result);
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs
index 46f31cd68d0c..cf1c923dd1a9 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs
@@ -94,7 +94,7 @@ internal NetworkInterfaceIPConfigurationsOperations(NetworkManagementClient clie
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -295,7 +295,7 @@ internal NetworkInterfaceIPConfigurationsOperations(NetworkManagementClient clie
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceLoadBalancersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceLoadBalancersOperations.cs
index a0ba8f7f6ca4..8b55246d8ae7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceLoadBalancersOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceLoadBalancersOperations.cs
@@ -94,7 +94,7 @@ internal NetworkInterfaceLoadBalancersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs
index c564d65242bf..cd9f8b1f8906 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs
@@ -126,7 +126,7 @@ internal NetworkInterfaceTapConfigurationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal NetworkInterfaceTapConfigurationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -548,7 +548,7 @@ internal NetworkInterfaceTapConfigurationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -736,11 +736,15 @@ internal NetworkInterfaceTapConfigurationsOperations(NetworkManagementClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "tapConfigurationParameters");
}
+ if (tapConfigurationParameters != null)
+ {
+ tapConfigurationParameters.Validate();
+ }
if (Client.SubscriptionId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfacesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfacesOperations.cs
index d253420df478..e80d28f932a8 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfacesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfacesOperations.cs
@@ -119,7 +119,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -537,7 +537,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -720,7 +720,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2022,7 +2022,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2201,11 +2201,15 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
+ if (parameters != null)
+ {
+ parameters.Validate();
+ }
if (Client.SubscriptionId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2424,7 +2428,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2618,7 +2622,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs
index 3d29fe6e2408..8a13d24bbacc 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs
@@ -123,6 +123,11 @@ public partial class NetworkManagementClient : ServiceClient
public virtual IAzureFirewallFqdnTagsOperations AzureFirewallFqdnTags { get; private set; }
+ ///
+ /// Gets the IWebCategoriesOperations.
+ ///
+ public virtual IWebCategoriesOperations WebCategories { get; private set; }
+
///
/// Gets the IBastionHostsOperations.
///
@@ -848,6 +853,7 @@ private void Initialize()
AvailableServiceAliases = new AvailableServiceAliasesOperations(this);
AzureFirewalls = new AzureFirewallsOperations(this);
AzureFirewallFqdnTags = new AzureFirewallFqdnTagsOperations(this);
+ WebCategories = new WebCategoriesOperations(this);
BastionHosts = new BastionHostsOperations(this);
CustomIPPrefixes = new CustomIPPrefixesOperations(this);
DdosCustomPolicies = new DdosCustomPoliciesOperations(this);
@@ -1084,7 +1090,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "bslRequest");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1314,7 +1320,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "sessionIds");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1517,7 +1523,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1715,7 +1721,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "virtualWANName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1945,7 +1951,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "bslRequest");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2151,7 +2157,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "bslRequest");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2334,7 +2340,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2539,7 +2545,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "vpnClientParams");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkProfilesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkProfilesOperations.cs
index 7b273a1ce4c6..0eda5f054ce3 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkProfilesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkProfilesOperations.cs
@@ -119,7 +119,7 @@ internal NetworkProfilesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -325,7 +325,7 @@ internal NetworkProfilesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -551,7 +551,7 @@ internal NetworkProfilesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -738,7 +738,7 @@ internal NetworkProfilesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -921,7 +921,7 @@ internal NetworkProfilesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1110,7 +1110,7 @@ internal NetworkProfilesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkSecurityGroupsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkSecurityGroupsOperations.cs
index 4b657ba8c889..bda997e57527 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkSecurityGroupsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkSecurityGroupsOperations.cs
@@ -119,7 +119,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -352,7 +352,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -539,7 +539,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -722,7 +722,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -911,7 +911,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1096,7 +1096,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperations.cs
index b537543e38d7..e451c69d31b2 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperations.cs
@@ -119,7 +119,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -325,7 +325,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -544,7 +544,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -722,7 +722,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1096,7 +1096,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkWatchersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkWatchersOperations.cs
index 96ad2947ea86..4edea5b6a981 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkWatchersOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkWatchersOperations.cs
@@ -101,7 +101,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -315,7 +315,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -533,7 +533,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -722,7 +722,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -895,7 +895,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1087,7 +1087,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1571,7 +1571,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1754,7 +1754,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1979,7 +1979,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2204,7 +2204,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2429,7 +2429,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2654,7 +2654,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2880,7 +2880,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3107,7 +3107,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3334,7 +3334,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3561,7 +3561,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -3784,7 +3784,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -4015,7 +4015,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Operations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Operations.cs
index 3814e5e6a697..a75114230ccd 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Operations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Operations.cs
@@ -70,7 +70,7 @@ internal Operations(NetworkManagementClient client)
///
public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/P2sVpnGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/P2sVpnGatewaysOperations.cs
index 70c2076f7990..74cd488d0570 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/P2sVpnGatewaysOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/P2sVpnGatewaysOperations.cs
@@ -94,7 +94,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "gatewayName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -354,7 +354,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -532,7 +532,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -854,7 +854,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "p2SVpnGatewayParameters");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1080,7 +1080,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "p2SVpnGatewayParameters");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1278,7 +1278,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "gatewayName");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1454,7 +1454,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1657,7 +1657,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1859,7 +1859,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2061,7 +2061,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "request");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2267,7 +2267,7 @@ internal P2sVpnGatewaysOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "request");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PacketCapturesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PacketCapturesOperations.cs
index 1bd4676cc261..78f07a5d112c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PacketCapturesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PacketCapturesOperations.cs
@@ -129,7 +129,7 @@ internal PacketCapturesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -395,7 +395,7 @@ internal PacketCapturesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -602,7 +602,7 @@ internal PacketCapturesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -804,7 +804,7 @@ internal PacketCapturesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -981,7 +981,7 @@ internal PacketCapturesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1161,7 +1161,7 @@ internal PacketCapturesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs
index f557fbd07340..f19765b00c3c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs
@@ -109,7 +109,7 @@ internal PeerExpressRouteCircuitConnectionsOperations(NetworkManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -315,7 +315,7 @@ internal PeerExpressRouteCircuitConnectionsOperations(NetworkManagementClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateDnsZoneGroupsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateDnsZoneGroupsOperations.cs
index 761233312156..0580d96d3946 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateDnsZoneGroupsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateDnsZoneGroupsOperations.cs
@@ -127,7 +127,7 @@ internal PrivateDnsZoneGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -353,7 +353,7 @@ internal PrivateDnsZoneGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -546,7 +546,7 @@ internal PrivateDnsZoneGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -740,7 +740,7 @@ internal PrivateDnsZoneGroupsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateEndpointsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateEndpointsOperations.cs
index 6b9d24f0d2d1..cf5bd611bb5c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateEndpointsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateEndpointsOperations.cs
@@ -119,7 +119,7 @@ internal PrivateEndpointsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -331,7 +331,7 @@ internal PrivateEndpointsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -504,7 +504,7 @@ internal PrivateEndpointsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -686,7 +686,7 @@ internal PrivateEndpointsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -864,7 +864,7 @@ internal PrivateEndpointsOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateLinkServicesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateLinkServicesOperations.cs
index f862cc81d6db..25f552c2efe4 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateLinkServicesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PrivateLinkServicesOperations.cs
@@ -119,7 +119,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -331,7 +331,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -504,7 +504,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -700,7 +700,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -911,7 +911,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1135,7 +1135,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1366,7 +1366,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1559,7 +1559,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1750,7 +1750,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1928,7 +1928,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2147,7 +2147,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2320,7 +2320,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -2527,7 +2527,7 @@ internal PrivateLinkServicesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPPrefixesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPPrefixesOperations.cs
index c938e1b93ded..3bc44fdebf4c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPPrefixesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPPrefixesOperations.cs
@@ -119,7 +119,7 @@ internal PublicIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal PublicIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -537,7 +537,7 @@ internal PublicIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -720,7 +720,7 @@ internal PublicIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal PublicIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1088,11 +1088,15 @@ internal PublicIPPrefixesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
+ if (parameters != null)
+ {
+ parameters.Validate();
+ }
if (Client.SubscriptionId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs
index e79827cc62ca..fbed9f40444c 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs
@@ -57,7 +57,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// The headers that will be added to request.
@@ -79,7 +79,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// Expands referenced resources.
@@ -119,7 +119,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -537,7 +537,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -720,7 +720,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1530,7 +1530,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// Headers that will be added to request.
@@ -1564,7 +1564,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1743,11 +1743,15 @@ internal PublicIPAddressesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
+ if (parameters != null)
+ {
+ parameters.Validate();
+ }
if (Client.SubscriptionId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs
index fff1a3acb322..97b23fe331d7 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs
@@ -31,7 +31,7 @@ public static partial class PublicIPAddressesOperationsExtensions
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
public static void Delete(this IPublicIPAddressesOperations operations, string resourceGroupName, string publicIpAddressName)
{
@@ -48,7 +48,7 @@ public static void Delete(this IPublicIPAddressesOperations operations, string r
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// The cancellation token.
@@ -68,7 +68,7 @@ public static void Delete(this IPublicIPAddressesOperations operations, string r
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// Expands referenced resources.
@@ -88,7 +88,7 @@ public static void Delete(this IPublicIPAddressesOperations operations, string r
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// Expands referenced resources.
@@ -440,7 +440,7 @@ public static IPage ListVirtualMachineScaleSetVMPublicIPAddress
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
public static void BeginDelete(this IPublicIPAddressesOperations operations, string resourceGroupName, string publicIpAddressName)
{
@@ -457,7 +457,7 @@ public static void BeginDelete(this IPublicIPAddressesOperations operations, str
/// The name of the resource group.
///
///
- /// The name of the subnet.
+ /// The name of the public IP address.
///
///
/// The cancellation token.
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ResourceNavigationLinksOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ResourceNavigationLinksOperations.cs
index fbc7b4dc61bc..bafa3f8ba6a3 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ResourceNavigationLinksOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ResourceNavigationLinksOperations.cs
@@ -101,7 +101,7 @@ internal ResourceNavigationLinksOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFilterRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFilterRulesOperations.cs
index d7da163098d6..85e574568066 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFilterRulesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFilterRulesOperations.cs
@@ -126,7 +126,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -548,7 +548,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -744,7 +744,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFiltersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFiltersOperations.cs
index 4d3894d27f9b..88a60b94ca52 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFiltersOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteFiltersOperations.cs
@@ -119,7 +119,7 @@ internal RouteFiltersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal RouteFiltersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -544,7 +544,7 @@ internal RouteFiltersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -722,7 +722,7 @@ internal RouteFiltersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal RouteFiltersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1092,7 +1092,7 @@ internal RouteFiltersOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteTablesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteTablesOperations.cs
index fc896865497b..de7d758682e0 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteTablesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteTablesOperations.cs
@@ -119,7 +119,7 @@ internal RouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal RouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -544,7 +544,7 @@ internal RouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -722,7 +722,7 @@ internal RouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -909,7 +909,7 @@ internal RouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1092,7 +1092,7 @@ internal RouteTablesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutesOperations.cs
index 9147e56e0875..212c873fba81 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutesOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutesOperations.cs
@@ -126,7 +126,7 @@ internal RoutesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -350,7 +350,7 @@ internal RoutesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -548,7 +548,7 @@ internal RoutesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -744,7 +744,7 @@ internal RoutesOperations(NetworkManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2020-06-01";
+ string apiVersion = "2020-07-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs
index 9fb10e114d6b..555de51daade 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SdkInfo_NetworkManagementClient.cs
@@ -21,132 +21,122 @@ public static IEnumerable> ApiInfo_NetworkManageme
{
new Tuple("Compute", "NetworkInterfaces", "2018-10-01"),
new Tuple("Compute", "PublicIPAddresses", "2018-10-01"),
- new Tuple("Network", "ApplicationGatewayPrivateEndpointConnections", "2020-06-01"),
- new Tuple("Network", "ApplicationGatewayPrivateLinkResources", "2020-06-01"),
- new Tuple("Network", "ApplicationGateways", "2020-06-01"),
- new Tuple("Network", "ApplicationSecurityGroups", "2020-06-01"),
- new Tuple("Network", "AvailableDelegations", "2020-06-01"),
- new Tuple("Network", "AvailableEndpointServices", "2020-06-01"),
- new Tuple("Network", "AvailablePrivateEndpointTypes", "2020-06-01"),
- new Tuple("Network", "AvailableResourceGroupDelegations", "2020-06-01"),
- new Tuple("Network", "AvailableServiceAliases", "2020-06-01"),
- new Tuple("Network", "AzureFirewallFqdnTags", "2020-06-01"),
- new Tuple("Network", "AzureFirewalls", "2020-06-01"),
- new Tuple("Network", "BastionHosts", "2020-06-01"),
- new Tuple("Network", "BgpServiceCommunities", "2020-06-01"),
- new Tuple("Network", "CheckDnsNameAvailability", "2020-06-01"),
- new Tuple("Network", "ConnectionMonitors", "2020-06-01"),
- new Tuple("Network", "CustomIPPrefixes", "2020-06-01"),
- new Tuple("Network", "DdosCustomPolicies", "2020-06-01"),
- new Tuple("Network", "DdosProtectionPlans", "2020-06-01"),
- new Tuple("Network", "DefaultSecurityRules", "2020-06-01"),
- new Tuple("Network", "DeleteBastionShareableLink", "2020-06-01"),
- new Tuple("Network", "DisconnectActiveSessions", "2020-06-01"),
- new Tuple("Network", "DscpConfiguration", "2020-06-01"),
- new Tuple("Network", "ExpressRouteCircuitAuthorizations", "2020-06-01"),
- new Tuple("Network", "ExpressRouteCircuitConnections", "2020-06-01"),
- new Tuple("Network", "ExpressRouteCircuitPeerings", "2020-06-01"),
- new Tuple("Network", "ExpressRouteCircuits", "2020-06-01"),
- new Tuple("Network", "ExpressRouteConnections", "2020-06-01"),
- new Tuple("Network", "ExpressRouteCrossConnectionPeerings", "2020-06-01"),
- new Tuple("Network", "ExpressRouteCrossConnections", "2020-06-01"),
- new Tuple("Network", "ExpressRouteGateways", "2020-06-01"),
- new Tuple("Network", "ExpressRouteLinks", "2020-06-01"),
- new Tuple("Network", "ExpressRoutePorts", "2020-06-01"),
- new Tuple("Network", "ExpressRoutePortsLocations", "2020-06-01"),
- new Tuple("Network", "ExpressRouteServiceProviders", "2020-06-01"),
- new Tuple("Network", "FirewallPolicies", "2020-06-01"),
- new Tuple("Network", "FirewallPolicyRuleCollectionGroups", "2020-06-01"),
- new Tuple("Network", "FlowLogs", "2020-06-01"),
- new Tuple("Network", "GetActiveSessions", "2020-06-01"),
- new Tuple("Network", "GetBastionShareableLink", "2020-06-01"),
- new Tuple("Network", "HubRouteTables", "2020-06-01"),
- new Tuple("Network", "HubVirtualNetworkConnections", "2020-06-01"),
- new Tuple("Network", "InboundNatRules", "2020-06-01"),
- new Tuple("Network", "InboundSecurityRule", "2020-06-01"),
- new Tuple("Network", "IpAllocations", "2020-06-01"),
- new Tuple("Network", "IpGroups", "2020-06-01"),
- new Tuple("Network", "LoadBalancerBackendAddressPools", "2020-06-01"),
- new Tuple("Network", "LoadBalancerFrontendIPConfigurations", "2020-06-01"),
- new Tuple("Network", "LoadBalancerLoadBalancingRules", "2020-06-01"),
- new Tuple("Network", "LoadBalancerNetworkInterfaces", "2020-06-01"),
- new Tuple("Network", "LoadBalancerOutboundRules", "2020-06-01"),
- new Tuple("Network", "LoadBalancerProbes", "2020-06-01"),
- new Tuple("Network", "LoadBalancers", "2020-06-01"),
- new Tuple("Network", "LocalNetworkGateways", "2020-06-01"),
- new Tuple("Network", "NatGateways", "2020-06-01"),
- new Tuple("Network", "NetworkInterfaceIPConfigurations", "2020-06-01"),
- new Tuple("Network", "NetworkInterfaceLoadBalancers", "2020-06-01"),
- new Tuple("Network", "NetworkInterfaceTapConfigurations", "2020-06-01"),
- new Tuple("Network", "NetworkInterfaces", "2020-06-01"),
- new Tuple("Network", "NetworkProfiles", "2020-06-01"),
- new Tuple("Network", "NetworkSecurityGroups", "2020-06-01"),
- new Tuple("Network", "NetworkVirtualAppliances", "2020-06-01"),
- new Tuple("Network", "NetworkWatchers", "2020-06-01"),
- new Tuple("Network", "Operations", "2020-06-01"),
- new Tuple("Network", "P2SVpnGateways", "2020-06-01"),
- new Tuple("Network", "P2sVpnGateways", "2020-06-01"),
- new Tuple("Network", "PacketCaptures", "2020-06-01"),
- new Tuple("Network", "PeerExpressRouteCircuitConnections", "2020-06-01"),
- new Tuple("Network", "PrivateDnsZoneGroups", "2020-06-01"),
- new Tuple("Network", "PrivateEndpoints", "2020-06-01"),
- new Tuple("Network", "PrivateLinkServices", "2020-06-01"),
- new Tuple("Network", "PublicIPAddresses", "2020-06-01"),
- new Tuple("Network", "PublicIPPrefixes", "2020-06-01"),
- new Tuple("Network", "PutBastionShareableLink", "2020-06-01"),
- new Tuple("Network", "ResourceNavigationLinks", "2020-06-01"),
- new Tuple("Network", "RouteFilterRules", "2020-06-01"),
- new Tuple("Network", "RouteFilters", "2020-06-01"),
- new Tuple("Network", "RouteTables", "2020-06-01"),
- new Tuple("Network", "Routes", "2020-06-01"),
- new Tuple("Network", "SecurityPartnerProviders", "2020-06-01"),
- new Tuple("Network", "SecurityRules", "2020-06-01"),
- new Tuple("Network", "ServiceAssociationLinks", "2020-06-01"),
- new Tuple("Network", "ServiceEndpointPolicies", "2020-06-01"),
- new Tuple("Network", "ServiceEndpointPolicyDefinitions", "2020-06-01"),
- new Tuple("Network", "ServiceTags", "2020-06-01"),
- new Tuple("Network", "Subnets", "2020-06-01"),
- new Tuple("Network", "SupportedSecurityProviders", "2020-06-01"),
- new Tuple("Network", "Usages", "2020-06-01"),
- new Tuple("Network", "VirtualApplianceSites", "2020-06-01"),
- new Tuple("Network", "VirtualApplianceSkus", "2020-06-01"),
- new Tuple("Network", "VirtualHubBgpConnection", "2020-06-01"),
- new Tuple("Network", "VirtualHubBgpConnections", "2020-06-01"),
- new Tuple("Network", "VirtualHubIpConfiguration", "2020-06-01"),
- new Tuple("Network", "VirtualHubRouteTableV2s", "2020-06-01"),
- new Tuple("Network", "VirtualHubs", "2020-06-01"),
- new Tuple("Network", "VirtualNetworkGatewayConnections", "2020-06-01"),
- new Tuple("Network", "VirtualNetworkGateways", "2020-06-01"),
- new Tuple("Network", "VirtualNetworkPeerings", "2020-06-01"),
- new Tuple("Network", "VirtualNetworkTaps", "2020-06-01"),
- new Tuple("Network", "VirtualNetworks", "2020-06-01"),
- new Tuple("Network", "VirtualRouterPeerings", "2020-06-01"),
- new Tuple("Network", "VirtualRouters", "2020-06-01"),
- new Tuple("Network", "VirtualWans", "2020-06-01"),
- new Tuple