| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | | using System.Collections; |
| | 10 | | using System.Collections.Generic; |
| | 11 | | using Azure.Core; |
| | 12 | |
|
| | 13 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | 14 | | { |
| | 15 | | /// <summary> Log storage settings. </summary> |
| | 16 | | public partial class LogStorageSettings : IDictionary<string, object> |
| | 17 | | { |
| | 18 | | /// <summary> Initializes a new instance of LogStorageSettings. </summary> |
| | 19 | | /// <param name="linkedServiceName"> Log storage linked service reference. </param> |
| | 20 | | /// <exception cref="ArgumentNullException"> <paramref name="linkedServiceName"/> is null. </exception> |
| 0 | 21 | | public LogStorageSettings(LinkedServiceReference linkedServiceName) |
| | 22 | | { |
| 0 | 23 | | if (linkedServiceName == null) |
| | 24 | | { |
| 0 | 25 | | throw new ArgumentNullException(nameof(linkedServiceName)); |
| | 26 | | } |
| | 27 | |
|
| 0 | 28 | | LinkedServiceName = linkedServiceName; |
| 0 | 29 | | AdditionalProperties = new ChangeTrackingDictionary<string, object>(); |
| 0 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> Initializes a new instance of LogStorageSettings. </summary> |
| | 33 | | /// <param name="linkedServiceName"> Log storage linked service reference. </param> |
| | 34 | | /// <param name="path"> The path to storage for storing detailed logs of activity execution. Type: string (or Ex |
| | 35 | | /// <param name="additionalProperties"> . </param> |
| 0 | 36 | | internal LogStorageSettings(LinkedServiceReference linkedServiceName, object path, IDictionary<string, object> a |
| | 37 | | { |
| 0 | 38 | | LinkedServiceName = linkedServiceName; |
| 0 | 39 | | Path = path; |
| 0 | 40 | | AdditionalProperties = additionalProperties; |
| 0 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> Log storage linked service reference. </summary> |
| 0 | 44 | | public LinkedServiceReference LinkedServiceName { get; set; } |
| | 45 | | /// <summary> The path to storage for storing detailed logs of activity execution. Type: string (or Expression w |
| 0 | 46 | | public object Path { get; set; } |
| 0 | 47 | | internal IDictionary<string, object> AdditionalProperties { get; } |
| | 48 | | /// <inheritdoc /> |
| 0 | 49 | | public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 50 | | /// <inheritdoc /> |
| 0 | 51 | | IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 52 | | /// <inheritdoc /> |
| 0 | 53 | | public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value); |
| | 54 | | /// <inheritdoc /> |
| 0 | 55 | | public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key); |
| | 56 | | /// <inheritdoc /> |
| 0 | 57 | | public ICollection<string> Keys => AdditionalProperties.Keys; |
| | 58 | | /// <inheritdoc /> |
| 0 | 59 | | public ICollection<object> Values => AdditionalProperties.Values; |
| | 60 | | /// <inheritdoc /> |
| 0 | 61 | | int ICollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count; |
| | 62 | | /// <inheritdoc /> |
| 0 | 63 | | public void Add(string key, object value) => AdditionalProperties.Add(key, value); |
| | 64 | | /// <inheritdoc /> |
| 0 | 65 | | public bool Remove(string key) => AdditionalProperties.Remove(key); |
| | 66 | | /// <inheritdoc /> |
| 0 | 67 | | bool ICollection<KeyValuePair<string, object>>.IsReadOnly => AdditionalProperties.IsReadOnly; |
| | 68 | | /// <inheritdoc /> |
| 0 | 69 | | void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> value) => AdditionalProperties.A |
| | 70 | | /// <inheritdoc /> |
| 0 | 71 | | bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> value) => AdditionalPropertie |
| | 72 | | /// <inheritdoc /> |
| 0 | 73 | | bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> value) => AdditionalPropert |
| | 74 | | /// <inheritdoc /> |
| 0 | 75 | | void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] destination, int offset) => |
| | 76 | | /// <inheritdoc /> |
| 0 | 77 | | void ICollection<KeyValuePair<string, object>>.Clear() => AdditionalProperties.Clear(); |
| | 78 | | /// <inheritdoc /> |
| | 79 | | public object this[string key] |
| | 80 | | { |
| 0 | 81 | | get => AdditionalProperties[key]; |
| 0 | 82 | | set => AdditionalProperties[key] = value; |
| | 83 | | } |
| | 84 | | } |
| | 85 | | } |