Delen via


ArmContainerServiceModelFactory.ManagedClusterHttpProxyConfig Method

Definition

Initializes a new instance of ManagedClusterHttpProxyConfig.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig ManagedClusterHttpProxyConfig (string httpProxy = default, string httpsProxy = default, System.Collections.Generic.IEnumerable<string> noProxy = default, System.Collections.Generic.IEnumerable<string> effectiveNoProxy = default, string trustedCA = default);
static member ManagedClusterHttpProxyConfig : string * string * seq<string> * seq<string> * string -> Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig
Public Shared Function ManagedClusterHttpProxyConfig (Optional httpProxy As String = Nothing, Optional httpsProxy As String = Nothing, Optional noProxy As IEnumerable(Of String) = Nothing, Optional effectiveNoProxy As IEnumerable(Of String) = Nothing, Optional trustedCA As String = Nothing) As ManagedClusterHttpProxyConfig

Parameters

httpProxy
String

The HTTP proxy server endpoint to use.

httpsProxy
String

The HTTPS proxy server endpoint to use.

noProxy
IEnumerable<String>

The endpoints that should not go through proxy.

effectiveNoProxy
IEnumerable<String>

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.

trustedCA
String

Alternative CA cert to use for connecting to proxy servers.

Returns

A new ManagedClusterHttpProxyConfig instance for mocking.

Applies to