diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SSISLogLocation.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SSISLogLocation.cs index cc30f15d40e92..b624d3c459aee 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SSISLogLocation.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SSISLogLocation.cs @@ -36,7 +36,7 @@ public SSISLogLocation() /// string (or Expression with resultType string). /// The package execution log access /// credential. - public SSISLogLocation(object logPath = default(object), SSISAccessCredential accessCredential = default(SSISAccessCredential)) + public SSISLogLocation(object logPath, SSISAccessCredential accessCredential = default(SSISAccessCredential)) { LogPath = logPath; AccessCredential = accessCredential; @@ -82,6 +82,10 @@ static SSISLogLocation() /// public virtual void Validate() { + if (LogPath == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "LogPath"); + } if (AccessCredential != null) { AccessCredential.Validate();