diff --git a/src/SDKs/Network/AzSdk.RP.props b/src/SDKs/Network/AzSdk.RP.props index 3db1d7ff3309..7ad02d137882 100644 --- a/src/SDKs/Network/AzSdk.RP.props +++ b/src/SDKs/Network/AzSdk.RP.props @@ -1,7 +1,7 @@ - Compute_2017-03-30;Network_2018-04-01; + Compute_2017-03-30;Network_2018-05-01; $(PackageTags);$(CommonTags);$(AzureApiTag); \ No newline at end of file diff --git a/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs b/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs index b7147995b937..7d3936446f5d 100644 --- a/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ApplicationGatewaysOperations.cs @@ -116,7 +116,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -353,7 +353,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -531,7 +531,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -778,7 +778,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -954,7 +954,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1130,7 +1130,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1313,7 +1313,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "predefinedPolicyName"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1502,7 +1502,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1689,7 +1689,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1915,7 +1915,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2113,7 +2113,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2286,7 +2286,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2467,7 +2467,7 @@ internal ApplicationGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs index fffdd7162909..cf4a247b4715 100644 --- a/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ApplicationSecurityGroupsOperations.cs @@ -116,7 +116,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -322,7 +322,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -505,7 +505,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -694,7 +694,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -878,7 +878,7 @@ internal ApplicationSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs b/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs index 7f6077d9246b..247eba3e83f5 100644 --- a/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/AvailableEndpointServicesOperations.cs @@ -87,7 +87,7 @@ internal AvailableEndpointServicesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs b/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs index 27f85fe231c6..187bed5518bf 100644 --- a/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/BgpServiceCommunitiesOperations.cs @@ -80,7 +80,7 @@ internal BgpServiceCommunitiesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs index b108513025aa..c006a8be5666 100644 --- a/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ConnectionMonitorsOperations.cs @@ -129,7 +129,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -425,7 +425,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -637,7 +637,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -862,7 +862,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1044,7 +1044,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1226,7 +1226,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1411,7 +1411,7 @@ internal ConnectionMonitorsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs b/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs index 0afbff1b9f78..0f36ee309834 100644 --- a/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/DdosProtectionPlansOperations.cs @@ -116,7 +116,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -321,7 +321,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -504,7 +504,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -693,7 +693,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -876,7 +876,7 @@ internal DdosProtectionPlansOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs index b07c44ec1364..fd0494b9e9e7 100644 --- a/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/DefaultSecurityRulesOperations.cs @@ -94,7 +94,7 @@ internal DefaultSecurityRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs index af4bdf9e6a05..991090cbb95a 100644 --- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitAuthorizationsOperations.cs @@ -127,7 +127,7 @@ internal ExpressRouteCircuitAuthorizationsOperations(NetworkManagementClient cli { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs index 9869d318a144..a2fdd184d24c 100644 --- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitConnectionsOperations.cs @@ -138,7 +138,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -381,7 +381,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -584,7 +584,7 @@ internal ExpressRouteCircuitConnectionsOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs index d3a4f31ef6d4..a04530b2efa7 100644 --- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitPeeringsOperations.cs @@ -126,7 +126,7 @@ internal ExpressRouteCircuitPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs index 8154465fbe42..c1de7574882c 100644 --- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCircuitsOperations.cs @@ -116,7 +116,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -448,7 +448,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -649,7 +649,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -838,7 +838,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1016,7 +1016,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1203,7 +1203,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1387,7 +1387,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1613,7 +1613,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1829,7 +1829,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2042,7 +2042,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2255,7 +2255,7 @@ internal ExpressRouteCircuitsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs index 3c66b1fe0938..ffe7c107cb45 100644 --- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs @@ -94,7 +94,7 @@ internal ExpressRouteCrossConnectionPeeringsOperations(NetworkManagementClient c { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs index 8643dc125d73..420cce5e80e5 100644 --- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteCrossConnectionsOperations.cs @@ -80,7 +80,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -793,7 +793,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1001,7 +1001,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1217,7 +1217,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1430,7 +1430,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1643,7 +1643,7 @@ internal ExpressRouteCrossConnectionsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs b/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs index 38c809231fd9..a4acd1106b73 100644 --- a/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/ExpressRouteServiceProvidersOperations.cs @@ -80,7 +80,7 @@ internal ExpressRouteServiceProvidersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs b/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs index d6bc50f71438..2a116d9fb8d8 100644 --- a/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/INetworkWatchersOperations.cs @@ -341,7 +341,8 @@ public partial interface INetworkWatchersOperations /// Task> GetTroubleshootingResultWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, QueryTroubleshootingParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a + /// specified resource. /// /// /// The name of the network watcher resource group. @@ -369,7 +370,8 @@ public partial interface INetworkWatchersOperations /// Task> SetFlowLogConfigurationWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, FlowLogInformation parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a + /// specified resource. /// /// /// The name of the network watcher resource group. @@ -378,7 +380,8 @@ public partial interface INetworkWatchersOperations /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic + /// analytics (optional) status. /// /// /// The headers that will be added to request. @@ -652,7 +655,8 @@ public partial interface INetworkWatchersOperations /// Task> BeginGetTroubleshootingResultWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, QueryTroubleshootingParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a + /// specified resource. /// /// /// The name of the network watcher resource group. @@ -680,7 +684,8 @@ public partial interface INetworkWatchersOperations /// Task> BeginSetFlowLogConfigurationWithHttpMessagesAsync(string resourceGroupName, string networkWatcherName, FlowLogInformation parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a + /// specified resource. /// /// /// The name of the network watcher resource group. @@ -689,7 +694,8 @@ public partial interface INetworkWatchersOperations /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic + /// analytics (optional) status. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/Network/Management.Network/Generated/IVirtualNetworkGatewaysOperations.cs b/src/SDKs/Network/Management.Network/Generated/IVirtualNetworkGatewaysOperations.cs index 88e8b2d6f08b..9616d8f83736 100644 --- a/src/SDKs/Network/Management.Network/Generated/IVirtualNetworkGatewaysOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/IVirtualNetworkGatewaysOperations.cs @@ -403,66 +403,6 @@ public partial interface IVirtualNetworkGatewaysOperations /// Task> GetAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec - /// policy for P2S client of virtual network gateway in the specified - /// resource group through Network resource provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of - /// Virtual Network Gateway P2S client operation through Network - /// resource provider. - /// - /// - /// 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> SetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// The Get VpnclientIpsecParameters operation retrieves information - /// about the vpnclient ipsec policy for P2S client of virtual network - /// gateway in the specified resource group through Network resource - /// provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// /// Gets a xml format representation for vpn device configuration /// script. /// @@ -775,66 +715,6 @@ public partial interface IVirtualNetworkGatewaysOperations /// Task> BeginGetAdvertisedRoutesWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec - /// policy for P2S client of virtual network gateway in the specified - /// resource group through Network resource provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of - /// Virtual Network Gateway P2S client operation through Network - /// resource provider. - /// - /// - /// 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> BeginSetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// The Get VpnclientIpsecParameters operation retrieves information - /// about the vpnclient ipsec policy for P2S client of virtual network - /// gateway in the specified resource group through Network resource - /// provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> BeginGetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// /// Gets all virtual network gateways by resource group. /// /// diff --git a/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs index e1c9dd495f64..2529d01b5e50 100644 --- a/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/InboundNatRulesOperations.cs @@ -94,7 +94,7 @@ internal InboundNatRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs index d72814f92b7c..e408513d94fc 100644 --- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerBackendAddressPoolsOperations.cs @@ -94,7 +94,7 @@ internal LoadBalancerBackendAddressPoolsOperations(NetworkManagementClient clien { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs index 68cb30b33844..777c4c6f905d 100644 --- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs @@ -94,7 +94,7 @@ internal LoadBalancerFrontendIPConfigurationsOperations(NetworkManagementClient { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs index a2a8ce40e0be..e83b878ecb74 100644 --- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs @@ -94,7 +94,7 @@ internal LoadBalancerLoadBalancingRulesOperations(NetworkManagementClient client { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs index 3a18484fd00e..5dfa26b6ba58 100644 --- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerNetworkInterfacesOperations.cs @@ -94,7 +94,7 @@ internal LoadBalancerNetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs index a86b8505e7ce..4d3f2697a307 100644 --- a/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancerProbesOperations.cs @@ -94,7 +94,7 @@ internal LoadBalancerProbesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs b/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs index 4d532a11ce1b..5d4d0f2822d4 100644 --- a/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/LoadBalancersOperations.cs @@ -119,7 +119,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -354,7 +354,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -726,7 +726,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -909,7 +909,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1135,7 +1135,7 @@ internal LoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs b/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs index aee6f574027c..d839c6491ca3 100644 --- a/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/LocalNetworkGatewaysOperations.cs @@ -127,7 +127,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -361,7 +361,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -568,7 +568,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -791,7 +791,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -981,7 +981,7 @@ internal LocalNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs index b3921441c688..3b3a405fa435 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs @@ -39,9 +39,8 @@ public ApplicationGatewayAuthenticationCertificate() /// Provisioning state of the /// authentication certificate resource. Possible values are: /// 'Updating', 'Deleting', and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the authentication certificate that is + /// unique within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -76,8 +75,8 @@ public ApplicationGatewayAuthenticationCertificate() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the authentication certificate that is unique + /// within an Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendAddressPool.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendAddressPool.cs index 4215b4103739..4b53617e0f01 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendAddressPool.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendAddressPool.cs @@ -43,8 +43,8 @@ public ApplicationGatewayBackendAddressPool() /// Provisioning state of the backend /// address pool resource. Possible values are: 'Updating', 'Deleting', /// and 'Failed'. - /// Resource that is unique within a resource group. - /// This name can be used to access the resource. + /// Name of the backend address pool that is unique + /// within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -87,8 +87,8 @@ public ApplicationGatewayBackendAddressPool() public string ProvisioningState { get; set; } /// - /// Gets or sets resource that is unique within a resource group. This - /// name can be used to access the resource. + /// Gets or sets name of the backend address pool that is unique within + /// an Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendHttpSettings.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendHttpSettings.cs index 190d2d2d16cd..676018143eed 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendHttpSettings.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayBackendHttpSettings.cs @@ -37,9 +37,10 @@ public ApplicationGatewayBackendHttpSettings() /// ApplicationGatewayBackendHttpSettings class. /// /// Resource ID. - /// Port - /// Protocol. Possible values include: 'Http', - /// 'Https' + /// The destination port on the backend. + /// The protocol used to communicate with the + /// backend. Possible values are 'Http' and 'Https'. Possible values + /// include: 'Http', 'Https' /// Cookie based affinity. Possible /// values include: 'Enabled', 'Disabled' /// Request timeout in seconds. @@ -67,9 +68,8 @@ public ApplicationGatewayBackendHttpSettings() /// Provisioning state of the backend /// http settings resource. Possible values are: 'Updating', /// 'Deleting', and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the backend http settings that is unique + /// within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -101,13 +101,15 @@ public ApplicationGatewayBackendHttpSettings() partial void CustomInit(); /// - /// Gets or sets port + /// Gets or sets the destination port on the backend. /// [JsonProperty(PropertyName = "properties.port")] public int? Port { get; set; } /// - /// Gets or sets protocol. Possible values include: 'Http', 'Https' + /// Gets or sets the protocol used to communicate with the backend. + /// Possible values are 'Http' and 'Https'. Possible values include: + /// 'Http', 'Https' /// [JsonProperty(PropertyName = "properties.protocol")] public string Protocol { get; set; } @@ -189,8 +191,8 @@ public ApplicationGatewayBackendHttpSettings() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the backend http settings that is unique + /// within an Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendIpConfiguration.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendIpConfiguration.cs index 28b9ec12c99a..ed77c26b2a13 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendIpConfiguration.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendIpConfiguration.cs @@ -45,9 +45,8 @@ public ApplicationGatewayFrontendIPConfiguration() /// Provisioning state of the public IP /// resource. Possible values are: 'Updating', 'Deleting', and /// 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the frontend IP configuration that is + /// unique within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -104,8 +103,8 @@ public ApplicationGatewayFrontendIPConfiguration() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the frontend IP configuration that is unique + /// within an Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendPort.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendPort.cs index e4ef41122455..8990df2cdceb 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendPort.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayFrontendPort.cs @@ -39,9 +39,8 @@ public ApplicationGatewayFrontendPort() /// Provisioning state of the frontend /// port resource. Possible values are: 'Updating', 'Deleting', and /// 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the frontend port that is unique within + /// an Application Gateway /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -75,8 +74,8 @@ public ApplicationGatewayFrontendPort() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the frontend port that is unique within an + /// Application Gateway /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayHttpListener.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayHttpListener.cs index faabbd9b7323..bbe22e85bb49 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayHttpListener.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayHttpListener.cs @@ -39,7 +39,8 @@ public ApplicationGatewayHttpListener() /// resource of an application gateway. /// Frontend port resource of an application /// gateway. - /// Protocol. Possible values include: 'Http', + /// Protocol of the HTTP listener. Possible + /// values are 'Http' and 'Https'. Possible values include: 'Http', /// 'Https' /// Host name of HTTP listener. /// SSL certificate resource of an @@ -49,9 +50,8 @@ public ApplicationGatewayHttpListener() /// Provisioning state of the HTTP /// listener resource. Possible values are: 'Updating', 'Deleting', and /// 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the HTTP listener that is unique within + /// an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -90,7 +90,8 @@ public ApplicationGatewayHttpListener() public SubResource FrontendPort { get; set; } /// - /// Gets or sets protocol. Possible values include: 'Http', 'Https' + /// Gets or sets protocol of the HTTP listener. Possible values are + /// 'Http' and 'Https'. Possible values include: 'Http', 'Https' /// [JsonProperty(PropertyName = "properties.protocol")] public string Protocol { get; set; } @@ -122,8 +123,8 @@ public ApplicationGatewayHttpListener() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the HTTP listener that is unique within an + /// Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayIpConfiguration.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayIpConfiguration.cs index 9ea9aa552ede..64e0e01410eb 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayIpConfiguration.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayIpConfiguration.cs @@ -41,9 +41,8 @@ public ApplicationGatewayIPConfiguration() /// Provisioning state of the /// application gateway subnet resource. Possible values are: /// 'Updating', 'Deleting', and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the IP configuration that is unique + /// within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -79,8 +78,8 @@ public ApplicationGatewayIPConfiguration() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the IP configuration that is unique within an + /// Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayPathRule.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayPathRule.cs index e2c48d8833b9..a5d49bab710f 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayPathRule.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayPathRule.cs @@ -44,9 +44,8 @@ public ApplicationGatewayPathRule() /// of URL path map path rule. /// Path rule of URL path map resource. /// Possible values are: 'Updating', 'Deleting', and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the path rule that is unique within an + /// Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -104,8 +103,8 @@ public ApplicationGatewayPathRule() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the path rule that is unique within an + /// Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayProbe.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayProbe.cs index fc28c605a5c2..a53f474b346e 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayProbe.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayProbe.cs @@ -33,7 +33,8 @@ public ApplicationGatewayProbe() /// Initializes a new instance of the ApplicationGatewayProbe class. /// /// Resource ID. - /// Protocol. Possible values include: 'Http', + /// The protocol used for the probe. Possible + /// values are 'Http' and 'Https'. Possible values include: 'Http', /// 'Https' /// Host name to send the probe to. /// Relative path of probe. Valid path starts from @@ -59,9 +60,8 @@ public ApplicationGatewayProbe() /// Provisioning state of the backend /// http settings resource. Possible values are: 'Updating', /// 'Deleting', and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the probe that is unique within an + /// Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -90,7 +90,8 @@ public ApplicationGatewayProbe() partial void CustomInit(); /// - /// Gets or sets protocol. Possible values include: 'Http', 'Https' + /// Gets or sets the protocol used for the probe. Possible values are + /// 'Http' and 'Https'. Possible values include: 'Http', 'Https' /// [JsonProperty(PropertyName = "properties.protocol")] public string Protocol { get; set; } @@ -162,8 +163,8 @@ public ApplicationGatewayProbe() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the probe that is unique within an Application + /// Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRedirectConfiguration.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRedirectConfiguration.cs index 4d8ece5ad9b1..dadc4f171555 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRedirectConfiguration.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRedirectConfiguration.cs @@ -53,9 +53,8 @@ public ApplicationGatewayRedirectConfiguration() /// configuration. /// Path rules specifying redirect /// configuration. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the redirect configuration that is + /// unique within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -133,8 +132,8 @@ public ApplicationGatewayRedirectConfiguration() public IList PathRules { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the redirect configuration that is unique + /// within an Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRequestRoutingRule.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRequestRoutingRule.cs index 2b810b17a382..09076e3c7988 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRequestRoutingRule.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayRequestRoutingRule.cs @@ -39,8 +39,8 @@ public ApplicationGatewayRequestRoutingRule() /// 'PathBasedRouting' /// Backend address pool resource of /// the application gateway. - /// Frontend port resource of the - /// application gateway. + /// Backend http settings resource of + /// the application gateway. /// Http listener resource of the /// application gateway. /// URL path map resource of the application @@ -50,9 +50,8 @@ public ApplicationGatewayRequestRoutingRule() /// Provisioning state of the request /// routing rule resource. Possible values are: 'Updating', 'Deleting', /// and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the request routing rule that is unique + /// within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -92,7 +91,8 @@ public ApplicationGatewayRequestRoutingRule() public SubResource BackendAddressPool { get; set; } /// - /// Gets or sets frontend port resource of the application gateway. + /// Gets or sets backend http settings resource of the application + /// gateway. /// [JsonProperty(PropertyName = "properties.backendHttpSettings")] public SubResource BackendHttpSettings { get; set; } @@ -125,8 +125,8 @@ public ApplicationGatewayRequestRoutingRule() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the request routing rule that is unique within + /// an Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslCertificate.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslCertificate.cs index 38462f73ee85..fe1254bafc19 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslCertificate.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslCertificate.cs @@ -45,9 +45,8 @@ public ApplicationGatewaySslCertificate() /// Provisioning state of the SSL /// certificate resource Possible values are: 'Updating', 'Deleting', /// and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the SSL certificate that is unique + /// within an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -98,8 +97,8 @@ public ApplicationGatewaySslCertificate() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the SSL certificate that is unique within an + /// Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslPredefinedPolicy.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslPredefinedPolicy.cs index 2751a7f43df1..8bf832909593 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslPredefinedPolicy.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewaySslPredefinedPolicy.cs @@ -37,7 +37,7 @@ public ApplicationGatewaySslPredefinedPolicy() /// ApplicationGatewaySslPredefinedPolicy class. /// /// Resource ID. - /// Name of Ssl predefined policy. + /// Name of the Ssl predefined policy. /// Ssl cipher suites to be enabled in the /// specified order for application gateway. /// Minimum version of Ssl protocol to @@ -58,7 +58,7 @@ public ApplicationGatewaySslPredefinedPolicy() partial void CustomInit(); /// - /// Gets or sets name of Ssl predefined policy. + /// Gets or sets name of the Ssl predefined policy. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayUrlPathMap.cs b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayUrlPathMap.cs index f3e538824d3e..133853221519 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayUrlPathMap.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/ApplicationGatewayUrlPathMap.cs @@ -48,9 +48,8 @@ public ApplicationGatewayUrlPathMap() /// Provisioning state of the backend /// http settings resource. Possible values are: 'Updating', /// 'Deleting', and 'Failed'. - /// Name of the resource that is unique within a - /// resource group. This name can be used to access the - /// resource. + /// Name of the URL path map that is unique within + /// an Application Gateway. /// A unique read-only string that changes whenever /// the resource is updated. /// Type of the resource. @@ -108,8 +107,8 @@ public ApplicationGatewayUrlPathMap() public string ProvisioningState { get; set; } /// - /// Gets or sets name of the resource that is unique within a resource - /// group. This name can be used to access the resource. + /// Gets or sets name of the URL path map that is unique within an + /// Application Gateway. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/FlowLogInformation.cs b/src/SDKs/Network/Management.Network/Generated/Models/FlowLogInformation.cs index ba0bc4598c01..499e529f4a89 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/FlowLogInformation.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/FlowLogInformation.cs @@ -16,7 +16,8 @@ namespace Microsoft.Azure.Management.Network.Models using System.Linq; /// - /// Information on the configuration of flow log. + /// Information on the configuration of flow log and traffic analytics + /// (optional) . /// [Rest.Serialization.JsonTransformation] public partial class FlowLogInformation @@ -33,16 +34,17 @@ public FlowLogInformation() /// Initializes a new instance of the FlowLogInformation class. /// /// The ID of the resource to configure - /// for flow logging. + /// for flow log and traffic analytics (optional) . /// ID of the storage account which is used to /// store the flow log. /// Flag to enable/disable flow logging. - public FlowLogInformation(string targetResourceId, string storageId, bool enabled, RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters)) + public FlowLogInformation(string targetResourceId, string storageId, bool enabled, RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties)) { TargetResourceId = targetResourceId; StorageId = storageId; Enabled = enabled; RetentionPolicy = retentionPolicy; + FlowAnalyticsConfiguration = flowAnalyticsConfiguration; CustomInit(); } @@ -52,7 +54,8 @@ public FlowLogInformation() partial void CustomInit(); /// - /// Gets or sets the ID of the resource to configure for flow logging. + /// Gets or sets the ID of the resource to configure for flow log and + /// traffic analytics (optional) . /// [JsonProperty(PropertyName = "targetResourceId")] public string TargetResourceId { get; set; } @@ -75,6 +78,11 @@ public FlowLogInformation() [JsonProperty(PropertyName = "properties.retentionPolicy")] public RetentionPolicyParameters RetentionPolicy { get; set; } + /// + /// + [JsonProperty(PropertyName = "flowAnalyticsConfiguration")] + public TrafficAnalyticsProperties FlowAnalyticsConfiguration { get; set; } + /// /// Validate the object. /// @@ -91,6 +99,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "StorageId"); } + if (FlowAnalyticsConfiguration != null) + { + FlowAnalyticsConfiguration.Validate(); + } } } } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/FlowLogStatusParameters.cs b/src/SDKs/Network/Management.Network/Generated/Models/FlowLogStatusParameters.cs index c793605cbf5d..9ed0ff9da09f 100644 --- a/src/SDKs/Network/Management.Network/Generated/Models/FlowLogStatusParameters.cs +++ b/src/SDKs/Network/Management.Network/Generated/Models/FlowLogStatusParameters.cs @@ -15,7 +15,8 @@ namespace Microsoft.Azure.Management.Network.Models using System.Linq; /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic + /// analytics (optional) status. /// public partial class FlowLogStatusParameters { @@ -31,7 +32,7 @@ public FlowLogStatusParameters() /// Initializes a new instance of the FlowLogStatusParameters class. /// /// The target resource where getting - /// the flow logging status. + /// the flow log and traffic analytics (optional) status. public FlowLogStatusParameters(string targetResourceId) { TargetResourceId = targetResourceId; @@ -44,8 +45,8 @@ public FlowLogStatusParameters(string targetResourceId) partial void CustomInit(); /// - /// Gets or sets the target resource where getting the flow logging - /// status. + /// Gets or sets the target resource where getting the flow log and + /// traffic analytics (optional) status. /// [JsonProperty(PropertyName = "targetResourceId")] public string TargetResourceId { get; set; } diff --git a/src/SDKs/Network/Management.Network/Generated/Models/TrafficAnalyticsConfigurationProperties.cs b/src/SDKs/Network/Management.Network/Generated/Models/TrafficAnalyticsConfigurationProperties.cs new file mode 100644 index 000000000000..548a2ce7558a --- /dev/null +++ b/src/SDKs/Network/Management.Network/Generated/Models/TrafficAnalyticsConfigurationProperties.cs @@ -0,0 +1,103 @@ +// +// 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; + + /// + /// Parameters that define the configuration of traffic analytics. + /// + public partial class TrafficAnalyticsConfigurationProperties + { + /// + /// Initializes a new instance of the + /// TrafficAnalyticsConfigurationProperties class. + /// + public TrafficAnalyticsConfigurationProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// TrafficAnalyticsConfigurationProperties class. + /// + /// Flag to enable/disable traffic + /// analytics. + /// The resource guid of the attached + /// workspace + /// The location of the attached + /// workspace + /// Resource Id of the attached + /// workspace + public TrafficAnalyticsConfigurationProperties(bool enabled, string workspaceId, string workspaceRegion, string workspaceResourceId) + { + Enabled = enabled; + WorkspaceId = workspaceId; + WorkspaceRegion = workspaceRegion; + WorkspaceResourceId = workspaceResourceId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets flag to enable/disable traffic analytics. + /// + [JsonProperty(PropertyName = "enabled")] + public bool Enabled { get; set; } + + /// + /// Gets or sets the resource guid of the attached workspace + /// + [JsonProperty(PropertyName = "workspaceId")] + public string WorkspaceId { get; set; } + + /// + /// Gets or sets the location of the attached workspace + /// + [JsonProperty(PropertyName = "workspaceRegion")] + public string WorkspaceRegion { get; set; } + + /// + /// Gets or sets resource Id of the attached workspace + /// + [JsonProperty(PropertyName = "workspaceResourceId")] + public string WorkspaceResourceId { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (WorkspaceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "WorkspaceId"); + } + if (WorkspaceRegion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "WorkspaceRegion"); + } + if (WorkspaceResourceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "WorkspaceResourceId"); + } + } + } +} diff --git a/src/SDKs/Network/Management.Network/Generated/Models/TrafficAnalyticsProperties.cs b/src/SDKs/Network/Management.Network/Generated/Models/TrafficAnalyticsProperties.cs new file mode 100644 index 000000000000..93477c41f35b --- /dev/null +++ b/src/SDKs/Network/Management.Network/Generated/Models/TrafficAnalyticsProperties.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; + + /// + /// Parameters that define the configuration of traffic analytics. + /// + public partial class TrafficAnalyticsProperties + { + /// + /// Initializes a new instance of the TrafficAnalyticsProperties class. + /// + public TrafficAnalyticsProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TrafficAnalyticsProperties class. + /// + public TrafficAnalyticsProperties(TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration) + { + NetworkWatcherFlowAnalyticsConfiguration = networkWatcherFlowAnalyticsConfiguration; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "networkWatcherFlowAnalyticsConfiguration")] + public TrafficAnalyticsConfigurationProperties NetworkWatcherFlowAnalyticsConfiguration { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (NetworkWatcherFlowAnalyticsConfiguration == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NetworkWatcherFlowAnalyticsConfiguration"); + } + if (NetworkWatcherFlowAnalyticsConfiguration != null) + { + NetworkWatcherFlowAnalyticsConfiguration.Validate(); + } + } + } +} diff --git a/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceIPConfigurationsOperations.cs b/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceIPConfigurationsOperations.cs index 2b16b03bb594..33550c4144e5 100644 --- a/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceIPConfigurationsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceIPConfigurationsOperations.cs @@ -94,7 +94,7 @@ internal NetworkInterfaceIPConfigurationsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceLoadBalancersOperations.cs b/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceLoadBalancersOperations.cs index 4028c81f7911..619cff03ab6d 100644 --- a/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceLoadBalancersOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/NetworkInterfaceLoadBalancersOperations.cs @@ -94,7 +94,7 @@ internal NetworkInterfaceLoadBalancersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/NetworkInterfacesOperations.cs b/src/SDKs/Network/Management.Network/Generated/NetworkInterfacesOperations.cs index 3cf83a1b2ceb..7f35ceb1b863 100644 --- a/src/SDKs/Network/Management.Network/Generated/NetworkInterfacesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/NetworkInterfacesOperations.cs @@ -119,7 +119,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -354,7 +354,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1839,7 +1839,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2022,7 +2022,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2248,7 +2248,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2449,7 +2449,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2643,7 +2643,7 @@ internal NetworkInterfacesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/NetworkManagementClient.cs b/src/SDKs/Network/Management.Network/Generated/NetworkManagementClient.cs index 5bc81aba7054..55789860572a 100644 --- a/src/SDKs/Network/Management.Network/Generated/NetworkManagementClient.cs +++ b/src/SDKs/Network/Management.Network/Generated/NetworkManagementClient.cs @@ -599,7 +599,7 @@ private void Initialize() { throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/NetworkSecurityGroupsOperations.cs b/src/SDKs/Network/Management.Network/Generated/NetworkSecurityGroupsOperations.cs index f4af03a062b7..01dca4b224f0 100644 --- a/src/SDKs/Network/Management.Network/Generated/NetworkSecurityGroupsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/NetworkSecurityGroupsOperations.cs @@ -119,7 +119,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -356,7 +356,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -728,7 +728,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -913,7 +913,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1139,7 +1139,7 @@ internal NetworkSecurityGroupsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperations.cs b/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperations.cs index 40b33b2a5e2a..29934f0ac96f 100644 --- a/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperations.cs @@ -101,7 +101,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -320,7 +320,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -543,7 +543,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -737,7 +737,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -915,7 +915,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1112,7 +1112,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1396,7 +1396,8 @@ internal NetworkWatchersOperations(NetworkManagementClient client) } /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The name of the network watcher resource group. @@ -1421,7 +1422,8 @@ internal NetworkWatchersOperations(NetworkManagementClient client) } /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The name of the network watcher resource group. @@ -1430,7 +1432,8 @@ internal NetworkWatchersOperations(NetworkManagementClient client) /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic analytics + /// (optional) status. /// /// /// The headers that will be added to request. @@ -1565,7 +1568,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1753,7 +1756,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1983,7 +1986,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2213,7 +2216,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2443,7 +2446,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2673,7 +2676,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2849,7 +2852,8 @@ internal NetworkWatchersOperations(NetworkManagementClient client) } /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The name of the network watcher resource group. @@ -2903,7 +2907,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3079,7 +3083,8 @@ internal NetworkWatchersOperations(NetworkManagementClient client) } /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The name of the network watcher resource group. @@ -3088,7 +3093,8 @@ internal NetworkWatchersOperations(NetworkManagementClient client) /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic analytics + /// (optional) status. /// /// /// Headers that will be added to request. @@ -3133,7 +3139,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3365,7 +3371,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3596,7 +3602,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3823,7 +3829,7 @@ internal NetworkWatchersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperationsExtensions.cs b/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperationsExtensions.cs index 793b74012160..91bd6a8c963f 100644 --- a/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperationsExtensions.cs +++ b/src/SDKs/Network/Management.Network/Generated/NetworkWatchersOperationsExtensions.cs @@ -533,7 +533,8 @@ public static TroubleshootingResult GetTroubleshootingResult(this INetworkWatche } /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -553,7 +554,8 @@ public static FlowLogInformation SetFlowLogConfiguration(this INetworkWatchersOp } /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -579,7 +581,8 @@ public static FlowLogInformation SetFlowLogConfiguration(this INetworkWatchersOp } /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -591,7 +594,8 @@ public static FlowLogInformation SetFlowLogConfiguration(this INetworkWatchersOp /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic analytics + /// (optional) status. /// public static FlowLogInformation GetFlowLogStatus(this INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, FlowLogStatusParameters parameters) { @@ -599,7 +603,8 @@ public static FlowLogInformation GetFlowLogStatus(this INetworkWatchersOperation } /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -611,7 +616,8 @@ public static FlowLogInformation GetFlowLogStatus(this INetworkWatchersOperation /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic analytics + /// (optional) status. /// /// /// The cancellation token. @@ -1040,7 +1046,8 @@ public static TroubleshootingResult BeginGetTroubleshootingResult(this INetworkW } /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -1060,7 +1067,8 @@ public static FlowLogInformation BeginSetFlowLogConfiguration(this INetworkWatch } /// - /// Configures flow log on a specified resource. + /// Configures flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -1086,7 +1094,8 @@ public static FlowLogInformation BeginSetFlowLogConfiguration(this INetworkWatch } /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -1098,7 +1107,8 @@ public static FlowLogInformation BeginSetFlowLogConfiguration(this INetworkWatch /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic analytics + /// (optional) status. /// public static FlowLogInformation BeginGetFlowLogStatus(this INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, FlowLogStatusParameters parameters) { @@ -1106,7 +1116,8 @@ public static FlowLogInformation BeginGetFlowLogStatus(this INetworkWatchersOper } /// - /// Queries status of flow log on a specified resource. + /// Queries status of flow log and traffic analytics (optional) on a specified + /// resource. /// /// /// The operations group for this extension method. @@ -1118,7 +1129,8 @@ public static FlowLogInformation BeginGetFlowLogStatus(this INetworkWatchersOper /// The name of the network watcher resource. /// /// - /// Parameters that define a resource to query flow log status. + /// Parameters that define a resource to query flow log and traffic analytics + /// (optional) status. /// /// /// The cancellation token. diff --git a/src/SDKs/Network/Management.Network/Generated/Operations.cs b/src/SDKs/Network/Management.Network/Generated/Operations.cs index 361ad4d198e0..a441184cfed0 100644 --- a/src/SDKs/Network/Management.Network/Generated/Operations.cs +++ b/src/SDKs/Network/Management.Network/Generated/Operations.cs @@ -70,7 +70,7 @@ internal Operations(NetworkManagementClient client) /// public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/PacketCapturesOperations.cs b/src/SDKs/Network/Management.Network/Generated/PacketCapturesOperations.cs index af1085fc63d3..d4e2716cbc3b 100644 --- a/src/SDKs/Network/Management.Network/Generated/PacketCapturesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/PacketCapturesOperations.cs @@ -129,7 +129,7 @@ internal PacketCapturesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -400,7 +400,7 @@ internal PacketCapturesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -612,7 +612,7 @@ internal PacketCapturesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -819,7 +819,7 @@ internal PacketCapturesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1001,7 +1001,7 @@ internal PacketCapturesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1186,7 +1186,7 @@ internal PacketCapturesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/PublicIpAddressesOperations.cs b/src/SDKs/Network/Management.Network/Generated/PublicIpAddressesOperations.cs index d7958e6030b7..e07fe86255f2 100644 --- a/src/SDKs/Network/Management.Network/Generated/PublicIpAddressesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/PublicIpAddressesOperations.cs @@ -119,7 +119,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -354,7 +354,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -537,7 +537,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1381,7 +1381,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1564,7 +1564,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1790,7 +1790,7 @@ internal PublicIPAddressesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/RouteFilterRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/RouteFilterRulesOperations.cs index 6ba8f70d7c31..f6958adc3009 100644 --- a/src/SDKs/Network/Management.Network/Generated/RouteFilterRulesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/RouteFilterRulesOperations.cs @@ -126,7 +126,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -378,7 +378,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -576,7 +576,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -772,7 +772,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1007,7 +1007,7 @@ internal RouteFilterRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/RouteFiltersOperations.cs b/src/SDKs/Network/Management.Network/Generated/RouteFiltersOperations.cs index ddc134df77e8..878e3d576562 100644 --- a/src/SDKs/Network/Management.Network/Generated/RouteFiltersOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/RouteFiltersOperations.cs @@ -119,7 +119,7 @@ internal RouteFiltersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -361,7 +361,7 @@ internal RouteFiltersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -539,7 +539,7 @@ internal RouteFiltersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -726,7 +726,7 @@ internal RouteFiltersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1135,7 +1135,7 @@ internal RouteFiltersOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/RouteTablesOperations.cs b/src/SDKs/Network/Management.Network/Generated/RouteTablesOperations.cs index cc72f1fabef8..942afa93bd94 100644 --- a/src/SDKs/Network/Management.Network/Generated/RouteTablesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/RouteTablesOperations.cs @@ -119,7 +119,7 @@ internal RouteTablesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -361,7 +361,7 @@ internal RouteTablesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -539,7 +539,7 @@ internal RouteTablesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -726,7 +726,7 @@ internal RouteTablesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1135,7 +1135,7 @@ internal RouteTablesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/RoutesOperations.cs b/src/SDKs/Network/Management.Network/Generated/RoutesOperations.cs index 641fdaad9dae..5727fffa057e 100644 --- a/src/SDKs/Network/Management.Network/Generated/RoutesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/RoutesOperations.cs @@ -126,7 +126,7 @@ internal RoutesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/SdkInfo_NetworkManagementClient.cs b/src/SDKs/Network/Management.Network/Generated/SdkInfo_NetworkManagementClient.cs index 444e1cb26c10..4c07108a840c 100644 --- a/src/SDKs/Network/Management.Network/Generated/SdkInfo_NetworkManagementClient.cs +++ b/src/SDKs/Network/Management.Network/Generated/SdkInfo_NetworkManagementClient.cs @@ -1,61 +1,70 @@ -using System; -using System.Collections.Generic; -using System.Linq; +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// -internal static partial class SdkInfo +namespace Microsoft.Azure.Management.Network { - public static IEnumerable> ApiInfo_NetworkManagementClient - { - get - { - return new Tuple[] - { + using System; + using System.Collections.Generic; + using System.Linq; + + internal static partial class SdkInfo + { + public static IEnumerable> ApiInfo_NetworkManagementClient + { + get + { + return new Tuple[] + { new Tuple("Compute", "NetworkInterfaces", "2017-03-30"), new Tuple("Compute", "PublicIPAddresses", "2017-03-30"), - new Tuple("Network", "ApplicationGateways", "2018-04-01"), - new Tuple("Network", "ApplicationSecurityGroups", "2018-04-01"), - new Tuple("Network", "AvailableEndpointServices", "2018-04-01"), - new Tuple("Network", "BgpServiceCommunities", "2018-04-01"), - new Tuple("Network", "CheckDnsNameAvailability", "2018-04-01"), - new Tuple("Network", "ConnectionMonitors", "2018-04-01"), - new Tuple("Network", "DdosProtectionPlans", "2018-04-01"), - new Tuple("Network", "DefaultSecurityRules", "2018-04-01"), - new Tuple("Network", "ExpressRouteCircuitAuthorizations", "2018-04-01"), - new Tuple("Network", "ExpressRouteCircuitConnections", "2018-04-01"), - new Tuple("Network", "ExpressRouteCircuitPeerings", "2018-04-01"), - new Tuple("Network", "ExpressRouteCircuits", "2018-04-01"), - new Tuple("Network", "ExpressRouteCrossConnectionPeerings", "2018-04-01"), - new Tuple("Network", "ExpressRouteCrossConnections", "2018-04-01"), - new Tuple("Network", "ExpressRouteServiceProviders", "2018-04-01"), - new Tuple("Network", "InboundNatRules", "2018-04-01"), - new Tuple("Network", "LoadBalancerBackendAddressPools", "2018-04-01"), - new Tuple("Network", "LoadBalancerFrontendIPConfigurations", "2018-04-01"), - new Tuple("Network", "LoadBalancerLoadBalancingRules", "2018-04-01"), - new Tuple("Network", "LoadBalancerNetworkInterfaces", "2018-04-01"), - new Tuple("Network", "LoadBalancerProbes", "2018-04-01"), - new Tuple("Network", "LoadBalancers", "2018-04-01"), - new Tuple("Network", "LocalNetworkGateways", "2018-04-01"), - new Tuple("Network", "NetworkInterfaceIPConfigurations", "2018-04-01"), - new Tuple("Network", "NetworkInterfaceLoadBalancers", "2018-04-01"), - new Tuple("Network", "NetworkInterfaces", "2018-04-01"), - new Tuple("Network", "NetworkSecurityGroups", "2018-04-01"), - new Tuple("Network", "NetworkWatchers", "2018-04-01"), - new Tuple("Network", "Operations", "2018-04-01"), - new Tuple("Network", "PacketCaptures", "2018-04-01"), - new Tuple("Network", "PublicIPAddresses", "2018-04-01"), - new Tuple("Network", "RouteFilterRules", "2018-04-01"), - new Tuple("Network", "RouteFilters", "2018-04-01"), - new Tuple("Network", "RouteTables", "2018-04-01"), - new Tuple("Network", "Routes", "2018-04-01"), - new Tuple("Network", "SecurityRules", "2018-04-01"), - new Tuple("Network", "Subnets", "2018-04-01"), - new Tuple("Network", "Usages", "2018-04-01"), - new Tuple("Network", "VirtualNetworkGatewayConnections", "2018-04-01"), - new Tuple("Network", "VirtualNetworkGateways", "2018-04-01"), - new Tuple("Network", "VirtualNetworkPeerings", "2018-04-01"), - new Tuple("Network", "VirtualNetworks", "2018-04-01"), - }.AsEnumerable(); - } - } + new Tuple("Network", "ApplicationGateways", "2018-05-01"), + new Tuple("Network", "ApplicationSecurityGroups", "2018-05-01"), + new Tuple("Network", "AvailableEndpointServices", "2018-05-01"), + new Tuple("Network", "BgpServiceCommunities", "2018-05-01"), + new Tuple("Network", "CheckDnsNameAvailability", "2018-05-01"), + new Tuple("Network", "ConnectionMonitors", "2018-05-01"), + new Tuple("Network", "DdosProtectionPlans", "2018-05-01"), + new Tuple("Network", "DefaultSecurityRules", "2018-05-01"), + new Tuple("Network", "ExpressRouteCircuitAuthorizations", "2018-05-01"), + new Tuple("Network", "ExpressRouteCircuitConnections", "2018-05-01"), + new Tuple("Network", "ExpressRouteCircuitPeerings", "2018-05-01"), + new Tuple("Network", "ExpressRouteCircuits", "2018-05-01"), + new Tuple("Network", "ExpressRouteCrossConnectionPeerings", "2018-05-01"), + new Tuple("Network", "ExpressRouteCrossConnections", "2018-05-01"), + new Tuple("Network", "ExpressRouteServiceProviders", "2018-05-01"), + new Tuple("Network", "InboundNatRules", "2018-05-01"), + new Tuple("Network", "LoadBalancerBackendAddressPools", "2018-05-01"), + new Tuple("Network", "LoadBalancerFrontendIPConfigurations", "2018-05-01"), + new Tuple("Network", "LoadBalancerLoadBalancingRules", "2018-05-01"), + new Tuple("Network", "LoadBalancerNetworkInterfaces", "2018-05-01"), + new Tuple("Network", "LoadBalancerProbes", "2018-05-01"), + new Tuple("Network", "LoadBalancers", "2018-05-01"), + new Tuple("Network", "LocalNetworkGateways", "2018-05-01"), + new Tuple("Network", "NetworkInterfaceIPConfigurations", "2018-05-01"), + new Tuple("Network", "NetworkInterfaceLoadBalancers", "2018-05-01"), + new Tuple("Network", "NetworkInterfaces", "2018-05-01"), + new Tuple("Network", "NetworkSecurityGroups", "2018-05-01"), + new Tuple("Network", "NetworkWatchers", "2018-05-01"), + new Tuple("Network", "Operations", "2018-05-01"), + new Tuple("Network", "PacketCaptures", "2018-05-01"), + new Tuple("Network", "PublicIPAddresses", "2018-05-01"), + new Tuple("Network", "RouteFilterRules", "2018-05-01"), + new Tuple("Network", "RouteFilters", "2018-05-01"), + new Tuple("Network", "RouteTables", "2018-05-01"), + new Tuple("Network", "Routes", "2018-05-01"), + new Tuple("Network", "SecurityRules", "2018-05-01"), + new Tuple("Network", "Subnets", "2018-05-01"), + new Tuple("Network", "Usages", "2018-05-01"), + new Tuple("Network", "VirtualNetworkGatewayConnections", "2018-05-01"), + new Tuple("Network", "VirtualNetworkGateways", "2018-05-01"), + new Tuple("Network", "VirtualNetworkPeerings", "2018-05-01"), + new Tuple("Network", "VirtualNetworks", "2018-05-01"), + }.AsEnumerable(); + } + } + } } diff --git a/src/SDKs/Network/Management.Network/Generated/SecurityRulesOperations.cs b/src/SDKs/Network/Management.Network/Generated/SecurityRulesOperations.cs index 6db0e9828393..b867ebb60836 100644 --- a/src/SDKs/Network/Management.Network/Generated/SecurityRulesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/SecurityRulesOperations.cs @@ -126,7 +126,7 @@ internal SecurityRulesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/SubnetsOperations.cs b/src/SDKs/Network/Management.Network/Generated/SubnetsOperations.cs index 470caeb0550c..55cd10d275b0 100644 --- a/src/SDKs/Network/Management.Network/Generated/SubnetsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/SubnetsOperations.cs @@ -129,7 +129,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -358,7 +358,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -556,7 +556,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -748,7 +748,7 @@ internal SubnetsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/UsagesOperations.cs b/src/SDKs/Network/Management.Network/Generated/UsagesOperations.cs index b2a67082ef7d..e6a9b444fa6f 100644 --- a/src/SDKs/Network/Management.Network/Generated/UsagesOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/UsagesOperations.cs @@ -94,7 +94,7 @@ internal UsagesOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewayConnectionsOperations.cs b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewayConnectionsOperations.cs index d25fcaa5bb0d..219da6365af1 100644 --- a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewayConnectionsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewayConnectionsOperations.cs @@ -121,7 +121,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -815,7 +815,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1031,7 +1031,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1214,7 +1214,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1430,7 +1430,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1664,7 +1664,7 @@ internal VirtualNetworkGatewayConnectionsOperations(NetworkManagementClient clie { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperations.cs b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperations.cs index b5d98c3dda0c..5cb679e4c026 100644 --- a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperations.cs @@ -120,7 +120,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -870,7 +870,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1069,58 +1069,6 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } - /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy - /// for P2S client of virtual network gateway in the specified resource group - /// through Network resource provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual - /// Network Gateway P2S client operation through Network resource provider. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> SetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginSetVpnclientIpsecParametersWithHttpMessagesAsync(resourceGroupName, virtualNetworkGatewayName, vpnclientIpsecParams, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// The Get VpnclientIpsecParameters operation retrieves information about the - /// vpnclient ipsec policy for P2S client of virtual network gateway in the - /// specified resource group through Network resource provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> GetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginGetVpnclientIpsecParametersWithHttpMessagesAsync(resourceGroupName, virtualNetworkGatewayName, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - /// /// Gets a xml format representation for vpn device configuration script. /// @@ -1173,7 +1121,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1382,7 +1330,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1598,7 +1546,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1781,7 +1729,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1987,7 +1935,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2195,7 +2143,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2405,7 +2353,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2608,7 +2556,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2805,7 +2753,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3005,7 +2953,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3207,7 +3155,7 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3362,417 +3310,6 @@ internal VirtualNetworkGatewaysOperations(NetworkManagementClient client) return _result; } - /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy - /// for P2S client of virtual network gateway in the specified resource group - /// through Network resource provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual - /// Network Gateway P2S client operation through Network resource provider. - /// - /// - /// 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> BeginSetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (virtualNetworkGatewayName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "virtualNetworkGatewayName"); - } - if (vpnclientIpsecParams == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "vpnclientIpsecParams"); - } - if (vpnclientIpsecParams != null) - { - vpnclientIpsecParams.Validate(); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2018-04-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("virtualNetworkGatewayName", virtualNetworkGatewayName); - tracingParameters.Add("vpnclientIpsecParams", vpnclientIpsecParams); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginSetVpnclientIpsecParameters", 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/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{virtualNetworkGatewayName}", System.Uri.EscapeDataString(virtualNetworkGatewayName)); - _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(vpnclientIpsecParams != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(vpnclientIpsecParams, 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 != 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 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; - } - - /// - /// The Get VpnclientIpsecParameters operation retrieves information about the - /// vpnclient ipsec policy for P2S client of virtual network gateway in the - /// specified resource group through Network resource provider. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - /// - /// 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> BeginGetVpnclientIpsecParametersWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (virtualNetworkGatewayName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "virtualNetworkGatewayName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2018-04-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("virtualNetworkGatewayName", virtualNetworkGatewayName); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginGetVpnclientIpsecParameters", 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/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{virtualNetworkGatewayName}", System.Uri.EscapeDataString(virtualNetworkGatewayName)); - _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; - // 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; - } - /// /// Gets all virtual network gateways by resource group. /// diff --git a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperationsExtensions.cs b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperationsExtensions.cs index 04326f7b444e..133ac189a623 100644 --- a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperationsExtensions.cs +++ b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkGatewaysOperationsExtensions.cs @@ -636,102 +636,6 @@ public static GatewayRouteListResult GetAdvertisedRoutes(this IVirtualNetworkGat } } - /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy - /// for P2S client of virtual network gateway in the specified resource group - /// through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual - /// Network Gateway P2S client operation through Network resource provider. - /// - public static VpnClientIPsecParameters SetVpnclientIpsecParameters(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams) - { - return operations.SetVpnclientIpsecParametersAsync(resourceGroupName, virtualNetworkGatewayName, vpnclientIpsecParams).GetAwaiter().GetResult(); - } - - /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy - /// for P2S client of virtual network gateway in the specified resource group - /// through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual - /// Network Gateway P2S client operation through Network resource provider. - /// - /// - /// The cancellation token. - /// - public static async Task SetVpnclientIpsecParametersAsync(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.SetVpnclientIpsecParametersWithHttpMessagesAsync(resourceGroupName, virtualNetworkGatewayName, vpnclientIpsecParams, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// The Get VpnclientIpsecParameters operation retrieves information about the - /// vpnclient ipsec policy for P2S client of virtual network gateway in the - /// specified resource group through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - public static VpnClientIPsecParameters GetVpnclientIpsecParameters(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName) - { - return operations.GetVpnclientIpsecParametersAsync(resourceGroupName, virtualNetworkGatewayName).GetAwaiter().GetResult(); - } - - /// - /// The Get VpnclientIpsecParameters operation retrieves information about the - /// vpnclient ipsec policy for P2S client of virtual network gateway in the - /// specified resource group through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - /// - /// The cancellation token. - /// - public static async Task GetVpnclientIpsecParametersAsync(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetVpnclientIpsecParametersWithHttpMessagesAsync(resourceGroupName, virtualNetworkGatewayName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// /// Gets a xml format representation for vpn device configuration script. /// @@ -1241,102 +1145,6 @@ public static GatewayRouteListResult BeginGetAdvertisedRoutes(this IVirtualNetwo } } - /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy - /// for P2S client of virtual network gateway in the specified resource group - /// through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual - /// Network Gateway P2S client operation through Network resource provider. - /// - public static VpnClientIPsecParameters BeginSetVpnclientIpsecParameters(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams) - { - return operations.BeginSetVpnclientIpsecParametersAsync(resourceGroupName, virtualNetworkGatewayName, vpnclientIpsecParams).GetAwaiter().GetResult(); - } - - /// - /// The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy - /// for P2S client of virtual network gateway in the specified resource group - /// through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the virtual network gateway. - /// - /// - /// Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual - /// Network Gateway P2S client operation through Network resource provider. - /// - /// - /// The cancellation token. - /// - public static async Task BeginSetVpnclientIpsecParametersAsync(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, VpnClientIPsecParameters vpnclientIpsecParams, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginSetVpnclientIpsecParametersWithHttpMessagesAsync(resourceGroupName, virtualNetworkGatewayName, vpnclientIpsecParams, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// The Get VpnclientIpsecParameters operation retrieves information about the - /// vpnclient ipsec policy for P2S client of virtual network gateway in the - /// specified resource group through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - public static VpnClientIPsecParameters BeginGetVpnclientIpsecParameters(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName) - { - return operations.BeginGetVpnclientIpsecParametersAsync(resourceGroupName, virtualNetworkGatewayName).GetAwaiter().GetResult(); - } - - /// - /// The Get VpnclientIpsecParameters operation retrieves information about the - /// vpnclient ipsec policy for P2S client of virtual network gateway in the - /// specified resource group through Network resource provider. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The virtual network gateway name. - /// - /// - /// The cancellation token. - /// - public static async Task BeginGetVpnclientIpsecParametersAsync(this IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginGetVpnclientIpsecParametersWithHttpMessagesAsync(resourceGroupName, virtualNetworkGatewayName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// /// Gets all virtual network gateways by resource group. /// diff --git a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkPeeringsOperations.cs b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkPeeringsOperations.cs index 83f9bc28779f..084d9d604acc 100644 --- a/src/SDKs/Network/Management.Network/Generated/VirtualNetworkPeeringsOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/VirtualNetworkPeeringsOperations.cs @@ -126,7 +126,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -549,7 +549,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -742,7 +742,7 @@ internal VirtualNetworkPeeringsOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Generated/VirtualNetworksOperations.cs b/src/SDKs/Network/Management.Network/Generated/VirtualNetworksOperations.cs index ea02c74ffdfa..ca50b8de461c 100644 --- a/src/SDKs/Network/Management.Network/Generated/VirtualNetworksOperations.cs +++ b/src/SDKs/Network/Management.Network/Generated/VirtualNetworksOperations.cs @@ -119,7 +119,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -354,7 +354,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-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 = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -732,7 +732,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -931,7 +931,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1122,7 +1122,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1305,7 +1305,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1531,7 +1531,7 @@ internal VirtualNetworksOperations(NetworkManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-04-01"; + string apiVersion = "2018-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/src/SDKs/Network/Management.Network/Microsoft.Azure.Management.Network.csproj b/src/SDKs/Network/Management.Network/Microsoft.Azure.Management.Network.csproj index 01fe2137d940..2f0bb789f1ee 100644 --- a/src/SDKs/Network/Management.Network/Microsoft.Azure.Management.Network.csproj +++ b/src/SDKs/Network/Management.Network/Microsoft.Azure.Management.Network.csproj @@ -1,4 +1,4 @@ - + @@ -7,11 +7,15 @@ Microsoft.Azure.Management.Network Provides management capabilities for Network services. Microsoft.Azure.Management.Network - 19.0.0-preview + 19.1.0-preview Microsoft Azure Network management;Network;Network management; diff --git a/src/SDKs/Network/Management.Network/Properties/AssemblyInfo.cs b/src/SDKs/Network/Management.Network/Properties/AssemblyInfo.cs index d143aac40b2b..6005699c6c23 100644 --- a/src/SDKs/Network/Management.Network/Properties/AssemblyInfo.cs +++ b/src/SDKs/Network/Management.Network/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; @@ -7,8 +7,8 @@ [assembly: AssemblyTitle("Microsoft Azure Network Management Library")] [assembly: AssemblyDescription("Provides Microsoft Azure Network management functions for managing the Microsoft Azure Network service.")] -[assembly: AssemblyVersion("19.0.0.0")] -[assembly: AssemblyFileVersion("19.0.0.0")] +[assembly: AssemblyVersion("19.1.0.0")] +[assembly: AssemblyFileVersion("19.1.0.0")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Microsoft Azure .NET SDK")] diff --git a/src/SDKs/Network/Network.Tests/Helpers/NetworkManagementTestUtilities.cs b/src/SDKs/Network/Network.Tests/Helpers/NetworkManagementTestUtilities.cs index 89978763c8c2..bfec0d0e3eaf 100644 --- a/src/SDKs/Network/Network.Tests/Helpers/NetworkManagementTestUtilities.cs +++ b/src/SDKs/Network/Network.Tests/Helpers/NetworkManagementTestUtilities.cs @@ -8,6 +8,7 @@ using Microsoft.Azure.Management.Network; using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Management.Storage; +using Microsoft.Azure.Management.OperationalInsights; using ResourceGroups.Tests; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; @@ -41,6 +42,13 @@ public static StorageManagementClient GetStorageManagementClientWithHandler(Mock return client; } + public static OperationalInsightsManagementClient GetOperationalInsightsManagementClientWithHandler(MockContext context, RecordedDelegatingHandler handler) + { + handler.IsPassThrough = true; + var client = context.GetServiceClient(handlers: handler); + return client; + } + /// /// Get a default resource location for a given resource type /// diff --git a/src/SDKs/Network/Network.Tests/Network.Tests.csproj b/src/SDKs/Network/Network.Tests/Network.Tests.csproj index 26291899a0d8..a2792a7def0b 100644 --- a/src/SDKs/Network/Network.Tests/Network.Tests.csproj +++ b/src/SDKs/Network/Network.Tests/Network.Tests.csproj @@ -11,6 +11,7 @@ + diff --git a/src/SDKs/Network/Network.Tests/SessionRecords/Network.Tests.Tests.FlowLogTests/FlowLogApiTest.json b/src/SDKs/Network/Network.Tests/SessionRecords/Network.Tests.Tests.FlowLogTests/FlowLogApiTest.json new file mode 100644 index 000000000000..505a45551021 --- /dev/null +++ b/src/SDKs/Network/Network.Tests/SessionRecords/Network.Tests.Tests.FlowLogTests/FlowLogApiTest.json @@ -0,0 +1,1106 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ3ODk4P2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33" + ], + "x-ms-client-request-id": [ + "bbde71ba-ef5b-48e3-af6f-443e6ecb45c6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898\",\r\n \"name\": \"azsmnet7898\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "180" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:54:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "15b1ee1d-39e2-4b37-a42f-1b25c16b2418" + ], + "x-ms-correlation-request-id": [ + "15b1ee1d-39e2-4b37-a42f-1b25c16b2418" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085459Z:15b1ee1d-39e2-4b37-a42f-1b25c16b2418" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrU2VjdXJpdHlHcm91cHMvYXpzbW5ldDM5OTk/YXBpLXZlcnNpb249MjAxOC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33" + ], + "x-ms-client-request-id": [ + "7afea7d7-53f0-47cc-ab48-ea4c8b5962a3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"azsmnet3999\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"etag\": \"W/\\\"b7e686c4-15ab-4755-b14a-057e73fad537\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"9ad34976-5726-4a82-983b-6b7df5f4332b\",\r\n \"securityRules\": [],\r\n \"defaultSecurityRules\": [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowVnetInBound\",\r\n \"etag\": \"W/\\\"b7e686c4-15ab-4755-b14a-057e73fad537\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n \"etag\": \"W/\\\"b7e686c4-15ab-4755-b14a-057e73fad537\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"AzureLoadBalancer\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/DenyAllInBound\",\r\n \"etag\": \"W/\\\"b7e686c4-15ab-4755-b14a-057e73fad537\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": 65500,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowVnetOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowVnetOutBound\",\r\n \"etag\": \"W/\\\"b7e686c4-15ab-4755-b14a-057e73fad537\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowInternetOutBound\",\r\n \"etag\": \"W/\\\"b7e686c4-15ab-4755-b14a-057e73fad537\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"Internet\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/DenyAllOutBound\",\r\n \"etag\": \"W/\\\"b7e686c4-15ab-4755-b14a-057e73fad537\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": 65500,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "6052" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f0248ae3-a69c-421b-8888-817cf73665ba" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/providers/Microsoft.Network/locations/eastus2euap/operations/f0248ae3-a69c-421b-8888-817cf73665ba?api-version=2018-04-01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "045f48bb-cf5b-43c5-86d9-d6df76d6e7a9" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085512Z:045f48bb-cf5b-43c5-86d9-d6df76d6e7a9" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/providers/Microsoft.Network/locations/eastus2euap/operations/f0248ae3-a69c-421b-8888-817cf73665ba?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvZWFzdHVzMmV1YXAvb3BlcmF0aW9ucy9mMDI0OGFlMy1hNjljLTQyMWItODg4OC04MTdjZjczNjY1YmE/YXBpLXZlcnNpb249MjAxOC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "37efd444-9fc7-480e-adf1-28f8dde2e49a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ae05719f-28a0-4882-9dbe-4231af4cf54a" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085524Z:ae05719f-28a0-4882-9dbe-4231af4cf54a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrU2VjdXJpdHlHcm91cHMvYXpzbW5ldDM5OTk/YXBpLXZlcnNpb249MjAxOC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"azsmnet3999\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9ad34976-5726-4a82-983b-6b7df5f4332b\",\r\n \"securityRules\": [],\r\n \"defaultSecurityRules\": [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowVnetInBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"AzureLoadBalancer\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/DenyAllInBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": 65500,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowVnetOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowVnetOutBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowInternetOutBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"Internet\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/DenyAllOutBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": 65500,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"726f6590-38e3-4728-878c-fc838ef8cb42\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "c0481313-1081-495c-b377-3ed5be7199de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "7077c6ff-5414-4734-a94e-726fa44f4aaa" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085524Z:7077c6ff-5414-4734-a94e-726fa44f4aaa" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrU2VjdXJpdHlHcm91cHMvYXpzbW5ldDM5OTk/YXBpLXZlcnNpb249MjAxOC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d109ad1e-7ca0-415f-a79d-7b9e191d03aa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"azsmnet3999\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9ad34976-5726-4a82-983b-6b7df5f4332b\",\r\n \"securityRules\": [],\r\n \"defaultSecurityRules\": [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowVnetInBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"AzureLoadBalancer\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/DenyAllInBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": 65500,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowVnetOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowVnetOutBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/AllowInternetOutBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"Internet\",\r\n \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999/defaultSecurityRules/DenyAllOutBound\",\r\n \"etag\": \"W/\\\"726f6590-38e3-4728-878c-fc838ef8cb42\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": 65500,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "W/\"726f6590-38e3-4728-878c-fc838ef8cb42\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "5d03a858-956f-4833-8c6f-d88a18fc42d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "8cb92c99-c0a2-4739-a957-0103cda7592a" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085524Z:8cb92c99-c0a2-4739-a957-0103cda7592a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrV2F0Y2hlcnMvYXpzbW5ldDM2MTg/YXBpLXZlcnNpb249MjAxOC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33" + ], + "x-ms-client-request-id": [ + "74319835-de57-4a61-a3e3-5706e2a44111" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"azsmnet3618\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618\",\r\n \"etag\": \"W/\\\"2e0dde43-0d19-4e88-bde2-a743ea05c7dd\\\"\",\r\n \"type\": \"Microsoft.Network/networkWatchers\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"runningOperationIds\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "406" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9444d44b-71a3-47cb-a333-46b6800ef5c9" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/providers/Microsoft.Network/locations/eastus2euap/operations/9444d44b-71a3-47cb-a333-46b6800ef5c9?api-version=2018-04-01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "1b62679d-8004-4602-96dd-44f73b496247" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085527Z:1b62679d-8004-4602-96dd-44f73b496247" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvYXpzbW5ldDU2Nz9hcGktdmVyc2lvbj0yMDE3LTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"kind\": \"Storage\",\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "101" + ], + "x-ms-client-request-id": [ + "5812d6a1-134c-4faa-8d22-8e4d035c682d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Content-Type": [ + "text/plain; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/7d13a472-13ab-4a82-a981-6cd5bf1bb25b?monitor=true&api-version=2017-06-01" + ], + "Retry-After": [ + "17" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7d13a472-13ab-4a82-a981-6cd5bf1bb25b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "54427daf-68b4-4f54-97bf-5f5cb68ca679" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085532Z:54427daf-68b4-4f54-97bf-5f5cb68ca679" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/7d13a472-13ab-4a82-a981-6cd5bf1bb25b?monitor=true&api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvZWFzdHVzMmV1YXAvYXN5bmNvcGVyYXRpb25zLzdkMTNhNDcyLTEzYWItNGE4Mi1hOTgxLTZjZDViZjFiYjI1Yj9tb25pdG9yPXRydWUmYXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ] + }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"Storage\",\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"name\": \"azsmnet567\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"trustedDirectories\": [\r\n \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n ],\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2018-05-15T08:55:32.3917432Z\"\r\n },\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2018-05-15T08:55:32.3917432Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2018-05-15T08:55:32.2979913Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://azsmnet567.blob.core.windows.net/\",\r\n \"queue\": \"https://azsmnet567.queue.core.windows.net/\",\r\n \"table\": \"https://azsmnet567.table.core.windows.net/\",\r\n \"file\": \"https://azsmnet567.file.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"eastus2euap\",\r\n \"statusOfPrimary\": \"available\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "c555ff4d-fa0b-4a92-9426-25d47d6c4be8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "a366b30e-ae0f-4137-8ed1-02c315a2b396" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085550Z:a366b30e-ae0f-4137-8ed1-02c315a2b396" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/Microsoft.OperationalInsights/workspaces/azsmnet5541?api-version=2015-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL2F6c21uZXQ1NTQxP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"East US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "x-ms-client-request-id": [ + "e03f3c98-3ae3-4ec2-9015-4facc43d645e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.OperationalInsights.OperationalInsightsManagementClient/0.18.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"portalUrl\": \"https://eus.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2fa38f78b2-f840-4628-90f8-009ec9745a16%2fresourcegroups%2fazsmnet7898%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2fazsmnet5541\",\r\n \"provisioningState\": \"Creating\",\r\n \"sku\": {\r\n \"name\": \"free\"\r\n },\r\n \"retentionInDays\": 0,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": 0.5,\r\n \"quotaNextResetTime\": \"Tue, 15 May 2018 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\",\r\n \"name\": \"azsmnet5541\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \"location\": \"East US\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "993" + ], + "Content-Type": [ + "application/json" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:55:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/8.5", + "Microsoft-IIS/10.0" + ], + "x-ms-request-id": [ + "c14e4cd7-6b88-4505-8ec0-7b893e67a317" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "6301a671-0536-49d7-85e2-7b4c93e8a11c" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085559Z:6301a671-0536-49d7-85e2-7b4c93e8a11c" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/Microsoft.OperationalInsights/workspaces/azsmnet5541?api-version=2015-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL2F6c21uZXQ1NTQxP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.OperationalInsights.OperationalInsightsManagementClient/0.18.0.0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"portalUrl\": \"https://eus.mms.microsoft.com/Account?tenant=72f988bf-86f1-41af-91ab-2d7cd011db47&resource=%2fsubscriptions%2fa38f78b2-f840-4628-90f8-009ec9745a16%2fresourcegroups%2fazsmnet7898%2fproviders%2fmicrosoft.operationalinsights%2fworkspaces%2fazsmnet5541\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"free\"\r\n },\r\n \"retentionInDays\": 0,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": 0.5,\r\n \"quotaNextResetTime\": \"Tue, 15 May 2018 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\",\r\n \"name\": \"azsmnet5541\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \"location\": \"East US\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:56:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-IIS/8.5", + "Microsoft-IIS/10.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "bfad8785-32ff-4e07-bfc5-ff9a490e3c29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ae45d68a-a904-4824-bae1-274598801214" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085629Z:ae45d68a-a904-4824-bae1-274598801214" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618/configureFlowLog?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrV2F0Y2hlcnMvYXpzbW5ldDM2MTgvY29uZmlndXJlRmxvd0xvZz9hcGktdmVyc2lvbj0yMDE4LTA0LTAx", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"enabled\": true,\r\n \"retentionPolicy\": {\r\n \"days\": 5,\r\n \"enabled\": true\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": true,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "842" + ], + "x-ms-client-request-id": [ + "c689109e-dfb5-4902-8ce5-e09c7d1a0e3b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"enabled\": true,\r\n \"retentionPolicy\": {\r\n \"days\": 5,\r\n \"enabled\": true\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": true,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:56:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "f5763add-9681-402a-893a-c2c60aec9dec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "31524143-2ad8-4cae-99b0-3f6d3a610b48" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085636Z:31524143-2ad8-4cae-99b0-3f6d3a610b48" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618/configureFlowLog?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrV2F0Y2hlcnMvYXpzbW5ldDM2MTgvY29uZmlndXJlRmxvd0xvZz9hcGktdmVyc2lvbj0yMDE4LTA0LTAx", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"enabled\": true,\r\n \"retentionPolicy\": {\r\n \"days\": 5,\r\n \"enabled\": true\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": false,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "843" + ], + "x-ms-client-request-id": [ + "f9e04990-246b-4a9c-8162-386875c28820" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"enabled\": true,\r\n \"retentionPolicy\": {\r\n \"days\": 5,\r\n \"enabled\": true\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": false,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:56:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "68f3e8eb-8813-4d35-b587-34cb68fba1c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "6ef663b6-0ee7-4b63-9faf-a4ee24646397" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085642Z:6ef663b6-0ee7-4b63-9faf-a4ee24646397" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618/configureFlowLog?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrV2F0Y2hlcnMvYXpzbW5ldDM2MTgvY29uZmlndXJlRmxvd0xvZz9hcGktdmVyc2lvbj0yMDE4LTA0LTAx", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"enabled\": false,\r\n \"retentionPolicy\": {\r\n \"days\": 5,\r\n \"enabled\": true\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": false,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "844" + ], + "x-ms-client-request-id": [ + "baaee3d0-db21-4c16-9434-07263a6b08e7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"\",\r\n \"enabled\": false,\r\n \"retentionPolicy\": {\r\n \"days\": 0,\r\n \"enabled\": false\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": false,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:56:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "a9468505-790d-4ef7-9a46-786f1fd4c351" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "74921aba-a473-4c1c-a5e4-22ea78b25c4b" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085646Z:74921aba-a473-4c1c-a5e4-22ea78b25c4b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618/queryFlowLogStatus?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrV2F0Y2hlcnMvYXpzbW5ldDM2MTgvcXVlcnlGbG93TG9nU3RhdHVzP2FwaS12ZXJzaW9uPTIwMTgtMDQtMDE=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "170" + ], + "x-ms-client-request-id": [ + "211f9d3b-ff10-4b11-819a-1c266aca23c4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"enabled\": true,\r\n \"retentionPolicy\": {\r\n \"days\": 5,\r\n \"enabled\": true\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": true,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:56:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "203e0229-4bc4-4408-820d-a425a0d84898" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "891e0e57-a3ee-47ab-b624-54ab4d17527d" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085640Z:891e0e57-a3ee-47ab-b624-54ab4d17527d" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618/queryFlowLogStatus?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrV2F0Y2hlcnMvYXpzbW5ldDM2MTgvcXVlcnlGbG93TG9nU3RhdHVzP2FwaS12ZXJzaW9uPTIwMTgtMDQtMDE=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "170" + ], + "x-ms-client-request-id": [ + "4e73266a-e6d5-4f19-b6a5-c308a33b5c44" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"storageId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Storage/storageAccounts/azsmnet567\",\r\n \"enabled\": true,\r\n \"retentionPolicy\": {\r\n \"days\": 5,\r\n \"enabled\": true\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": false,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:56:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "cad1d1ba-0175-4fee-ba15-36c057b9ae0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "a4ecfbbe-8da6-472f-accd-233adc57fb3f" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085643Z:a4ecfbbe-8da6-472f-accd-233adc57fb3f" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkWatchers/azsmnet3618/queryFlowLogStatus?api-version=2018-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTM4Zjc4YjItZjg0MC00NjI4LTkwZjgtMDA5ZWM5NzQ1YTE2L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ3ODk4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrV2F0Y2hlcnMvYXpzbW5ldDM2MTgvcXVlcnlGbG93TG9nU3RhdHVzP2FwaS12ZXJzaW9uPTIwMTgtMDQtMDE=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "170" + ], + "x-ms-client-request-id": [ + "c4995790-3cd3-4dbb-849a-02b36bc9007b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"targetResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourceGroups/azsmnet7898/providers/Microsoft.Network/networkSecurityGroups/azsmnet3999\",\r\n \"properties\": {\r\n \"enabled\": false,\r\n \"retentionPolicy\": {\r\n \"days\": 0,\r\n \"enabled\": false\r\n }\r\n },\r\n \"flowAnalyticsConfiguration\": {\r\n \"networkWatcherFlowAnalyticsConfiguration\": {\r\n \"enabled\": false,\r\n \"workspaceId\": \"ad9ba1bb-7b5e-46ba-9f73-84a487f7d6d1\",\r\n \"workspaceRegion\": \"East US\",\r\n \"workspaceResourceId\": \"/subscriptions/a38f78b2-f840-4628-90f8-009ec9745a16/resourcegroups/azsmnet7898/providers/microsoft.operationalinsights/workspaces/azsmnet5541\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 15 May 2018 08:56:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "650f493a-212c-47f6-97d2-001a7b996686" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "37c702d7-14e3-4bcc-a419-12c6d8720050" + ], + "x-ms-routing-request-id": [ + "SOUTHINDIA:20180515T085648Z:37c702d7-14e3-4bcc-a419-12c6d8720050" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "FlowLogApiTest": [ + "azsmnet7898", + "azsmnet3999", + "azsmnet3618", + "azsmnet567", + "azsmnet5541" + ] + }, + "Variables": { + "SubscriptionId": "a38f78b2-f840-4628-90f8-009ec9745a16" + } +} \ No newline at end of file diff --git a/src/SDKs/Network/Network.Tests/Tests/FlowLogTests.cs b/src/SDKs/Network/Network.Tests/Tests/FlowLogTests.cs index a57517e967af..c332bf42c8d2 100644 --- a/src/SDKs/Network/Network.Tests/Tests/FlowLogTests.cs +++ b/src/SDKs/Network/Network.Tests/Tests/FlowLogTests.cs @@ -6,10 +6,13 @@ using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Management.Resources.Models; using Microsoft.Azure.Management.Storage; +using Microsoft.Azure.Management.OperationalInsights; +using Microsoft.Azure.Management.OperationalInsights.Models; using Microsoft.Azure.Test; using Networks.Tests.Helpers; using ResourceGroups.Tests; using Xunit; +using System; namespace Network.Tests.Tests { @@ -18,13 +21,14 @@ namespace Network.Tests.Tests public class FlowLogTests { - [Fact(Skip = "Test can be run after fixes for this API will be deployed in every region")] + [Fact(Skip = "Test can be run after latest SDK for all dependent modules is available")] public void FlowLogApiTest() { var handler1 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; var handler2 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; var handler3 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; var handler4 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; + var handler5 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; using (MockContext context = MockContext.Start(this.GetType().FullName)) { @@ -33,8 +37,10 @@ public void FlowLogApiTest() var networkManagementClient = NetworkManagementTestUtilities.GetNetworkManagementClientWithHandler(context, handler2); var computeManagementClient = NetworkManagementTestUtilities.GetComputeManagementClientWithHandler(context, handler3); var storageManagementClient = NetworkManagementTestUtilities.GetStorageManagementClientWithHandler(context, handler4); + var operationalInsightsManagementClient = NetworkManagementTestUtilities.GetOperationalInsightsManagementClientWithHandler(context, handler5); - string location = "westcentralus"; + string location = "eastus2euap"; + string workspaceLocation = "East US"; string resourceGroupName = TestUtilities.GenerateName(); resourcesClient.ResourceGroups.CreateOrUpdate(resourceGroupName, @@ -79,14 +85,40 @@ public void FlowLogApiTest() var storageAccount = storageManagementClient.StorageAccounts.Create(resourceGroupName, storageName, storageParameters); + //create workspace + string workspaceName = TestUtilities.GenerateName(); + + var workSpaceParameters = new Workspace() + { + Location = workspaceLocation + }; + + var workspace = operationalInsightsManagementClient.Workspaces.CreateOrUpdate(resourceGroupName, workspaceName, workSpaceParameters); + FlowLogInformation configParameters = new FlowLogInformation() { TargetResourceId = getNsgResponse.Id, Enabled = true, - StorageId = storageAccount.Id + StorageId = storageAccount.Id, + RetentionPolicy = new RetentionPolicyParameters + { + Days = 5, + Enabled = true + }, + FlowAnalyticsConfiguration = new TrafficAnalyticsProperties() + { + NetworkWatcherFlowAnalyticsConfiguration = new TrafficAnalyticsConfigurationProperties() + { + Enabled = true, + WorkspaceId = workspace.CustomerId, + WorkspaceRegion = workspace.Location, + WorkspaceResourceId = workspace.Id + } + } }; + //configure flowlog and TA var configureFlowLog1 = networkManagementClient.NetworkWatchers.SetFlowLogConfiguration(resourceGroupName, networkWatcherName, configParameters); FlowLogStatusParameters flowLogParameters = new FlowLogStatusParameters() @@ -96,11 +128,41 @@ public void FlowLogApiTest() var queryFlowLogStatus1 = networkManagementClient.NetworkWatchers.GetFlowLogStatus(resourceGroupName, networkWatcherName, flowLogParameters); - configParameters.Enabled = false; + //check both flowlog and TA config and enabled status + Assert.Equal(queryFlowLogStatus1.TargetResourceId, configParameters.TargetResourceId); + Assert.True(queryFlowLogStatus1.Enabled); + Assert.Equal(queryFlowLogStatus1.StorageId, configParameters.StorageId); + Assert.Equal(queryFlowLogStatus1.RetentionPolicy.Days, configParameters.RetentionPolicy.Days); + Assert.Equal(queryFlowLogStatus1.RetentionPolicy.Enabled, configParameters.RetentionPolicy.Enabled); + Assert.True(queryFlowLogStatus1.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.Enabled); + Assert.Equal(queryFlowLogStatus1.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceId, + configParameters.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceId); + Assert.Equal(queryFlowLogStatus1.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceRegion, + configParameters.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceRegion); + Assert.Equal(queryFlowLogStatus1.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceResourceId, + configParameters.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceResourceId); + + //disable TA + configParameters.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.Enabled = false; var configureFlowLog2 = networkManagementClient.NetworkWatchers.SetFlowLogConfiguration(resourceGroupName, networkWatcherName, configParameters); var queryFlowLogStatus2 = networkManagementClient.NetworkWatchers.GetFlowLogStatus(resourceGroupName, networkWatcherName, flowLogParameters); - //TO DO: make verification once API is working + //check TA disabled and ensure flowlog config is unchanged + Assert.Equal(queryFlowLogStatus2.TargetResourceId, configParameters.TargetResourceId); + Assert.True(queryFlowLogStatus2.Enabled); + Assert.Equal(queryFlowLogStatus2.StorageId, configParameters.StorageId); + Assert.Equal(queryFlowLogStatus2.RetentionPolicy.Days, configParameters.RetentionPolicy.Days); + Assert.Equal(queryFlowLogStatus2.RetentionPolicy.Enabled, configParameters.RetentionPolicy.Enabled); + Assert.False(queryFlowLogStatus2.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.Enabled); + + //disable flowlog (and TA) + configParameters.Enabled = false; + var configureFlowLog3 = networkManagementClient.NetworkWatchers.SetFlowLogConfiguration(resourceGroupName, networkWatcherName, configParameters); + var queryFlowLogStatus3 = networkManagementClient.NetworkWatchers.GetFlowLogStatus(resourceGroupName, networkWatcherName, flowLogParameters); + + //check both flowlog and TA disabled + Assert.False(queryFlowLogStatus3.Enabled); + Assert.False(queryFlowLogStatus3.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.Enabled); } } } diff --git a/src/SDKs/_metadata/network_resource-manager.txt b/src/SDKs/_metadata/network_resource-manager.txt index 9c7bab28829e..4afa960b74b3 100644 --- a/src/SDKs/_metadata/network_resource-manager.txt +++ b/src/SDKs/_metadata/network_resource-manager.txt @@ -1,11 +1,11 @@ -2018-04-26 20:59:33 UTC +2018-05-15 11:02:49 UTC 1) azure-rest-api-specs repository information GitHub user: Azure -Branch: master -Commit: b9721ae4c9f04914cc89260b8339dc33372f835b +Branch: Network-2018-05-01 +Commit: a8d6f8beba2be2615d006c8647cb862906b72771 2) AutoRest information Requested version: latest -Bootstrapper version: C:\Users\mitryakh\AppData\Roaming\npm `-- autorest@2.0.4262 +Bootstrapper version: C:\Users\sayghosh\AppData\Roaming\npm `-- autorest@2.0.4262 Latest installed version: