ManagedClusterHttpProxyConfig Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterHttpProxyConfig
- com.
Implements
public final class ManagedClusterHttpProxyConfig
implements JsonSerializable<ManagedClusterHttpProxyConfig>
Cluster HTTP proxy configuration.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterHttpProxyConfig() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
httpProxy()
Get the http |
String |
httpsProxy()
Get the https |
List<String> |
noProxy()
Get the no |
Json |
toJson(JsonWriter jsonWriter) |
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
fromJson
public static ManagedClusterHttpProxyConfig fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterHttpProxyConfig from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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