diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRuleCollectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRuleCollectionsOperations.cs index ce320134da32b..63741efa0880e 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRuleCollectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRuleCollectionsOperations.cs @@ -120,7 +120,7 @@ internal AdminRuleCollectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -340,7 +340,7 @@ internal AdminRuleCollectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ruleCollectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -563,7 +563,7 @@ internal AdminRuleCollectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ruleCollectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -835,7 +835,7 @@ internal AdminRuleCollectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ruleCollectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRulesOperations.cs index 007c3a08d0cd9..5165a4c9d68d5 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRulesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AdminRulesOperations.cs @@ -126,7 +126,7 @@ internal AdminRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -355,7 +355,7 @@ internal AdminRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ruleName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -583,7 +583,7 @@ internal AdminRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ruleName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -867,7 +867,7 @@ internal AdminRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ruleName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; 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 47dbcfda5b784..ddc9adad5b1d9 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 f693704804f98..9af4e039ca269 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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsDefaultOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsDefaultOperations.cs index 82c1060cdb004..97f650abb9373 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsDefaultOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsDefaultOperations.cs @@ -87,7 +87,7 @@ internal ApplicationGatewayWafDynamicManifestsDefaultOperations(NetworkManagemen { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsOperations.cs index ac3c15e322388..1f789a071f7c2 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ApplicationGatewayWafDynamicManifestsOperations.cs @@ -87,7 +87,7 @@ internal ApplicationGatewayWafDynamicManifestsOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 ce9b5496dccc6..1923899d03e13 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 e132b08d1a0d4..faea0c6162ceb 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 b17af1c1e91da..946a78c688f5c 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 = "2022-09-01"; + string apiVersion = "2023-05-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 3d055f617de2a..4a70281c17380 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 = "2022-09-01"; + string apiVersion = "2023-05-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 0dc7a58cff49a..4b2d5424ee870 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 7d2df1fba8989..04bf50644cc9f 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 = "2022-09-01"; + string apiVersion = "2023-05-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 b0eb249e213cf..61d8d4b74af7e 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 feebf6065ebcc..88411b72a78c5 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 = "2022-09-01"; + string apiVersion = "2023-05-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 2a9ce57ff7572..13ccc736b4753 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -700,6 +700,31 @@ internal AzureFirewallsOperations(NetworkManagementClient client) return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> PacketCaptureMethodWithHttpMessagesAsync(string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationHeaderResponse _response = await BeginPacketCaptureMethodWithHttpMessagesAsync(resourceGroupName, azureFirewallName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Deletes the specified Azure Firewall. /// @@ -741,7 +766,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -935,7 +960,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1161,7 +1186,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1363,7 +1388,7 @@ internal AzureFirewallsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1513,6 +1538,225 @@ internal AzureFirewallsOperations(NetworkManagementClient client) return _result; } + /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + /// + /// 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> BeginPacketCaptureMethodWithHttpMessagesAsync(string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (azureFirewallName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "azureFirewallName"); + } + if (azureFirewallName != null) + { + if (azureFirewallName.Length > 56) + { + throw new ValidationException(ValidationRules.MaxLength, "azureFirewallName", 56); + } + if (azureFirewallName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "azureFirewallName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(azureFirewallName, "^[a-zA-Z0-9]")) + { + throw new ValidationException(ValidationRules.Pattern, "azureFirewallName", "^[a-zA-Z0-9]"); + } + } + if (parameters == null) + { + 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 = "2023-05-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("azureFirewallName", azureFirewallName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginPacketCaptureMethod", 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/azureFirewalls/{azureFirewallName}/packetCapture").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{azureFirewallName}", System.Uri.EscapeDataString(azureFirewallName)); + _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("POST"); + _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 != 202) + { + 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 AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Lists all Azure Firewalls in a resource group. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperationsExtensions.cs index faef77de80b4d..5f9522ef1bfac 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperationsExtensions.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/AzureFirewallsOperationsExtensions.cs @@ -294,6 +294,52 @@ public static IPPrefixesList ListLearnedPrefixes(this IAzureFirewallsOperations } } + /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + public static AzureFirewallsPacketCaptureHeaders PacketCaptureMethod(this IAzureFirewallsOperations operations, string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters) + { + return operations.PacketCaptureMethodAsync(resourceGroupName, azureFirewallName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + /// + /// The cancellation token. + /// + public static async Task PacketCaptureMethodAsync(this IAzureFirewallsOperations operations, string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PacketCaptureMethodWithHttpMessagesAsync(resourceGroupName, azureFirewallName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Deletes the specified Azure Firewall. /// @@ -465,6 +511,52 @@ public static IPPrefixesList BeginListLearnedPrefixes(this IAzureFirewallsOperat } } + /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + public static AzureFirewallsPacketCaptureHeaders BeginPacketCaptureMethod(this IAzureFirewallsOperations operations, string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters) + { + return operations.BeginPacketCaptureMethodAsync(resourceGroupName, azureFirewallName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + /// + /// The cancellation token. + /// + public static async Task BeginPacketCaptureMethodAsync(this IAzureFirewallsOperations operations, string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginPacketCaptureMethodWithHttpMessagesAsync(resourceGroupName, azureFirewallName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Lists all Azure Firewalls in a resource group. /// 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 add461b351d34..438e834a0c42e 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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -346,7 +346,7 @@ internal BastionHostsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -529,7 +529,7 @@ internal BastionHostsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -718,7 +718,7 @@ internal BastionHostsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -905,7 +905,7 @@ internal BastionHostsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1131,7 +1131,7 @@ internal BastionHostsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 c31d4ee24a5c9..709822c13b058 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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConfigurationPolicyGroupsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConfigurationPolicyGroupsOperations.cs index f381c8c60e2c4..083179c99878d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConfigurationPolicyGroupsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConfigurationPolicyGroupsOperations.cs @@ -156,7 +156,7 @@ internal ConfigurationPolicyGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationPolicyGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -353,7 +353,7 @@ internal ConfigurationPolicyGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnServerConfigurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -563,7 +563,7 @@ internal ConfigurationPolicyGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnServerConfigurationPolicyGroupParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -788,7 +788,7 @@ internal ConfigurationPolicyGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationPolicyGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 ccf921155b5ab..b1b6279c64435 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectionMonitorsOperations.cs @@ -133,7 +133,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -363,7 +363,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -636,7 +636,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -847,7 +847,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1072,7 +1072,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1249,7 +1249,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1426,7 +1426,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1606,7 +1606,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectivityConfigurationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectivityConfigurationsOperations.cs index 4c5bcc91dbb6f..53138557b9e3f 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectivityConfigurationsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ConnectivityConfigurationsOperations.cs @@ -102,7 +102,7 @@ internal ConnectivityConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,7 +317,7 @@ internal ConnectivityConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -588,7 +588,7 @@ internal ConnectivityConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -802,7 +802,7 @@ internal ConnectivityConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 469606c6834b0..389f5f0515a2c 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 28b3142f9b980..76ab38968773e 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 2b52101572cf1..9b1b04c7d2a3d 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1097,7 +1097,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 c114b5e39ee96..72588b2821729 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 9003629be702a..e77311d231e6d 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 f7aba209b33f4..11bbc59fe3862 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 ec1d3986f81fb..eb2f4402c81fa 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 16d0a2f702798..59141fa1c26cb 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 2e4cbea3e1160..563da46442391 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 294ec2a0b94b0..7dc50d95e6f44 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 4d0588f8387aa..3dd36f2912b2c 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 b500bedd3120c..b002e369a41ab 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 1caefc1aa89fd..581126d8b4317 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -505,7 +505,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -734,7 +734,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -960,7 +960,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "expressRouteGatewayParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1160,7 +1160,7 @@ internal ExpressRouteGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 82dcb1bf50289..953c742e30617 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 index 9cb1c7d4fbb4f..6e563a2091407 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortAuthorizationsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortAuthorizationsOperations.cs @@ -126,7 +126,7 @@ internal ExpressRoutePortAuthorizationsOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal ExpressRoutePortAuthorizationsOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -549,7 +549,7 @@ internal ExpressRoutePortAuthorizationsOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -742,7 +742,7 @@ internal ExpressRoutePortAuthorizationsOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs index 76fb2fe1b4ff0..fabbcc0ccf873 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 c7e7173587530..871d5d35038db 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -916,7 +916,7 @@ internal ExpressRoutePortsOperations(NetworkManagementClient client) { request.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteProviderPortsLocationOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteProviderPortsLocationOperations.cs index 241b3d4ca37a8..b224ad10c673a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteProviderPortsLocationOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteProviderPortsLocationOperations.cs @@ -84,7 +84,7 @@ internal ExpressRouteProviderPortsLocationOperations(NetworkManagementClient cli { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 74531cfd31978..7c803715aa556 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 = "2022-09-01"; + string apiVersion = "2023-05-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 3131eb1d06fee..33406da3180af 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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -350,7 +350,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -544,7 +544,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -722,7 +722,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -909,7 +909,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1096,7 +1096,7 @@ internal FirewallPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesFilterValuesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesFilterValuesOperations.cs index ec92e87bfd373..cf664374b9af3 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesFilterValuesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesFilterValuesOperations.cs @@ -100,7 +100,7 @@ internal FirewallPolicyIdpsSignaturesFilterValuesOperations(NetworkManagementCli { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOperations.cs index 82438005ecd0f..0ee1eefb2474a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOperations.cs @@ -104,7 +104,7 @@ internal FirewallPolicyIdpsSignaturesOperations(NetworkManagementClient client) { parameters.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOverridesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOverridesOperations.cs index d84bd0b0b56a7..474e8bdb16414 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOverridesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/FirewallPolicyIdpsSignaturesOverridesOperations.cs @@ -101,7 +101,7 @@ internal FirewallPolicyIdpsSignaturesOverridesOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -309,7 +309,7 @@ internal FirewallPolicyIdpsSignaturesOverridesOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -510,7 +510,7 @@ internal FirewallPolicyIdpsSignaturesOverridesOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -705,7 +705,7 @@ internal FirewallPolicyIdpsSignaturesOverridesOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 45d924eaef8c8..965b71be55bfa 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 e09cb74e1c192..acff42efa4124 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 1523864287f56..6fb12ebe127d0 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 b9e426a47efa9..a032e4b558e1a 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IAzureFirewallsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IAzureFirewallsOperations.cs index 097aaff28b66b..5d7bbf1f7f9ba 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IAzureFirewallsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IAzureFirewallsOperations.cs @@ -195,6 +195,31 @@ public partial interface IAzureFirewallsOperations /// Task> ListLearnedPrefixesWithHttpMessagesAsync(string resourceGroupName, string azureFirewallName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + /// + /// 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> PacketCaptureMethodWithHttpMessagesAsync(string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Deletes the specified Azure Firewall. /// /// @@ -300,6 +325,31 @@ public partial interface IAzureFirewallsOperations /// Task> BeginListLearnedPrefixesWithHttpMessagesAsync(string resourceGroupName, string azureFirewallName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Runs a packet capture on AzureFirewall. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Azure Firewall. + /// + /// + /// Parameters supplied to run packet capture on azure firewall. + /// + /// + /// 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> BeginPacketCaptureMethodWithHttpMessagesAsync(string resourceGroupName, string azureFirewallName, FirewallPacketCaptureParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Lists all Azure Firewalls in a resource group. /// /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ILoadBalancersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ILoadBalancersOperations.cs index b04a893103e81..f8830636dcc2e 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ILoadBalancersOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ILoadBalancersOperations.cs @@ -225,6 +225,34 @@ public partial interface ILoadBalancersOperations /// Task> ListInboundNatRulePortMappingsWithHttpMessagesAsync(string groupName, string loadBalancerName, string backendPoolName, QueryInboundNatRulePortMappingRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Migrate load balancer to IP Based + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the load balancer. + /// + /// + /// Parameters supplied to the migrateToIpBased Api. + /// + /// + /// 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> MigrateToIpBasedWithHttpMessagesAsync(string groupName, string loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters = default(MigrateLoadBalancerToIpBasedRequest), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Deletes the specified load balancer. /// /// 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 a7a1cb90fe748..3ca9b11becdf5 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkManagementClient.cs @@ -700,6 +700,11 @@ public partial interface INetworkManagementClient : System.IDisposable /// IExpressRouteConnectionsOperations ExpressRouteConnections { get; } + /// + /// Gets the INetworkVirtualApplianceConnectionsOperations. + /// + INetworkVirtualApplianceConnectionsOperations NetworkVirtualApplianceConnections { get; } + /// /// Gets the IVirtualHubBgpConnectionOperations. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkVirtualApplianceConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkVirtualApplianceConnectionsOperations.cs new file mode 100644 index 0000000000000..718718b65724d --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkVirtualApplianceConnectionsOperations.cs @@ -0,0 +1,218 @@ +// +// 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; + + /// + /// NetworkVirtualApplianceConnectionsOperations operations. + /// + public partial interface INetworkVirtualApplianceConnectionsOperations + { + /// + /// Creates a connection to Network Virtual Appliance, if it doesn't + /// exist else updates the existing NVA connection' + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT + /// 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 connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Retrieves the details of specified NVA connection. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA 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> GetWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a NVA connection. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// 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 networkVirtualApplianceName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// 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 networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates a connection to Network Virtual Appliance, if it doesn't + /// exist else updates the existing NVA connection' + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT + /// 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 connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a NVA connection. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// 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 networkVirtualApplianceName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// 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/INetworkVirtualAppliancesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkVirtualAppliancesOperations.cs index 123820e94d30a..6c3ece91b6192 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkVirtualAppliancesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/INetworkVirtualAppliancesOperations.cs @@ -44,7 +44,7 @@ public partial interface INetworkVirtualAppliancesOperations /// /// Thrown when a required parameter is null /// - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> DeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the specified Network Virtual Appliance. /// @@ -129,7 +129,7 @@ public partial interface INetworkVirtualAppliancesOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists all Network Virtual Appliances in a resource group. /// @@ -192,7 +192,7 @@ public partial interface INetworkVirtualAppliancesOperations /// /// Thrown when a required parameter is null /// - Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Creates or updates the specified Network Virtual Appliance. /// @@ -221,7 +221,7 @@ public partial interface INetworkVirtualAppliancesOperations /// /// Thrown when a required parameter is null /// - Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists all Network Virtual Appliances in a resource group. /// 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 100% rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIpAddressesOperations.cs rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/IPublicIPAddressesOperations.cs 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..4b5160eb61037 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubBgpConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubBgpConnectionsOperations.cs @@ -76,7 +76,7 @@ public partial interface IVirtualHubBgpConnectionsOperations /// /// Thrown when a required parameter is null /// - Task> ListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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. @@ -105,7 +105,7 @@ public partial interface IVirtualHubBgpConnectionsOperations /// /// Thrown when a required parameter is null /// - Task> ListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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. @@ -134,7 +134,7 @@ public partial interface IVirtualHubBgpConnectionsOperations /// /// Thrown when a required parameter is null /// - Task> BeginListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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. @@ -163,7 +163,7 @@ public partial interface IVirtualHubBgpConnectionsOperations /// /// Thrown when a required parameter is null /// - Task> BeginListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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/IVirtualHubsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubsOperations.cs index ad3dd86a8435c..6c7c00f3e4d9d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IVirtualHubsOperations.cs @@ -191,10 +191,13 @@ public partial interface IVirtualHubsOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// - Task GetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the inbound routes configured for the Virtual Hub on a /// particular connection. @@ -218,10 +221,13 @@ public partial interface IVirtualHubsOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// - Task GetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the outbound routes configured for the Virtual Hub on a /// particular connection. @@ -245,10 +251,13 @@ public partial interface IVirtualHubsOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// - Task GetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Creates a VirtualHub resource if it doesn't exist else updates the /// existing VirtualHub. @@ -323,10 +332,13 @@ public partial interface IVirtualHubsOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// - Task BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the inbound routes configured for the Virtual Hub on a /// particular connection. @@ -350,10 +362,13 @@ public partial interface IVirtualHubsOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// - Task BeginGetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> BeginGetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the outbound routes configured for the Virtual Hub on a /// particular connection. @@ -377,10 +392,13 @@ public partial interface IVirtualHubsOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// - Task BeginGetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> BeginGetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists all the VirtualHubs in a resource group. /// 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 581ea4a0dbd18..a863b9f0b4c1b 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -748,7 +748,7 @@ internal InboundNatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs index 8d579d153ad05..5ae909e6d1b8d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/InboundSecurityRuleOperations.cs @@ -140,7 +140,7 @@ internal InboundSecurityRuleOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpAllocationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/IpAllocationsOperations.cs index f16c60b88b175..c5a80b74c99d5 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 b27f46261d89a..dd2f6ce10c35f 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 abeb287b15d45..84ad30892c71a 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 d9afb9c3e3d8c..f07db0f8cad79 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 f07bc5979007b..c3d6c97ed1636 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 7214414ba5f6d..f0b721dbf1372 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 = "2022-09-01"; + string apiVersion = "2023-05-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 58cf6dcbee347..b4f0899342413 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 1f7e386b613c0..c1b5743f06766 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 0ca286a7dd6de..dd4cb18ab70ea 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -918,6 +918,224 @@ internal LoadBalancersOperations(NetworkManagementClient client) return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Migrate load balancer to IP Based + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the load balancer. + /// + /// + /// Parameters supplied to the migrateToIpBased Api. + /// + /// + /// 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> MigrateToIpBasedWithHttpMessagesAsync(string groupName, string loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters = default(MigrateLoadBalancerToIpBasedRequest), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (groupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "groupName"); + } + if (groupName != null) + { + if (!System.Text.RegularExpressions.Regex.IsMatch(groupName, "^[a-z][a-z0-9]*$")) + { + throw new ValidationException(ValidationRules.Pattern, "groupName", "^[a-z][a-z0-9]*$"); + } + } + if (loadBalancerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loadBalancerName"); + } + if (loadBalancerName != null) + { + if (!System.Text.RegularExpressions.Regex.IsMatch(loadBalancerName, "^[a-z][a-z0-9]*$")) + { + throw new ValidationException(ValidationRules.Pattern, "loadBalancerName", "^[a-z][a-z0-9]*$"); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2023-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("groupName", groupName); + tracingParameters.Add("loadBalancerName", loadBalancerName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "MigrateToIpBased", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/migrateToIpBased").ToString(); + _url = _url.Replace("{groupName}", System.Uri.EscapeDataString(groupName)); + _url = _url.Replace("{loadBalancerName}", System.Uri.EscapeDataString(loadBalancerName)); + _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("POST"); + _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) + { + 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 load balancer. /// @@ -959,7 +1177,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1142,7 +1360,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1358,7 +1576,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1553,7 +1771,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperationsExtensions.cs index 2c4197f4dece2..500cdcc275ea1 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperationsExtensions.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/LoadBalancersOperationsExtensions.cs @@ -347,6 +347,52 @@ public static BackendAddressInboundNatRulePortMappings ListInboundNatRulePortMap } } + /// + /// Migrate load balancer to IP Based + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the load balancer. + /// + /// + /// Parameters supplied to the migrateToIpBased Api. + /// + public static MigratedPools MigrateToIpBased(this ILoadBalancersOperations operations, string groupName, string loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters = default(MigrateLoadBalancerToIpBasedRequest)) + { + return operations.MigrateToIpBasedAsync(groupName, loadBalancerName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Migrate load balancer to IP Based + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the load balancer. + /// + /// + /// Parameters supplied to the migrateToIpBased Api. + /// + /// + /// The cancellation token. + /// + public static async Task MigrateToIpBasedAsync(this ILoadBalancersOperations operations, string groupName, string loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters = default(MigrateLoadBalancerToIpBasedRequest), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.MigrateToIpBasedWithHttpMessagesAsync(groupName, loadBalancerName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Deletes the specified load balancer. /// 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 80ed1bd34b68c..5fe204242ef18 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ManagementGroupNetworkManagerConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ManagementGroupNetworkManagerConnectionsOperations.cs index a512f5eb06402..7d6e65b342001 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ManagementGroupNetworkManagerConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ManagementGroupNetworkManagerConnectionsOperations.cs @@ -98,7 +98,7 @@ internal ManagementGroupNetworkManagerConnectionsOperations(NetworkManagementCli { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -313,7 +313,7 @@ internal ManagementGroupNetworkManagerConnectionsOperations(NetworkManagementCli { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -500,7 +500,7 @@ internal ManagementGroupNetworkManagerConnectionsOperations(NetworkManagementCli { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -683,7 +683,7 @@ internal ManagementGroupNetworkManagerConnectionsOperations(NetworkManagementCli { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveConnectivityConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveConnectivityConfiguration.cs index 4c458ad3d9aa1..c9cd05eeed144 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveConnectivityConfiguration.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveConnectivityConfiguration.cs @@ -47,12 +47,14 @@ public ActiveConnectivityConfiguration() /// 'Succeeded', 'Updating', 'Deleting', 'Failed' /// Flag if need to remove current /// existing peerings. Possible values include: 'False', 'True' + /// Unique identifier for this + /// resource. /// Effective configuration /// groups. /// Deployment time string. /// Deployment region. - public ActiveConnectivityConfiguration(string connectivityTopology, IList appliesToGroups, string id = default(string), string description = default(string), IList hubs = default(IList), string isGlobal = default(string), string provisioningState = default(string), string deleteExistingPeering = default(string), IList configurationGroups = default(IList), System.DateTime? commitTime = default(System.DateTime?), string region = default(string)) - : base(connectivityTopology, appliesToGroups, id, description, hubs, isGlobal, provisioningState, deleteExistingPeering, configurationGroups) + public ActiveConnectivityConfiguration(string connectivityTopology, IList appliesToGroups, string id = default(string), string description = default(string), IList hubs = default(IList), string isGlobal = default(string), string provisioningState = default(string), string deleteExistingPeering = default(string), string resourceGuid = default(string), IList configurationGroups = default(IList), System.DateTime? commitTime = default(System.DateTime?), string region = default(string)) + : base(connectivityTopology, appliesToGroups, id, description, hubs, isGlobal, provisioningState, deleteExistingPeering, resourceGuid, configurationGroups) { CommitTime = commitTime; Region = region; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveDefaultSecurityAdminRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveDefaultSecurityAdminRule.cs index 0fc18ece1e4c4..c95124db09bb2 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveDefaultSecurityAdminRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveDefaultSecurityAdminRule.cs @@ -72,7 +72,9 @@ public ActiveDefaultSecurityAdminRule() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' - public ActiveDefaultSecurityAdminRule(string id = default(string), System.DateTime? commitTime = default(System.DateTime?), string region = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), string flag = default(string), string protocol = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string access = default(string), int? priority = default(int?), string direction = default(string), string provisioningState = default(string)) + /// Unique identifier for this + /// resource. + public ActiveDefaultSecurityAdminRule(string id = default(string), System.DateTime? commitTime = default(System.DateTime?), string region = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), string flag = default(string), string protocol = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string access = default(string), int? priority = default(int?), string direction = default(string), string provisioningState = default(string), string resourceGuid = default(string)) : base(id, commitTime, region, configurationDescription, ruleCollectionDescription, ruleCollectionAppliesToGroups, ruleGroups) { Description = description; @@ -86,6 +88,7 @@ public ActiveDefaultSecurityAdminRule() Priority = priority; Direction = direction; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; CustomInit(); } @@ -167,5 +170,11 @@ public ActiveDefaultSecurityAdminRule() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveSecurityAdminRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveSecurityAdminRule.cs index c14c17ed9de74..b932de1e2bb3f 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveSecurityAdminRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ActiveSecurityAdminRule.cs @@ -69,7 +69,9 @@ public ActiveSecurityAdminRule() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' - public ActiveSecurityAdminRule(string protocol, string access, int priority, string direction, string id = default(string), System.DateTime? commitTime = default(System.DateTime?), string region = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string provisioningState = default(string)) + /// Unique identifier for this + /// resource. + public ActiveSecurityAdminRule(string protocol, string access, int priority, string direction, string id = default(string), System.DateTime? commitTime = default(System.DateTime?), string region = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string provisioningState = default(string), string resourceGuid = default(string)) : base(id, commitTime, region, configurationDescription, ruleCollectionDescription, ruleCollectionAppliesToGroups, ruleGroups) { Description = description; @@ -82,6 +84,7 @@ public ActiveSecurityAdminRule() Priority = priority; Direction = direction; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; CustomInit(); } @@ -158,6 +161,12 @@ public ActiveSecurityAdminRule() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRule.cs index 513154e1b6996..84f69a327d59a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRule.cs @@ -66,7 +66,9 @@ public AdminRule() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' - public AdminRule(string protocol, string access, int priority, string direction, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), SystemData systemData = default(SystemData), string description = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string provisioningState = default(string)) + /// Unique identifier for this + /// resource. + public AdminRule(string protocol, string access, int priority, string direction, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), SystemData systemData = default(SystemData), string description = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string provisioningState = default(string), string resourceGuid = default(string)) : base(id, name, type, etag, systemData) { Description = description; @@ -79,6 +81,7 @@ public AdminRule() Priority = priority; Direction = direction; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; CustomInit(); } @@ -155,6 +158,12 @@ public AdminRule() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRuleCollection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRuleCollection.cs index e89c766277de2..51dcae852778d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRuleCollection.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminRuleCollection.cs @@ -45,14 +45,17 @@ public AdminRuleCollection() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' + /// Unique identifier for this + /// resource. /// The system metadata related to this /// resource. - public AdminRuleCollection(IList appliesToGroups, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), string provisioningState = default(string), SystemData systemData = default(SystemData)) + public AdminRuleCollection(IList appliesToGroups, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), string provisioningState = default(string), string resourceGuid = default(string), SystemData systemData = default(SystemData)) : base(id, name, type, etag) { Description = description; AppliesToGroups = appliesToGroups; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; SystemData = systemData; CustomInit(); } @@ -81,6 +84,12 @@ public AdminRuleCollection() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Gets the system metadata related to this resource. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminState.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminState.cs new file mode 100644 index 0000000000000..06c83cb367c1c --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AdminState.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 AdminState. + /// + public static class AdminState + { + public const string Enabled = "Enabled"; + public const string Disabled = "Disabled"; + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGateway.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGateway.cs index e12d218307821..c3e39dac9c518 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGateway.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGateway.cs @@ -133,13 +133,18 @@ public ApplicationGateway() /// Load distribution policies /// of the application gateway resource. /// Global Configuration. + /// The default predefined SSL + /// Policy applied on the application gateway resource. Possible values + /// include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', + /// 'AppGwSslPolicy20170401S', 'AppGwSslPolicy20220101', + /// 'AppGwSslPolicy20220101S' /// A unique read-only string that changes whenever /// the resource is updated. /// A list of availability zones denoting where the /// resource needs to come from. /// The identity of the application gateway, if /// configured. - public ApplicationGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ApplicationGatewaySku sku = default(ApplicationGatewaySku), ApplicationGatewaySslPolicy sslPolicy = default(ApplicationGatewaySslPolicy), string operationalState = default(string), IList gatewayIPConfigurations = default(IList), IList authenticationCertificates = default(IList), IList trustedRootCertificates = default(IList), IList trustedClientCertificates = default(IList), IList sslCertificates = default(IList), IList frontendIPConfigurations = default(IList), IList frontendPorts = default(IList), IList probes = default(IList), IList backendAddressPools = default(IList), IList backendHttpSettingsCollection = default(IList), IList backendSettingsCollection = default(IList), IList httpListeners = default(IList), IList listeners = default(IList), IList sslProfiles = default(IList), IList urlPathMaps = default(IList), IList requestRoutingRules = default(IList), IList routingRules = default(IList), IList rewriteRuleSets = default(IList), IList redirectConfigurations = default(IList), ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration = default(ApplicationGatewayWebApplicationFirewallConfiguration), SubResource firewallPolicy = default(SubResource), bool? enableHttp2 = default(bool?), bool? enableFips = default(bool?), ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration = default(ApplicationGatewayAutoscaleConfiguration), IList privateLinkConfigurations = default(IList), IList privateEndpointConnections = default(IList), string resourceGuid = default(string), string provisioningState = default(string), IList customErrorConfigurations = default(IList), bool? forceFirewallPolicyAssociation = default(bool?), IList loadDistributionPolicies = default(IList), ApplicationGatewayGlobalConfiguration globalConfiguration = default(ApplicationGatewayGlobalConfiguration), string etag = default(string), IList zones = default(IList), ManagedServiceIdentity identity = default(ManagedServiceIdentity)) + public ApplicationGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ApplicationGatewaySku sku = default(ApplicationGatewaySku), ApplicationGatewaySslPolicy sslPolicy = default(ApplicationGatewaySslPolicy), string operationalState = default(string), IList gatewayIPConfigurations = default(IList), IList authenticationCertificates = default(IList), IList trustedRootCertificates = default(IList), IList trustedClientCertificates = default(IList), IList sslCertificates = default(IList), IList frontendIPConfigurations = default(IList), IList frontendPorts = default(IList), IList probes = default(IList), IList backendAddressPools = default(IList), IList backendHttpSettingsCollection = default(IList), IList backendSettingsCollection = default(IList), IList httpListeners = default(IList), IList listeners = default(IList), IList sslProfiles = default(IList), IList urlPathMaps = default(IList), IList requestRoutingRules = default(IList), IList routingRules = default(IList), IList rewriteRuleSets = default(IList), IList redirectConfigurations = default(IList), ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration = default(ApplicationGatewayWebApplicationFirewallConfiguration), SubResource firewallPolicy = default(SubResource), bool? enableHttp2 = default(bool?), bool? enableFips = default(bool?), ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration = default(ApplicationGatewayAutoscaleConfiguration), IList privateLinkConfigurations = default(IList), IList privateEndpointConnections = default(IList), string resourceGuid = default(string), string provisioningState = default(string), IList customErrorConfigurations = default(IList), bool? forceFirewallPolicyAssociation = default(bool?), IList loadDistributionPolicies = default(IList), ApplicationGatewayGlobalConfiguration globalConfiguration = default(ApplicationGatewayGlobalConfiguration), string defaultPredefinedSslPolicy = default(string), string etag = default(string), IList zones = default(IList), ManagedServiceIdentity identity = default(ManagedServiceIdentity)) : base(id, name, type, location, tags) { Sku = sku; @@ -177,6 +182,7 @@ public ApplicationGateway() ForceFirewallPolicyAssociation = forceFirewallPolicyAssociation; LoadDistributionPolicies = loadDistributionPolicies; GlobalConfiguration = globalConfiguration; + DefaultPredefinedSslPolicy = defaultPredefinedSslPolicy; Etag = etag; Zones = zones; Identity = identity; @@ -440,6 +446,16 @@ public ApplicationGateway() [JsonProperty(PropertyName = "properties.globalConfiguration")] public ApplicationGatewayGlobalConfiguration GlobalConfiguration { get; set; } + /// + /// Gets the default predefined SSL Policy applied on the application + /// gateway resource. Possible values include: + /// 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', + /// 'AppGwSslPolicy20170401S', 'AppGwSslPolicy20220101', + /// 'AppGwSslPolicy20220101S' + /// + [JsonProperty(PropertyName = "properties.defaultPredefinedSslPolicy")] + public string DefaultPredefinedSslPolicy { get; private set; } + /// /// Gets a unique read-only string that changes whenever the resource /// is updated. diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomError.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomError.cs index 821052427d731..1a6c40a41fbcc 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomError.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomError.cs @@ -34,7 +34,7 @@ public ApplicationGatewayCustomError() /// Status code of the application gateway /// custom error. Possible values include: 'HttpStatus400', /// 'HttpStatus403', 'HttpStatus404', 'HttpStatus405', 'HttpStatus408', - /// 'HttpStatus499', 'HttpStatus500', 'HttpStatus502', 'HttpStatus503', + /// 'HttpStatus500', 'HttpStatus502', 'HttpStatus503', /// 'HttpStatus504' /// Error page URL of the application /// gateway custom error. @@ -53,8 +53,8 @@ public ApplicationGatewayCustomError() /// /// Gets or sets status code of the application gateway custom error. /// Possible values include: 'HttpStatus400', 'HttpStatus403', - /// 'HttpStatus404', 'HttpStatus405', 'HttpStatus408', 'HttpStatus499', - /// 'HttpStatus500', 'HttpStatus502', 'HttpStatus503', 'HttpStatus504' + /// 'HttpStatus404', 'HttpStatus405', 'HttpStatus408', 'HttpStatus500', + /// 'HttpStatus502', 'HttpStatus503', 'HttpStatus504' /// [JsonProperty(PropertyName = "statusCode")] public string StatusCode { get; set; } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomErrorStatusCode.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomErrorStatusCode.cs index 63306894c3655..5cba0263ee283 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomErrorStatusCode.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayCustomErrorStatusCode.cs @@ -21,7 +21,6 @@ public static class ApplicationGatewayCustomErrorStatusCode public const string HttpStatus404 = "HttpStatus404"; public const string HttpStatus405 = "HttpStatus405"; public const string HttpStatus408 = "HttpStatus408"; - public const string HttpStatus499 = "HttpStatus499"; public const string HttpStatus500 = "HttpStatus500"; public const string HttpStatus502 = "HttpStatus502"; public const string HttpStatus503 = "HttpStatus503"; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFirewallRateLimitDuration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFirewallRateLimitDuration.cs new file mode 100644 index 0000000000000..16bc916299659 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFirewallRateLimitDuration.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 ApplicationGatewayFirewallRateLimitDuration. + /// + public static class ApplicationGatewayFirewallRateLimitDuration + { + public const string OneMin = "OneMin"; + public const string FiveMins = "FiveMins"; + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFirewallUserSessionVariable.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFirewallUserSessionVariable.cs new file mode 100644 index 0000000000000..fe6ff6d03de3d --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayFirewallUserSessionVariable.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 ApplicationGatewayFirewallUserSessionVariable. + /// + public static class ApplicationGatewayFirewallUserSessionVariable + { + public const string ClientAddr = "ClientAddr"; + public const string GeoLocation = "GeoLocation"; + public const string None = "None"; + } +} 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/ApplicationGatewayProbe.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayProbe.cs index cdfd70c99a5f8..4cdefd82c5d6d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayProbe.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayProbe.cs @@ -65,7 +65,7 @@ public ApplicationGatewayProbe() /// Custom port which will be used for probing the /// backend servers. The valid value ranges from 1 to 65535. In case /// not set, port from http settings will be used. This property is - /// valid for Standard_v2 and WAF_v2 only. + /// valid for Basic, Standard_v2 and WAF_v2 only. /// Name of the probe that is unique within an /// Application Gateway. /// A unique read-only string that changes whenever @@ -180,7 +180,7 @@ public ApplicationGatewayProbe() /// Gets or sets custom port which will be used for probing the backend /// servers. The valid value ranges from 1 to 65535. In case not set, /// port from http settings will be used. This property is valid for - /// Standard_v2 and WAF_v2 only. + /// Basic, Standard_v2 and WAF_v2 only. /// [JsonProperty(PropertyName = "properties.port")] public int? Port { get; set; } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySku.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySku.cs index f76fe39877df2..ba5bf2f7bd44b 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySku.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySku.cs @@ -32,9 +32,10 @@ public ApplicationGatewaySku() /// Name of an application gateway SKU. Possible /// values include: 'Standard_Small', 'Standard_Medium', /// 'Standard_Large', 'WAF_Medium', 'WAF_Large', 'Standard_v2', - /// 'WAF_v2' + /// 'WAF_v2', 'Basic' /// Tier of an application gateway. Possible values - /// include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2' + /// include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2', + /// 'Basic' /// Capacity (instance count) of an application /// gateway. public ApplicationGatewaySku(string name = default(string), string tier = default(string), int? capacity = default(int?)) @@ -53,14 +54,14 @@ public ApplicationGatewaySku() /// /// Gets or sets name of an application gateway SKU. Possible values /// include: 'Standard_Small', 'Standard_Medium', 'Standard_Large', - /// 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2' + /// 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2', 'Basic' /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// Gets or sets tier of an application gateway. Possible values - /// include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2' + /// include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2', 'Basic' /// [JsonProperty(PropertyName = "tier")] public string Tier { get; set; } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySkuName.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySkuName.cs index 0d777f8a39d62..ad969b426d970 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySkuName.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewaySkuName.cs @@ -23,5 +23,6 @@ public static class ApplicationGatewaySkuName public const string WAFLarge = "WAF_Large"; public const string StandardV2 = "Standard_v2"; public const string WAFV2 = "WAF_v2"; + public const string Basic = "Basic"; } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayTier.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayTier.cs index ec35cf545ffa6..990ee1fcee2d3 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayTier.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ApplicationGatewayTier.cs @@ -20,5 +20,6 @@ public static class ApplicationGatewayTier public const string WAF = "WAF"; public const string StandardV2 = "Standard_v2"; public const string WAFV2 = "WAF_v2"; + public const string Basic = "Basic"; } } 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 caa6a0d598e61..347034adfc53f 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 @@ -48,7 +48,9 @@ public ApplicationRule() /// rule. /// List of destination azure web /// categories. - public ApplicationRule(string name = default(string), string description = default(string), IList sourceAddresses = default(IList), IList destinationAddresses = default(IList), IList protocols = default(IList), IList targetFqdns = default(IList), IList targetUrls = default(IList), IList fqdnTags = default(IList), IList sourceIpGroups = default(IList), bool? terminateTLS = default(bool?), IList webCategories = default(IList)) + /// List of HTTP/S headers to + /// insert. + public ApplicationRule(string name = default(string), string description = default(string), IList sourceAddresses = default(IList), IList destinationAddresses = default(IList), IList protocols = default(IList), IList targetFqdns = default(IList), IList targetUrls = default(IList), IList fqdnTags = default(IList), IList sourceIpGroups = default(IList), bool? terminateTLS = default(bool?), IList webCategories = default(IList), IList httpHeadersToInsert = default(IList)) : base(name, description) { SourceAddresses = sourceAddresses; @@ -60,6 +62,7 @@ public ApplicationRule() SourceIpGroups = sourceIpGroups; TerminateTLS = terminateTLS; WebCategories = webCategories; + HttpHeadersToInsert = httpHeadersToInsert; CustomInit(); } @@ -122,5 +125,11 @@ public ApplicationRule() [JsonProperty(PropertyName = "webCategories")] public IList WebCategories { get; set; } + /// + /// Gets or sets list of HTTP/S headers to insert. + /// + [JsonProperty(PropertyName = "httpHeadersToInsert")] + public IList HttpHeadersToInsert { get; set; } + } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureFlags.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureFlags.cs new file mode 100644 index 0000000000000..40ebc9f8653a9 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureFlags.cs @@ -0,0 +1,55 @@ +// +// 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; + + /// + /// Properties of the AzureFirewallRCAction. + /// + public partial class AzureFirewallPacketCaptureFlags + { + /// + /// Initializes a new instance of the AzureFirewallPacketCaptureFlags + /// class. + /// + public AzureFirewallPacketCaptureFlags() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureFirewallPacketCaptureFlags + /// class. + /// + /// Flags to capture. Possible values include: + /// 'fin', 'syn', 'rst', 'push', 'ack', 'urg' + public AzureFirewallPacketCaptureFlags(string type = default(string)) + { + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets flags to capture. Possible values include: 'fin', + /// 'syn', 'rst', 'push', 'ack', 'urg' + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureFlagsType.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureFlagsType.cs new file mode 100644 index 0000000000000..4272a0584c2ec --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureFlagsType.cs @@ -0,0 +1,26 @@ +// +// 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 AzureFirewallPacketCaptureFlagsType. + /// + public static class AzureFirewallPacketCaptureFlagsType + { + public const string Fin = "fin"; + public const string Syn = "syn"; + public const string Rst = "rst"; + public const string Push = "push"; + public const string Ack = "ack"; + public const string Urg = "urg"; + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureRule.cs new file mode 100644 index 0000000000000..cb71cb94bd064 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallPacketCaptureRule.cs @@ -0,0 +1,75 @@ +// +// 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; + + /// + /// Group of src/dest ips and ports to be captured. + /// + public partial class AzureFirewallPacketCaptureRule + { + /// + /// Initializes a new instance of the AzureFirewallPacketCaptureRule + /// class. + /// + public AzureFirewallPacketCaptureRule() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureFirewallPacketCaptureRule + /// class. + /// + /// List of source IP addresses/subnets to be + /// captured. + /// List of destination IP addresses/subnets + /// to be captured. + /// List of ports to be + /// captured. + public AzureFirewallPacketCaptureRule(IList sources = default(IList), IList destinations = default(IList), IList destinationPorts = default(IList)) + { + Sources = sources; + Destinations = destinations; + DestinationPorts = destinationPorts; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets list of source IP addresses/subnets to be captured. + /// + [JsonProperty(PropertyName = "sources")] + public IList Sources { get; set; } + + /// + /// Gets or sets list of destination IP addresses/subnets to be + /// captured. + /// + [JsonProperty(PropertyName = "destinations")] + public IList Destinations { get; set; } + + /// + /// Gets or sets list of ports to be captured. + /// + [JsonProperty(PropertyName = "destinationPorts")] + public IList DestinationPorts { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallsPacketCaptureHeaders.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallsPacketCaptureHeaders.cs new file mode 100644 index 0000000000000..6e88e750edfa5 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/AzureFirewallsPacketCaptureHeaders.cs @@ -0,0 +1,51 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Network.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for PacketCapture operation. + /// + public partial class AzureFirewallsPacketCaptureHeaders + { + /// + /// Initializes a new instance of the + /// AzureFirewallsPacketCaptureHeaders class. + /// + public AzureFirewallsPacketCaptureHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// AzureFirewallsPacketCaptureHeaders class. + /// + public AzureFirewallsPacketCaptureHeaders(string location = default(string)) + { + Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "Location")] + public string Location { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BackendAddressPool.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BackendAddressPool.cs index 43377e7d95921..013188628f3e2 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BackendAddressPool.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BackendAddressPool.cs @@ -59,13 +59,16 @@ public BackendAddressPool() /// address. /// A reference to a virtual /// network. + /// Backend address synchronous mode for the + /// backend pool. Possible values include: 'Automatic', + /// 'Manual' /// The name of the resource that is unique within /// the set of backend address pools used by the load balancer. 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 BackendAddressPool(string id = default(string), string location = default(string), IList tunnelInterfaces = default(IList), IList loadBalancerBackendAddresses = default(IList), IList backendIPConfigurations = default(IList), IList loadBalancingRules = default(IList), SubResource outboundRule = default(SubResource), IList outboundRules = default(IList), IList inboundNatRules = default(IList), string provisioningState = default(string), int? drainPeriodInSeconds = default(int?), SubResource virtualNetwork = default(SubResource), string name = default(string), string etag = default(string), string type = default(string)) + public BackendAddressPool(string id = default(string), string location = default(string), IList tunnelInterfaces = default(IList), IList loadBalancerBackendAddresses = default(IList), IList backendIPConfigurations = default(IList), IList loadBalancingRules = default(IList), SubResource outboundRule = default(SubResource), IList outboundRules = default(IList), IList inboundNatRules = default(IList), string provisioningState = default(string), int? drainPeriodInSeconds = default(int?), SubResource virtualNetwork = default(SubResource), string syncMode = default(string), string name = default(string), string etag = default(string), string type = default(string)) : base(id) { Location = location; @@ -79,6 +82,7 @@ public BackendAddressPool() ProvisioningState = provisioningState; DrainPeriodInSeconds = drainPeriodInSeconds; VirtualNetwork = virtualNetwork; + SyncMode = syncMode; Name = name; Etag = etag; Type = type; @@ -164,6 +168,13 @@ public BackendAddressPool() [JsonProperty(PropertyName = "properties.virtualNetwork")] public SubResource VirtualNetwork { get; set; } + /// + /// Gets or sets backend address synchronous mode for the backend pool. + /// Possible values include: 'Automatic', 'Manual' + /// + [JsonProperty(PropertyName = "properties.syncMode")] + public string SyncMode { get; set; } + /// /// Gets or sets the name of the resource that is unique within the set /// of backend address pools used by the load balancer. This name can diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BastionHost.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BastionHost.cs index fdb1f396faebb..69a4cb0e80dc6 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BastionHost.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BastionHost.cs @@ -43,6 +43,8 @@ public BastionHost() /// resource. /// FQDN for the endpoint on which bastion host /// is accessible. + /// Reference to an existing virtual + /// network required for Developer Bastion Host only. /// The provisioning state of the /// bastion host resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed' @@ -58,14 +60,18 @@ public BastionHost() /// the Bastion Host resource. /// Enable/Disable Tunneling feature of /// the Bastion Host resource. + /// Enable/Disable Kerberos feature of the + /// Bastion Host resource. /// A unique read-only string that changes whenever /// the resource is updated. /// The sku of this Bastion Host. - public BastionHost(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ipConfigurations = default(IList), string dnsName = default(string), string provisioningState = default(string), int? scaleUnits = default(int?), bool? disableCopyPaste = default(bool?), bool? enableFileCopy = default(bool?), bool? enableIpConnect = default(bool?), bool? enableShareableLink = default(bool?), bool? enableTunneling = default(bool?), string etag = default(string), Sku sku = default(Sku)) + public BastionHost(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ipConfigurations = default(IList), string dnsName = default(string), SubResource virtualNetwork = default(SubResource), BastionHostPropertiesFormatNetworkAcls networkAcls = default(BastionHostPropertiesFormatNetworkAcls), string provisioningState = default(string), int? scaleUnits = default(int?), bool? disableCopyPaste = default(bool?), bool? enableFileCopy = default(bool?), bool? enableIpConnect = default(bool?), bool? enableShareableLink = default(bool?), bool? enableTunneling = default(bool?), bool? enableKerberos = default(bool?), string etag = default(string), Sku sku = default(Sku)) : base(id, name, type, location, tags) { IpConfigurations = ipConfigurations; DnsName = dnsName; + VirtualNetwork = virtualNetwork; + NetworkAcls = networkAcls; ProvisioningState = provisioningState; ScaleUnits = scaleUnits; DisableCopyPaste = disableCopyPaste; @@ -73,6 +79,7 @@ public BastionHost() EnableIpConnect = enableIpConnect; EnableShareableLink = enableShareableLink; EnableTunneling = enableTunneling; + EnableKerberos = enableKerberos; Etag = etag; Sku = sku; CustomInit(); @@ -96,6 +103,18 @@ public BastionHost() [JsonProperty(PropertyName = "properties.dnsName")] public string DnsName { get; set; } + /// + /// Gets or sets reference to an existing virtual network required for + /// Developer Bastion Host only. + /// + [JsonProperty(PropertyName = "properties.virtualNetwork")] + public SubResource VirtualNetwork { get; set; } + + /// + /// + [JsonProperty(PropertyName = "properties.networkAcls")] + public BastionHostPropertiesFormatNetworkAcls NetworkAcls { get; set; } + /// /// Gets the provisioning state of the bastion host resource. Possible /// values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -144,6 +163,13 @@ public BastionHost() [JsonProperty(PropertyName = "properties.enableTunneling")] public bool? EnableTunneling { get; set; } + /// + /// Gets or sets enable/Disable Kerberos feature of the Bastion Host + /// resource. + /// + [JsonProperty(PropertyName = "properties.enableKerberos")] + public bool? EnableKerberos { 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/BastionHostPropertiesFormatNetworkAcls.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BastionHostPropertiesFormatNetworkAcls.cs new file mode 100644 index 0000000000000..e3fcb92a0cda5 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/BastionHostPropertiesFormatNetworkAcls.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Network.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + public partial class BastionHostPropertiesFormatNetworkAcls + { + /// + /// Initializes a new instance of the + /// BastionHostPropertiesFormatNetworkAcls class. + /// + public BastionHostPropertiesFormatNetworkAcls() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// BastionHostPropertiesFormatNetworkAcls class. + /// + /// Sets the IP ACL rules for Developer Bastion + /// Host. + public BastionHostPropertiesFormatNetworkAcls(IList ipRules = default(IList)) + { + IpRules = ipRules; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets sets the IP ACL rules for Developer Bastion Host. + /// + [JsonProperty(PropertyName = "ipRules")] + public IList IpRules { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConfigurationGroup.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConfigurationGroup.cs index 5c19acbaf00c1..966ec0ae66f71 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConfigurationGroup.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConfigurationGroup.cs @@ -38,11 +38,14 @@ public ConfigurationGroup() /// The provisioning state of the scope /// assignment resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed' - public ConfigurationGroup(string id = default(string), string description = default(string), string provisioningState = default(string)) + /// Unique identifier for this + /// resource. + public ConfigurationGroup(string id = default(string), string description = default(string), string provisioningState = default(string), string resourceGuid = default(string)) { Id = id; Description = description; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; CustomInit(); } @@ -71,5 +74,11 @@ public ConfigurationGroup() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityConfiguration.cs index 6ba2598985312..f9b945c5a296c 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityConfiguration.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ConnectivityConfiguration.cs @@ -52,9 +52,11 @@ public ConnectivityConfiguration() /// 'Succeeded', 'Updating', 'Deleting', 'Failed' /// Flag if need to remove current /// existing peerings. Possible values include: 'False', 'True' + /// Unique identifier for this + /// resource. /// The system metadata related to this /// resource. - public ConnectivityConfiguration(string connectivityTopology, IList appliesToGroups, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), IList hubs = default(IList), string isGlobal = default(string), string provisioningState = default(string), string deleteExistingPeering = default(string), SystemData systemData = default(SystemData)) + public ConnectivityConfiguration(string connectivityTopology, IList appliesToGroups, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), IList hubs = default(IList), string isGlobal = default(string), string provisioningState = default(string), string deleteExistingPeering = default(string), string resourceGuid = default(string), SystemData systemData = default(SystemData)) : base(id, name, type, etag) { Description = description; @@ -64,6 +66,7 @@ public ConnectivityConfiguration() AppliesToGroups = appliesToGroups; ProvisioningState = provisioningState; DeleteExistingPeering = deleteExistingPeering; + ResourceGuid = resourceGuid; SystemData = systemData; CustomInit(); } @@ -120,6 +123,12 @@ public ConnectivityConfiguration() [JsonProperty(PropertyName = "properties.deleteExistingPeering")] public string DeleteExistingPeering { get; set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Gets the system metadata related to this resource. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/DefaultAdminRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/DefaultAdminRule.cs index 162c6068c4e37..d3743541ff9b2 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/DefaultAdminRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/DefaultAdminRule.cs @@ -67,7 +67,9 @@ public DefaultAdminRule() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' - public DefaultAdminRule(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), SystemData systemData = default(SystemData), string description = default(string), string flag = default(string), string protocol = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string access = default(string), int? priority = default(int?), string direction = default(string), string provisioningState = default(string)) + /// Unique identifier for this + /// resource. + public DefaultAdminRule(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), SystemData systemData = default(SystemData), string description = default(string), string flag = default(string), string protocol = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string access = default(string), int? priority = default(int?), string direction = default(string), string provisioningState = default(string), string resourceGuid = default(string)) : base(id, name, type, etag, systemData) { Description = description; @@ -81,6 +83,7 @@ public DefaultAdminRule() Priority = priority; Direction = direction; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; CustomInit(); } @@ -162,5 +165,11 @@ public DefaultAdminRule() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveConnectivityConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveConnectivityConfiguration.cs index 89cc632850d86..e1835086ee299 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveConnectivityConfiguration.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveConnectivityConfiguration.cs @@ -50,9 +50,11 @@ public EffectiveConnectivityConfiguration() /// 'Succeeded', 'Updating', 'Deleting', 'Failed' /// Flag if need to remove current /// existing peerings. Possible values include: 'False', 'True' + /// Unique identifier for this + /// resource. /// Effective configuration /// groups. - public EffectiveConnectivityConfiguration(string connectivityTopology, IList appliesToGroups, string id = default(string), string description = default(string), IList hubs = default(IList), string isGlobal = default(string), string provisioningState = default(string), string deleteExistingPeering = default(string), IList configurationGroups = default(IList)) + public EffectiveConnectivityConfiguration(string connectivityTopology, IList appliesToGroups, string id = default(string), string description = default(string), IList hubs = default(IList), string isGlobal = default(string), string provisioningState = default(string), string deleteExistingPeering = default(string), string resourceGuid = default(string), IList configurationGroups = default(IList)) { Id = id; Description = description; @@ -62,6 +64,7 @@ public EffectiveConnectivityConfiguration() AppliesToGroups = appliesToGroups; ProvisioningState = provisioningState; DeleteExistingPeering = deleteExistingPeering; + ResourceGuid = resourceGuid; ConfigurationGroups = configurationGroups; CustomInit(); } @@ -124,6 +127,12 @@ public EffectiveConnectivityConfiguration() [JsonProperty(PropertyName = "properties.deleteExistingPeering")] public string DeleteExistingPeering { get; set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Gets or sets effective configuration groups. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveDefaultSecurityAdminRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveDefaultSecurityAdminRule.cs index b3d8f511e9942..18aa8b04253db 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveDefaultSecurityAdminRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveDefaultSecurityAdminRule.cs @@ -70,7 +70,9 @@ public EffectiveDefaultSecurityAdminRule() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' - public EffectiveDefaultSecurityAdminRule(string id = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), string flag = default(string), string protocol = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string access = default(string), int? priority = default(int?), string direction = default(string), string provisioningState = default(string)) + /// Unique identifier for this + /// resource. + public EffectiveDefaultSecurityAdminRule(string id = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), string flag = default(string), string protocol = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string access = default(string), int? priority = default(int?), string direction = default(string), string provisioningState = default(string), string resourceGuid = default(string)) : base(id, configurationDescription, ruleCollectionDescription, ruleCollectionAppliesToGroups, ruleGroups) { Description = description; @@ -84,6 +86,7 @@ public EffectiveDefaultSecurityAdminRule() Priority = priority; Direction = direction; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; CustomInit(); } @@ -165,5 +168,11 @@ public EffectiveDefaultSecurityAdminRule() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRouteMapRoute.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRouteMapRoute.cs index 8b00f56e16abb..c9270c4802099 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRouteMapRoute.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRouteMapRoute.cs @@ -11,8 +11,6 @@ namespace Microsoft.Azure.Management.Network.Models { using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; using System.Linq; /// @@ -34,7 +32,7 @@ public EffectiveRouteMapRoute() /// The address prefix of the route. /// BGP communities of the route. /// The ASPath of this route. - public EffectiveRouteMapRoute(IList prefix = default(IList), string bgpCommunities = default(string), string asPath = default(string)) + public EffectiveRouteMapRoute(string prefix = default(string), string bgpCommunities = default(string), string asPath = default(string)) { Prefix = prefix; BgpCommunities = bgpCommunities; @@ -51,7 +49,7 @@ public EffectiveRouteMapRoute() /// Gets or sets the address prefix of the route. /// [JsonProperty(PropertyName = "prefix")] - public IList Prefix { get; set; } + public string Prefix { get; set; } /// /// Gets or sets BGP communities of the route. diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PeerRouteList.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRouteMapRouteList.cs similarity index 59% rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PeerRouteList.cs rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRouteMapRouteList.cs index 75053c903f079..de9b4ccd18a0c 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PeerRouteList.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveRouteMapRouteList.cs @@ -16,23 +16,24 @@ namespace Microsoft.Azure.Management.Network.Models using System.Linq; /// - /// List of virtual router peer routes. + /// EffectiveRouteMapRoute List. /// - public partial class PeerRouteList + public partial class EffectiveRouteMapRouteList { /// - /// Initializes a new instance of the PeerRouteList class. + /// Initializes a new instance of the EffectiveRouteMapRouteList class. /// - public PeerRouteList() + public EffectiveRouteMapRouteList() { CustomInit(); } /// - /// Initializes a new instance of the PeerRouteList class. + /// Initializes a new instance of the EffectiveRouteMapRouteList class. /// - /// List of peer routes. - public PeerRouteList(IList value = default(IList)) + /// The list of Effective RouteMap Routes + /// configured on the connection resource. + public EffectiveRouteMapRouteList(IList value = default(IList)) { Value = value; CustomInit(); @@ -44,10 +45,11 @@ public PeerRouteList() partial void CustomInit(); /// - /// Gets or sets list of peer routes. + /// Gets or sets the list of Effective RouteMap Routes configured on + /// the connection resource. /// [JsonProperty(PropertyName = "value")] - public IList Value { get; set; } + public IList Value { get; set; } } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveSecurityAdminRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveSecurityAdminRule.cs index 28034046bdd07..716d7e11c6302 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveSecurityAdminRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/EffectiveSecurityAdminRule.cs @@ -67,7 +67,9 @@ public EffectiveSecurityAdminRule() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' - public EffectiveSecurityAdminRule(string protocol, string access, int priority, string direction, string id = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string provisioningState = default(string)) + /// Unique identifier for this + /// resource. + public EffectiveSecurityAdminRule(string protocol, string access, int priority, string direction, string id = default(string), string configurationDescription = default(string), string ruleCollectionDescription = default(string), IList ruleCollectionAppliesToGroups = default(IList), IList ruleGroups = default(IList), string description = default(string), IList sources = default(IList), IList destinations = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string provisioningState = default(string), string resourceGuid = default(string)) : base(id, configurationDescription, ruleCollectionDescription, ruleCollectionAppliesToGroups, ruleGroups) { Description = description; @@ -80,6 +82,7 @@ public EffectiveSecurityAdminRule() Priority = priority; Direction = direction; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; CustomInit(); } @@ -156,6 +159,12 @@ public EffectiveSecurityAdminRule() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPacketCaptureParameters.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPacketCaptureParameters.cs new file mode 100644 index 0000000000000..9110a7769152b --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPacketCaptureParameters.cs @@ -0,0 +1,140 @@ +// +// 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; + + /// + /// Azure Firewall Packet Capture Parameters resource. + /// + [Rest.Serialization.JsonTransformation] + public partial class FirewallPacketCaptureParameters : SubResource + { + /// + /// Initializes a new instance of the FirewallPacketCaptureParameters + /// class. + /// + public FirewallPacketCaptureParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the FirewallPacketCaptureParameters + /// class. + /// + /// Resource ID. + /// Duration of packet capture in + /// seconds. + /// Number of packets to be + /// captured. + /// Upload capture location + /// Name of file to be uploaded to + /// sasURL + /// The protocol of packets to capture. Possible + /// values include: 'TCP', 'UDP', 'Any', 'ICMP' + /// The tcp-flag type to be captured. Used with + /// protocol TCP + /// Rules to filter packet captures. + public FirewallPacketCaptureParameters(string id = default(string), int? durationInSeconds = default(int?), int? numberOfPacketsToCapture = default(int?), string sasUrl = default(string), string fileName = default(string), string protocol = default(string), IList flags = default(IList), IList filters = default(IList)) + : base(id) + { + DurationInSeconds = durationInSeconds; + NumberOfPacketsToCapture = numberOfPacketsToCapture; + SasUrl = sasUrl; + FileName = fileName; + Protocol = protocol; + Flags = flags; + Filters = filters; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets duration of packet capture in seconds. + /// + [JsonProperty(PropertyName = "properties.durationInSeconds")] + public int? DurationInSeconds { get; set; } + + /// + /// Gets or sets number of packets to be captured. + /// + [JsonProperty(PropertyName = "properties.numberOfPacketsToCapture")] + public int? NumberOfPacketsToCapture { get; set; } + + /// + /// Gets or sets upload capture location + /// + [JsonProperty(PropertyName = "properties.sasUrl")] + public string SasUrl { get; set; } + + /// + /// Gets or sets name of file to be uploaded to sasURL + /// + [JsonProperty(PropertyName = "properties.fileName")] + public string FileName { get; set; } + + /// + /// Gets or sets the protocol of packets to capture. Possible values + /// include: 'TCP', 'UDP', 'Any', 'ICMP' + /// + [JsonProperty(PropertyName = "properties.protocol")] + public string Protocol { get; set; } + + /// + /// Gets or sets the tcp-flag type to be captured. Used with protocol + /// TCP + /// + [JsonProperty(PropertyName = "properties.flags")] + public IList Flags { get; set; } + + /// + /// Gets or sets rules to filter packet captures. + /// + [JsonProperty(PropertyName = "properties.filters")] + public IList Filters { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (DurationInSeconds > 1800) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "DurationInSeconds", 1800); + } + if (DurationInSeconds < 30) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "DurationInSeconds", 30); + } + if (NumberOfPacketsToCapture > 90000) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "NumberOfPacketsToCapture", 90000); + } + if (NumberOfPacketsToCapture < 100) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "NumberOfPacketsToCapture", 100); + } + } + } +} 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 e54798f09b13f..4b2ff130fd447 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 @@ -39,6 +39,8 @@ public FirewallPolicy() /// Resource type. /// Resource location. /// Resource tags. + /// A read-only string that represents the size of + /// the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB) /// List of references to /// FirewallPolicyRuleCollectionGroups. /// The provisioning state of the @@ -70,9 +72,10 @@ public FirewallPolicy() /// A unique read-only string that changes whenever /// the resource is updated. /// 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), FirewallPolicyInsights insights = default(FirewallPolicyInsights), FirewallPolicySNAT snat = default(FirewallPolicySNAT), FirewallPolicySQL sql = default(FirewallPolicySQL), DnsSettings dnsSettings = default(DnsSettings), ExplicitProxy explicitProxy = default(ExplicitProxy), FirewallPolicyIntrusionDetection intrusionDetection = default(FirewallPolicyIntrusionDetection), FirewallPolicyTransportSecurity transportSecurity = default(FirewallPolicyTransportSecurity), FirewallPolicySku sku = default(FirewallPolicySku), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity)) + public FirewallPolicy(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string size = default(string), 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), FirewallPolicyInsights insights = default(FirewallPolicyInsights), FirewallPolicySNAT snat = default(FirewallPolicySNAT), FirewallPolicySQL sql = default(FirewallPolicySQL), DnsSettings dnsSettings = default(DnsSettings), ExplicitProxy explicitProxy = default(ExplicitProxy), FirewallPolicyIntrusionDetection intrusionDetection = default(FirewallPolicyIntrusionDetection), FirewallPolicyTransportSecurity transportSecurity = default(FirewallPolicyTransportSecurity), FirewallPolicySku sku = default(FirewallPolicySku), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity)) : base(id, name, type, location, tags) { + Size = size; RuleCollectionGroups = ruleCollectionGroups; ProvisioningState = provisioningState; BasePolicy = basePolicy; @@ -98,6 +101,13 @@ public FirewallPolicy() /// partial void CustomInit(); + /// + /// Gets a read-only string that represents the size of the + /// FirewallPolicyPropertiesFormat in MB. (ex 0.5MB) + /// + [JsonProperty(PropertyName = "properties.size")] + public string Size { get; private set; } + /// /// Gets list of references to FirewallPolicyRuleCollectionGroups. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyHttpHeaderToInsert.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyHttpHeaderToInsert.cs new file mode 100644 index 0000000000000..457ba0b1524b3 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyHttpHeaderToInsert.cs @@ -0,0 +1,61 @@ +// +// 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; + + /// + /// name and value of HTTP/S header to insert + /// + public partial class FirewallPolicyHttpHeaderToInsert + { + /// + /// Initializes a new instance of the FirewallPolicyHttpHeaderToInsert + /// class. + /// + public FirewallPolicyHttpHeaderToInsert() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the FirewallPolicyHttpHeaderToInsert + /// class. + /// + /// Contains the name of the header + /// Contains the value of the header + public FirewallPolicyHttpHeaderToInsert(string headerName = default(string), string headerValue = default(string)) + { + HeaderName = headerName; + HeaderValue = headerValue; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets contains the name of the header + /// + [JsonProperty(PropertyName = "headerName")] + public string HeaderName { get; set; } + + /// + /// Gets or sets contains the value of the header + /// + [JsonProperty(PropertyName = "headerValue")] + public string HeaderValue { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs index b417d38a1e8c3..1c9fbe309f075 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleCollectionGroup.cs @@ -37,6 +37,9 @@ public FirewallPolicyRuleCollectionGroup() /// class. /// /// Resource ID. + /// A read-only string that represents the size of + /// the FirewallPolicyRuleCollectionGroupProperties in MB. (ex + /// 1.2MB) /// Priority of the Firewall Policy Rule /// Collection Group resource. /// Group of Firewall Policy rule @@ -50,9 +53,10 @@ public FirewallPolicyRuleCollectionGroup() /// A unique read-only string that changes whenever /// the resource is updated. /// Rule Group type. - public FirewallPolicyRuleCollectionGroup(string id = default(string), int? priority = default(int?), IList ruleCollections = default(IList), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string)) + public FirewallPolicyRuleCollectionGroup(string id = default(string), string size = default(string), int? priority = default(int?), IList ruleCollections = default(IList), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string)) : base(id) { + Size = size; Priority = priority; RuleCollections = ruleCollections; ProvisioningState = provisioningState; @@ -67,6 +71,13 @@ public FirewallPolicyRuleCollectionGroup() /// partial void CustomInit(); + /// + /// Gets a read-only string that represents the size of the + /// FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB) + /// + [JsonProperty(PropertyName = "properties.size")] + public string Size { get; private set; } + /// /// Gets or sets priority of the Firewall Policy Rule Collection Group /// resource. 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 100% 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 diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/GroupByUserSession.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/GroupByUserSession.cs new file mode 100644 index 0000000000000..9d8db6b5436ad --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/GroupByUserSession.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.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Define user session identifier group by clauses. + /// + public partial class GroupByUserSession + { + /// + /// Initializes a new instance of the GroupByUserSession class. + /// + public GroupByUserSession() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GroupByUserSession class. + /// + /// List of group by clause + /// variables. + public GroupByUserSession(IList groupByVariables) + { + GroupByVariables = groupByVariables; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets list of group by clause variables. + /// + [JsonProperty(PropertyName = "groupByVariables")] + public IList GroupByVariables { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (GroupByVariables == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "GroupByVariables"); + } + if (GroupByVariables != null) + { + foreach (var element in GroupByVariables) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/GroupByVariable.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/GroupByVariable.cs new file mode 100644 index 0000000000000..5493e4872f1d4 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/GroupByVariable.cs @@ -0,0 +1,67 @@ +// +// 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; + + /// + /// Define user session group by clause variables. + /// + public partial class GroupByVariable + { + /// + /// Initializes a new instance of the GroupByVariable class. + /// + public GroupByVariable() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GroupByVariable class. + /// + /// User Session clause variable. Possible + /// values include: 'ClientAddr', 'GeoLocation', 'None' + public GroupByVariable(string variableName) + { + VariableName = variableName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets user Session clause variable. Possible values include: + /// 'ClientAddr', 'GeoLocation', 'None' + /// + [JsonProperty(PropertyName = "variableName")] + public string VariableName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (VariableName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "VariableName"); + } + } + } +} 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/IPRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPRule.cs new file mode 100644 index 0000000000000..ecffa1329407a --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/IPRule.cs @@ -0,0 +1,50 @@ +// +// 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; + + public partial class IPRule + { + /// + /// Initializes a new instance of the IPRule class. + /// + public IPRule() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the IPRule class. + /// + /// Specifies the IP or IP range in CIDR + /// format. Only IPV4 address is allowed. + public IPRule(string addressPrefix = default(string)) + { + AddressPrefix = addressPrefix; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets specifies the IP or IP range in CIDR format. Only IPV4 + /// address is allowed. + /// + [JsonProperty(PropertyName = "addressPrefix")] + public string AddressPrefix { get; set; } + + } +} 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 09b7d56c74920..de5f931c2401c 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 @@ -50,7 +50,7 @@ public LoadBalancerBackendAddress() /// set can override health probe so that Load Balancer will always /// forward new connections to backend, or deny new connections and /// reset existing connections. Possible values include: 'None', 'Up', - /// 'Down', 'Drain' + /// 'Down' /// Name of the backend address. public LoadBalancerBackendAddress(SubResource virtualNetwork = default(SubResource), SubResource subnet = default(SubResource), string ipAddress = default(string), SubResource networkInterfaceIPConfiguration = default(SubResource), SubResource loadBalancerFrontendIPConfiguration = default(SubResource), IList inboundNatRulesPortMapping = default(IList), string adminState = default(string), string name = default(string)) { @@ -112,7 +112,7 @@ public LoadBalancerBackendAddress() /// Gets or sets a list of administrative states which once set can /// override health probe so that Load Balancer will always forward new /// connections to backend, or deny new connections and reset existing - /// connections. Possible values include: 'None', 'Up', 'Down', 'Drain' + /// connections. Possible values include: 'None', 'Up', 'Down' /// [JsonProperty(PropertyName = "properties.adminState")] public string AdminState { get; set; } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddressAdminState.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddressAdminState.cs index 0cbe9f0104f06..9a18bb62f86b5 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddressAdminState.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/LoadBalancerBackendAddressAdminState.cs @@ -19,6 +19,5 @@ public static class LoadBalancerBackendAddressAdminState public const string None = "None"; public const string Up = "Up"; public const string Down = "Down"; - public const string Drain = "Drain"; } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/MigrateLoadBalancerToIpBasedRequest.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/MigrateLoadBalancerToIpBasedRequest.cs new file mode 100644 index 0000000000000..05caa02aa050e --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/MigrateLoadBalancerToIpBasedRequest.cs @@ -0,0 +1,57 @@ +// +// 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 request for a migrateToIpBased API. + /// + public partial class MigrateLoadBalancerToIpBasedRequest + { + /// + /// Initializes a new instance of the + /// MigrateLoadBalancerToIpBasedRequest class. + /// + public MigrateLoadBalancerToIpBasedRequest() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// MigrateLoadBalancerToIpBasedRequest class. + /// + /// A list of pool names that should be migrated + /// from Nic based to IP based pool + public MigrateLoadBalancerToIpBasedRequest(IList pools = default(IList)) + { + Pools = pools; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a list of pool names that should be migrated from Nic + /// based to IP based pool + /// + [JsonProperty(PropertyName = "pools")] + public IList Pools { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/MigratedPools.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/MigratedPools.cs new file mode 100644 index 0000000000000..89d7fcc8ab087 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/MigratedPools.cs @@ -0,0 +1,55 @@ +// +// 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 response for a migrateToIpBased API. + /// + public partial class MigratedPools + { + /// + /// Initializes a new instance of the MigratedPools class. + /// + public MigratedPools() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MigratedPools class. + /// + /// A list of pools migrated from + /// Nic based to IP based pool + public MigratedPools(IList migratedPoolsProperty = default(IList)) + { + MigratedPoolsProperty = migratedPoolsProperty; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a list of pools migrated from Nic based to IP based + /// pool + /// + [JsonProperty(PropertyName = "migratedPools")] + public IList MigratedPoolsProperty { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkGroup.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkGroup.cs index 70d7bd4bcc91b..25a7f4d9213c4 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkGroup.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkGroup.cs @@ -42,13 +42,16 @@ public NetworkGroup() /// The provisioning state of the scope /// assignment resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed' + /// Unique identifier for this + /// resource. /// The system metadata related to this /// resource. - public NetworkGroup(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), string provisioningState = default(string), SystemData systemData = default(SystemData)) + public NetworkGroup(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), string provisioningState = default(string), string resourceGuid = default(string), SystemData systemData = default(SystemData)) : base(id, name, type, etag) { Description = description; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; SystemData = systemData; CustomInit(); } @@ -72,6 +75,12 @@ public NetworkGroup() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Gets the system metadata related to this resource. /// 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 fd50b9f8c1612..70ff44fc1a1da 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 @@ -86,10 +86,13 @@ public NetworkInterface() /// 'Abort', 'Committed' /// Auxiliary mode of Network Interface /// resource. Possible values include: 'None', 'MaxConnections', - /// 'Floating' + /// 'Floating', 'AcceleratedConnections' + /// Auxiliary sku of Network Interface + /// resource. Possible values include: 'None', 'A1', 'A2', 'A4', + /// 'A8' /// 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), 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? vnetEncryptionSupported = default(bool?), bool? enableAcceleratedNetworking = default(bool?), bool? disableTcpStateTracking = default(bool?), bool? enableIPForwarding = default(bool?), IList hostedWorkloads = default(IList), SubResource dscpConfiguration = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), string workloadType = default(string), string nicType = default(string), PrivateLinkService privateLinkService = default(PrivateLinkService), string migrationPhase = default(string), string auxiliaryMode = 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? vnetEncryptionSupported = default(bool?), bool? enableAcceleratedNetworking = default(bool?), bool? disableTcpStateTracking = default(bool?), bool? enableIPForwarding = default(bool?), IList hostedWorkloads = default(IList), SubResource dscpConfiguration = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), string workloadType = default(string), string nicType = default(string), PrivateLinkService privateLinkService = default(PrivateLinkService), string migrationPhase = default(string), string auxiliaryMode = default(string), string auxiliarySku = default(string), string etag = default(string)) : base(id, name, type, location, tags) { ExtendedLocation = extendedLocation; @@ -114,6 +117,7 @@ public NetworkInterface() PrivateLinkService = privateLinkService; MigrationPhase = migrationPhase; AuxiliaryMode = auxiliaryMode; + AuxiliarySku = auxiliarySku; Etag = etag; CustomInit(); } @@ -264,11 +268,19 @@ public NetworkInterface() /// /// Gets or sets auxiliary mode of Network Interface resource. Possible - /// values include: 'None', 'MaxConnections', 'Floating' + /// values include: 'None', 'MaxConnections', 'Floating', + /// 'AcceleratedConnections' /// [JsonProperty(PropertyName = "properties.auxiliaryMode")] public string AuxiliaryMode { get; set; } + /// + /// Gets or sets auxiliary sku of Network Interface resource. Possible + /// values include: 'None', 'A1', 'A2', 'A4', 'A8' + /// + [JsonProperty(PropertyName = "properties.auxiliarySku")] + public string AuxiliarySku { 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/NetworkInterfaceAuxiliaryMode.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceAuxiliaryMode.cs index 488be68a6ccc0..2da5df6ff7eb8 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceAuxiliaryMode.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceAuxiliaryMode.cs @@ -19,5 +19,6 @@ public static class NetworkInterfaceAuxiliaryMode public const string None = "None"; public const string MaxConnections = "MaxConnections"; public const string Floating = "Floating"; + public const string AcceleratedConnections = "AcceleratedConnections"; } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceAuxiliarySku.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceAuxiliarySku.cs new file mode 100644 index 0000000000000..8758a6534c780 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkInterfaceAuxiliarySku.cs @@ -0,0 +1,25 @@ +// +// 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 NetworkInterfaceAuxiliarySku. + /// + public static class NetworkInterfaceAuxiliarySku + { + public const string None = "None"; + public const string A1 = "A1"; + public const string A2 = "A2"; + public const string A4 = "A4"; + public const string A8 = "A8"; + } +} 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 100% 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 diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkManager.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkManager.cs index aa6b731e34410..dd79f65c633bb 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkManager.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkManager.cs @@ -47,17 +47,20 @@ public NetworkManager() /// The provisioning state of the /// network manager resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed' + /// Unique identifier for this + /// resource. /// A unique read-only string that changes whenever /// the resource is updated. /// The system metadata related to this /// resource. - public NetworkManager(NetworkManagerPropertiesNetworkManagerScopes networkManagerScopes, IList networkManagerScopeAccesses, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string description = default(string), string provisioningState = default(string), string etag = default(string), SystemData systemData = default(SystemData)) + public NetworkManager(NetworkManagerPropertiesNetworkManagerScopes networkManagerScopes, IList networkManagerScopeAccesses, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string description = default(string), string provisioningState = default(string), string resourceGuid = default(string), string etag = default(string), SystemData systemData = default(SystemData)) : base(id, name, type, location, tags) { Description = description; NetworkManagerScopes = networkManagerScopes; NetworkManagerScopeAccesses = networkManagerScopeAccesses; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; Etag = etag; SystemData = systemData; CustomInit(); @@ -94,6 +97,12 @@ public NetworkManager() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Gets a unique read-only string that changes whenever the resource /// is updated. diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliance.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliance.cs index 14758a96a31c7..34a0a10c91985 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,12 @@ public NetworkVirtualAppliance() /// Public key for SSH login. /// List of Virtual Appliance /// Network Interfaces. + /// Details required for Additional + /// Network Interface. /// List of references to /// VirtualApplianceSite. + /// List of references to + /// VirtualApplianceConnections. /// List of references to /// InboundSecurityRules. /// The provisioning state of the @@ -73,7 +77,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?), string sshPublicKey = default(string), IList virtualApplianceNics = default(IList), IList virtualApplianceSites = default(IList), IList inboundSecurityRules = default(IList), string provisioningState = default(string), string deploymentType = default(string), DelegationProperties delegation = default(DelegationProperties), PartnerManagedResourceProperties partnerManagedResource = default(PartnerManagedResourceProperties), 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?), string sshPublicKey = default(string), IList virtualApplianceNics = default(IList), IList additionalNics = default(IList), IList virtualApplianceSites = default(IList), IList virtualApplianceConnections = default(IList), IList inboundSecurityRules = default(IList), string provisioningState = default(string), string deploymentType = default(string), DelegationProperties delegation = default(DelegationProperties), PartnerManagedResourceProperties partnerManagedResource = default(PartnerManagedResourceProperties), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string etag = default(string)) : base(id, name, type, location, tags) { NvaSku = nvaSku; @@ -85,7 +89,9 @@ public NetworkVirtualAppliance() VirtualApplianceAsn = virtualApplianceAsn; SshPublicKey = sshPublicKey; VirtualApplianceNics = virtualApplianceNics; + AdditionalNics = additionalNics; VirtualApplianceSites = virtualApplianceSites; + VirtualApplianceConnections = virtualApplianceConnections; InboundSecurityRules = inboundSecurityRules; ProvisioningState = provisioningState; DeploymentType = deploymentType; @@ -157,12 +163,24 @@ public NetworkVirtualAppliance() [JsonProperty(PropertyName = "properties.virtualApplianceNics")] public IList VirtualApplianceNics { get; private set; } + /// + /// Gets or sets details required for Additional Network Interface. + /// + [JsonProperty(PropertyName = "properties.additionalNics")] + public IList AdditionalNics { get; set; } + /// /// Gets list of references to VirtualApplianceSite. /// [JsonProperty(PropertyName = "properties.virtualApplianceSites")] public IList VirtualApplianceSites { get; private set; } + /// + /// Gets list of references to VirtualApplianceConnections. + /// + [JsonProperty(PropertyName = "properties.virtualApplianceConnections")] + public IList VirtualApplianceConnections { get; private set; } + /// /// Gets list of references to InboundSecurityRules. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualApplianceConnection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualApplianceConnection.cs new file mode 100644 index 0000000000000..21fe85159acfa --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualApplianceConnection.cs @@ -0,0 +1,152 @@ +// +// 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; + + /// + /// NetworkVirtualApplianceConnection resource. + /// + [Rest.Serialization.JsonTransformation] + public partial class NetworkVirtualApplianceConnection : SubResource + { + /// + /// Initializes a new instance of the NetworkVirtualApplianceConnection + /// class. + /// + public NetworkVirtualApplianceConnection() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkVirtualApplianceConnection + /// class. + /// + /// Resource ID. + /// The + /// name of the resource. + /// The provisioning state of the + /// NetworkVirtualApplianceConnection resource. Possible values + /// include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + /// Network Virtual Appliance ASN. + /// Unique identifier for the + /// connection. + /// List of bgpPeerAddresses for the NVA + /// instances + /// Enable internet + /// security. + /// The Routing Configuration + /// indicating the associated and propagated route tables on this + /// connection. + /// The name of the resource. + public NetworkVirtualApplianceConnection(string id = default(string), string networkVirtualApplianceConnectionPropertiesName = default(string), string provisioningState = default(string), long? asn = default(long?), long? tunnelIdentifier = default(long?), IList bgpPeerAddress = default(IList), bool? enableInternetSecurity = default(bool?), RoutingConfigurationNfv routingConfiguration = default(RoutingConfigurationNfv), string name = default(string)) + : base(id) + { + NetworkVirtualApplianceConnectionPropertiesName = networkVirtualApplianceConnectionPropertiesName; + ProvisioningState = provisioningState; + Asn = asn; + TunnelIdentifier = tunnelIdentifier; + BgpPeerAddress = bgpPeerAddress; + EnableInternetSecurity = enableInternetSecurity; + RoutingConfiguration = routingConfiguration; + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the resource. + /// + [JsonProperty(PropertyName = "properties.name")] + public string NetworkVirtualApplianceConnectionPropertiesName { get; set; } + + /// + /// Gets the provisioning state of the + /// NetworkVirtualApplianceConnection resource. Possible values + /// include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Gets or sets network Virtual Appliance ASN. + /// + [JsonProperty(PropertyName = "properties.asn")] + public long? Asn { get; set; } + + /// + /// Gets or sets unique identifier for the connection. + /// + [JsonProperty(PropertyName = "properties.tunnelIdentifier")] + public long? TunnelIdentifier { get; set; } + + /// + /// Gets or sets list of bgpPeerAddresses for the NVA instances + /// + [JsonProperty(PropertyName = "properties.bgpPeerAddress")] + public IList BgpPeerAddress { get; set; } + + /// + /// Gets or sets enable internet security. + /// + [JsonProperty(PropertyName = "properties.enableInternetSecurity")] + public bool? EnableInternetSecurity { get; set; } + + /// + /// Gets or sets the Routing Configuration indicating the associated + /// and propagated route tables on this connection. + /// + [JsonProperty(PropertyName = "properties.routingConfiguration")] + public RoutingConfigurationNfv RoutingConfiguration { get; set; } + + /// + /// Gets or sets the name of the resource. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Asn > 4294967295) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "Asn", 4294967295); + } + if (Asn < 0) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "Asn", 0); + } + if (TunnelIdentifier > 4294967295) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "TunnelIdentifier", 4294967295); + } + if (TunnelIdentifier < 0) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "TunnelIdentifier", 0); + } + } + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualApplianceConnectionsDeleteHeaders.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualApplianceConnectionsDeleteHeaders.cs new file mode 100644 index 0000000000000..111134a7be409 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualApplianceConnectionsDeleteHeaders.cs @@ -0,0 +1,55 @@ +// +// 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; + + /// + /// Defines headers for Delete operation. + /// + public partial class NetworkVirtualApplianceConnectionsDeleteHeaders + { + /// + /// Initializes a new instance of the + /// NetworkVirtualApplianceConnectionsDeleteHeaders class. + /// + public NetworkVirtualApplianceConnectionsDeleteHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// NetworkVirtualApplianceConnectionsDeleteHeaders class. + /// + /// The URL of the resource used to check the + /// status of the asynchronous operation. + public NetworkVirtualApplianceConnectionsDeleteHeaders(string location = default(string)) + { + Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the URL of the resource used to check the status of + /// the asynchronous operation. + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliancesCreateOrUpdateHeaders.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliancesCreateOrUpdateHeaders.cs new file mode 100644 index 0000000000000..93349a5c4d022 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliancesCreateOrUpdateHeaders.cs @@ -0,0 +1,55 @@ +// +// 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; + + /// + /// Defines headers for CreateOrUpdate operation. + /// + public partial class NetworkVirtualAppliancesCreateOrUpdateHeaders + { + /// + /// Initializes a new instance of the + /// NetworkVirtualAppliancesCreateOrUpdateHeaders class. + /// + public NetworkVirtualAppliancesCreateOrUpdateHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// NetworkVirtualAppliancesCreateOrUpdateHeaders class. + /// + /// The URL of the resource used to check the + /// status of the asynchronous operation. + public NetworkVirtualAppliancesCreateOrUpdateHeaders(string location = default(string)) + { + Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the URL of the resource used to check the status of + /// the asynchronous operation. + /// + [JsonProperty(PropertyName = "Location")] + public string Location { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliancesDeleteHeaders.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliancesDeleteHeaders.cs new file mode 100644 index 0000000000000..964afbc214714 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/NetworkVirtualAppliancesDeleteHeaders.cs @@ -0,0 +1,55 @@ +// +// 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; + + /// + /// Defines headers for Delete operation. + /// + public partial class NetworkVirtualAppliancesDeleteHeaders + { + /// + /// Initializes a new instance of the + /// NetworkVirtualAppliancesDeleteHeaders class. + /// + public NetworkVirtualAppliancesDeleteHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// NetworkVirtualAppliancesDeleteHeaders class. + /// + /// The URL of the resource used to check the + /// status of the asynchronous operation. + public NetworkVirtualAppliancesDeleteHeaders(string location = default(string)) + { + Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the URL of the resource used to check the status of + /// the asynchronous operation. + /// + [JsonProperty(PropertyName = "Location")] + public string Location { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs index 0742d117b3f86..d2d8133ae916a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettings.cs @@ -36,8 +36,14 @@ public PolicySettings() /// 'Prevention', 'Detection' /// Whether to allow WAF to check /// request Body. + /// Max inspection limit in + /// KB for request body inspection for WAF. + /// Whether allow WAF to enforce + /// request body limits. /// Maximum request body size in /// Kb for WAF. + /// Whether allow WAF to enforce + /// file upload limits. /// Maximum file upload size in Mb /// for WAF. /// If the action type is @@ -45,15 +51,20 @@ public PolicySettings() /// If the action type is block, /// customer can override the response body. The body must be specified /// in base64 encoding. - public PolicySettings(string state = default(string), string mode = default(string), bool? requestBodyCheck = default(bool?), int? maxRequestBodySizeInKb = default(int?), int? fileUploadLimitInMb = default(int?), int? customBlockResponseStatusCode = default(int?), string customBlockResponseBody = default(string)) + /// To scrub sensitive log fields + public PolicySettings(string state = default(string), string mode = default(string), bool? requestBodyCheck = default(bool?), int? requestBodyInspectLimitInKB = default(int?), bool? requestBodyEnforcement = default(bool?), int? maxRequestBodySizeInKb = default(int?), bool? fileUploadEnforcement = default(bool?), int? fileUploadLimitInMb = default(int?), int? customBlockResponseStatusCode = default(int?), string customBlockResponseBody = default(string), PolicySettingsLogScrubbing logScrubbing = default(PolicySettingsLogScrubbing)) { State = state; Mode = mode; RequestBodyCheck = requestBodyCheck; + RequestBodyInspectLimitInKB = requestBodyInspectLimitInKB; + RequestBodyEnforcement = requestBodyEnforcement; MaxRequestBodySizeInKb = maxRequestBodySizeInKb; + FileUploadEnforcement = fileUploadEnforcement; FileUploadLimitInMb = fileUploadLimitInMb; CustomBlockResponseStatusCode = customBlockResponseStatusCode; CustomBlockResponseBody = customBlockResponseBody; + LogScrubbing = logScrubbing; CustomInit(); } @@ -82,12 +93,31 @@ public PolicySettings() [JsonProperty(PropertyName = "requestBodyCheck")] public bool? RequestBodyCheck { get; set; } + /// + /// Gets or sets max inspection limit in KB for request body inspection + /// for WAF. + /// + [JsonProperty(PropertyName = "requestBodyInspectLimitInKB")] + public int? RequestBodyInspectLimitInKB { get; set; } + + /// + /// Gets or sets whether allow WAF to enforce request body limits. + /// + [JsonProperty(PropertyName = "requestBodyEnforcement")] + public bool? RequestBodyEnforcement { get; set; } + /// /// Gets or sets maximum request body size in Kb for WAF. /// [JsonProperty(PropertyName = "maxRequestBodySizeInKb")] public int? MaxRequestBodySizeInKb { get; set; } + /// + /// Gets or sets whether allow WAF to enforce file upload limits. + /// + [JsonProperty(PropertyName = "fileUploadEnforcement")] + public bool? FileUploadEnforcement { get; set; } + /// /// Gets or sets maximum file upload size in Mb for WAF. /// @@ -108,6 +138,12 @@ public PolicySettings() [JsonProperty(PropertyName = "customBlockResponseBody")] public string CustomBlockResponseBody { get; set; } + /// + /// Gets or sets to scrub sensitive log fields + /// + [JsonProperty(PropertyName = "logScrubbing")] + public PolicySettingsLogScrubbing LogScrubbing { get; set; } + /// /// Validate the object. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettingsLogScrubbing.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettingsLogScrubbing.cs new file mode 100644 index 0000000000000..9397d46bd86e1 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PolicySettingsLogScrubbing.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; + + /// + /// To scrub sensitive log fields + /// + public partial class PolicySettingsLogScrubbing + { + /// + /// Initializes a new instance of the PolicySettingsLogScrubbing class. + /// + public PolicySettingsLogScrubbing() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PolicySettingsLogScrubbing class. + /// + /// State of the log scrubbing config. Default + /// value is Enabled. Possible values include: 'Disabled', + /// 'Enabled' + /// The rules that are applied to the logs + /// for scrubbing. + public PolicySettingsLogScrubbing(string state = default(string), IList scrubbingRules = default(IList)) + { + State = state; + ScrubbingRules = scrubbingRules; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets state of the log scrubbing config. Default value is + /// Enabled. Possible values include: 'Disabled', 'Enabled' + /// + [JsonProperty(PropertyName = "state")] + public string State { get; set; } + + /// + /// Gets or sets the rules that are applied to the logs for scrubbing. + /// + [JsonProperty(PropertyName = "scrubbingRules")] + public IList ScrubbingRules { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PrivateEndpointConnection.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PrivateEndpointConnection.cs index 575e64c9ed235..686913ec67125 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PrivateEndpointConnection.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PrivateEndpointConnection.cs @@ -42,19 +42,22 @@ public PrivateEndpointConnection() /// private endpoint connection resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed' /// The consumer link id. + /// The location of the private + /// endpoint. /// The name of the resource that is unique within a /// resource group. This name can be used to access the /// resource. /// The resource type. /// A unique read-only string that changes whenever /// the resource is updated. - public PrivateEndpointConnection(string id = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string), string linkIdentifier = default(string), string name = default(string), string type = default(string), string etag = default(string)) + public PrivateEndpointConnection(string id = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string), string linkIdentifier = default(string), string privateEndpointLocation = default(string), string name = default(string), string type = default(string), string etag = default(string)) : base(id) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; ProvisioningState = provisioningState; LinkIdentifier = linkIdentifier; + PrivateEndpointLocation = privateEndpointLocation; Name = name; Type = type; Etag = etag; @@ -93,6 +96,12 @@ public PrivateEndpointConnection() [JsonProperty(PropertyName = "properties.linkIdentifier")] public string LinkIdentifier { get; private set; } + /// + /// Gets the location of the private endpoint. + /// + [JsonProperty(PropertyName = "properties.privateEndpointLocation")] + public string PrivateEndpointLocation { 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. diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PropagatedRouteTableNfv.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PropagatedRouteTableNfv.cs new file mode 100644 index 0000000000000..9c5c1a36f4213 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PropagatedRouteTableNfv.cs @@ -0,0 +1,62 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Network.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Nfv version of the list of RouteTables to advertise the routes to. + /// + public partial class PropagatedRouteTableNfv + { + /// + /// Initializes a new instance of the PropagatedRouteTableNfv class. + /// + public PropagatedRouteTableNfv() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PropagatedRouteTableNfv class. + /// + /// The list of labels. + /// The list of resource ids of all the + /// RouteTables. + public PropagatedRouteTableNfv(IList labels = default(IList), IList ids = default(IList)) + { + Labels = labels; + Ids = ids; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the list of labels. + /// + [JsonProperty(PropertyName = "labels")] + public IList Labels { get; set; } + + /// + /// Gets or sets the list of resource ids of all the RouteTables. + /// + [JsonProperty(PropertyName = "ids")] + public IList Ids { get; 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 100% 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 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 74% 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 index bc4d47934f459..7e04861df54f0 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddressDnsSettings.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIPAddressDnsSettings.cs @@ -35,6 +35,12 @@ public PublicIPAddressDnsSettings() /// public IP address. If a domain name label is specified, an A DNS /// record is created for the public IP in the Microsoft Azure DNS /// system. + /// The domain name label scope. If + /// a domain name label and a domain name label scope are specified, an + /// A DNS record is created for the public IP in the Microsoft Azure + /// DNS system with a hashed value includes in FQDN. Possible values + /// include: 'TenantReuse', 'SubscriptionReuse', 'ResourceGroupReuse', + /// 'NoReuse' /// The Fully Qualified Domain Name of the A DNS /// record associated with the public IP. This is the concatenation of /// the domainNameLabel and the regionalized DNS zone. @@ -43,9 +49,10 @@ public PublicIPAddressDnsSettings() /// the reverseFqdn is specified, then a PTR DNS record is created /// pointing from the IP address in the in-addr.arpa domain to the /// reverse FQDN. - public PublicIPAddressDnsSettings(string domainNameLabel = default(string), string fqdn = default(string), string reverseFqdn = default(string)) + public PublicIPAddressDnsSettings(string domainNameLabel = default(string), PublicIpAddressDnsSettingsDomainNameLabelScope? domainNameLabelScope = default(PublicIpAddressDnsSettingsDomainNameLabelScope?), string fqdn = default(string), string reverseFqdn = default(string)) { DomainNameLabel = domainNameLabel; + DomainNameLabelScope = domainNameLabelScope; Fqdn = fqdn; ReverseFqdn = reverseFqdn; CustomInit(); @@ -66,6 +73,16 @@ public PublicIPAddressDnsSettings() [JsonProperty(PropertyName = "domainNameLabel")] public string DomainNameLabel { get; set; } + /// + /// Gets or sets the domain name label scope. If a domain name label + /// and a domain name label scope are specified, an A DNS record is + /// created for the public IP in the Microsoft Azure DNS system with a + /// hashed value includes in FQDN. Possible values include: + /// 'TenantReuse', 'SubscriptionReuse', 'ResourceGroupReuse', 'NoReuse' + /// + [JsonProperty(PropertyName = "domainNameLabelScope")] + public PublicIpAddressDnsSettingsDomainNameLabelScope? DomainNameLabelScope { get; set; } + /// /// Gets or sets the Fully Qualified Domain Name of the A DNS record /// associated with the public IP. This is the concatenation of the diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddressDnsSettingsDomainNameLabelScope.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddressDnsSettingsDomainNameLabelScope.cs new file mode 100644 index 0000000000000..58fec574f97e7 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/PublicIpAddressDnsSettingsDomainNameLabelScope.cs @@ -0,0 +1,72 @@ +// +// 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 Newtonsoft.Json.Converters; + using System.Runtime; + using System.Runtime.Serialization; + + /// + /// Defines values for PublicIpAddressDnsSettingsDomainNameLabelScope. + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum PublicIpAddressDnsSettingsDomainNameLabelScope + { + [EnumMember(Value = "TenantReuse")] + TenantReuse, + [EnumMember(Value = "SubscriptionReuse")] + SubscriptionReuse, + [EnumMember(Value = "ResourceGroupReuse")] + ResourceGroupReuse, + [EnumMember(Value = "NoReuse")] + NoReuse + } + internal static class PublicIpAddressDnsSettingsDomainNameLabelScopeEnumExtension + { + internal static string ToSerializedValue(this PublicIpAddressDnsSettingsDomainNameLabelScope? value) + { + return value == null ? null : ((PublicIpAddressDnsSettingsDomainNameLabelScope)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this PublicIpAddressDnsSettingsDomainNameLabelScope value) + { + switch( value ) + { + case PublicIpAddressDnsSettingsDomainNameLabelScope.TenantReuse: + return "TenantReuse"; + case PublicIpAddressDnsSettingsDomainNameLabelScope.SubscriptionReuse: + return "SubscriptionReuse"; + case PublicIpAddressDnsSettingsDomainNameLabelScope.ResourceGroupReuse: + return "ResourceGroupReuse"; + case PublicIpAddressDnsSettingsDomainNameLabelScope.NoReuse: + return "NoReuse"; + } + return null; + } + + internal static PublicIpAddressDnsSettingsDomainNameLabelScope? ParsePublicIpAddressDnsSettingsDomainNameLabelScope(this string value) + { + switch( value ) + { + case "TenantReuse": + return PublicIpAddressDnsSettingsDomainNameLabelScope.TenantReuse; + case "SubscriptionReuse": + return PublicIpAddressDnsSettingsDomainNameLabelScope.SubscriptionReuse; + case "ResourceGroupReuse": + return PublicIpAddressDnsSettingsDomainNameLabelScope.ResourceGroupReuse; + case "NoReuse": + return PublicIpAddressDnsSettingsDomainNameLabelScope.NoReuse; + } + return null; + } + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/RoutingConfigurationNfv.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/RoutingConfigurationNfv.cs new file mode 100644 index 0000000000000..562f1c4416a92 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/RoutingConfigurationNfv.cs @@ -0,0 +1,85 @@ +// +// 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; + + /// + /// NFV version of Routing Configuration indicating the associated and + /// propagated route tables for this connection. + /// + public partial class RoutingConfigurationNfv + { + /// + /// Initializes a new instance of the RoutingConfigurationNfv class. + /// + public RoutingConfigurationNfv() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RoutingConfigurationNfv class. + /// + /// The resource id RouteTable + /// associated with this RoutingConfiguration. + /// The list of RouteTables to + /// advertise the routes to. + /// The resource id of the RouteMap + /// associated with this RoutingConfiguration for inbound learned + /// routes. + /// The resource id of the RouteMap + /// associated with this RoutingConfiguration for outbound advertised + /// routes. + public RoutingConfigurationNfv(RoutingConfigurationNfvSubResource associatedRouteTable = default(RoutingConfigurationNfvSubResource), PropagatedRouteTableNfv propagatedRouteTables = default(PropagatedRouteTableNfv), RoutingConfigurationNfvSubResource inboundRouteMap = default(RoutingConfigurationNfvSubResource), RoutingConfigurationNfvSubResource outboundRouteMap = default(RoutingConfigurationNfvSubResource)) + { + AssociatedRouteTable = associatedRouteTable; + PropagatedRouteTables = propagatedRouteTables; + InboundRouteMap = inboundRouteMap; + OutboundRouteMap = outboundRouteMap; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the resource id RouteTable associated with this + /// RoutingConfiguration. + /// + [JsonProperty(PropertyName = "associatedRouteTable")] + public RoutingConfigurationNfvSubResource AssociatedRouteTable { get; set; } + + /// + /// Gets or sets the list of RouteTables to advertise the routes to. + /// + [JsonProperty(PropertyName = "propagatedRouteTables")] + public PropagatedRouteTableNfv PropagatedRouteTables { get; set; } + + /// + /// Gets or sets the resource id of the RouteMap associated with this + /// RoutingConfiguration for inbound learned routes. + /// + [JsonProperty(PropertyName = "inboundRouteMap")] + public RoutingConfigurationNfvSubResource InboundRouteMap { get; set; } + + /// + /// Gets or sets the resource id of the RouteMap associated with this + /// RoutingConfiguration for outbound advertised routes. + /// + [JsonProperty(PropertyName = "outboundRouteMap")] + public RoutingConfigurationNfvSubResource OutboundRouteMap { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/RoutingConfigurationNfvSubResource.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/RoutingConfigurationNfvSubResource.cs new file mode 100644 index 0000000000000..808775ca66566 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/RoutingConfigurationNfvSubResource.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Network.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Reference to RouteTableV3 associated with the connection. + /// + public partial class RoutingConfigurationNfvSubResource + { + /// + /// Initializes a new instance of the + /// RoutingConfigurationNfvSubResource class. + /// + public RoutingConfigurationNfvSubResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RoutingConfigurationNfvSubResource class. + /// + /// Resource ID. + public RoutingConfigurationNfvSubResource(string resourceUri = default(string)) + { + ResourceUri = resourceUri; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource ID. + /// + [JsonProperty(PropertyName = "resourceUri")] + public string ResourceUri { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryMatchOperator.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryMatchOperator.cs new file mode 100644 index 0000000000000..6ef893c9bb233 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryMatchOperator.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 ScrubbingRuleEntryMatchOperator. + /// + public static class ScrubbingRuleEntryMatchOperator + { + public const string Equals = "Equals"; + public const string EqualsAny = "EqualsAny"; + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryMatchVariable.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryMatchVariable.cs new file mode 100644 index 0000000000000..34fd926f5f4b1 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryMatchVariable.cs @@ -0,0 +1,26 @@ +// +// 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 ScrubbingRuleEntryMatchVariable. + /// + public static class ScrubbingRuleEntryMatchVariable + { + public const string RequestHeaderNames = "RequestHeaderNames"; + public const string RequestCookieNames = "RequestCookieNames"; + public const string RequestArgNames = "RequestArgNames"; + public const string RequestPostArgNames = "RequestPostArgNames"; + public const string RequestJSONArgNames = "RequestJSONArgNames"; + public const string RequestIPAddress = "RequestIPAddress"; + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryState.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryState.cs new file mode 100644 index 0000000000000..339ab4af2c097 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/ScrubbingRuleEntryState.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 ScrubbingRuleEntryState. + /// + public static class ScrubbingRuleEntryState + { + public const string Enabled = "Enabled"; + public const string Disabled = "Disabled"; + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityAdminConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityAdminConfiguration.cs index 487ab9debc383..51eb29d558d88 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityAdminConfiguration.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityAdminConfiguration.cs @@ -46,14 +46,17 @@ public SecurityAdminConfiguration() /// The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed' + /// Unique identifier for this + /// resource. /// The system metadata related to this /// resource. - public SecurityAdminConfiguration(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), IList applyOnNetworkIntentPolicyBasedServices = default(IList), string provisioningState = default(string), SystemData systemData = default(SystemData)) + public SecurityAdminConfiguration(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string description = default(string), IList applyOnNetworkIntentPolicyBasedServices = default(IList), string provisioningState = default(string), string resourceGuid = default(string), SystemData systemData = default(SystemData)) : base(id, name, type, etag) { Description = description; ApplyOnNetworkIntentPolicyBasedServices = applyOnNetworkIntentPolicyBasedServices; ProvisioningState = provisioningState; + ResourceGuid = resourceGuid; SystemData = systemData; CustomInit(); } @@ -82,6 +85,12 @@ public SecurityAdminConfiguration() [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets unique identifier for this resource. + /// + [JsonProperty(PropertyName = "properties.resourceGuid")] + public string ResourceGuid { get; private set; } + /// /// Gets the system metadata related to this resource. /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityRule.cs index 4e3aacf880161..670bd59cb4796 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SecurityRule.cs @@ -39,6 +39,10 @@ public SecurityRule() /// 'Ah' /// The network traffic is allowed or denied. /// Possible values include: 'Allow', 'Deny' + /// The priority of the rule. The value can be + /// between 100 and 4096. The priority number must be unique for each + /// rule in the collection. The lower the priority number, the higher + /// the priority of the rule. /// The direction of the rule. The direction /// specifies if rule will be evaluated on incoming or outgoing /// traffic. Possible values include: 'Inbound', 'Outbound' @@ -71,10 +75,6 @@ public SecurityRule() /// The source port ranges. /// The destination port /// ranges. - /// The priority of the rule. The value can be - /// between 100 and 4096. The priority number must be unique for each - /// rule in the collection. The lower the priority number, the higher - /// the priority of the rule. /// The provisioning state of the /// security rule resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed' @@ -84,7 +84,7 @@ public SecurityRule() /// A unique read-only string that changes whenever /// the resource is updated. /// The type of the resource. - public SecurityRule(string protocol, string access, string direction, string id = default(string), string description = default(string), string sourcePortRange = default(string), string destinationPortRange = default(string), string sourceAddressPrefix = default(string), IList sourceAddressPrefixes = default(IList), IList sourceApplicationSecurityGroups = default(IList), string destinationAddressPrefix = default(string), IList destinationAddressPrefixes = default(IList), IList destinationApplicationSecurityGroups = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), int? priority = default(int?), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string)) + public SecurityRule(string protocol, string access, int priority, string direction, string id = default(string), string description = default(string), string sourcePortRange = default(string), string destinationPortRange = default(string), string sourceAddressPrefix = default(string), IList sourceAddressPrefixes = default(IList), IList sourceApplicationSecurityGroups = default(IList), string destinationAddressPrefix = default(string), IList destinationAddressPrefixes = default(IList), IList destinationApplicationSecurityGroups = default(IList), IList sourcePortRanges = default(IList), IList destinationPortRanges = default(IList), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string)) : base(id) { Description = description; @@ -213,7 +213,7 @@ public SecurityRule() /// of the rule. /// [JsonProperty(PropertyName = "properties.priority")] - public int? Priority { get; set; } + public int Priority { get; set; } /// /// Gets or sets the direction of the rule. The direction specifies if diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs index 08c3259eef45b..f9d1dcff7abf6 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/Subnet.cs @@ -75,15 +75,19 @@ public Subnet() /// Enable or Disable /// apply network policies on private link service in the subnet. /// Possible values include: 'Enabled', 'Disabled' - /// Application + /// Application /// gateway IP configurations of virtual network resource. + /// Set this property to false to + /// disable default outbound connectivity for all VMs in the subnet. + /// This property can only be set at the time of subnet creation and + /// cannot be updated for an existing subnet. /// 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. /// Resource type. - public Subnet(string id = default(string), string addressPrefix = default(string), IList addressPrefixes = default(IList), NetworkSecurityGroup networkSecurityGroup = default(NetworkSecurityGroup), RouteTable routeTable = default(RouteTable), SubResource natGateway = default(SubResource), IList serviceEndpoints = default(IList), IList serviceEndpointPolicies = default(IList), IList privateEndpoints = default(IList), IList ipConfigurations = default(IList), IList ipConfigurationProfiles = default(IList), IList ipAllocations = default(IList), IList resourceNavigationLinks = default(IList), IList serviceAssociationLinks = default(IList), IList delegations = default(IList), string purpose = default(string), string provisioningState = default(string), string privateEndpointNetworkPolicies = default(string), string privateLinkServiceNetworkPolicies = default(string), IList applicationGatewayIpConfigurations = default(IList), string name = default(string), string etag = default(string), string type = default(string)) + public Subnet(string id = default(string), string addressPrefix = default(string), IList addressPrefixes = default(IList), NetworkSecurityGroup networkSecurityGroup = default(NetworkSecurityGroup), RouteTable routeTable = default(RouteTable), SubResource natGateway = default(SubResource), IList serviceEndpoints = default(IList), IList serviceEndpointPolicies = default(IList), IList privateEndpoints = default(IList), IList ipConfigurations = default(IList), IList ipConfigurationProfiles = default(IList), IList ipAllocations = default(IList), IList resourceNavigationLinks = default(IList), IList serviceAssociationLinks = default(IList), IList delegations = default(IList), string purpose = default(string), string provisioningState = default(string), string privateEndpointNetworkPolicies = default(string), string privateLinkServiceNetworkPolicies = default(string), IList applicationGatewayIPConfigurations = default(IList), bool? defaultOutboundAccess = default(bool?), string name = default(string), string etag = default(string), string type = default(string)) : base(id) { AddressPrefix = addressPrefix; @@ -104,7 +108,8 @@ public Subnet() ProvisioningState = provisioningState; PrivateEndpointNetworkPolicies = privateEndpointNetworkPolicies; PrivateLinkServiceNetworkPolicies = privateLinkServiceNetworkPolicies; - ApplicationGatewayIpConfigurations = applicationGatewayIpConfigurations; + ApplicationGatewayIPConfigurations = applicationGatewayIPConfigurations; + DefaultOutboundAccess = defaultOutboundAccess; Name = name; Etag = etag; Type = type; @@ -237,8 +242,17 @@ public Subnet() /// Gets or sets application gateway IP configurations of virtual /// network resource. /// - [JsonProperty(PropertyName = "properties.applicationGatewayIpConfigurations")] - public IList ApplicationGatewayIpConfigurations { get; set; } + [JsonProperty(PropertyName = "properties.applicationGatewayIPConfigurations")] + public IList ApplicationGatewayIPConfigurations { get; set; } + + /// + /// Gets or sets set this property to false to disable default outbound + /// connectivity for all VMs in the subnet. This property can only be + /// set at the time of subnet creation and cannot be updated for an + /// existing subnet. + /// + [JsonProperty(PropertyName = "properties.defaultOutboundAccess")] + public bool? DefaultOutboundAccess { get; set; } /// /// Gets or sets the name of the resource that is unique within a diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SyncMode.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SyncMode.cs new file mode 100644 index 0000000000000..c2a9348bcc907 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/SyncMode.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 SyncMode. + /// + public static class SyncMode + { + public const string Automatic = "Automatic"; + public const string Manual = "Manual"; + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualApplianceAdditionalNicProperties.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualApplianceAdditionalNicProperties.cs new file mode 100644 index 0000000000000..711de9634add6 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualApplianceAdditionalNicProperties.cs @@ -0,0 +1,66 @@ +// +// 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; + + /// + /// Network Virtual Appliance Additional Nic Properties + /// + /// + /// Network Virtual Appliance Additional NIC properties. + /// + public partial class VirtualApplianceAdditionalNicProperties + { + /// + /// Initializes a new instance of the + /// VirtualApplianceAdditionalNicProperties class. + /// + public VirtualApplianceAdditionalNicProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// VirtualApplianceAdditionalNicProperties class. + /// + /// Name of additional nic + /// Flag (true or false) for Intent for + /// Public Ip on additional nic + public VirtualApplianceAdditionalNicProperties(string name = default(string), bool? hasPublicIp = default(bool?)) + { + Name = name; + HasPublicIp = hasPublicIp; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of additional nic + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets flag (true or false) for Intent for Public Ip on + /// additional nic + /// + [JsonProperty(PropertyName = "hasPublicIp")] + public bool? HasPublicIp { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualApplianceNicProperties.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualApplianceNicProperties.cs index 97b4e937d12d2..cd22985d2673d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualApplianceNicProperties.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualApplianceNicProperties.cs @@ -34,11 +34,14 @@ public VirtualApplianceNicProperties() /// NIC name. /// Public IP address. /// Private IP address. - public VirtualApplianceNicProperties(string name = default(string), string publicIpAddress = default(string), string privateIpAddress = default(string)) + /// Instance on which nic is + /// attached. + public VirtualApplianceNicProperties(string name = default(string), string publicIpAddress = default(string), string privateIpAddress = default(string), string instanceName = default(string)) { Name = name; PublicIpAddress = publicIpAddress; PrivateIpAddress = privateIpAddress; + InstanceName = instanceName; CustomInit(); } @@ -65,5 +68,11 @@ public VirtualApplianceNicProperties() [JsonProperty(PropertyName = "privateIpAddress")] public string PrivateIpAddress { get; private set; } + /// + /// Gets instance on which nic is attached. + /// + [JsonProperty(PropertyName = "instanceName")] + public string InstanceName { get; private set; } + } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs index 179f588ebb3a9..3097718553817 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGateway.cs @@ -39,6 +39,8 @@ public VirtualNetworkGateway() /// Resource type. /// Resource location. /// Resource tags. + /// Autoscale configuration for + /// virutal network gateway /// IP configurations for virtual /// network gateway. /// The type of this virtual network gateway. @@ -99,13 +101,18 @@ public VirtualNetworkGateway() /// accept traffic from other Azure Virtual Networks. This /// configuration does not support connectivity to Azure Virtual /// WAN. + /// Property to indicate if the Express Route + /// Gateway serves traffic when there are multiple Express Route + /// Gateways in the vnet. Possible values include: 'Enabled', + /// 'Disabled' /// The extended location of type local /// virtual network gateway. /// A unique read-only string that changes whenever /// the resource is updated. - public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList ipConfigurations = default(IList), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIpAddress = default(bool?), bool? activeActive = default(bool?), bool? disableIPSecReplayProtection = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), IList virtualNetworkGatewayPolicyGroups = default(IList), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), IList natRules = default(IList), bool? enableBgpRouteTranslationForNat = default(bool?), bool? allowVirtualWanTraffic = default(bool?), bool? allowRemoteVnetTraffic = default(bool?), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string)) + public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), VirtualNetworkGatewayAutoScaleConfiguration autoScaleConfiguration = default(VirtualNetworkGatewayAutoScaleConfiguration), IList ipConfigurations = default(IList), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool? enableBgp = default(bool?), bool? enablePrivateIpAddress = default(bool?), bool? activeActive = default(bool?), bool? disableIPSecReplayProtection = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), IList virtualNetworkGatewayPolicyGroups = default(IList), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool? enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), IList natRules = default(IList), bool? enableBgpRouteTranslationForNat = default(bool?), bool? allowVirtualWanTraffic = default(bool?), bool? allowRemoteVnetTraffic = default(bool?), string adminState = default(string), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string)) : base(id, name, type, location, tags) { + AutoScaleConfiguration = autoScaleConfiguration; IpConfigurations = ipConfigurations; GatewayType = gatewayType; VpnType = vpnType; @@ -129,6 +136,7 @@ public VirtualNetworkGateway() EnableBgpRouteTranslationForNat = enableBgpRouteTranslationForNat; AllowVirtualWanTraffic = allowVirtualWanTraffic; AllowRemoteVnetTraffic = allowRemoteVnetTraffic; + AdminState = adminState; ExtendedLocation = extendedLocation; Etag = etag; CustomInit(); @@ -139,6 +147,12 @@ public VirtualNetworkGateway() /// partial void CustomInit(); + /// + /// Gets or sets autoscale configuration for virutal network gateway + /// + [JsonProperty(PropertyName = "properties.autoScaleConfiguration")] + public VirtualNetworkGatewayAutoScaleConfiguration AutoScaleConfiguration { get; set; } + /// /// Gets or sets IP configurations for virtual network gateway. /// @@ -299,6 +313,14 @@ public VirtualNetworkGateway() [JsonProperty(PropertyName = "properties.allowRemoteVnetTraffic")] public bool? AllowRemoteVnetTraffic { get; set; } + /// + /// Gets or sets property to indicate if the Express Route Gateway + /// serves traffic when there are multiple Express Route Gateways in + /// the vnet. Possible values include: 'Enabled', 'Disabled' + /// + [JsonProperty(PropertyName = "properties.adminState")] + public string AdminState { get; set; } + /// /// Gets or sets the extended location of type local virtual network /// gateway. diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayAutoScaleBounds.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayAutoScaleBounds.cs new file mode 100644 index 0000000000000..8984992cf1c0b --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayAutoScaleBounds.cs @@ -0,0 +1,60 @@ +// +// 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; + + public partial class VirtualNetworkGatewayAutoScaleBounds + { + /// + /// Initializes a new instance of the + /// VirtualNetworkGatewayAutoScaleBounds class. + /// + public VirtualNetworkGatewayAutoScaleBounds() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// VirtualNetworkGatewayAutoScaleBounds class. + /// + /// Minimum scale Units for Autoscale + /// configuration + /// Maximum Scale Units for Autoscale + /// configuration + public VirtualNetworkGatewayAutoScaleBounds(int? min = default(int?), int? max = default(int?)) + { + Min = min; + Max = max; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets minimum scale Units for Autoscale configuration + /// + [JsonProperty(PropertyName = "min")] + public int? Min { get; set; } + + /// + /// Gets or sets maximum Scale Units for Autoscale configuration + /// + [JsonProperty(PropertyName = "max")] + public int? Max { get; set; } + + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayAutoScaleConfiguration.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayAutoScaleConfiguration.cs new file mode 100644 index 0000000000000..03b633bc42fc0 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualNetworkGatewayAutoScaleConfiguration.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Network.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Virtual Network Gateway Autoscale Configuration details + /// + public partial class VirtualNetworkGatewayAutoScaleConfiguration + { + /// + /// Initializes a new instance of the + /// VirtualNetworkGatewayAutoScaleConfiguration class. + /// + public VirtualNetworkGatewayAutoScaleConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// VirtualNetworkGatewayAutoScaleConfiguration class. + /// + /// The bounds of the autoscale + /// configuration + public VirtualNetworkGatewayAutoScaleConfiguration(VirtualNetworkGatewayAutoScaleBounds bounds = default(VirtualNetworkGatewayAutoScaleBounds)) + { + Bounds = bounds; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the bounds of the autoscale configuration + /// + [JsonProperty(PropertyName = "bounds")] + public VirtualNetworkGatewayAutoScaleBounds Bounds { get; set; } + + } +} 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/WebApplicationFirewallCustomRule.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallCustomRule.cs index bdf198041ffc2..2394f041f8243 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallCustomRule.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallCustomRule.cs @@ -37,7 +37,7 @@ public WebApplicationFirewallCustomRule() /// Priority of the rule. Rules with a lower /// value will be evaluated before rules with a higher value. /// The rule type. Possible values include: - /// 'MatchRule', 'Invalid' + /// 'MatchRule', 'RateLimitRule', 'Invalid' /// List of match conditions. /// Type of Actions. Possible values include: /// 'Allow', 'Block', 'Log' @@ -48,14 +48,26 @@ public WebApplicationFirewallCustomRule() /// Describes if the custom rule is in enabled or /// disabled state. Defaults to Enabled if not specified. Possible /// values include: 'Disabled', 'Enabled' - public WebApplicationFirewallCustomRule(int priority, string ruleType, IList matchConditions, string action, string name = default(string), string etag = default(string), string state = default(string)) + /// Duration over which Rate Limit + /// policy will be applied. Applies only when ruleType is + /// RateLimitRule. Possible values include: 'OneMin', + /// 'FiveMins' + /// Rate Limit threshold to apply in + /// case ruleType is RateLimitRule. Must be greater than or equal to + /// 1 + /// List of user session identifier + /// group by clauses. + public WebApplicationFirewallCustomRule(int priority, string ruleType, IList matchConditions, string action, string name = default(string), string etag = default(string), string state = default(string), string rateLimitDuration = default(string), int? rateLimitThreshold = default(int?), IList groupByUserSession = default(IList)) { Name = name; Etag = etag; Priority = priority; State = state; + RateLimitDuration = rateLimitDuration; + RateLimitThreshold = rateLimitThreshold; RuleType = ruleType; MatchConditions = matchConditions; + GroupByUserSession = groupByUserSession; Action = action; CustomInit(); } @@ -94,9 +106,24 @@ public WebApplicationFirewallCustomRule() [JsonProperty(PropertyName = "state")] public string State { get; set; } + /// + /// Gets or sets duration over which Rate Limit policy will be applied. + /// Applies only when ruleType is RateLimitRule. Possible values + /// include: 'OneMin', 'FiveMins' + /// + [JsonProperty(PropertyName = "rateLimitDuration")] + public string RateLimitDuration { get; set; } + + /// + /// Gets or sets rate Limit threshold to apply in case ruleType is + /// RateLimitRule. Must be greater than or equal to 1 + /// + [JsonProperty(PropertyName = "rateLimitThreshold")] + public int? RateLimitThreshold { get; set; } + /// /// Gets or sets the rule type. Possible values include: 'MatchRule', - /// 'Invalid' + /// 'RateLimitRule', 'Invalid' /// [JsonProperty(PropertyName = "ruleType")] public string RuleType { get; set; } @@ -107,6 +134,12 @@ public WebApplicationFirewallCustomRule() [JsonProperty(PropertyName = "matchConditions")] public IList MatchConditions { get; set; } + /// + /// Gets or sets list of user session identifier group by clauses. + /// + [JsonProperty(PropertyName = "groupByUserSession")] + public IList GroupByUserSession { get; set; } + /// /// Gets or sets type of Actions. Possible values include: 'Allow', /// 'Block', 'Log' @@ -151,6 +184,16 @@ public virtual void Validate() } } } + if (GroupByUserSession != null) + { + foreach (var element1 in GroupByUserSession) + { + if (element1 != null) + { + element1.Validate(); + } + } + } } } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallRuleType.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallRuleType.cs index bfff0efe51192..73f038a1a5ff4 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallRuleType.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallRuleType.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.Network.Models public static class WebApplicationFirewallRuleType { public const string MatchRule = "MatchRule"; + public const string RateLimitRule = "RateLimitRule"; public const string Invalid = "Invalid"; } } diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallScrubbingRules.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallScrubbingRules.cs new file mode 100644 index 0000000000000..40ac40ad8aa0f --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallScrubbingRules.cs @@ -0,0 +1,112 @@ +// +// 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; + + /// + /// Allow certain variables to be scrubbed on WAF logs + /// + public partial class WebApplicationFirewallScrubbingRules + { + /// + /// Initializes a new instance of the + /// WebApplicationFirewallScrubbingRules class. + /// + public WebApplicationFirewallScrubbingRules() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// WebApplicationFirewallScrubbingRules class. + /// + /// The variable to be scrubbed from the + /// logs. Possible values include: 'RequestHeaderNames', + /// 'RequestCookieNames', 'RequestArgNames', 'RequestPostArgNames', + /// 'RequestJSONArgNames', 'RequestIPAddress' + /// When matchVariable is a + /// collection, operate on the selector to specify which elements in + /// the collection this rule applies to. Possible values include: + /// 'Equals', 'EqualsAny' + /// When matchVariable is a collection, operator + /// used to specify which elements in the collection this rule applies + /// to. + /// Defines the state of log scrubbing rule. + /// Default value is Enabled. Possible values include: 'Enabled', + /// 'Disabled' + public WebApplicationFirewallScrubbingRules(string matchVariable, string selectorMatchOperator, string selector = default(string), string state = default(string)) + { + MatchVariable = matchVariable; + SelectorMatchOperator = selectorMatchOperator; + Selector = selector; + State = state; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the variable to be scrubbed from the logs. Possible + /// values include: 'RequestHeaderNames', 'RequestCookieNames', + /// 'RequestArgNames', 'RequestPostArgNames', 'RequestJSONArgNames', + /// 'RequestIPAddress' + /// + [JsonProperty(PropertyName = "matchVariable")] + public string MatchVariable { get; set; } + + /// + /// Gets or sets when matchVariable is a collection, operate on the + /// selector to specify which elements in the collection this rule + /// applies to. Possible values include: 'Equals', 'EqualsAny' + /// + [JsonProperty(PropertyName = "selectorMatchOperator")] + public string SelectorMatchOperator { get; set; } + + /// + /// Gets or sets when matchVariable is a collection, operator used to + /// specify which elements in the collection this rule applies to. + /// + [JsonProperty(PropertyName = "selector")] + public string Selector { get; set; } + + /// + /// Gets or sets defines the state of log scrubbing rule. Default value + /// is Enabled. Possible values include: 'Enabled', 'Disabled' + /// + [JsonProperty(PropertyName = "state")] + public string State { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (MatchVariable == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MatchVariable"); + } + if (SelectorMatchOperator == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SelectorMatchOperator"); + } + } + } +} diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallScrubbingState.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallScrubbingState.cs new file mode 100644 index 0000000000000..3c39fe64ef2ca --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/WebApplicationFirewallScrubbingState.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 WebApplicationFirewallScrubbingState. + /// + public static class WebApplicationFirewallScrubbingState + { + public const string Disabled = "Disabled"; + public const string Enabled = "Enabled"; + } +} 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 64ab19b214ec4..c7ba7c2a3349c 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatRulesOperations.cs index c0c02805b0983..e72a4e3d83661 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatRulesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NatRulesOperations.cs @@ -101,7 +101,7 @@ internal NatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "natRuleName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal NatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "gatewayName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -560,7 +560,7 @@ internal NatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "natRuleParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -785,7 +785,7 @@ internal NatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "natRuleName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkGroupsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkGroupsOperations.cs index cf7c220f04754..ff7af305e6281 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkGroupsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkGroupsOperations.cs @@ -101,7 +101,7 @@ internal NetworkGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -316,7 +316,7 @@ internal NetworkGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -607,7 +607,7 @@ internal NetworkGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -820,7 +820,7 @@ internal NetworkGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; 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 3b8023959e049..53133b27937be 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 2859900d6209e..bf3dae85d4555 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 = "2022-09-01"; + string apiVersion = "2023-05-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 645af16159c89..8e3dcb586d096 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -740,7 +740,7 @@ internal NetworkInterfaceTapConfigurationsOperations(NetworkManagementClient cli { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 594e55a6527b8..4f662ec8075b2 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfacesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkInterfacesOperations.cs @@ -102,7 +102,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -298,7 +298,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -509,7 +509,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -737,7 +737,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -968,7 +968,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1155,7 +1155,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1338,7 +1338,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2640,7 +2640,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2823,7 +2823,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3042,7 +3042,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3236,7 +3236,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 c2056705668a0..1480a42c148f6 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagementClient.cs @@ -703,6 +703,11 @@ public partial class NetworkManagementClient : ServiceClient public virtual IExpressRouteConnectionsOperations ExpressRouteConnections { get; private set; } + /// + /// Gets the INetworkVirtualApplianceConnectionsOperations. + /// + public virtual INetworkVirtualApplianceConnectionsOperations NetworkVirtualApplianceConnections { get; private set; } + /// /// Gets the IVirtualHubBgpConnectionOperations. /// @@ -1099,6 +1104,7 @@ private void Initialize() VirtualHubRouteTableV2s = new VirtualHubRouteTableV2sOperations(this); ExpressRouteGateways = new ExpressRouteGatewaysOperations(this); ExpressRouteConnections = new ExpressRouteConnectionsOperations(this); + NetworkVirtualApplianceConnections = new NetworkVirtualApplianceConnectionsOperations(this); VirtualHubBgpConnection = new VirtualHubBgpConnectionOperations(this); VirtualHubBgpConnections = new VirtualHubBgpConnectionsOperations(this); VirtualHubIpConfiguration = new VirtualHubIpConfigurationOperations(this); @@ -1252,7 +1258,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "bslRequest"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1482,7 +1488,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "sessionIds"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1685,7 +1691,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1875,7 +1881,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2086,7 +2092,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2311,7 +2317,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2537,7 +2543,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2762,7 +2768,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2969,7 +2975,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "virtualWANName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3199,7 +3205,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "bslRequest"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3405,7 +3411,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "bslRequest"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3588,7 +3594,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3793,7 +3799,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "vpnClientParams"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerCommitsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerCommitsOperations.cs index fcb4d39617d25..b13784a7a424a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerCommitsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerCommitsOperations.cs @@ -130,7 +130,7 @@ internal NetworkManagerCommitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerDeploymentStatusOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerDeploymentStatusOperations.cs index 0904b17c64c87..1ac1ec1eeaee1 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerDeploymentStatusOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagerDeploymentStatusOperations.cs @@ -113,7 +113,7 @@ internal NetworkManagerDeploymentStatusOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagersOperations.cs index 9c8222d293245..0da34475d48fc 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagersOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkManagersOperations.cs @@ -94,7 +94,7 @@ internal NetworkManagersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -299,7 +299,7 @@ internal NetworkManagersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -552,7 +552,7 @@ internal NetworkManagersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -757,7 +757,7 @@ internal NetworkManagersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -968,7 +968,7 @@ internal NetworkManagersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1172,7 +1172,7 @@ internal NetworkManagersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 0d93bda5de593..a38606dfff337 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 e7ef8b352b960..1589e8e1dbf65 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualApplianceConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualApplianceConnectionsOperations.cs new file mode 100644 index 0000000000000..300af81914a73 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualApplianceConnectionsOperations.cs @@ -0,0 +1,1134 @@ +// +// 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; + + /// + /// NetworkVirtualApplianceConnectionsOperations operations. + /// + internal partial class NetworkVirtualApplianceConnectionsOperations : IServiceOperations, INetworkVirtualApplianceConnectionsOperations + { + /// + /// Initializes a new instance of the NetworkVirtualApplianceConnectionsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal NetworkVirtualApplianceConnectionsOperations(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 a connection to Network Virtual Appliance, if it doesn't exist else + /// updates the existing NVA connection' + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, string connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, connectionName, networkVirtualApplianceConnectionParameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Retrieves the details of specified NVA connection. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// 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 networkVirtualApplianceName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (networkVirtualApplianceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "networkVirtualApplianceName"); + } + if (connectionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); + } + string apiVersion = "2023-05-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("connectionName", connectionName); + 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/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{networkVirtualApplianceName}", System.Uri.EscapeDataString(networkVirtualApplianceName)); + _url = _url.Replace("{connectionName}", System.Uri.EscapeDataString(connectionName)); + 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 a NVA connection. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> DeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationHeaderResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, connectionName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// 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 networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (networkVirtualApplianceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "networkVirtualApplianceName"); + } + if (networkVirtualApplianceName != null) + { + if (!System.Text.RegularExpressions.Regex.IsMatch(networkVirtualApplianceName, "^[A-Za-z0-9_]+")) + { + throw new ValidationException(ValidationRules.Pattern, "networkVirtualApplianceName", "^[A-Za-z0-9_]+"); + } + } + string apiVersion = "2023-05-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("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/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{networkVirtualApplianceName}", System.Uri.EscapeDataString(networkVirtualApplianceName)); + 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 a connection to Network Virtual Appliance, if it doesn't exist else + /// updates the existing NVA connection' + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT 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 connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (networkVirtualApplianceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "networkVirtualApplianceName"); + } + if (networkVirtualApplianceName != null) + { + if (!System.Text.RegularExpressions.Regex.IsMatch(networkVirtualApplianceName, "^[A-Za-z0-9_]+")) + { + throw new ValidationException(ValidationRules.Pattern, "networkVirtualApplianceName", "^[A-Za-z0-9_]+"); + } + } + if (connectionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); + } + if (connectionName != null) + { + if (!System.Text.RegularExpressions.Regex.IsMatch(connectionName, "^[A-Za-z0-9_]+")) + { + throw new ValidationException(ValidationRules.Pattern, "connectionName", "^[A-Za-z0-9_]+"); + } + } + if (networkVirtualApplianceConnectionParameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "networkVirtualApplianceConnectionParameters"); + } + if (networkVirtualApplianceConnectionParameters != null) + { + networkVirtualApplianceConnectionParameters.Validate(); + } + string apiVersion = "2023-05-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("connectionName", connectionName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("networkVirtualApplianceConnectionParameters", networkVirtualApplianceConnectionParameters); + 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}/networkVirtualApplianceConnections/{connectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{networkVirtualApplianceName}", System.Uri.EscapeDataString(networkVirtualApplianceName)); + _url = _url.Replace("{connectionName}", System.Uri.EscapeDataString(connectionName)); + 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(networkVirtualApplianceConnectionParameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(networkVirtualApplianceConnectionParameters, 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; + } + + /// + /// Deletes a NVA connection. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// 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 networkVirtualApplianceName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (networkVirtualApplianceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "networkVirtualApplianceName"); + } + if (connectionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); + } + string apiVersion = "2023-05-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("connectionName", connectionName); + 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/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{networkVirtualApplianceName}", System.Uri.EscapeDataString(networkVirtualApplianceName)); + _url = _url.Replace("{connectionName}", System.Uri.EscapeDataString(connectionName)); + 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 AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// 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/NetworkVirtualApplianceConnectionsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualApplianceConnectionsOperationsExtensions.cs new file mode 100644 index 0000000000000..a35f0a634fd24 --- /dev/null +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualApplianceConnectionsOperationsExtensions.cs @@ -0,0 +1,345 @@ +// +// 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 NetworkVirtualApplianceConnectionsOperations. + /// + public static partial class NetworkVirtualApplianceConnectionsOperationsExtensions + { + /// + /// Creates a connection to Network Virtual Appliance, if it doesn't exist else + /// updates the existing NVA connection' + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT operation. + /// + public static NetworkVirtualApplianceConnection CreateOrUpdate(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, connectionName, networkVirtualApplianceConnectionParameters).GetAwaiter().GetResult(); + } + + /// + /// Creates a connection to Network Virtual Appliance, if it doesn't exist else + /// updates the existing NVA connection' + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT operation. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, connectionName, networkVirtualApplianceConnectionParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Retrieves the details of specified NVA connection. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + public static NetworkVirtualApplianceConnection Get(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName) + { + return operations.GetAsync(resourceGroupName, networkVirtualApplianceName, connectionName).GetAwaiter().GetResult(); + } + + /// + /// Retrieves the details of specified NVA connection. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, connectionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a NVA connection. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + public static NetworkVirtualApplianceConnectionsDeleteHeaders Delete(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName) + { + return operations.DeleteAsync(resourceGroupName, networkVirtualApplianceName, connectionName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a NVA connection. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.DeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, connectionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + public static IPage List(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName) + { + return operations.ListAsync(resourceGroupName, networkVirtualApplianceName).GetAwaiter().GetResult(); + } + + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates a connection to Network Virtual Appliance, if it doesn't exist else + /// updates the existing NVA connection' + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT operation. + /// + public static NetworkVirtualApplianceConnection BeginCreateOrUpdate(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters) + { + return operations.BeginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, connectionName, networkVirtualApplianceConnectionParameters).GetAwaiter().GetResult(); + } + + /// + /// Creates a connection to Network Virtual Appliance, if it doesn't exist else + /// updates the existing NVA connection' + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// Parameters supplied in an NetworkVirtualApplianceConnection PUT operation. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, NetworkVirtualApplianceConnection networkVirtualApplianceConnectionParameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, connectionName, networkVirtualApplianceConnectionParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a NVA connection. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + public static NetworkVirtualApplianceConnectionsDeleteHeaders BeginDelete(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName) + { + return operations.BeginDeleteAsync(resourceGroupName, networkVirtualApplianceName, connectionName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a NVA connection. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the Network Virtual Appliance. + /// + /// + /// The name of the NVA connection. + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this INetworkVirtualApplianceConnectionsOperations operations, string resourceGroupName, string networkVirtualApplianceName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, connectionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this INetworkVirtualApplianceConnectionsOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists NetworkVirtualApplianceConnections under the NVA. + /// + /// + /// 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 INetworkVirtualApplianceConnectionsOperations 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/NetworkVirtualAppliancesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperations.cs index 183da10114cdc..29912e412a7bd 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperations.cs @@ -65,10 +65,10 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) /// /// The cancellation token. /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> DeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationHeaderResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -119,7 +119,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -500,10 +500,10 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) /// /// The cancellation token. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send Request - AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -544,7 +544,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -895,7 +895,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -909,7 +909,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1027,13 +1027,26 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationHeaderResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1074,7 +1087,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkVirtualApplianceName, NetworkVirtualAppliance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -1096,7 +1109,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1221,7 +1234,7 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -1264,6 +1277,19 @@ internal NetworkVirtualAppliancesOperations(NetworkManagementClient client) throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperationsExtensions.cs index 46bfc2243902f..678b7970d1e9d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperationsExtensions.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/NetworkVirtualAppliancesOperationsExtensions.cs @@ -33,9 +33,9 @@ public static partial class NetworkVirtualAppliancesOperationsExtensions /// /// The name of Network Virtual Appliance. /// - public static void Delete(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName) + public static NetworkVirtualAppliancesDeleteHeaders Delete(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName) { - operations.DeleteAsync(resourceGroupName, networkVirtualApplianceName).GetAwaiter().GetResult(); + return operations.DeleteAsync(resourceGroupName, networkVirtualApplianceName).GetAwaiter().GetResult(); } /// @@ -53,9 +53,12 @@ public static void Delete(this INetworkVirtualAppliancesOperations operations, s /// /// The cancellation token. /// - public static async Task DeleteAsync(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.DeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } } /// @@ -270,9 +273,9 @@ public static IPage List(this INetworkVirtualAppliances /// /// The name of Network Virtual Appliance. /// - public static void BeginDelete(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName) + public static NetworkVirtualAppliancesDeleteHeaders BeginDelete(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName) { - operations.BeginDeleteAsync(resourceGroupName, networkVirtualApplianceName).GetAwaiter().GetResult(); + return operations.BeginDeleteAsync(resourceGroupName, networkVirtualApplianceName).GetAwaiter().GetResult(); } /// @@ -290,9 +293,12 @@ public static void BeginDelete(this INetworkVirtualAppliancesOperations operatio /// /// The cancellation token. /// - public static async Task BeginDeleteAsync(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginDeleteAsync(this INetworkVirtualAppliancesOperations operations, string resourceGroupName, string networkVirtualApplianceName, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, networkVirtualApplianceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } } /// 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 38141f145446f..f3ee9b401cffc 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 4b4c184f5845a..faf75e2b98360 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 = "2022-09-01"; + string apiVersion = "2023-05-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 2cca2652465a9..2b62595959455 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 4e2c790ee7d18..0a0695a44d021 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 91e93f304794e..1c854bfc033c5 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 d3514ac766cb5..6947cdf806fc2 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 3ea4ce6dbce1e..00620d95da43f 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 6423246fcf823..af8389c79a8be 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 ddb3aa5905622..d9a1a57f71760 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperations.cs @@ -94,7 +94,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -310,7 +310,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -541,7 +541,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -773,7 +773,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1004,7 +1004,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1191,7 +1191,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1374,7 +1374,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2240,7 +2240,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2436,7 +2436,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2655,7 +2655,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 100% rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperationsExtensions.cs rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIPAddressesOperationsExtensions.cs 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 77958f70d72ae..dec4632a9fd6b 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1092,7 +1092,7 @@ internal PublicIPPrefixesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 f8ffc12fe379a..f9acef9903547 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 = "2022-09-01"; + string apiVersion = "2023-05-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 817a8c8ef337f..b55136f4069bf 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 b381f13df2db0..18bd89096859d 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteMapsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteMapsOperations.cs index 54d6012d018ce..98cf5c10d6658 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteMapsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RouteMapsOperations.cs @@ -101,7 +101,7 @@ internal RouteMapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routeMapName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -350,7 +350,7 @@ internal RouteMapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -558,7 +558,7 @@ internal RouteMapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routeMapParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -783,7 +783,7 @@ internal RouteMapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routeMapName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 6fca728c87ecc..fdb3412addc88 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 38c0765c09ae4..6a33cd85e2660 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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-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 = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutingIntentOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutingIntentOperations.cs index 6105762938409..4a4b695d7d321 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutingIntentOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/RoutingIntentOperations.cs @@ -130,7 +130,7 @@ internal RoutingIntentOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routingIntentName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -352,7 +352,7 @@ internal RoutingIntentOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -561,7 +561,7 @@ internal RoutingIntentOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routingIntentParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -786,7 +786,7 @@ internal RoutingIntentOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routingIntentName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ScopeConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ScopeConnectionsOperations.cs index b6ccb929e8a38..277ea1b9f7a9b 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ScopeConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ScopeConnectionsOperations.cs @@ -108,7 +108,7 @@ internal ScopeConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scopeConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -336,7 +336,7 @@ internal ScopeConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scopeConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -536,7 +536,7 @@ internal ScopeConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scopeConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -732,7 +732,7 @@ internal ScopeConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-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 cceaf00f77005..d0c101927de91 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 @@ -20,168 +20,158 @@ public static IEnumerable> ApiInfo_NetworkManageme return new Tuple[] { new Tuple("Compute", "NetworkInterfaces", "2018-10-01"), - new Tuple("Compute", "NetworkInterfaces", "2022-09-01"), + new Tuple("Compute", "NetworkInterfaces", "2023-05-01"), new Tuple("Compute", "PublicIPAddresses", "2018-10-01"), - new Tuple("Compute", "PublicIPAddresses", "2022-09-01"), - new Tuple("Compute", "VipSwap", "2022-09-01"), - new Tuple("Management", "ManagementGroupNetworkManagerConnections", "2022-09-01"), - new Tuple("Network", "AdminRuleCollections", "2022-09-01"), - new Tuple("Network", "AdminRules", "2022-09-01"), - new Tuple("Network", "ApplicationGatewayPrivateEndpointConnections", "2022-09-01"), - new Tuple("Network", "ApplicationGatewayPrivateLinkResources", "2022-09-01"), - new Tuple("Network", "ApplicationGatewayWafDynamicManifests", "2022-09-01"), - new Tuple("Network", "ApplicationGatewayWafDynamicManifestsDefault", "2022-09-01"), - new Tuple("Network", "ApplicationGateways", "2022-09-01"), - new Tuple("Network", "ApplicationSecurityGroups", "2022-09-01"), - new Tuple("Network", "AvailableDelegations", "2022-09-01"), - new Tuple("Network", "AvailableEndpointServices", "2022-09-01"), - new Tuple("Network", "AvailablePrivateEndpointTypes", "2022-09-01"), - new Tuple("Network", "AvailableResourceGroupDelegations", "2022-09-01"), - new Tuple("Network", "AvailableServiceAliases", "2022-09-01"), - new Tuple("Network", "AzureFirewallFqdnTags", "2022-09-01"), - new Tuple("Network", "AzureFirewalls", "2022-09-01"), - new Tuple("Network", "BastionHosts", "2022-09-01"), - new Tuple("Network", "BgpServiceCommunities", "2022-09-01"), - new Tuple("Network", "CheckDnsNameAvailability", "2022-09-01"), - new Tuple("Network", "ConfigurationPolicyGroups", "2022-09-01"), - new Tuple("Network", "ConnectionMonitors", "2022-09-01"), - new Tuple("Network", "ConnectivityConfigurations", "2022-09-01"), - new Tuple("Network", "CustomIPPrefixes", "2022-09-01"), - new Tuple("Network", "DdosCustomPolicies", "2022-09-01"), - new Tuple("Network", "DdosProtectionPlans", "2022-09-01"), - new Tuple("Network", "DefaultSecurityRules", "2022-09-01"), - new Tuple("Network", "DeleteBastionShareableLink", "2022-09-01"), - new Tuple("Network", "DisconnectActiveSessions", "2022-09-01"), - new Tuple("Network", "DscpConfiguration", "2022-09-01"), - new Tuple("Network", "ExpressRouteCircuitAuthorizations", "2022-09-01"), - new Tuple("Network", "ExpressRouteCircuitConnections", "2022-09-01"), - new Tuple("Network", "ExpressRouteCircuitPeerings", "2022-09-01"), - new Tuple("Network", "ExpressRouteCircuits", "2022-09-01"), - new Tuple("Network", "ExpressRouteConnections", "2022-09-01"), - new Tuple("Network", "ExpressRouteCrossConnectionPeerings", "2022-09-01"), - new Tuple("Network", "ExpressRouteCrossConnections", "2022-09-01"), - new Tuple("Network", "ExpressRouteGateways", "2022-09-01"), - new Tuple("Network", "ExpressRouteLinks", "2022-09-01"), - new Tuple("Network", "ExpressRoutePortAuthorizations", "2022-09-01"), - new Tuple("Network", "ExpressRoutePorts", "2022-09-01"), - new Tuple("Network", "ExpressRoutePortsLocations", "2022-09-01"), - new Tuple("Network", "ExpressRouteProviderPort", "2022-09-01"), - new Tuple("Network", "ExpressRouteProviderPortsLocation", "2022-09-01"), - new Tuple("Network", "ExpressRouteServiceProviders", "2022-09-01"), - new Tuple("Network", "FirewallPolicies", "2022-09-01"), - new Tuple("Network", "FirewallPolicyIdpsSignatures", "2022-09-01"), - new Tuple("Network", "FirewallPolicyIdpsSignaturesFilterValues", "2022-09-01"), - new Tuple("Network", "FirewallPolicyIdpsSignaturesOverrides", "2022-09-01"), - new Tuple("Network", "FirewallPolicyRuleCollectionGroups", "2022-09-01"), - new Tuple("Network", "FlowLogs", "2022-09-01"), - new Tuple("Network", "GetActiveSessions", "2022-09-01"), - new Tuple("Network", "GetBastionShareableLink", "2022-09-01"), - new Tuple("Network", "HubRouteTables", "2022-09-01"), - new Tuple("Network", "HubVirtualNetworkConnections", "2022-09-01"), - new Tuple("Network", "InboundNatRules", "2022-09-01"), - new Tuple("Network", "InboundSecurityRule", "2022-09-01"), - new Tuple("Network", "IpAllocations", "2022-09-01"), - new Tuple("Network", "IpGroups", "2022-09-01"), - new Tuple("Network", "ListActiveConnectivityConfigurations", "2022-09-01"), - new Tuple("Network", "ListActiveSecurityAdminRules", "2022-09-01"), - new Tuple("Network", "ListNetworkManagerEffectiveConnectivityConfigurations", "2022-09-01"), - new Tuple("Network", "ListNetworkManagerEffectiveSecurityAdminRules", "2022-09-01"), - new Tuple("Network", "LoadBalancerBackendAddressPools", "2022-09-01"), - new Tuple("Network", "LoadBalancerFrontendIPConfigurations", "2022-09-01"), - new Tuple("Network", "LoadBalancerLoadBalancingRules", "2022-09-01"), - new Tuple("Network", "LoadBalancerNetworkInterfaces", "2022-09-01"), - new Tuple("Network", "LoadBalancerOutboundRules", "2022-09-01"), - new Tuple("Network", "LoadBalancerProbes", "2022-09-01"), - new Tuple("Network", "LoadBalancers", "2022-09-01"), - new Tuple("Network", "LocalNetworkGateways", "2022-09-01"), - new Tuple("Network", "NatGateways", "2022-09-01"), - new Tuple("Network", "NatRules", "2022-09-01"), - new Tuple("Network", "NetworkGroups", "2022-09-01"), - new Tuple("Network", "NetworkInterfaceIPConfigurations", "2022-09-01"), - new Tuple("Network", "NetworkInterfaceLoadBalancers", "2022-09-01"), - new Tuple("Network", "NetworkInterfaceTapConfigurations", "2022-09-01"), - new Tuple("Network", "NetworkInterfaces", "2022-09-01"), - new Tuple("Network", "NetworkManagerCommits", "2022-09-01"), - new Tuple("Network", "NetworkManagerDeploymentStatus", "2022-09-01"), - new Tuple("Network", "NetworkManagers", "2022-09-01"), - new Tuple("Network", "NetworkProfiles", "2022-09-01"), - new Tuple("Network", "NetworkSecurityGroups", "2022-09-01"), - new Tuple("Network", "NetworkVirtualAppliances", "2022-09-01"), - new Tuple("Network", "NetworkWatchers", "2022-09-01"), - new Tuple("Network", "Operations", "2022-09-01"), - new Tuple("Network", "P2SVpnGateways", "2022-09-01"), - new Tuple("Network", "P2sVpnGateways", "2022-09-01"), - new Tuple("Network", "PacketCaptures", "2022-09-01"), - new Tuple("Network", "PeerExpressRouteCircuitConnections", "2022-09-01"), - new Tuple("Network", "PrivateDnsZoneGroups", "2022-09-01"), - new Tuple("Network", "PrivateEndpoints", "2022-09-01"), - new Tuple("Network", "PrivateLinkServices", "2022-09-01"), - new Tuple("Network", "PublicIPAddresses", "2022-09-01"), - new Tuple("Network", "PublicIPPrefixes", "2022-09-01"), - new Tuple("Network", "PutBastionShareableLink", "2022-09-01"), - new Tuple("Network", "ResourceNavigationLinks", "2022-09-01"), - new Tuple("Network", "RouteFilterRules", "2022-09-01"), - new Tuple("Network", "RouteFilters", "2022-09-01"), - new Tuple("Network", "RouteMaps", "2022-09-01"), - new Tuple("Network", "RouteTables", "2022-09-01"), - new Tuple("Network", "Routes", "2022-09-01"), - new Tuple("Network", "RoutingIntent", "2022-09-01"), - new Tuple("Network", "ScopeConnections", "2022-09-01"), - new Tuple("Network", "SecurityAdminConfigurations", "2022-09-01"), - new Tuple("Network", "SecurityPartnerProviders", "2022-09-01"), - new Tuple("Network", "SecurityRules", "2022-09-01"), - new Tuple("Network", "ServiceAssociationLinks", "2022-09-01"), - new Tuple("Network", "ServiceEndpointPolicies", "2022-09-01"), - new Tuple("Network", "ServiceEndpointPolicyDefinitions", "2022-09-01"), - new Tuple("Network", "ServiceTagInformation", "2022-09-01"), - new Tuple("Network", "ServiceTags", "2022-09-01"), - new Tuple("Network", "StaticMembers", "2022-09-01"), - new Tuple("Network", "Subnets", "2022-09-01"), - new Tuple("Network", "SubscriptionNetworkManagerConnections", "2022-09-01"), - new Tuple("Network", "SupportedSecurityProviders", "2022-09-01"), - new Tuple("Network", "Usages", "2022-09-01"), - new Tuple("Network", "VirtualApplianceSites", "2022-09-01"), - new Tuple("Network", "VirtualApplianceSkus", "2022-09-01"), - new Tuple("Network", "VirtualHubBgpConnection", "2022-09-01"), - new Tuple("Network", "VirtualHubBgpConnections", "2022-09-01"), - new Tuple("Network", "VirtualHubIpConfiguration", "2022-09-01"), - new Tuple("Network", "VirtualHubRouteTableV2s", "2022-09-01"), - new Tuple("Network", "VirtualHubs", "2022-09-01"), - new Tuple("Network", "VirtualNetworkGatewayConnections", "2022-09-01"), - new Tuple("Network", "VirtualNetworkGatewayNatRules", "2022-09-01"), - new Tuple("Network", "VirtualNetworkGateways", "2022-09-01"), - new Tuple("Network", "VirtualNetworkPeerings", "2022-09-01"), - new Tuple("Network", "VirtualNetworkTaps", "2022-09-01"), - new Tuple("Network", "VirtualNetworks", "2022-09-01"), - new Tuple("Network", "VirtualRouterPeerings", "2022-09-01"), - new Tuple("Network", "VirtualRouters", "2022-09-01"), - new Tuple("Network", "VirtualWans", "2022-09-01"), - new Tuple("Network", "VpnConnections", "2022-09-01"), - new Tuple("Network", "VpnGateways", "2022-09-01"), - new Tuple("Network", "VpnLinkConnections", "2022-09-01"), - new Tuple("Network", "VpnServerConfigurations", "2022-09-01"), - new Tuple("Network", "VpnServerConfigurationsAssociatedWithVirtualWan", "2022-09-01"), - new Tuple("Network", "VpnSiteLinkConnections", "2022-09-01"), - new Tuple("Network", "VpnSiteLinks", "2022-09-01"), - new Tuple("Network", "VpnSites", "2022-09-01"), - new Tuple("Network", "VpnSitesConfiguration", "2022-09-01"), - new Tuple("Network", "WebApplicationFirewallPolicies", "2022-09-01"), - new Tuple("Network", "WebCategories", "2022-09-01"), - new Tuple("Network", "configurationPolicyGroups", "2022-09-01"), - new Tuple("Network", "generatevirtualwanvpnserverconfigurationvpnprofile", "2022-09-01"), + new Tuple("Compute", "PublicIPAddresses", "2023-05-01"), + new Tuple("Compute", "VipSwap", "2023-05-01"), + new Tuple("Management", "ManagementGroupNetworkManagerConnections", "2023-05-01"), + new Tuple("Network", "AdminRuleCollections", "2023-05-01"), + new Tuple("Network", "AdminRules", "2023-05-01"), + new Tuple("Network", "ApplicationGatewayPrivateEndpointConnections", "2023-05-01"), + new Tuple("Network", "ApplicationGatewayPrivateLinkResources", "2023-05-01"), + new Tuple("Network", "ApplicationGatewayWafDynamicManifests", "2023-05-01"), + new Tuple("Network", "ApplicationGatewayWafDynamicManifestsDefault", "2023-05-01"), + new Tuple("Network", "ApplicationGateways", "2023-05-01"), + new Tuple("Network", "ApplicationSecurityGroups", "2023-05-01"), + new Tuple("Network", "AvailableDelegations", "2023-05-01"), + new Tuple("Network", "AvailableEndpointServices", "2023-05-01"), + new Tuple("Network", "AvailablePrivateEndpointTypes", "2023-05-01"), + new Tuple("Network", "AvailableResourceGroupDelegations", "2023-05-01"), + new Tuple("Network", "AvailableServiceAliases", "2023-05-01"), + new Tuple("Network", "AzureFirewallFqdnTags", "2023-05-01"), + new Tuple("Network", "AzureFirewalls", "2023-05-01"), + new Tuple("Network", "BastionHosts", "2023-05-01"), + new Tuple("Network", "BgpServiceCommunities", "2023-05-01"), + new Tuple("Network", "CheckDnsNameAvailability", "2023-05-01"), + new Tuple("Network", "ConfigurationPolicyGroups", "2023-05-01"), + new Tuple("Network", "ConnectionMonitors", "2023-05-01"), + new Tuple("Network", "ConnectivityConfigurations", "2023-05-01"), + new Tuple("Network", "CustomIPPrefixes", "2023-05-01"), + new Tuple("Network", "DdosCustomPolicies", "2023-05-01"), + new Tuple("Network", "DdosProtectionPlans", "2023-05-01"), + new Tuple("Network", "DefaultSecurityRules", "2023-05-01"), + new Tuple("Network", "DeleteBastionShareableLink", "2023-05-01"), + new Tuple("Network", "DisconnectActiveSessions", "2023-05-01"), + new Tuple("Network", "DscpConfiguration", "2023-05-01"), + new Tuple("Network", "ExpressRouteCircuitAuthorizations", "2023-05-01"), + new Tuple("Network", "ExpressRouteCircuitConnections", "2023-05-01"), + new Tuple("Network", "ExpressRouteCircuitPeerings", "2023-05-01"), + new Tuple("Network", "ExpressRouteCircuits", "2023-05-01"), + new Tuple("Network", "ExpressRouteConnections", "2023-05-01"), + new Tuple("Network", "ExpressRouteCrossConnectionPeerings", "2023-05-01"), + new Tuple("Network", "ExpressRouteCrossConnections", "2023-05-01"), + new Tuple("Network", "ExpressRouteGateways", "2023-05-01"), + new Tuple("Network", "ExpressRouteLinks", "2023-05-01"), + new Tuple("Network", "ExpressRoutePortAuthorizations", "2023-05-01"), + new Tuple("Network", "ExpressRoutePorts", "2023-05-01"), + new Tuple("Network", "ExpressRoutePortsLocations", "2023-05-01"), + new Tuple("Network", "ExpressRouteProviderPort", "2023-05-01"), + new Tuple("Network", "ExpressRouteProviderPortsLocation", "2023-05-01"), + new Tuple("Network", "ExpressRouteServiceProviders", "2023-05-01"), + new Tuple("Network", "FirewallPolicies", "2023-05-01"), + new Tuple("Network", "FirewallPolicyIdpsSignatures", "2023-05-01"), + new Tuple("Network", "FirewallPolicyIdpsSignaturesFilterValues", "2023-05-01"), + new Tuple("Network", "FirewallPolicyIdpsSignaturesOverrides", "2023-05-01"), + new Tuple("Network", "FirewallPolicyRuleCollectionGroups", "2023-05-01"), + new Tuple("Network", "FlowLogs", "2023-05-01"), + new Tuple("Network", "GetActiveSessions", "2023-05-01"), + new Tuple("Network", "GetBastionShareableLink", "2023-05-01"), + new Tuple("Network", "HubRouteTables", "2023-05-01"), + new Tuple("Network", "HubVirtualNetworkConnections", "2023-05-01"), + new Tuple("Network", "InboundNatRules", "2023-05-01"), + new Tuple("Network", "InboundSecurityRule", "2023-05-01"), + new Tuple("Network", "IpAllocations", "2023-05-01"), + new Tuple("Network", "IpGroups", "2023-05-01"), + new Tuple("Network", "ListActiveConnectivityConfigurations", "2023-05-01"), + new Tuple("Network", "ListActiveSecurityAdminRules", "2023-05-01"), + new Tuple("Network", "ListNetworkManagerEffectiveConnectivityConfigurations", "2023-05-01"), + new Tuple("Network", "ListNetworkManagerEffectiveSecurityAdminRules", "2023-05-01"), + new Tuple("Network", "LoadBalancerBackendAddressPools", "2023-05-01"), + new Tuple("Network", "LoadBalancerFrontendIPConfigurations", "2023-05-01"), + new Tuple("Network", "LoadBalancerLoadBalancingRules", "2023-05-01"), + new Tuple("Network", "LoadBalancerNetworkInterfaces", "2023-05-01"), + new Tuple("Network", "LoadBalancerOutboundRules", "2023-05-01"), + new Tuple("Network", "LoadBalancerProbes", "2023-05-01"), + new Tuple("Network", "LoadBalancers", "2023-05-01"), + new Tuple("Network", "LocalNetworkGateways", "2023-05-01"), + new Tuple("Network", "NatGateways", "2023-05-01"), + new Tuple("Network", "NatRules", "2023-05-01"), + new Tuple("Network", "NetworkGroups", "2023-05-01"), + new Tuple("Network", "NetworkInterfaceIPConfigurations", "2023-05-01"), + new Tuple("Network", "NetworkInterfaceLoadBalancers", "2023-05-01"), + new Tuple("Network", "NetworkInterfaceTapConfigurations", "2023-05-01"), + new Tuple("Network", "NetworkInterfaces", "2023-05-01"), + new Tuple("Network", "NetworkManagerCommits", "2023-05-01"), + new Tuple("Network", "NetworkManagerDeploymentStatus", "2023-05-01"), + new Tuple("Network", "NetworkManagers", "2023-05-01"), + new Tuple("Network", "NetworkProfiles", "2023-05-01"), + new Tuple("Network", "NetworkSecurityGroups", "2023-05-01"), + new Tuple("Network", "NetworkVirtualApplianceConnections", "2023-05-01"), + new Tuple("Network", "NetworkVirtualAppliances", "2023-05-01"), + new Tuple("Network", "NetworkWatchers", "2023-05-01"), + new Tuple("Network", "Operations", "2023-05-01"), + new Tuple("Network", "P2SVpnGateways", "2023-05-01"), + new Tuple("Network", "P2sVpnGateways", "2023-05-01"), + new Tuple("Network", "PacketCaptures", "2023-05-01"), + new Tuple("Network", "PeerExpressRouteCircuitConnections", "2023-05-01"), + new Tuple("Network", "PrivateDnsZoneGroups", "2023-05-01"), + new Tuple("Network", "PrivateEndpoints", "2023-05-01"), + new Tuple("Network", "PrivateLinkServices", "2023-05-01"), + new Tuple("Network", "PublicIPAddresses", "2023-05-01"), + new Tuple("Network", "PublicIPPrefixes", "2023-05-01"), + new Tuple("Network", "PutBastionShareableLink", "2023-05-01"), + new Tuple("Network", "ResourceNavigationLinks", "2023-05-01"), + new Tuple("Network", "RouteFilterRules", "2023-05-01"), + new Tuple("Network", "RouteFilters", "2023-05-01"), + new Tuple("Network", "RouteMaps", "2023-05-01"), + new Tuple("Network", "RouteTables", "2023-05-01"), + new Tuple("Network", "Routes", "2023-05-01"), + new Tuple("Network", "RoutingIntent", "2023-05-01"), + new Tuple("Network", "ScopeConnections", "2023-05-01"), + new Tuple("Network", "SecurityAdminConfigurations", "2023-05-01"), + new Tuple("Network", "SecurityPartnerProviders", "2023-05-01"), + new Tuple("Network", "SecurityRules", "2023-05-01"), + new Tuple("Network", "ServiceAssociationLinks", "2023-05-01"), + new Tuple("Network", "ServiceEndpointPolicies", "2023-05-01"), + new Tuple("Network", "ServiceEndpointPolicyDefinitions", "2023-05-01"), + new Tuple("Network", "ServiceTagInformation", "2023-05-01"), + new Tuple("Network", "ServiceTags", "2023-05-01"), + new Tuple("Network", "StaticMembers", "2023-05-01"), + new Tuple("Network", "Subnets", "2023-05-01"), + new Tuple("Network", "SubscriptionNetworkManagerConnections", "2023-05-01"), + new Tuple("Network", "SupportedSecurityProviders", "2023-05-01"), + new Tuple("Network", "Usages", "2023-05-01"), + new Tuple("Network", "VirtualApplianceSites", "2023-05-01"), + new Tuple("Network", "VirtualApplianceSkus", "2023-05-01"), + new Tuple("Network", "VirtualHubBgpConnection", "2023-05-01"), + new Tuple("Network", "VirtualHubBgpConnections", "2023-05-01"), + new Tuple("Network", "VirtualHubIpConfiguration", "2023-05-01"), + new Tuple("Network", "VirtualHubRouteTableV2s", "2023-05-01"), + new Tuple("Network", "VirtualHubs", "2023-05-01"), + new Tuple("Network", "VirtualNetworkGatewayConnections", "2023-05-01"), + new Tuple("Network", "VirtualNetworkGatewayNatRules", "2023-05-01"), + new Tuple("Network", "VirtualNetworkGateways", "2023-05-01"), + new Tuple("Network", "VirtualNetworkPeerings", "2023-05-01"), + new Tuple("Network", "VirtualNetworkTaps", "2023-05-01"), + new Tuple("Network", "VirtualNetworks", "2023-05-01"), + new Tuple("Network", "VirtualRouterPeerings", "2023-05-01"), + new Tuple("Network", "VirtualRouters", "2023-05-01"), + new Tuple("Network", "VirtualWans", "2023-05-01"), + new Tuple("Network", "VpnConnections", "2023-05-01"), + new Tuple("Network", "VpnGateways", "2023-05-01"), + new Tuple("Network", "VpnLinkConnections", "2023-05-01"), + new Tuple("Network", "VpnServerConfigurations", "2023-05-01"), + new Tuple("Network", "VpnServerConfigurationsAssociatedWithVirtualWan", "2023-05-01"), + new Tuple("Network", "VpnSiteLinkConnections", "2023-05-01"), + new Tuple("Network", "VpnSiteLinks", "2023-05-01"), + new Tuple("Network", "VpnSites", "2023-05-01"), + new Tuple("Network", "VpnSitesConfiguration", "2023-05-01"), + new Tuple("Network", "WebApplicationFirewallPolicies", "2023-05-01"), + new Tuple("Network", "WebCategories", "2023-05-01"), + new Tuple("Network", "configurationPolicyGroups", "2023-05-01"), + new Tuple("Network", "generatevirtualwanvpnserverconfigurationvpnprofile", "2023-05-01"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "2.0.4421"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/readme.md --csharp --version=2.0.4421 --reflect-api-versions --csharp-sdks-folder=D:\\GitRepos\\AzureSdkForNet4\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "main"; - public static readonly String GithubCommidId = "382192a08796a202d9d1915e4d2e339dfd4d110d"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityAdminConfigurationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityAdminConfigurationsOperations.cs index 810802490626f..393a1ad2f2c46 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityAdminConfigurationsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityAdminConfigurationsOperations.cs @@ -113,7 +113,7 @@ internal SecurityAdminConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -324,7 +324,7 @@ internal SecurityAdminConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -534,7 +534,7 @@ internal SecurityAdminConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -794,7 +794,7 @@ internal SecurityAdminConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "configurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityPartnerProvidersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityPartnerProvidersOperations.cs index 3f78ef5fd5092..b9074eee762e8 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityPartnerProvidersOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityPartnerProvidersOperations.cs @@ -116,7 +116,7 @@ internal SecurityPartnerProvidersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -343,7 +343,7 @@ internal SecurityPartnerProvidersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal SecurityPartnerProvidersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -715,7 +715,7 @@ internal SecurityPartnerProvidersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -902,7 +902,7 @@ internal SecurityPartnerProvidersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1086,7 +1086,7 @@ internal SecurityPartnerProvidersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityRulesOperations.cs index 5f369b869e193..c0a9969514187 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityRulesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SecurityRulesOperations.cs @@ -126,7 +126,7 @@ internal SecurityRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal SecurityRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -549,7 +549,7 @@ internal SecurityRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -746,7 +746,7 @@ internal SecurityRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceAssociationLinksOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceAssociationLinksOperations.cs index 428136bc4046e..bbcaf8e058989 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceAssociationLinksOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceAssociationLinksOperations.cs @@ -101,7 +101,7 @@ internal ServiceAssociationLinksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPoliciesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPoliciesOperations.cs index 1d4a6cae706d6..97fe19c641494 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPoliciesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPoliciesOperations.cs @@ -119,7 +119,7 @@ internal ServiceEndpointPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal ServiceEndpointPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -538,7 +538,7 @@ internal ServiceEndpointPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -721,7 +721,7 @@ internal ServiceEndpointPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -910,7 +910,7 @@ internal ServiceEndpointPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1094,7 +1094,7 @@ internal ServiceEndpointPoliciesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs index 6e1884d88dc65..402eda4e97e3d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs @@ -127,7 +127,7 @@ internal ServiceEndpointPolicyDefinitionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -353,7 +353,7 @@ internal ServiceEndpointPolicyDefinitionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -551,7 +551,7 @@ internal ServiceEndpointPolicyDefinitionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -745,7 +745,7 @@ internal ServiceEndpointPolicyDefinitionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagInformationOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagInformationOperations.cs index 0b0f3c211b812..65725795dac37 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagInformationOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagInformationOperations.cs @@ -96,7 +96,7 @@ internal ServiceTagInformationOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagsOperations.cs index 794804e35d864..727afeee7c213 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/ServiceTagsOperations.cs @@ -90,7 +90,7 @@ internal ServiceTagsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/StaticMembersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/StaticMembersOperations.cs index cb9f70d0c3827..933417e63be3b 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/StaticMembersOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/StaticMembersOperations.cs @@ -108,7 +108,7 @@ internal StaticMembersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "staticMemberName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -327,7 +327,7 @@ internal StaticMembersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "staticMemberName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -561,7 +561,7 @@ internal StaticMembersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "staticMemberName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -766,7 +766,7 @@ internal StaticMembersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubnetsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubnetsOperations.cs index 2c2c309264029..94f9f6fca6d4a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubnetsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubnetsOperations.cs @@ -129,7 +129,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -414,7 +414,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -612,7 +612,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -804,7 +804,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1036,7 +1036,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1232,7 +1232,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubscriptionNetworkManagerConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubscriptionNetworkManagerConnectionsOperations.cs index e8f78fbc5aa3c..b3e45c77df4fe 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubscriptionNetworkManagerConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/SubscriptionNetworkManagerConnectionsOperations.cs @@ -94,7 +94,7 @@ internal SubscriptionNetworkManagerConnectionsOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -304,7 +304,7 @@ internal SubscriptionNetworkManagerConnectionsOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -486,7 +486,7 @@ internal SubscriptionNetworkManagerConnectionsOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "networkManagerConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -664,7 +664,7 @@ internal SubscriptionNetworkManagerConnectionsOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/UsagesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/UsagesOperations.cs index 7b70c0bdf59c6..c8e18d69b48ab 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/UsagesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/UsagesOperations.cs @@ -94,7 +94,7 @@ internal UsagesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VipSwapOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VipSwapOperations.cs index 16e00ed6cbad7..dddf80b7d615a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VipSwapOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VipSwapOperations.cs @@ -97,7 +97,7 @@ internal VipSwapOperations(NetworkManagementClient client) throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } string singletonResource = "swap"; - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -321,7 +321,7 @@ internal VipSwapOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -521,7 +521,7 @@ internal VipSwapOperations(NetworkManagementClient client) throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } string singletonResource = "swap"; - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSitesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSitesOperations.cs index 6800c12d7393a..cc3c3bd0b0386 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSitesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSitesOperations.cs @@ -126,7 +126,7 @@ internal VirtualApplianceSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -352,7 +352,7 @@ internal VirtualApplianceSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -550,7 +550,7 @@ internal VirtualApplianceSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -743,7 +743,7 @@ internal VirtualApplianceSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSkusOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSkusOperations.cs index 1ca894ae5d051..368e975cfd878 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSkusOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualApplianceSkusOperations.cs @@ -80,7 +80,7 @@ internal VirtualApplianceSkusOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -263,7 +263,7 @@ internal VirtualApplianceSkusOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "skuName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionOperations.cs index b79c8693ca609..e6976951288df 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionOperations.cs @@ -101,7 +101,7 @@ internal VirtualHubBgpConnectionOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -370,7 +370,7 @@ internal VirtualHubBgpConnectionOperations(NetworkManagementClient client) { parameters.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -595,7 +595,7 @@ internal VirtualHubBgpConnectionOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperations.cs index 39d9d6244254a..94b46253a4392 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperations.cs @@ -94,7 +94,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -262,10 +262,10 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) /// /// The cancellation token. /// - public async Task> ListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>>> ListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginListLearnedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse>> _response = await BeginListLearnedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -288,10 +288,10 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) /// /// The cancellation token. /// - public async Task> ListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>>> ListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginListAdvertisedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse>> _response = await BeginListAdvertisedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -328,7 +328,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>>> BeginListLearnedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -346,7 +346,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -466,7 +466,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -479,7 +479,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -532,7 +532,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>>> BeginListAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string hubName, string connectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -550,7 +550,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -670,7 +670,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -683,7 +683,7 @@ internal VirtualHubBgpConnectionsOperations(NetworkManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperationsExtensions.cs index f4b57892ab325..6046e1411500c 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperationsExtensions.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubBgpConnectionsOperationsExtensions.cs @@ -13,6 +13,8 @@ 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; @@ -76,7 +78,7 @@ public static IPage List(this IVirtualHubBgpConnectionsOperations /// /// The name of the virtual hub bgp connection. /// - public static PeerRouteList ListLearnedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) + public static IDictionary> ListLearnedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) { return operations.ListLearnedRoutesAsync(resourceGroupName, hubName, connectionName).GetAwaiter().GetResult(); } @@ -99,7 +101,7 @@ public static PeerRouteList ListLearnedRoutes(this IVirtualHubBgpConnectionsOper /// /// The cancellation token. /// - public static async Task ListLearnedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task>> ListLearnedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListLearnedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, null, cancellationToken).ConfigureAwait(false)) { @@ -123,7 +125,7 @@ public static PeerRouteList ListLearnedRoutes(this IVirtualHubBgpConnectionsOper /// /// The name of the virtual hub bgp connection. /// - public static PeerRouteList ListAdvertisedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) + public static IDictionary> ListAdvertisedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) { return operations.ListAdvertisedRoutesAsync(resourceGroupName, hubName, connectionName).GetAwaiter().GetResult(); } @@ -147,7 +149,7 @@ public static PeerRouteList ListAdvertisedRoutes(this IVirtualHubBgpConnectionsO /// /// The cancellation token. /// - public static async Task ListAdvertisedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task>> ListAdvertisedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListAdvertisedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, null, cancellationToken).ConfigureAwait(false)) { @@ -170,7 +172,7 @@ public static PeerRouteList ListAdvertisedRoutes(this IVirtualHubBgpConnectionsO /// /// The name of the virtual hub bgp connection. /// - public static PeerRouteList BeginListLearnedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) + public static IDictionary> BeginListLearnedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) { return operations.BeginListLearnedRoutesAsync(resourceGroupName, hubName, connectionName).GetAwaiter().GetResult(); } @@ -193,7 +195,7 @@ public static PeerRouteList BeginListLearnedRoutes(this IVirtualHubBgpConnection /// /// The cancellation token. /// - public static async Task BeginListLearnedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task>> BeginListLearnedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginListLearnedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, null, cancellationToken).ConfigureAwait(false)) { @@ -217,7 +219,7 @@ public static PeerRouteList BeginListLearnedRoutes(this IVirtualHubBgpConnection /// /// The name of the virtual hub bgp connection. /// - public static PeerRouteList BeginListAdvertisedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) + public static IDictionary> BeginListAdvertisedRoutes(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName) { return operations.BeginListAdvertisedRoutesAsync(resourceGroupName, hubName, connectionName).GetAwaiter().GetResult(); } @@ -241,7 +243,7 @@ public static PeerRouteList BeginListAdvertisedRoutes(this IVirtualHubBgpConnect /// /// The cancellation token. /// - public static async Task BeginListAdvertisedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task>> BeginListAdvertisedRoutesAsync(this IVirtualHubBgpConnectionsOperations operations, string resourceGroupName, string hubName, string connectionName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginListAdvertisedRoutesWithHttpMessagesAsync(resourceGroupName, hubName, connectionName, null, cancellationToken).ConfigureAwait(false)) { diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubIpConfigurationOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubIpConfigurationOperations.cs index 56a3fbd6a0f55..f93c73e3c8332 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubIpConfigurationOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubIpConfigurationOperations.cs @@ -101,7 +101,7 @@ internal VirtualHubIpConfigurationOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ipConfigName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal VirtualHubIpConfigurationOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -560,7 +560,7 @@ internal VirtualHubIpConfigurationOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -785,7 +785,7 @@ internal VirtualHubIpConfigurationOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ipConfigName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubRouteTableV2sOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubRouteTableV2sOperations.cs index 9fe3e1d8ec40f..541cd867ada65 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubRouteTableV2sOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubRouteTableV2sOperations.cs @@ -101,7 +101,7 @@ internal VirtualHubRouteTableV2sOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routeTableName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -346,7 +346,7 @@ internal VirtualHubRouteTableV2sOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -555,7 +555,7 @@ internal VirtualHubRouteTableV2sOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubRouteTableV2Parameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -775,7 +775,7 @@ internal VirtualHubRouteTableV2sOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "routeTableName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperations.cs index ec098bf7c3d81..05c70841d8591 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperations.cs @@ -94,7 +94,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -321,7 +321,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -715,7 +715,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -880,10 +880,10 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// The cancellation token. /// - public async Task GetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse _response = await BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -906,10 +906,10 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// The cancellation token. /// - public async Task GetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginGetInboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse _response = await BeginGetInboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -932,10 +932,10 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// The cancellation token. /// - public async Task GetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginGetOutboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse _response = await BeginGetOutboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } @@ -995,7 +995,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { virtualHubParameters.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1211,7 +1211,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1365,6 +1365,9 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -1374,7 +1377,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1388,7 +1391,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualHubName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1513,13 +1516,31 @@ internal VirtualHubsOperations(NetworkManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + 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); @@ -1549,6 +1570,9 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -1558,7 +1582,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginGetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginGetInboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1576,7 +1600,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "getInboundRoutesParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1701,13 +1725,31 @@ internal VirtualHubsOperations(NetworkManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + 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); @@ -1737,6 +1779,9 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -1746,7 +1791,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginGetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginGetOutboundRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1764,7 +1809,7 @@ internal VirtualHubsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "getOutboundRoutesParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1889,13 +1934,31 @@ internal VirtualHubsOperations(NetworkManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + 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); diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperationsExtensions.cs index 08ead71ddda9c..672e1bd602e37 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperationsExtensions.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualHubsOperationsExtensions.cs @@ -270,9 +270,9 @@ public static IPage List(this IVirtualHubsOperations operations) /// /// Parameters supplied to get the effective routes for a specific resource. /// - public static void GetEffectiveVirtualHubRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters)) + public static VirtualHubEffectiveRouteList GetEffectiveVirtualHubRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters)) { - operations.GetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters).GetAwaiter().GetResult(); + return operations.GetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters).GetAwaiter().GetResult(); } /// @@ -294,9 +294,12 @@ public static IPage List(this IVirtualHubsOperations operations) /// /// The cancellation token. /// - public static async Task GetEffectiveVirtualHubRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetEffectiveVirtualHubRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.GetEffectiveVirtualHubRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.GetEffectiveVirtualHubRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// @@ -315,9 +318,9 @@ public static IPage List(this IVirtualHubsOperations operations) /// /// Parameters supplied to get the inbound routes for a connection resource. /// - public static void GetInboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) + public static EffectiveRouteMapRouteList GetInboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { - operations.GetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).GetAwaiter().GetResult(); + return operations.GetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).GetAwaiter().GetResult(); } /// @@ -339,9 +342,12 @@ public static void GetInboundRoutes(this IVirtualHubsOperations operations, stri /// /// The cancellation token. /// - public static async Task GetInboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetInboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.GetInboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.GetInboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// @@ -360,9 +366,9 @@ public static void GetInboundRoutes(this IVirtualHubsOperations operations, stri /// /// Parameters supplied to get the outbound routes for a connection resource. /// - public static void GetOutboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) + public static EffectiveRouteMapRouteList GetOutboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { - operations.GetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).GetAwaiter().GetResult(); + return operations.GetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).GetAwaiter().GetResult(); } /// @@ -384,9 +390,12 @@ public static void GetOutboundRoutes(this IVirtualHubsOperations operations, str /// /// The cancellation token. /// - public static async Task GetOutboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetOutboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.GetOutboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.GetOutboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// @@ -490,9 +499,9 @@ public static void BeginDelete(this IVirtualHubsOperations operations, string re /// /// Parameters supplied to get the effective routes for a specific resource. /// - public static void BeginGetEffectiveVirtualHubRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters)) + public static VirtualHubEffectiveRouteList BeginGetEffectiveVirtualHubRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters)) { - operations.BeginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters).GetAwaiter().GetResult(); + return operations.BeginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters).GetAwaiter().GetResult(); } /// @@ -514,9 +523,12 @@ public static void BeginDelete(this IVirtualHubsOperations operations, string re /// /// The cancellation token. /// - public static async Task BeginGetEffectiveVirtualHubRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginGetEffectiveVirtualHubRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters = default(EffectiveRoutesParameters), CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginGetEffectiveVirtualHubRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// @@ -535,9 +547,9 @@ public static void BeginDelete(this IVirtualHubsOperations operations, string re /// /// Parameters supplied to get the inbound routes for a connection resource. /// - public static void BeginGetInboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) + public static EffectiveRouteMapRouteList BeginGetInboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { - operations.BeginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).GetAwaiter().GetResult(); + return operations.BeginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).GetAwaiter().GetResult(); } /// @@ -559,9 +571,12 @@ public static void BeginGetInboundRoutes(this IVirtualHubsOperations operations, /// /// The cancellation token. /// - public static async Task BeginGetInboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginGetInboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.BeginGetInboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginGetInboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// @@ -580,9 +595,9 @@ public static void BeginGetInboundRoutes(this IVirtualHubsOperations operations, /// /// Parameters supplied to get the outbound routes for a connection resource. /// - public static void BeginGetOutboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) + public static EffectiveRouteMapRouteList BeginGetOutboundRoutes(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { - operations.BeginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).GetAwaiter().GetResult(); + return operations.BeginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).GetAwaiter().GetResult(); } /// @@ -604,9 +619,12 @@ public static void BeginGetOutboundRoutes(this IVirtualHubsOperations operations /// /// The cancellation token. /// - public static async Task BeginGetOutboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginGetOutboundRoutesAsync(this IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.BeginGetOutboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginGetOutboundRoutesWithHttpMessagesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs index 0b15775e92410..767570aa7328e 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs @@ -121,7 +121,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -393,7 +393,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -581,7 +581,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -914,7 +914,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1130,7 +1130,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1313,7 +1313,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1529,7 +1529,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1763,7 +1763,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1969,7 +1969,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2174,7 +2174,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2371,7 +2371,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2557,7 +2557,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayNatRulesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayNatRulesOperations.cs index b2e878c36c1fd..de3a99403ac4d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayNatRulesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewayNatRulesOperations.cs @@ -101,7 +101,7 @@ internal VirtualNetworkGatewayNatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "natRuleName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal VirtualNetworkGatewayNatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualNetworkGatewayName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -560,7 +560,7 @@ internal VirtualNetworkGatewayNatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "natRuleParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -785,7 +785,7 @@ internal VirtualNetworkGatewayNatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "natRuleName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewaysOperations.cs index a1709ef45a9a8..128403a2c567a 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewaysOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkGatewaysOperations.cs @@ -120,7 +120,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -354,7 +354,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -546,7 +546,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -893,7 +893,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1196,7 +1196,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1512,7 +1512,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1728,7 +1728,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1911,7 +1911,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2117,7 +2117,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2314,7 +2314,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2499,7 +2499,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2709,7 +2709,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2912,7 +2912,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3109,7 +3109,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3309,7 +3309,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3511,7 +3511,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3724,7 +3724,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3927,7 +3927,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4126,7 +4126,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4331,7 +4331,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4528,7 +4528,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -4727,7 +4727,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "request"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkPeeringsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkPeeringsOperations.cs index 66db3b762a5fd..3af34c37773e4 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkPeeringsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkPeeringsOperations.cs @@ -126,7 +126,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -356,7 +356,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -554,7 +554,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -756,7 +756,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkTapsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkTapsOperations.cs index 9b3f9dda9dd45..febd195521f3f 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkTapsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworkTapsOperations.cs @@ -116,7 +116,7 @@ internal VirtualNetworkTapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -342,7 +342,7 @@ internal VirtualNetworkTapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -529,7 +529,7 @@ internal VirtualNetworkTapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -712,7 +712,7 @@ internal VirtualNetworkTapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -901,7 +901,7 @@ internal VirtualNetworkTapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1084,7 +1084,7 @@ internal VirtualNetworkTapsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworksOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworksOperations.cs index 06a39407fb258..2843638020150 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworksOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualNetworksOperations.cs @@ -119,7 +119,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -350,7 +350,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -720,7 +720,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -919,7 +919,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1118,7 +1118,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1338,7 +1338,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1525,7 +1525,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1751,7 +1751,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRouterPeeringsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRouterPeeringsOperations.cs index 70061866cd939..9805f94f8032c 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRouterPeeringsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRouterPeeringsOperations.cs @@ -126,7 +126,7 @@ internal VirtualRouterPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -346,7 +346,7 @@ internal VirtualRouterPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -539,7 +539,7 @@ internal VirtualRouterPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -731,7 +731,7 @@ internal VirtualRouterPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRoutersOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRoutersOperations.cs index 5e86b171fc335..85742aff136ff 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRoutersOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualRoutersOperations.cs @@ -119,7 +119,7 @@ internal VirtualRoutersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -331,7 +331,7 @@ internal VirtualRoutersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -504,7 +504,7 @@ internal VirtualRoutersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -686,7 +686,7 @@ internal VirtualRoutersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -868,7 +868,7 @@ internal VirtualRoutersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperations.cs similarity index 99% rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperations.cs rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperations.cs index 5556bf3f27468..3f398f4b7538f 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperations.cs @@ -94,7 +94,7 @@ internal VirtualWansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -321,7 +321,7 @@ internal VirtualWansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "wANParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal VirtualWansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -715,7 +715,7 @@ internal VirtualWansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -913,7 +913,7 @@ internal VirtualWansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "wANParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1129,7 +1129,7 @@ internal VirtualWansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "virtualWANName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperationsExtensions.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperationsExtensions.cs similarity index 100% rename from sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWANsOperationsExtensions.cs rename to sdk/network/Microsoft.Azure.Management.Network/src/Generated/VirtualWansOperationsExtensions.cs diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnConnectionsOperations.cs index 137d9773adc10..f9bb75ba4a1ba 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnConnectionsOperations.cs @@ -101,7 +101,7 @@ internal VpnConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -409,7 +409,7 @@ internal VpnConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "gatewayName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -618,7 +618,7 @@ internal VpnConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnConnectionParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -843,7 +843,7 @@ internal VpnConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1032,7 +1032,7 @@ internal VpnConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1246,7 +1246,7 @@ internal VpnConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnGatewaysOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnGatewaysOperations.cs index dd2cb7d86e847..d482e3829c879 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnGatewaysOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnGatewaysOperations.cs @@ -94,7 +94,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "gatewayName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -431,7 +431,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -609,7 +609,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -811,7 +811,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { vpnGatewayParameters.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1037,7 +1037,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnGatewayParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1235,7 +1235,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "gatewayName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1414,7 +1414,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1617,7 +1617,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1822,7 +1822,7 @@ internal VpnGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnLinkConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnLinkConnectionsOperations.cs index 42116b29f55f4..68fef45a94e36 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnLinkConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnLinkConnectionsOperations.cs @@ -159,7 +159,7 @@ internal VpnLinkConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "connectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -366,7 +366,7 @@ internal VpnLinkConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "linkConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -556,7 +556,7 @@ internal VpnLinkConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "linkConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs index 2c43775a986d0..34ae76e226a8f 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs @@ -120,7 +120,7 @@ internal VpnServerConfigurationsAssociatedWithVirtualWanOperations(NetworkManage { throw new ValidationException(ValidationRules.CannotBeNull, "virtualWANName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsOperations.cs index 5345e8524e62c..e07b9f9957aac 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnServerConfigurationsOperations.cs @@ -94,7 +94,7 @@ internal VpnServerConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnServerConfigurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -321,7 +321,7 @@ internal VpnServerConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnServerConfigurationParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal VpnServerConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -715,7 +715,7 @@ internal VpnServerConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -913,7 +913,7 @@ internal VpnServerConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnServerConfigurationParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1129,7 +1129,7 @@ internal VpnServerConfigurationsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnServerConfigurationName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinkConnectionsOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinkConnectionsOperations.cs index 70a40d973c9d2..293c59ffb37ce 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinkConnectionsOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinkConnectionsOperations.cs @@ -108,7 +108,7 @@ internal VpnSiteLinkConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "linkConnectionName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinksOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinksOperations.cs index 13466350b7064..d99c194aead77 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinksOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSiteLinksOperations.cs @@ -101,7 +101,7 @@ internal VpnSiteLinksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnSiteLinkName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -297,7 +297,7 @@ internal VpnSiteLinksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnSiteName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesConfigurationOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesConfigurationOperations.cs index 67f7e3f45a358..a76f7678d6284 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesConfigurationOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesConfigurationOperations.cs @@ -131,7 +131,7 @@ internal VpnSitesConfigurationOperations(NetworkManagementClient client) { request.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesOperations.cs index 105a5c075c71d..1b00f5820cda4 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/VpnSitesOperations.cs @@ -94,7 +94,7 @@ internal VpnSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnSiteName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -321,7 +321,7 @@ internal VpnSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnSiteParameters"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal VpnSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -715,7 +715,7 @@ internal VpnSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -917,7 +917,7 @@ internal VpnSitesOperations(NetworkManagementClient client) { vpnSiteParameters.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1133,7 +1133,7 @@ internal VpnSitesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vpnSiteName"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebApplicationFirewallPoliciesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebApplicationFirewallPoliciesOperations.cs index cc3de5108de79..860cd941afed6 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebApplicationFirewallPoliciesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebApplicationFirewallPoliciesOperations.cs @@ -87,7 +87,7 @@ internal WebApplicationFirewallPoliciesOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -265,7 +265,7 @@ internal WebApplicationFirewallPoliciesOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -462,7 +462,7 @@ internal WebApplicationFirewallPoliciesOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -675,7 +675,7 @@ internal WebApplicationFirewallPoliciesOperations(NetworkManagementClient client { parameters.Validate(); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -920,7 +920,7 @@ internal WebApplicationFirewallPoliciesOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebCategoriesOperations.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebCategoriesOperations.cs index b9abc3b8b93f9..1327cbf45bf57 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebCategoriesOperations.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/WebCategoriesOperations.cs @@ -90,7 +90,7 @@ internal WebCategoriesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -273,7 +273,7 @@ internal WebCategoriesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2022-09-01"; + string apiVersion = "2023-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null;