Interface ApplicationGatewayBackendHttpConfiguration.UpdateStages.WithAuthenticationCertificate
- All Known Subinterfaces:
ApplicationGatewayBackendHttpConfiguration.Update
- Enclosing interface:
ApplicationGatewayBackendHttpConfiguration.UpdateStages
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 TypeMethodDescriptionAssociates the specified authentication certificate that exists on this application gateway with this backend HTTP confifuration.withAuthenticationCertificateFromBase64(String base64Data) Associates a new, automatically named certificate with this HTTP backend configuration loaded from the specified file.withAuthenticationCertificateFromBytes(byte[] derData) Associates a new, automatically named certificate with this HTTP backend configuration based on the specified data.withAuthenticationCertificateFromFile(File certificateFile) Associates a new, automatically named certificate with this HTTP backend configuration loaded from the specified file.Removes the reference to the specified authentication certificate from this HTTP backend configuration.Removes all references to any authentication certificates.
-
Method Details
-
withAuthenticationCertificate
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
-
withAuthenticationCertificateFromBytes
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
ApplicationGatewayBackendHttpConfiguration.Update withAuthenticationCertificateFromFile(File certificateFile) throws IOException 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:
IOException- when there are issues reading the specified file
-
withAuthenticationCertificateFromBase64
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
-
withoutAuthenticationCertificate
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
ApplicationGatewayBackendHttpConfiguration.Update withoutAuthenticationCertificates()Removes all references to any authentication certificates.- Returns:
- the next stage of the update
-