ManagedClusterHttpProxyConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterHttpProxyConfig

Implements

public final class ManagedClusterHttpProxyConfig
implements JsonSerializable<ManagedClusterHttpProxyConfig>

Cluster HTTP proxy configuration.

Constructor Summary

Constructor Description
ManagedClusterHttpProxyConfig()

Creates an instance of ManagedClusterHttpProxyConfig class.

Method Summary

Modifier and Type Method and Description
static ManagedClusterHttpProxyConfig fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterHttpProxyConfig from the JsonReader.

String httpProxy()

Get the httpProxy property: The HTTP proxy server endpoint to use.

String httpsProxy()

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.

JsonWriter toJson(JsonWriter jsonWriter)
String trustedCa()

Get the trustedCa property: Alternative CA cert to use for connecting to proxy servers.

void validate()

Validates the instance.

ManagedClusterHttpProxyConfig withHttpProxy(String httpProxy)

Set the httpProxy property: The HTTP proxy server endpoint to use.

ManagedClusterHttpProxyConfig withHttpsProxy(String httpsProxy)

Set the httpsProxy property: The HTTPS proxy server endpoint to use.

ManagedClusterHttpProxyConfig withNoProxy(List<String> noProxy)

Set the noProxy property: The endpoints that should not go through proxy.

ManagedClusterHttpProxyConfig withTrustedCa(String trustedCa)

Set the trustedCa property: Alternative CA cert to use for connecting to proxy servers.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterHttpProxyConfig if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ManagedClusterHttpProxyConfig.

httpProxy

public String httpProxy()

Get the httpProxy property: The HTTP proxy server endpoint to use.

Returns:

the httpProxy value.

httpsProxy

public String httpsProxy()

Get the httpsProxy property: The HTTPS proxy server endpoint to use.

Returns:

the httpsProxy value.

noProxy

public List noProxy()

Get the noProxy property: The endpoints that should not go through proxy.

Returns:

the noProxy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trustedCa

public String trustedCa()

Get the trustedCa property: Alternative CA cert to use for connecting to proxy servers.

Returns:

the trustedCa value.

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:

httpProxy - the httpProxy value to set.

Returns:

the ManagedClusterHttpProxyConfig object itself.

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.

withNoProxy

public ManagedClusterHttpProxyConfig withNoProxy(List 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.

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.

Applies to