-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ManagedClusterHttpProxyConfig.cs
49 lines (43 loc) · 2.39 KB
/
ManagedClusterHttpProxyConfig.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.ContainerService.Models
{
/// <summary> Cluster HTTP proxy configuration. </summary>
public partial class ManagedClusterHttpProxyConfig
{
/// <summary> Initializes a new instance of ManagedClusterHttpProxyConfig. </summary>
public ManagedClusterHttpProxyConfig()
{
NoProxy = new ChangeTrackingList<string>();
EffectiveNoProxy = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of ManagedClusterHttpProxyConfig. </summary>
/// <param name="httpProxy"> The HTTP proxy server endpoint to use. </param>
/// <param name="httpsProxy"> The HTTPS proxy server endpoint to use. </param>
/// <param name="noProxy"> The endpoints that should not go through proxy. </param>
/// <param name="effectiveNoProxy"> A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a superset of noProxy and values injected by AKS. </param>
/// <param name="trustedCA"> Alternative CA cert to use for connecting to proxy servers. </param>
internal ManagedClusterHttpProxyConfig(string httpProxy, string httpsProxy, IList<string> noProxy, IReadOnlyList<string> effectiveNoProxy, string trustedCA)
{
HttpProxy = httpProxy;
HttpsProxy = httpsProxy;
NoProxy = noProxy;
EffectiveNoProxy = effectiveNoProxy;
TrustedCA = trustedCA;
}
/// <summary> The HTTP proxy server endpoint to use. </summary>
public string HttpProxy { get; set; }
/// <summary> The HTTPS proxy server endpoint to use. </summary>
public string HttpsProxy { get; set; }
/// <summary> The endpoints that should not go through proxy. </summary>
public IList<string> NoProxy { get; }
/// <summary> A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a superset of noProxy and values injected by AKS. </summary>
public IReadOnlyList<string> EffectiveNoProxy { get; }
/// <summary> Alternative CA cert to use for connecting to proxy servers. </summary>
public string TrustedCA { get; set; }
}
}