Class ManagedClusterHttpProxyConfig
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterHttpProxyConfig
-
public final class ManagedClusterHttpProxyConfig extends Object
Cluster HTTP proxy configuration.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterHttpProxyConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringhttpProxy()Get the httpProxy property: The HTTP proxy server endpoint to use.StringhttpsProxy()Get the httpsProxy property: The HTTPS proxy server endpoint to use.List<String>noProxy()Get the noProxy property: The endpoints that should not go through proxy.StringtrustedCa()Get the trustedCa property: Alternative CA cert to use for connecting to proxy servers.voidvalidate()Validates the instance.ManagedClusterHttpProxyConfigwithHttpProxy(String httpProxy)Set the httpProxy property: The HTTP proxy server endpoint to use.ManagedClusterHttpProxyConfigwithHttpsProxy(String httpsProxy)Set the httpsProxy property: The HTTPS proxy server endpoint to use.ManagedClusterHttpProxyConfigwithNoProxy(List<String> noProxy)Set the noProxy property: The endpoints that should not go through proxy.ManagedClusterHttpProxyConfigwithTrustedCa(String trustedCa)Set the trustedCa property: Alternative CA cert to use for connecting to proxy servers.
-
-
-
Method Detail
-
httpProxy
public String httpProxy()
Get the httpProxy property: The HTTP proxy server endpoint to use.- Returns:
- the httpProxy value.
-
withHttpProxy
public ManagedClusterHttpProxyConfig withHttpProxy(String httpProxy)
Set the httpProxy property: The HTTP proxy server endpoint to use.- Parameters:
httpProxy- the httpProxy value to set.- Returns:
- the ManagedClusterHttpProxyConfig object itself.
-
httpsProxy
public String httpsProxy()
Get the httpsProxy property: The HTTPS proxy server endpoint to use.- Returns:
- the httpsProxy value.
-
withHttpsProxy
public ManagedClusterHttpProxyConfig withHttpsProxy(String httpsProxy)
Set the httpsProxy property: The HTTPS proxy server endpoint to use.- Parameters:
httpsProxy- the httpsProxy value to set.- Returns:
- the ManagedClusterHttpProxyConfig object itself.
-
noProxy
public List<String> noProxy()
Get the noProxy property: The endpoints that should not go through proxy.- Returns:
- the noProxy value.
-
withNoProxy
public ManagedClusterHttpProxyConfig withNoProxy(List<String> noProxy)
Set the noProxy property: The endpoints that should not go through proxy.- Parameters:
noProxy- the noProxy value to set.- Returns:
- the ManagedClusterHttpProxyConfig object itself.
-
trustedCa
public String trustedCa()
Get the trustedCa property: Alternative CA cert to use for connecting to proxy servers.- Returns:
- the trustedCa value.
-
withTrustedCa
public ManagedClusterHttpProxyConfig withTrustedCa(String trustedCa)
Set the trustedCa property: Alternative CA cert to use for connecting to proxy servers.- Parameters:
trustedCa- the trustedCa value to set.- Returns:
- the ManagedClusterHttpProxyConfig object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-