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 819118f069668..f2de0ff4cbe5c 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 97778780e3611..8a921a9ea898c 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 3c59d8d1edf86..3a2218258ea65 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 4f6fd2c8bc8a4..9d5f2c5884ec5 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 ad9e8778c198c..10a8ddcab67bb 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 90c47b042140f..e193f6569d869 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 fbbf35ab669a2..be09f6e43d4f1 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 106005f53c8b4..9aec29a3b89e8 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 eb43c2425d60a..889409d30f595 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 4f465c5263933..6f53a14a70afc 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 d6af1eb1dd0f5..25c5d5b98d7e3 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 28e19e72f24d1..321dd6d8b53fc 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 3b0ea74add2e7..30a5ab4bb6c0d 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 2037d8029e75e..00a1b9847291b 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs
@@ -129,7 +129,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 +359,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 +632,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;
@@ -839,7 +839,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;
@@ -1059,7 +1059,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 +1236,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 +1413,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 +1593,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/CustomIPPrefixesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/CustomIPPrefixesOperations.cs
index db279724572fb..3f1f4a3342a06 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 ead3d313c62f4..4c915a76e91bb 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 455c70b0f86bd..367db1a93cdad 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 ac94b869beedc..86a311e4787ee 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 32a9c9eb5692c..ce9a0618c0ec7 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 8deff3840f758..c6b490730551d 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 cf03d5f2340f7..2b416329d5c70 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 7e2bd5c305591..3a8e38785c19e 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 91311d52c9412..e2510a3c79857 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 965e06992d4e9..daf95f5899377 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 879f9bd12e886..f2a281bcea0c1 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 7071ad779ef12..844f4baf53045 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 7f36110dc5833..236f364be94d6 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 998d3da6af6fb..b90e5b25fd4f5 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/ExpressRoutePortAuthorizationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortAuthorizationsOperations.cs
new file mode 100644
index 0000000000000..fa2eb08012c05
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortAuthorizationsOperations.cs
@@ -0,0 +1,1096 @@
+//
+// 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 Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// ExpressRoutePortAuthorizationsOperations operations.
+ ///
+ internal partial class ExpressRoutePortAuthorizationsOperations : IServiceOperations, IExpressRoutePortAuthorizationsOperations
+ {
+ ///
+ /// Initializes a new instance of the ExpressRoutePortAuthorizationsOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal ExpressRoutePortAuthorizationsOperations(NetworkManagementClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the NetworkManagementClient
+ ///
+ public NetworkManagementClient Client { get; private set; }
+
+ ///
+ /// Deletes the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ // Send request
+ AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, authorizationName, customHeaders, cancellationToken).ConfigureAwait(false);
+ return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Gets the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// 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
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (expressRoutePortName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "expressRoutePortName");
+ }
+ if (authorizationName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "authorizationName");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ string apiVersion = "2020-07-01";
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("expressRoutePortName", expressRoutePortName);
+ tracingParameters.Add("authorizationName", authorizationName);
+ tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}").ToString();
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{expressRoutePortName}", System.Uri.EscapeDataString(expressRoutePortName));
+ _url = _url.Replace("{authorizationName}", System.Uri.EscapeDataString(authorizationName));
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (apiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _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);
+ }
+ return _result;
+ }
+
+ ///
+ /// Creates or updates an authorization in the specified express route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ // Send Request
+ AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, authorizationName, authorizationParameters, customHeaders, cancellationToken).ConfigureAwait(false);
+ return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// 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
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (expressRoutePortName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "expressRoutePortName");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ string apiVersion = "2020-07-01";
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("expressRoutePortName", expressRoutePortName);
+ tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations").ToString();
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{expressRoutePortName}", System.Uri.EscapeDataString(expressRoutePortName));
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (apiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _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);
+ }
+ return _result;
+ }
+
+ ///
+ /// Deletes the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (expressRoutePortName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "expressRoutePortName");
+ }
+ if (authorizationName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "authorizationName");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ string apiVersion = "2020-07-01";
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("expressRoutePortName", expressRoutePortName);
+ tracingParameters.Add("authorizationName", authorizationName);
+ tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}").ToString();
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{expressRoutePortName}", System.Uri.EscapeDataString(expressRoutePortName));
+ _url = _url.Replace("{authorizationName}", System.Uri.EscapeDataString(authorizationName));
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (apiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("DELETE");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Creates or updates an authorization in the specified express route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ ///
+ /// 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
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (expressRoutePortName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "expressRoutePortName");
+ }
+ if (authorizationName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "authorizationName");
+ }
+ if (authorizationParameters == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "authorizationParameters");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ string apiVersion = "2020-07-01";
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("expressRoutePortName", expressRoutePortName);
+ tracingParameters.Add("authorizationName", authorizationName);
+ tracingParameters.Add("authorizationParameters", authorizationParameters);
+ tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}").ToString();
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{expressRoutePortName}", System.Uri.EscapeDataString(expressRoutePortName));
+ _url = _url.Replace("{authorizationName}", System.Uri.EscapeDataString(authorizationName));
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (apiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("PUT");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ if(authorizationParameters != null)
+ {
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(authorizationParameters, Client.SerializationSettings);
+ _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200 && (int)_statusCode != 201)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _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);
+ }
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 201)
+ {
+ _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);
+ }
+ return _result;
+ }
+
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// 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
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _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);
+ }
+ return _result;
+ }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortAuthorizationsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortAuthorizationsOperationsExtensions.cs
new file mode 100644
index 0000000000000..febd3e65d8530
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortAuthorizationsOperationsExtensions.cs
@@ -0,0 +1,339 @@
+//
+// 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.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for ExpressRoutePortAuthorizationsOperations.
+ ///
+ public static partial class ExpressRoutePortAuthorizationsOperationsExtensions
+ {
+ ///
+ /// Deletes the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ public static void Delete(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName)
+ {
+ operations.DeleteAsync(resourceGroupName, expressRoutePortName, authorizationName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Deletes the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task DeleteAsync(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, authorizationName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ }
+
+ ///
+ /// Gets the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ public static ExpressRoutePortAuthorization Get(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName)
+ {
+ return operations.GetAsync(resourceGroupName, expressRoutePortName, authorizationName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Gets the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task GetAsync(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, authorizationName, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Creates or updates an authorization in the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ public static ExpressRoutePortAuthorization CreateOrUpdate(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters)
+ {
+ return operations.CreateOrUpdateAsync(resourceGroupName, expressRoutePortName, authorizationName, authorizationParameters).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Creates or updates an authorization in the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task CreateOrUpdateAsync(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, authorizationName, authorizationParameters, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ public static IPage List(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName)
+ {
+ return operations.ListAsync(resourceGroupName, expressRoutePortName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAsync(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Deletes the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ public static void BeginDelete(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName)
+ {
+ operations.BeginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Deletes the specified authorization from the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task BeginDeleteAsync(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, authorizationName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ }
+
+ ///
+ /// Creates or updates an authorization in the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ public static ExpressRoutePortAuthorization BeginCreateOrUpdate(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters)
+ {
+ return operations.BeginCreateOrUpdateAsync(resourceGroupName, expressRoutePortName, authorizationName, authorizationParameters).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Creates or updates an authorization in the specified express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task BeginCreateOrUpdateAsync(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, authorizationName, authorizationParameters, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListNext(this IExpressRoutePortAuthorizationsOperations operations, string nextPageLink)
+ {
+ return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListNextAsync(this IExpressRoutePortAuthorizationsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
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 25a298509dc3c..9c606ac383d56 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 3a062eb763565..a2378c880c1c5 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 404d32e53fada..e4376e2a6e507 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 a2b68fc3517df..e289c6b0f447d 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 2956fbab15a6b..60f9500ede0c1 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 b0fc59de2e3ce..09cf8597c771b 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 eb595b348bcc6..34e93a665982e 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 b0db616aa45e8..649fd08180b47 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/IExpressRoutePortAuthorizationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IExpressRoutePortAuthorizationsOperations.cs
new file mode 100644
index 0000000000000..95e1a287e8b2c
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IExpressRoutePortAuthorizationsOperations.cs
@@ -0,0 +1,221 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Network
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// ExpressRoutePortAuthorizationsOperations operations.
+ ///
+ public partial interface IExpressRoutePortAuthorizationsOperations
+ {
+ ///
+ /// Deletes the specified authorization from the specified express
+ /// route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task DeleteWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets the specified authorization from the specified express route
+ /// port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> GetWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates an authorization in the specified express route
+ /// port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Deletes the specified authorization from the specified express
+ /// route port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Creates or updates an authorization in the specified express route
+ /// port.
+ ///
+ ///
+ /// The name of the resource group.
+ ///
+ ///
+ /// The name of the express route port.
+ ///
+ ///
+ /// The name of the authorization.
+ ///
+ ///
+ /// Parameters supplied to the create or update express route port
+ /// authorization operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Gets all authorizations in an express route port.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IInboundSecurityRuleOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IInboundSecurityRuleOperations.cs
deleted file mode 100644
index dacb7f8e235ea..0000000000000
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IInboundSecurityRuleOperations.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-// 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;
-
- ///
- /// InboundSecurityRuleOperations operations.
- ///
- public partial interface IInboundSecurityRuleOperations
- {
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound
- /// Security Rules.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual
- /// Appliance Inbound Security Rules operation.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound
- /// Security Rules.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual
- /// Appliance Inbound Security Rules operation.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- }
-}
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 1e64ecc367a00..34f692b786eb6 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs
@@ -205,6 +205,11 @@ public partial interface INetworkManagementClient : System.IDisposable
///
IExpressRouteLinksOperations ExpressRouteLinks { get; }
+ ///
+ /// Gets the IExpressRoutePortAuthorizationsOperations.
+ ///
+ IExpressRoutePortAuthorizationsOperations ExpressRoutePortAuthorizations { get; }
+
///
/// Gets the IFirewallPoliciesOperations.
///
@@ -325,11 +330,6 @@ public partial interface INetworkManagementClient : System.IDisposable
///
IVirtualApplianceSkusOperations VirtualApplianceSkus { get; }
- ///
- /// Gets the IInboundSecurityRuleOperations.
- ///
- IInboundSecurityRuleOperations InboundSecurityRule { get; }
-
///
/// Gets the INetworkWatchersOperations.
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIPAddressesOperations.cs
similarity index 99%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIPAddressesOperations.cs
index 3f34cd5d07c60..8fda8a2ea5942 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/IVirtualHubBgpConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubBgpConnectionsOperations.cs
index d4b5f03b8d595..e7c91428d7544 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubBgpConnectionsOperations.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubBgpConnectionsOperations.cs
@@ -49,122 +49,6 @@ public partial interface IVirtualHubBgpConnectionsOperations
///
Task>> ListWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Retrieves a list of routes the virtual hub bgp connection has
- /// learned.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the virtual hub.
- ///
- ///
- /// The name of the virtual hub bgp connection.
- ///
- ///
- /// 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> ListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
- /// Retrieves a list of routes the virtual hub bgp connection is
- /// advertising to the specified peer.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the virtual hub.
- ///
- ///
- /// The name of the virtual hub bgp connection.
- ///
- ///
- /// 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> ListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
- /// Retrieves a list of routes the virtual hub bgp connection has
- /// learned.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the virtual hub.
- ///
- ///
- /// The name of the virtual hub bgp connection.
- ///
- ///
- /// 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> BeginListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
- /// Retrieves a list of routes the virtual hub bgp connection is
- /// advertising to the specified peer.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the virtual hub.
- ///
- ///
- /// The name of the virtual hub bgp connection.
- ///
- ///
- /// 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> BeginListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
/// Retrieves the details of all VirtualHubBgpConnections.
///
///
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWANsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWansOperations.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWANsOperations.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualWansOperations.cs
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 d221a71cd0da1..c16079f3679bd 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
deleted file mode 100644
index 37d23c9028b65..0000000000000
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs
+++ /dev/null
@@ -1,321 +0,0 @@
-//
-// 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 Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Net.Http;
- using System.Threading;
- using System.Threading.Tasks;
-
- ///
- /// InboundSecurityRuleOperations operations.
- ///
- internal partial class InboundSecurityRuleOperations : IServiceOperations, IInboundSecurityRuleOperations
- {
- ///
- /// Initializes a new instance of the InboundSecurityRuleOperations class.
- ///
- ///
- /// Reference to the service client.
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- internal InboundSecurityRuleOperations(NetworkManagementClient client)
- {
- if (client == null)
- {
- throw new System.ArgumentNullException("client");
- }
- Client = client;
- }
-
- ///
- /// Gets a reference to the NetworkManagementClient
- ///
- public NetworkManagementClient Client { get; private set; }
-
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound Security
- /// Rules.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual Appliance
- /// Inbound Security Rules operation.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
- {
- // Send Request
- AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, parameters, customHeaders, cancellationToken).ConfigureAwait(false);
- return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
- }
-
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound Security
- /// Rules.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual Appliance
- /// Inbound Security Rules operation.
- ///
- ///
- /// 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
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- ///
- /// A response object containing the response body and response headers.
- ///
- public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
- {
- if (resourceGroupName == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
- }
- if (networkVirtualApplianceName == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "networkVirtualApplianceName");
- }
- if (ruleCollectionName == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "ruleCollectionName");
- }
- if (parameters == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
- }
- if (Client.SubscriptionId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
- }
- string apiVersion = "2020-06-01";
- // Tracing
- bool _shouldTrace = ServiceClientTracing.IsEnabled;
- string _invocationId = null;
- if (_shouldTrace)
- {
- _invocationId = ServiceClientTracing.NextInvocationId.ToString();
- Dictionary tracingParameters = new Dictionary();
- tracingParameters.Add("resourceGroupName", resourceGroupName);
- tracingParameters.Add("networkVirtualApplianceName", networkVirtualApplianceName);
- tracingParameters.Add("ruleCollectionName", ruleCollectionName);
- tracingParameters.Add("parameters", parameters);
- tracingParameters.Add("apiVersion", apiVersion);
- tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters);
- }
- // Construct URL
- var _baseUrl = Client.BaseUri.AbsoluteUri;
- var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}").ToString();
- _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
- _url = _url.Replace("{networkVirtualApplianceName}", System.Uri.EscapeDataString(networkVirtualApplianceName));
- _url = _url.Replace("{ruleCollectionName}", System.Uri.EscapeDataString(ruleCollectionName));
- _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
- List _queryParameters = new List();
- if (apiVersion != null)
- {
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
- }
- if (_queryParameters.Count > 0)
- {
- _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
- }
- // Create HTTP transport objects
- var _httpRequest = new HttpRequestMessage();
- HttpResponseMessage _httpResponse = null;
- _httpRequest.Method = new HttpMethod("PUT");
- _httpRequest.RequestUri = new System.Uri(_url);
- // Set Headers
- if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
- {
- _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
- }
- if (Client.AcceptLanguage != null)
- {
- if (_httpRequest.Headers.Contains("accept-language"))
- {
- _httpRequest.Headers.Remove("accept-language");
- }
- _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
- }
-
-
- if (customHeaders != null)
- {
- foreach(var _header in customHeaders)
- {
- if (_httpRequest.Headers.Contains(_header.Key))
- {
- _httpRequest.Headers.Remove(_header.Key);
- }
- _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
- }
- }
-
- // Serialize Request
- string _requestContent = null;
- if(parameters != null)
- {
- _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
- _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
- _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
- }
- // Set Credentials
- if (Client.Credentials != null)
- {
- cancellationToken.ThrowIfCancellationRequested();
- await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- }
- // Send Request
- if (_shouldTrace)
- {
- ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
- }
- cancellationToken.ThrowIfCancellationRequested();
- _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- if (_shouldTrace)
- {
- ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
- }
- HttpStatusCode _statusCode = _httpResponse.StatusCode;
- cancellationToken.ThrowIfCancellationRequested();
- string _responseContent = null;
- if ((int)_statusCode != 200 && (int)_statusCode != 201)
- {
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
- try
- {
- _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
- if (_errorBody != null)
- {
- ex = new CloudException(_errorBody.Message);
- ex.Body = _errorBody;
- }
- }
- catch (JsonException)
- {
- // Ignore the exception
- }
- ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
- ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
- if (_shouldTrace)
- {
- ServiceClientTracing.Error(_invocationId, ex);
- }
- _httpRequest.Dispose();
- if (_httpResponse != null)
- {
- _httpResponse.Dispose();
- }
- throw ex;
- }
- // Create Result
- var _result = new AzureOperationResponse();
- _result.Request = _httpRequest;
- _result.Response = _httpResponse;
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
- // Deserialize Response
- if ((int)_statusCode == 200)
- {
- _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);
- }
- }
- // Deserialize Response
- if ((int)_statusCode == 201)
- {
- _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);
- }
- return _result;
- }
-
- }
-}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperationsExtensions.cs
deleted file mode 100644
index 1cb335d0625bd..0000000000000
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperationsExtensions.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-//
-// 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.Threading;
- using System.Threading.Tasks;
-
- ///
- /// Extension methods for InboundSecurityRuleOperations.
- ///
- public static partial class InboundSecurityRuleOperationsExtensions
- {
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound Security
- /// Rules.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual Appliance
- /// Inbound Security Rules operation.
- ///
- public static InboundSecurityRule CreateOrUpdate(this IInboundSecurityRuleOperations operations, string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters)
- {
- return operations.CreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, parameters).GetAwaiter().GetResult();
- }
-
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound Security
- /// Rules.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual Appliance
- /// Inbound Security Rules operation.
- ///
- ///
- /// The cancellation token.
- ///
- public static async Task CreateOrUpdateAsync(this IInboundSecurityRuleOperations operations, string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters, CancellationToken cancellationToken = default(CancellationToken))
- {
- using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, parameters, null, cancellationToken).ConfigureAwait(false))
- {
- return _result.Body;
- }
- }
-
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound Security
- /// Rules.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual Appliance
- /// Inbound Security Rules operation.
- ///
- public static InboundSecurityRule BeginCreateOrUpdate(this IInboundSecurityRuleOperations operations, string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters)
- {
- return operations.BeginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, parameters).GetAwaiter().GetResult();
- }
-
- ///
- /// Creates or updates the specified Network Virtual Appliance Inbound Security
- /// Rules.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The name of the resource group.
- ///
- ///
- /// The name of the Network Virtual Appliance.
- ///
- ///
- /// The name of security rule collection.
- ///
- ///
- /// Parameters supplied to the create or update Network Virtual Appliance
- /// Inbound Security Rules operation.
- ///
- ///
- /// The cancellation token.
- ///
- public static async Task BeginCreateOrUpdateAsync(this IInboundSecurityRuleOperations operations, string resourceGroupName, string networkVirtualApplianceName, string ruleCollectionName, InboundSecurityRule parameters, CancellationToken cancellationToken = default(CancellationToken))
- {
- using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, parameters, null, cancellationToken).ConfigureAwait(false))
- {
- return _result.Body;
- }
- }
-
- }
-}
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 5ed6d35a6e936..418d9f77edc26 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 b8d85f8cbae55..af3c1cb5a6e7f 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 7e967962fe1bc..8550ff2dc6a53 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 47a42700b943b..a771e8acc621e 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 1bc1e9d748242..02f20344feedd 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 9a0015b1b54c3..e89f3b0264442 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 6c6e589849fb9..8f24bc7f16625 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 d3094452beeba..b1374acdb59bd 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 260a6de8b3cb3..de1b74d9daf72 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 b80d734d8ece4..c440b5dfa456a 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/ApplicationGatewayBackendHealthHttpSettings.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayBackendHealthHttpSettings.cs
index f031eeef3a705..c2a9bdc553d57 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 46b8ad150f468..2caf05181f53a 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/ApplicationGatewayFrontendIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFrontendIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs
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 bd82acb16ce80..d37fc59ace497 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
@@ -39,18 +39,24 @@ 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.
+ 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?))
: base(name, description)
{
SourceAddresses = sourceAddresses;
DestinationAddresses = destinationAddresses;
Protocols = protocols;
TargetFqdns = targetFqdns;
+ TargetUrls = targetUrls;
FqdnTags = fqdnTags;
SourceIpGroups = sourceIpGroups;
+ TerminateTLS = terminateTLS;
CustomInit();
}
@@ -83,6 +89,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 +107,11 @@ 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; }
+
}
}
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 af3a8a15eea9a..0caac861305b3 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,18 @@ public virtual void Validate()
{
Source.Validate();
}
+ if (Destination != null)
+ {
+ Destination.Validate();
+ }
+ 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 bc1c8f1edf7b1..eb4b187b87266 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,22 @@ public ConnectionMonitorDestination()
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ 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 913a5fb211138..7d6e8ebc03e8d 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,22 @@ public ConnectionMonitorHttpConfiguration()
[JsonProperty(PropertyName = "preferHTTPS")]
public bool? PreferHTTPS { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ 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 b4920d0f37894..b4ad6eaafdb19 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,18 @@ public virtual void Validate()
{
Source.Validate();
}
+ if (Destination != null)
+ {
+ Destination.Validate();
+ }
+ 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 cd70e6e802664..2a49a2fa6b6ab 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,18 @@ public virtual void Validate()
{
Source.Validate();
}
+ if (Destination != null)
+ {
+ Destination.Validate();
+ }
+ 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 0ada013db6689..b0627a3e13dbc 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,14 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "ResourceId");
}
+ 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 4eb367cbdcd15..66c4afb87b256 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,22 @@ public ConnectionMonitorTcpConfiguration()
[JsonProperty(PropertyName = "destinationPortBehavior")]
public string DestinationPortBehavior { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ 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 ed5d627a67d13..90d21586f194b 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 ed3fc7cd98230..30b563b24bd9d 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,54 @@ public ConnectionStateSnapshot()
[JsonProperty(PropertyName = "hops")]
public IList Hops { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (AvgLatencyInMs > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "AvgLatencyInMs", 4294967295);
+ }
+ if (AvgLatencyInMs < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "AvgLatencyInMs", 0);
+ }
+ if (MinLatencyInMs > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MinLatencyInMs", 4294967295);
+ }
+ if (MinLatencyInMs < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MinLatencyInMs", 0);
+ }
+ if (MaxLatencyInMs > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "MaxLatencyInMs", 4294967295);
+ }
+ if (MaxLatencyInMs < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "MaxLatencyInMs", 0);
+ }
+ if (ProbesSent > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "ProbesSent", 4294967295);
+ }
+ if (ProbesSent < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "ProbesSent", 0);
+ }
+ 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 834fdbb82864f..070ecc5f1ead5 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,22 @@ public ConnectivityDestination()
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ 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 4f4a290f61d9f..0c8e2d55c9bdb 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 3a21be9be9575..00e6136a7079e 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,14 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "ResourceId");
}
+ 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/ExpressRouteCircuit.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCircuit.cs
index 150cd0a9228e3..7886833603c64 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCircuit.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteCircuit.cs
@@ -68,9 +68,10 @@ public ExpressRouteCircuit()
/// The GatewayManager Etag.
/// Flag denoting global reach
/// status.
+ /// The authorizationKey.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public ExpressRouteCircuit(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExpressRouteCircuitSku sku = default(ExpressRouteCircuitSku), bool? allowClassicOperations = default(bool?), string circuitProvisioningState = default(string), string serviceProviderProvisioningState = default(string), IList authorizations = default(IList), IList peerings = default(IList), string serviceKey = default(string), string serviceProviderNotes = default(string), ExpressRouteCircuitServiceProviderProperties serviceProviderProperties = default(ExpressRouteCircuitServiceProviderProperties), SubResource expressRoutePort = default(SubResource), double? bandwidthInGbps = default(double?), int? stag = default(int?), string provisioningState = default(string), string gatewayManagerEtag = default(string), bool? globalReachEnabled = default(bool?), string etag = default(string))
+ public ExpressRouteCircuit(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ExpressRouteCircuitSku sku = default(ExpressRouteCircuitSku), bool? allowClassicOperations = default(bool?), string circuitProvisioningState = default(string), string serviceProviderProvisioningState = default(string), IList authorizations = default(IList), IList peerings = default(IList), string serviceKey = default(string), string serviceProviderNotes = default(string), ExpressRouteCircuitServiceProviderProperties serviceProviderProperties = default(ExpressRouteCircuitServiceProviderProperties), SubResource expressRoutePort = default(SubResource), double? bandwidthInGbps = default(double?), int? stag = default(int?), string provisioningState = default(string), string gatewayManagerEtag = default(string), bool? globalReachEnabled = default(bool?), string authorizationKey = default(string), string etag = default(string))
: base(id, name, type, location, tags)
{
Sku = sku;
@@ -88,6 +89,7 @@ public ExpressRouteCircuit()
ProvisioningState = provisioningState;
GatewayManagerEtag = gatewayManagerEtag;
GlobalReachEnabled = globalReachEnabled;
+ AuthorizationKey = authorizationKey;
Etag = etag;
CustomInit();
}
@@ -194,6 +196,12 @@ public ExpressRouteCircuit()
[JsonProperty(PropertyName = "properties.globalReachEnabled")]
public bool? GlobalReachEnabled { get; set; }
+ ///
+ /// Gets or sets the authorizationKey.
+ ///
+ [JsonProperty(PropertyName = "properties.authorizationKey")]
+ public string AuthorizationKey { 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/ExpressRouteConnection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteConnection.cs
index f1262b1c56953..4798065579997 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteConnection.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRouteConnection.cs
@@ -45,10 +45,12 @@ public ExpressRouteConnection()
/// connection.
/// Enable internet
/// security.
+ /// Enable FastPath to vWan
+ /// Firewall hub.
/// The Routing Configuration
/// indicating the associated and propagated route tables on this
/// connection.
- public ExpressRouteConnection(ExpressRouteCircuitPeeringId expressRouteCircuitPeering, string name, string id = default(string), string provisioningState = default(string), string authorizationKey = default(string), int? routingWeight = default(int?), bool? enableInternetSecurity = default(bool?), RoutingConfiguration routingConfiguration = default(RoutingConfiguration))
+ public ExpressRouteConnection(ExpressRouteCircuitPeeringId expressRouteCircuitPeering, string name, string id = default(string), string provisioningState = default(string), string authorizationKey = default(string), int? routingWeight = default(int?), bool? enableInternetSecurity = default(bool?), bool? expressRouteGatewayBypass = default(bool?), RoutingConfiguration routingConfiguration = default(RoutingConfiguration))
: base(id)
{
ProvisioningState = provisioningState;
@@ -56,6 +58,7 @@ public ExpressRouteConnection()
AuthorizationKey = authorizationKey;
RoutingWeight = routingWeight;
EnableInternetSecurity = enableInternetSecurity;
+ ExpressRouteGatewayBypass = expressRouteGatewayBypass;
RoutingConfiguration = routingConfiguration;
Name = name;
CustomInit();
@@ -98,6 +101,12 @@ public ExpressRouteConnection()
[JsonProperty(PropertyName = "properties.enableInternetSecurity")]
public bool? EnableInternetSecurity { get; set; }
+ ///
+ /// Gets or sets enable FastPath to vWan Firewall hub.
+ ///
+ [JsonProperty(PropertyName = "properties.expressRouteGatewayBypass")]
+ public bool? ExpressRouteGatewayBypass { get; set; }
+
///
/// Gets or sets the Routing Configuration indicating the associated
/// and propagated route tables on this connection.
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRoutePortAuthorization.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRoutePortAuthorization.cs
new file mode 100644
index 0000000000000..03e15f4cc6beb
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRoutePortAuthorization.cs
@@ -0,0 +1,121 @@
+//
+// 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;
+
+ ///
+ /// ExpressRoute Port Authorization
+ ///
+ ///
+ /// ExpressRoutePort Authorization resource definition.
+ ///
+ [Rest.Serialization.JsonTransformation]
+ public partial class ExpressRoutePortAuthorization : SubResource
+ {
+ ///
+ /// Initializes a new instance of the ExpressRoutePortAuthorization
+ /// class.
+ ///
+ public ExpressRoutePortAuthorization()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ExpressRoutePortAuthorization
+ /// class.
+ ///
+ /// Resource ID.
+ /// The authorization key.
+ /// The authorization use status.
+ /// Possible values include: 'Available', 'InUse'
+ /// The reference to the ExpressRoute circuit
+ /// resource using the authorization.
+ /// The provisioning state of the
+ /// authorization resource. Possible values include: 'Succeeded',
+ /// 'Updating', 'Deleting', 'Failed'
+ /// The name of the resource that is unique within a
+ /// resource group. This name can be used to access the
+ /// resource.
+ /// A unique read-only string that changes whenever
+ /// the resource is updated.
+ /// Type of the resource.
+ public ExpressRoutePortAuthorization(string id = default(string), string authorizationKey = default(string), string authorizationUseStatus = default(string), SubResource circuit = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
+ : base(id)
+ {
+ AuthorizationKey = authorizationKey;
+ AuthorizationUseStatus = authorizationUseStatus;
+ Circuit = circuit;
+ ProvisioningState = provisioningState;
+ Name = name;
+ Etag = etag;
+ Type = type;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets the authorization key.
+ ///
+ [JsonProperty(PropertyName = "properties.authorizationKey")]
+ public string AuthorizationKey { get; private set; }
+
+ ///
+ /// Gets the authorization use status. Possible values include:
+ /// 'Available', 'InUse'
+ ///
+ [JsonProperty(PropertyName = "properties.authorizationUseStatus")]
+ public string AuthorizationUseStatus { get; private set; }
+
+ ///
+ /// Gets the reference to the ExpressRoute circuit resource using the
+ /// authorization.
+ ///
+ [JsonProperty(PropertyName = "properties.circuit")]
+ public SubResource Circuit { get; private set; }
+
+ ///
+ /// Gets the provisioning state of the authorization resource. Possible
+ /// values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
+ ///
+ [JsonProperty(PropertyName = "properties.provisioningState")]
+ public string ProvisioningState { get; private set; }
+
+ ///
+ /// Gets or sets the name of the resource that is unique within a
+ /// resource group. This name can be used to access the resource.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; set; }
+
+ ///
+ /// Gets a unique read-only string that changes whenever the resource
+ /// is updated.
+ ///
+ [JsonProperty(PropertyName = "etag")]
+ public string Etag { get; private set; }
+
+ ///
+ /// Gets type of the resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
+ }
+}
diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRoutePortAuthorizationUseStatus.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRoutePortAuthorizationUseStatus.cs
new file mode 100644
index 0000000000000..85ce75ff27170
--- /dev/null
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ExpressRoutePortAuthorizationUseStatus.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 ExpressRoutePortAuthorizationUseStatus.
+ ///
+ public static class ExpressRoutePortAuthorizationUseStatus
+ {
+ public const string Available = "Available";
+ public const string InUse = "InUse";
+ }
+}
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 0000000000000..831005217ace9
--- /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 0000000000000..b6a45ceb1bdf3
--- /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 0f1629ae771c3..c3fcc21cdb51e 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,14 @@ public FirewallPolicy()
/// ThreatIntel Whitelist for
/// Firewall Policy.
/// DNS Proxy Settings definition.
+ /// The configuration for Intrusion
+ /// detection.
+ /// TLS Configuration
+ /// definition.
/// 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), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
: base(id, name, type, location, tags)
{
RuleCollectionGroups = ruleCollectionGroups;
@@ -69,7 +74,10 @@ public FirewallPolicy()
ThreatIntelMode = threatIntelMode;
ThreatIntelWhitelist = threatIntelWhitelist;
DnsSettings = dnsSettings;
+ IntrusionDetection = intrusionDetection;
+ TransportSecurity = transportSecurity;
Etag = etag;
+ Identity = identity;
CustomInit();
}
@@ -131,6 +139,18 @@ 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 a unique read-only string that changes whenever the resource
/// is updated.
@@ -138,5 +158,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 0000000000000..8d33e63068b0f
--- /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/FirewallPolicyIntrusionDetection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetection.cs
new file mode 100644
index 0000000000000..b452a9ef4666a
--- /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 0000000000000..da43e2399faa3
--- /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 0000000000000..f1d84397cc781
--- /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/InboundSecurityRulesProtocol.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionProtocol.cs
similarity index 71%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRulesProtocol.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionProtocol.cs
index dd4ff80c38736..4f3325dee4530 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRulesProtocol.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyIntrusionDetectionProtocol.cs
@@ -12,11 +12,13 @@ namespace Microsoft.Azure.Management.Network.Models
{
///
- /// Defines values for InboundSecurityRulesProtocol.
+ /// Defines values for FirewallPolicyIntrusionDetectionProtocol.
///
- public static class InboundSecurityRulesProtocol
+ 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 0000000000000..517d693a01987
--- /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 0000000000000..0b8d17fbfc23c
--- /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/PeerRouteList.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyTransportSecurity.cs
similarity index 50%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PeerRouteList.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyTransportSecurity.cs
index 75053c903f079..f374a8f0e766f 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PeerRouteList.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyTransportSecurity.cs
@@ -11,30 +11,31 @@
namespace Microsoft.Azure.Management.Network.Models
{
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
- /// List of virtual router peer routes.
+ /// Configuration needed to perform TLS termination & initiation.
///
- public partial class PeerRouteList
+ public partial class FirewallPolicyTransportSecurity
{
///
- /// Initializes a new instance of the PeerRouteList class.
+ /// Initializes a new instance of the FirewallPolicyTransportSecurity
+ /// class.
///
- public PeerRouteList()
+ public FirewallPolicyTransportSecurity()
{
CustomInit();
}
///
- /// Initializes a new instance of the PeerRouteList class.
+ /// Initializes a new instance of the FirewallPolicyTransportSecurity
+ /// class.
///
- /// List of peer routes.
- public PeerRouteList(IList value = default(IList))
+ /// The CA used for intermediate CA
+ /// generation.
+ public FirewallPolicyTransportSecurity(FirewallPolicyCertificateAuthority certificateAuthority = default(FirewallPolicyCertificateAuthority))
{
- Value = value;
+ CertificateAuthority = certificateAuthority;
CustomInit();
}
@@ -44,10 +45,10 @@ public PeerRouteList()
partial void CustomInit();
///
- /// Gets or sets list of peer routes.
+ /// Gets or sets the CA used for intermediate CA generation.
///
- [JsonProperty(PropertyName = "value")]
- public IList Value { get; set; }
+ [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
similarity index 96%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FrontendIPConfiguration.cs
index e55c34709dc66..e3b82f1181187 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 cb8b113376e1b..64218016af560 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,38 @@ public HopLink()
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (RoundTripTimeMin > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "RoundTripTimeMin", 4294967295);
+ }
+ if (RoundTripTimeMin < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "RoundTripTimeMin", 0);
+ }
+ if (RoundTripTimeAvg > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "RoundTripTimeAvg", 4294967295);
+ }
+ if (RoundTripTimeAvg < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "RoundTripTimeAvg", 0);
+ }
+ 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 fd8a90ac97a13..6c4362bf084df 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/IpAllocationMethod.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPAllocationMethod.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IpAllocationMethod.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPAllocationMethod.cs
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 7141647772af8..5bca8e8b48704 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 81c585da4bfa7..7efd2ff419146 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/InboundSecurityRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRule.cs
deleted file mode 100644
index fc607a5a81608..0000000000000
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRule.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-//
-// 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.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// NVA Inbound Security Rule resource.
- ///
- [Rest.Serialization.JsonTransformation]
- public partial class InboundSecurityRule : SubResource
- {
- ///
- /// Initializes a new instance of the InboundSecurityRule class.
- ///
- public InboundSecurityRule()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the InboundSecurityRule class.
- ///
- /// Resource ID.
- /// List of allowed rules.
- /// The provisioning state of the
- /// resource. Possible values include: 'Succeeded', 'Updating',
- /// 'Deleting', 'Failed'
- /// Name of security rule collection.
- /// A unique read-only string that changes whenever
- /// the resource is updated.
- /// NVA inbound security rule type.
- public InboundSecurityRule(string id = default(string), IList rules = default(IList), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
- : base(id)
- {
- Rules = rules;
- ProvisioningState = provisioningState;
- Name = name;
- Etag = etag;
- Type = type;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets list of allowed rules.
- ///
- [JsonProperty(PropertyName = "properties.rules")]
- public IList Rules { get; set; }
-
- ///
- /// Gets the provisioning state of the resource. Possible values
- /// include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
- ///
- [JsonProperty(PropertyName = "properties.provisioningState")]
- public string ProvisioningState { get; private set; }
-
- ///
- /// Gets or sets name of security rule collection.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets a unique read-only string that changes whenever the resource
- /// is updated.
- ///
- [JsonProperty(PropertyName = "etag")]
- public string Etag { get; private set; }
-
- ///
- /// Gets NVA inbound security rule type.
- ///
- [JsonProperty(PropertyName = "type")]
- public string Type { get; private set; }
-
- }
-}
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
deleted file mode 100644
index be9f44b217ffd..0000000000000
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/InboundSecurityRules.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// 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;
-
- ///
- /// Properties of the Inbound Security Rules resource.
- ///
- public partial class InboundSecurityRules
- {
- ///
- /// Initializes a new instance of the InboundSecurityRules class.
- ///
- public InboundSecurityRules()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the InboundSecurityRules class.
- ///
- /// Protocol. This should be either TCP or UDP.
- /// Possible values include: 'TCP', 'UDP'
- /// The CIDR or source IP range. Only
- /// /30, /31 and /32 Ip ranges are allowed.
- /// NVA port ranges to be opened up.
- /// One needs to provide specific ports.
- public InboundSecurityRules(string protocol = default(string), string sourceAddressPrefix = default(string), int? destinationPortRange = default(int?))
- {
- Protocol = protocol;
- SourceAddressPrefix = sourceAddressPrefix;
- DestinationPortRange = destinationPortRange;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets protocol. This should be either TCP or UDP. Possible
- /// values include: 'TCP', 'UDP'
- ///
- [JsonProperty(PropertyName = "protocol")]
- public string Protocol { get; set; }
-
- ///
- /// Gets or sets the CIDR or source IP range. Only /30, /31 and /32 Ip
- /// ranges are allowed.
- ///
- [JsonProperty(PropertyName = "sourceAddressPrefix")]
- public string SourceAddressPrefix { get; set; }
-
- ///
- /// Gets or sets NVA port ranges to be opened up. One needs to provide
- /// specific ports.
- ///
- [JsonProperty(PropertyName = "destinationPortRange")]
- public int? DestinationPortRange { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- 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/LoadBalancer.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancer.cs
index eeab7ab5ea5ab..7db69cc00db7b 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 7f5974c09af43..0dcd3929aa029 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 24a02b9a3ff7e..b7daccca169d0 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 0000000000000..f13adf92d538d
--- /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 db52061a0f28f..8fa86e0c99355 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
@@ -46,7 +46,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 +58,7 @@ public NatRule()
TranslatedAddress = translatedAddress;
TranslatedPort = translatedPort;
SourceIpGroups = sourceIpGroups;
+ TranslatedFqdn = translatedFqdn;
CustomInit();
}
@@ -106,5 +109,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 b1c7113641828..0625cdd0c4d4a 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
similarity index 90%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceIPConfiguration.cs
index 13e6c1032ee37..fc1d252e53dff 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 7be020d7ccf32..2b922b608c31d 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/NetworkVirtualAppliance.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliance.cs
index e56c23395ae6c..5ecf2f94923a4 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
@@ -56,8 +56,6 @@ public NetworkVirtualAppliance()
/// Network Interfaces.
/// List of references to
/// VirtualApplianceSite.
- /// List of references to
- /// InboundSecurityRules.
/// The provisioning state of the
/// resource. Possible values include: 'Succeeded', 'Updating',
/// 'Deleting', 'Failed'
@@ -65,7 +63,7 @@ public NetworkVirtualAppliance()
/// to cloud-init and config blob.
/// A unique read-only string that changes whenever
/// the resource is updated.
- public NetworkVirtualAppliance(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), VirtualApplianceSkuProperties nvaSku = default(VirtualApplianceSkuProperties), string addressPrefix = default(string), IList bootStrapConfigurationBlobs = default(IList), SubResource virtualHub = default(SubResource), IList cloudInitConfigurationBlobs = default(IList), string cloudInitConfiguration = default(string), long? virtualApplianceAsn = default(long?), IList virtualApplianceNics = default(IList), IList virtualApplianceSites = default(IList), IList inboundSecurityRules = default(IList), string provisioningState = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string etag = default(string))
+ public NetworkVirtualAppliance(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), VirtualApplianceSkuProperties nvaSku = default(VirtualApplianceSkuProperties), string addressPrefix = default(string), IList bootStrapConfigurationBlobs = default(IList), SubResource virtualHub = default(SubResource), IList cloudInitConfigurationBlobs = default(IList), string cloudInitConfiguration = default(string), long? virtualApplianceAsn = default(long?), IList virtualApplianceNics = default(IList), IList virtualApplianceSites = default(IList), string provisioningState = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string etag = default(string))
: base(id, name, type, location, tags)
{
NvaSku = nvaSku;
@@ -77,7 +75,6 @@ public NetworkVirtualAppliance()
VirtualApplianceAsn = virtualApplianceAsn;
VirtualApplianceNics = virtualApplianceNics;
VirtualApplianceSites = virtualApplianceSites;
- InboundSecurityRules = inboundSecurityRules;
ProvisioningState = provisioningState;
Identity = identity;
Etag = etag;
@@ -144,12 +141,6 @@ public NetworkVirtualAppliance()
[JsonProperty(PropertyName = "properties.virtualApplianceSites")]
public IList VirtualApplianceSites { get; private set; }
- ///
- /// Gets list of references to InboundSecurityRules.
- ///
- [JsonProperty(PropertyName = "properties.inboundSecurityRules")]
- public IList InboundSecurityRules { get; private set; }
-
///
/// Gets the provisioning state of the resource. Possible values
/// include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
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 915f8514424a9..270be9f057ac3 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,30 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "StorageLocation");
}
+ if (BytesToCapturePerPacket > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "BytesToCapturePerPacket", 4294967295);
+ }
+ if (BytesToCapturePerPacket < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "BytesToCapturePerPacket", 0);
+ }
+ if (TotalBytesPerSession > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TotalBytesPerSession", 4294967295);
+ }
+ if (TotalBytesPerSession < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TotalBytesPerSession", 0);
+ }
+ 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 4869cc83c0982..a8a225ae7b4b6 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,30 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "StorageLocation");
}
+ if (BytesToCapturePerPacket > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "BytesToCapturePerPacket", 4294967295);
+ }
+ if (BytesToCapturePerPacket < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "BytesToCapturePerPacket", 0);
+ }
+ if (TotalBytesPerSession > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TotalBytesPerSession", 4294967295);
+ }
+ if (TotalBytesPerSession < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TotalBytesPerSession", 0);
+ }
+ 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 7aa6a53e290ed..cdd1a0f896be6 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,30 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "StorageLocation");
}
+ if (BytesToCapturePerPacket > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "BytesToCapturePerPacket", 4294967295);
+ }
+ if (BytesToCapturePerPacket < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "BytesToCapturePerPacket", 0);
+ }
+ if (TotalBytesPerSession > 4294967295)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "TotalBytesPerSession", 4294967295);
+ }
+ if (TotalBytesPerSession < 0)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "TotalBytesPerSession", 0);
+ }
+ 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/PeerRoute.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PeerRoute.cs
deleted file mode 100644
index 4652c6c4d9568..0000000000000
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PeerRoute.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-//
-// 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;
-
- ///
- /// Peer routing details.
- ///
- public partial class PeerRoute
- {
- ///
- /// Initializes a new instance of the PeerRoute class.
- ///
- public PeerRoute()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the PeerRoute class.
- ///
- /// The peer's local address.
- /// The route's network prefix.
- /// The route's next hop.
- /// The peer this route was learned
- /// from.
- /// The source this route was learned
- /// from.
- /// The route's AS path sequence.
- /// The route's weight.
- public PeerRoute(string localAddress = default(string), string network = default(string), string nextHop = default(string), string sourcePeer = default(string), string origin = default(string), string asPath = default(string), int? weight = default(int?))
- {
- LocalAddress = localAddress;
- Network = network;
- NextHop = nextHop;
- SourcePeer = sourcePeer;
- Origin = origin;
- AsPath = asPath;
- Weight = weight;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the peer's local address.
- ///
- [JsonProperty(PropertyName = "localAddress")]
- public string LocalAddress { get; private set; }
-
- ///
- /// Gets the route's network prefix.
- ///
- [JsonProperty(PropertyName = "network")]
- public string Network { get; private set; }
-
- ///
- /// Gets the route's next hop.
- ///
- [JsonProperty(PropertyName = "nextHop")]
- public string NextHop { get; private set; }
-
- ///
- /// Gets the peer this route was learned from.
- ///
- [JsonProperty(PropertyName = "sourcePeer")]
- public string SourcePeer { get; private set; }
-
- ///
- /// Gets the source this route was learned from.
- ///
- [JsonProperty(PropertyName = "origin")]
- public string Origin { get; private set; }
-
- ///
- /// Gets the route's AS path sequence.
- ///
- [JsonProperty(PropertyName = "asPath")]
- public string AsPath { get; private set; }
-
- ///
- /// Gets the route's weight.
- ///
- [JsonProperty(PropertyName = "weight")]
- public int? Weight { get; private set; }
-
- }
-}
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
similarity index 82%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddress.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddress.cs
index 050a3d11af328..aea875128f697 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/PublicIpAddressDnsSettings.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressDnsSettings.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddressDnsSettings.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressDnsSettings.cs
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 ed86b7c1c64fb..b08c74d5bfc5c 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 0000000000000..0c40a4fbdceb7
--- /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 2220e41c897a5..c7a322fbc0be6 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 072ccb9ac05c7..5fadd6fb66782 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 0000000000000..6d0dd808b63a7
--- /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/VirtualNetwork.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetwork.cs
index b2016696970d6..3643f4bb762e3 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/VirtualNetworkGatewayIpConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayIPConfiguration.cs
similarity index 100%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayIpConfiguration.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayIPConfiguration.cs
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 fae7eacd4bbbd..18f6870e78220 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/NatGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatGatewaysOperations.cs
index 878a5b985e2de..02e1a737e2507 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 46f31cd68d0ca..cf1c923dd1a94 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 a0ba8f7f6ca4c..8b55246d8ae73 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 c564d65242bfc..cd9f8b1f8906a 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 d253420df478c..e80d28f932a89 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 3d29fe6e2408b..4b4ed8590ba91 100644
--- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs
+++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs
@@ -208,6 +208,11 @@ public partial class NetworkManagementClient : ServiceClient
public virtual IExpressRouteLinksOperations ExpressRouteLinks { get; private set; }
+ ///
+ /// Gets the IExpressRoutePortAuthorizationsOperations.
+ ///
+ public virtual IExpressRoutePortAuthorizationsOperations ExpressRoutePortAuthorizations { get; private set; }
+
///
/// Gets the IFirewallPoliciesOperations.
///
@@ -328,11 +333,6 @@ public partial class NetworkManagementClient : ServiceClient
public virtual IVirtualApplianceSkusOperations VirtualApplianceSkus { get; private set; }
- ///
- /// Gets the IInboundSecurityRuleOperations.
- ///
- public virtual IInboundSecurityRuleOperations InboundSecurityRule { get; private set; }
-
///
/// Gets the INetworkWatchersOperations.
///
@@ -865,6 +865,7 @@ private void Initialize()
ExpressRoutePortsLocations = new ExpressRoutePortsLocationsOperations(this);
ExpressRoutePorts = new ExpressRoutePortsOperations(this);
ExpressRouteLinks = new ExpressRouteLinksOperations(this);
+ ExpressRoutePortAuthorizations = new ExpressRoutePortAuthorizationsOperations(this);
FirewallPolicies = new FirewallPoliciesOperations(this);
FirewallPolicyRuleCollectionGroups = new FirewallPolicyRuleCollectionGroupsOperations(this);
IpAllocations = new IpAllocationsOperations(this);
@@ -889,7 +890,6 @@ private void Initialize()
NetworkVirtualAppliances = new NetworkVirtualAppliancesOperations(this);
VirtualApplianceSites = new VirtualApplianceSitesOperations(this);
VirtualApplianceSkus = new VirtualApplianceSkusOperations(this);
- InboundSecurityRule = new InboundSecurityRuleOperations(this);
NetworkWatchers = new NetworkWatchersOperations(this);
PacketCaptures = new PacketCapturesOperations(this);
ConnectionMonitors = new ConnectionMonitorsOperations(this);
@@ -1084,7 +1084,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 +1314,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 +1517,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 +1715,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 +1945,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 +2151,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 +2334,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 +2539,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 7b273a1ce4c60..0eda5f054ce36 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 4b657ba8c889b..bda997e575276 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 b537543e38d7b..e451c69d31b24 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 96ad2947ea864..4edea5b6a9819 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 3814e5e6a697d..a75114230ccdf 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 70c2076f79906..74cd488d05705 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 1bd4676cc2615..78f07a5d112c9 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 f557fbd073409..f19765b00c3c5 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 761233312156c..0580d96d3946d 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 6b9d24f0d2d11..cf5bd611bb5cc 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 f862cc81d6db5..25f552c2efe4b 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/PublicIpAddressesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperations.cs
similarity index 99%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperations.cs
index e79827cc62caf..fbed9f40444cb 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
similarity index 99%
rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs
rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperationsExtensions.cs
index fff1a3acb3221..97b23fe331d7e 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/PublicIPPrefixesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPPrefixesOperations.cs
index c938e1b93dedd..3bc44fdebf4cc 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/ResourceNavigationLinksOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ResourceNavigationLinksOperations.cs
index fbc7b4dc61bc4..bafa3f8ba6a3d 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 d7da163098d6d..85e5745680667 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 4d3894d27f9b6..88a60b94ca525 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 fc896865497bc..de7d758682e03 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 9147e56e08750..212c873fba818 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 9fb10e114d6bc..6d54fd1a931e1 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,121 @@ 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("Network", "VpnConnections", "2020-06-01"),
- new Tuple("Network", "VpnGateways", "2020-06-01"),
- new Tuple("Network", "VpnLinkConnections", "2020-06-01"),
- new Tuple("Network", "VpnServerConfigurations", "2020-06-01"),
- new Tuple("Network", "VpnServerConfigurationsAssociatedWithVirtualWan", "2020-06-01"),
- new Tuple("Network", "VpnSiteLinkConnections", "2020-06-01"),
- new Tuple("Network", "VpnSiteLinks", "2020-06-01"),
- new Tuple("Network", "VpnSites", "2020-06-01"),
- new Tuple("Network", "VpnSitesConfiguration", "2020-06-01"),
- new Tuple("Network", "WebApplicationFirewallPolicies", "2020-06-01"),
- new Tuple("Network", "generatevirtualwanvpnserverconfigurationvpnprofile", "2020-06-01"),
+ new Tuple("Network", "ApplicationGatewayPrivateEndpointConnections", "2020-07-01"),
+ new Tuple("Network", "ApplicationGatewayPrivateLinkResources", "2020-07-01"),
+ new Tuple