| | 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 | |
|
| | 10 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | 11 | | { |
| | 12 | | /// <summary> A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. </summary> |
| | 13 | | public partial class WebAnonymousAuthentication : WebLinkedServiceTypeProperties |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of WebAnonymousAuthentication. </summary> |
| | 16 | | /// <param name="url"> The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Exp |
| | 17 | | /// <exception cref="ArgumentNullException"> <paramref name="url"/> is null. </exception> |
| 0 | 18 | | public WebAnonymousAuthentication(object url) : base(url) |
| | 19 | | { |
| 0 | 20 | | if (url == null) |
| | 21 | | { |
| 0 | 22 | | throw new ArgumentNullException(nameof(url)); |
| | 23 | | } |
| | 24 | |
|
| 0 | 25 | | AuthenticationType = WebAuthenticationType.Anonymous; |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> Initializes a new instance of WebAnonymousAuthentication. </summary> |
| | 29 | | /// <param name="url"> The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Exp |
| | 30 | | /// <param name="authenticationType"> Type of authentication used to connect to the web table source. </param> |
| 0 | 31 | | internal WebAnonymousAuthentication(object url, WebAuthenticationType authenticationType) : base(url, authentica |
| | 32 | | { |
| 0 | 33 | | AuthenticationType = authenticationType; |
| 0 | 34 | | } |
| | 35 | | } |
| | 36 | | } |