-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
StoreWriteSettings.cs
52 lines (46 loc) · 3.06 KB
/
StoreWriteSettings.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
52
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary>
/// Connector write settings.
/// Please note <see cref="StoreWriteSettings"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include <see cref="AzureBlobFSWriteSettings"/>, <see cref="AzureBlobStorageWriteSettings"/>, <see cref="AzureDataLakeStoreWriteSettings"/>, <see cref="AzureFileStorageWriteSettings"/>, <see cref="FileServerWriteSettings"/>, <see cref="LakeHouseWriteSettings"/> and <see cref="SftpWriteSettings"/>.
/// </summary>
public abstract partial class StoreWriteSettings
{
/// <summary> Initializes a new instance of <see cref="StoreWriteSettings"/>. </summary>
protected StoreWriteSettings()
{
Metadata = new ChangeTrackingList<MetadataItem>();
AdditionalProperties = new ChangeTrackingDictionary<string, object>();
}
/// <summary> Initializes a new instance of <see cref="StoreWriteSettings"/>. </summary>
/// <param name="type"> The write setting type. </param>
/// <param name="maxConcurrentConnections"> The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). </param>
/// <param name="copyBehavior"> The type of copy behavior for copy sink. </param>
/// <param name="metadata"> Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). </param>
/// <param name="additionalProperties"> Additional Properties. </param>
internal StoreWriteSettings(string type, object maxConcurrentConnections, object copyBehavior, IList<MetadataItem> metadata, IDictionary<string, object> additionalProperties)
{
Type = type;
MaxConcurrentConnections = maxConcurrentConnections;
CopyBehavior = copyBehavior;
Metadata = metadata;
AdditionalProperties = additionalProperties;
}
/// <summary> The write setting type. </summary>
internal string Type { get; set; }
/// <summary> The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). </summary>
public object MaxConcurrentConnections { get; set; }
/// <summary> The type of copy behavior for copy sink. </summary>
public object CopyBehavior { get; set; }
/// <summary> Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). </summary>
public IList<MetadataItem> Metadata { get; }
/// <summary> Additional Properties. </summary>
public IDictionary<string, object> AdditionalProperties { get; }
}
}