ApplicationGatewayBackendHttpConfiguration.UpdateStages.WithAuthenticationCertificate Interface

public static interface ApplicationGatewayBackendHttpConfiguration.UpdateStages.WithAuthenticationCertificate

The stage of an application gateway backend HTTP configuration allowing to add an authentication certificate.

Method Summary

Modifier and Type Method and Description
abstract Update withAuthenticationCertificate(String name)

Associates the specified authentication certificate that exists on this application gateway with this backend HTTP confifuration.

abstract Update withAuthenticationCertificateFromBase64(String base64Data)

Associates a new, automatically named certificate with this HTTP backend configuration loaded from the specified file.

abstract Update withAuthenticationCertificateFromBytes(byte[] derData)

Associates a new, automatically named certificate with this HTTP backend configuration based on the specified data.

abstract Update withAuthenticationCertificateFromFile(File certificateFile)

Associates a new, automatically named certificate with this HTTP backend configuration loaded from the specified file.

abstract Update withoutAuthenticationCertificate(String name)

Removes the reference to the specified authentication certificate from this HTTP backend configuration.

abstract Update withoutAuthenticationCertificates()

Removes all references to any authentication certificates.

Method Details

withAuthenticationCertificate

public abstract ApplicationGatewayBackendHttpConfiguration.Update withAuthenticationCertificate(String name)

Associates the specified authentication certificate that exists on this application gateway with this backend HTTP confifuration.

Multiple calls to this method will add additional certificate references.

Parameters:

name - the name of an existing authentication certificate

Returns:

the next stage of the update

withAuthenticationCertificateFromBase64

public abstract ApplicationGatewayBackendHttpConfiguration.Update withAuthenticationCertificateFromBase64(String base64Data)

Associates a new, automatically named certificate with this HTTP backend configuration loaded from the specified file.

Multiple calls to this method will add additional certificate references.

Parameters:

base64Data - the base-64 encoded data of an X.509 certificate

Returns:

the next stage of the update

withAuthenticationCertificateFromBytes

public abstract ApplicationGatewayBackendHttpConfiguration.Update withAuthenticationCertificateFromBytes(byte[] derData)

Associates a new, automatically named certificate with this HTTP backend configuration based on the specified data.

Multiple calls to this method will add additional certificate references.

Parameters:

derData - the DER-encoded data of an X.509 certificate

Returns:

the next stage of the update

withAuthenticationCertificateFromFile

public abstract ApplicationGatewayBackendHttpConfiguration.Update withAuthenticationCertificateFromFile(File certificateFile)

Associates a new, automatically named certificate with this HTTP backend configuration loaded from the specified file.

Parameters:

certificateFile - a file containing the DER representation of an X.509 certificate

Returns:

the next stage of the update

Throws:

java.io.IOException - when there are issues reading the specified file

withoutAuthenticationCertificate

public abstract ApplicationGatewayBackendHttpConfiguration.Update withoutAuthenticationCertificate(String name)

Removes the reference to the specified authentication certificate from this HTTP backend configuration.

Note the certificate will remain associated with the application gateway until removed from it explicitly.

Parameters:

name - the name of an existing authentication certificate associated with this HTTP backend configuration

Returns:

the next stage of the update

withoutAuthenticationCertificates

public abstract ApplicationGatewayBackendHttpConfiguration.Update withoutAuthenticationCertificates()

Removes all references to any authentication certificates.

Returns:

the next stage of the update

Applies to