ManagedClusterHttpProxyConfig Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterHttpProxyConfig
- com.
public final class ManagedClusterHttpProxyConfig
Cluster HTTP proxy configuration.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterHttpProxyConfig() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
httpProxy()
Get the http |
String |
httpsProxy()
Get the https |
List<String> |
noProxy()
Get the no |
String |
trustedCa()
Get the trusted |
void |
validate()
Validates the instance. |
Managed |
withHttpProxy(String httpProxy)
Set the http |
Managed |
withHttpsProxy(String httpsProxy)
Set the https |
Managed |
withNoProxy(List<String> noProxy)
Set the no |
Managed |
withTrustedCa(String trustedCa)
Set the trusted |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterHttpProxyConfig
public ManagedClusterHttpProxyConfig()
Creates an instance of ManagedClusterHttpProxyConfig class.
Method Details
httpProxy
public String httpProxy()
Get the httpProxy property: The HTTP proxy server endpoint to use.
Returns:
httpsProxy
public String httpsProxy()
Get the httpsProxy property: The HTTPS proxy server endpoint to use.
Returns:
noProxy
public List
Get the noProxy property: The endpoints that should not go through proxy.
Returns:
trustedCa
public String trustedCa()
Get the trustedCa property: Alternative CA cert to use for connecting to proxy servers.
Returns:
validate
public void validate()
Validates the instance.
withHttpProxy
public ManagedClusterHttpProxyConfig withHttpProxy(String httpProxy)
Set the httpProxy property: The HTTP proxy server endpoint to use.
Parameters:
Returns:
withHttpsProxy
public ManagedClusterHttpProxyConfig withHttpsProxy(String httpsProxy)
Set the httpsProxy property: The HTTPS proxy server endpoint to use.
Parameters:
Returns:
withNoProxy
public ManagedClusterHttpProxyConfig withNoProxy(List
Set the noProxy property: The endpoints that should not go through proxy.
Parameters:
Returns:
withTrustedCa
public ManagedClusterHttpProxyConfig withTrustedCa(String trustedCa)
Set the trustedCa property: Alternative CA cert to use for connecting to proxy servers.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for