-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SsisLogLocation.cs
51 lines (44 loc) · 2.78 KB
/
SsisLogLocation.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.Core.Expressions.DataFactory;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> SSIS package execution log location. </summary>
public partial class SsisLogLocation
{
/// <summary> Initializes a new instance of <see cref="SsisLogLocation"/>. </summary>
/// <param name="logPath"> The SSIS package execution log path. Type: string (or Expression with resultType string). </param>
/// <param name="locationType"> The type of SSIS log location. </param>
/// <exception cref="ArgumentNullException"> <paramref name="logPath"/> is null. </exception>
public SsisLogLocation(DataFactoryElement<string> logPath, SsisLogLocationType locationType)
{
Argument.AssertNotNull(logPath, nameof(logPath));
LogPath = logPath;
LocationType = locationType;
}
/// <summary> Initializes a new instance of <see cref="SsisLogLocation"/>. </summary>
/// <param name="logPath"> The SSIS package execution log path. Type: string (or Expression with resultType string). </param>
/// <param name="locationType"> The type of SSIS log location. </param>
/// <param name="accessCredential"> The package execution log access credential. </param>
/// <param name="logRefreshInterval"> Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). </param>
internal SsisLogLocation(DataFactoryElement<string> logPath, SsisLogLocationType locationType, SsisAccessCredential accessCredential, DataFactoryElement<string> logRefreshInterval)
{
LogPath = logPath;
LocationType = locationType;
AccessCredential = accessCredential;
LogRefreshInterval = logRefreshInterval;
}
/// <summary> The SSIS package execution log path. Type: string (or Expression with resultType string). </summary>
public DataFactoryElement<string> LogPath { get; set; }
/// <summary> The type of SSIS log location. </summary>
public SsisLogLocationType LocationType { get; set; }
/// <summary> The package execution log access credential. </summary>
public SsisAccessCredential AccessCredential { get; set; }
/// <summary> Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). </summary>
public DataFactoryElement<string> LogRefreshInterval { get; set; }
}
}