-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
BackendProxyContract.cs
44 lines (37 loc) · 1.93 KB
/
BackendProxyContract.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> Details of the Backend WebProxy Server to use in the Request to Backend. </summary>
public partial class BackendProxyContract
{
/// <summary> Initializes a new instance of BackendProxyContract. </summary>
/// <param name="uri"> WebProxy Server AbsoluteUri property which includes the entire URI stored in the Uri instance, including all fragments and query strings. </param>
/// <exception cref="ArgumentNullException"> <paramref name="uri"/> is null. </exception>
public BackendProxyContract(Uri uri)
{
Argument.AssertNotNull(uri, nameof(uri));
Uri = uri;
}
/// <summary> Initializes a new instance of BackendProxyContract. </summary>
/// <param name="uri"> WebProxy Server AbsoluteUri property which includes the entire URI stored in the Uri instance, including all fragments and query strings. </param>
/// <param name="username"> Username to connect to the WebProxy server. </param>
/// <param name="password"> Password to connect to the WebProxy Server. </param>
internal BackendProxyContract(Uri uri, string username, string password)
{
Uri = uri;
Username = username;
Password = password;
}
/// <summary> WebProxy Server AbsoluteUri property which includes the entire URI stored in the Uri instance, including all fragments and query strings. </summary>
public Uri Uri { get; set; }
/// <summary> Username to connect to the WebProxy server. </summary>
public string Username { get; set; }
/// <summary> Password to connect to the WebProxy Server. </summary>
public string Password { get; set; }
}
}