diff --git a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/TrafficAnalyticsConfigurationProperties.cs b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/TrafficAnalyticsConfigurationProperties.cs index ae35f0a0e42e9..9590e338eff8d 100644 --- a/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/TrafficAnalyticsConfigurationProperties.cs +++ b/sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/TrafficAnalyticsConfigurationProperties.cs @@ -10,7 +10,6 @@ namespace Microsoft.Azure.Management.Network.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -43,7 +42,7 @@ public TrafficAnalyticsConfigurationProperties() /// The interval in minutes /// which would decide how frequently TA service should do flow /// analytics. - public TrafficAnalyticsConfigurationProperties(bool enabled, string workspaceId, string workspaceRegion, string workspaceResourceId, int? trafficAnalyticsInterval = default(int?)) + public TrafficAnalyticsConfigurationProperties(bool enabled, string workspaceId = default(string), string workspaceRegion = default(string), string workspaceResourceId = default(string), int? trafficAnalyticsInterval = default(int?)) { Enabled = enabled; WorkspaceId = workspaceId; @@ -92,23 +91,12 @@ public TrafficAnalyticsConfigurationProperties() /// /// 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"); - } + //Nothing to validate } } }