Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.network; import java.io.File; import java.io.IOException; import com.microsoft.azure.management.apigeneration.Beta; import com.microsoft.azure.management.apigeneration.Beta.SinceVersion; import com.microsoft.azure.management.apigeneration.Fluent; import com.microsoft.azure.management.network.implementation.ApplicationGatewayAuthenticationCertificateInner; import com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource; import com.microsoft.azure.management.resources.fluentcore.model.Attachable; import com.microsoft.azure.management.resources.fluentcore.model.Settable; import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
A client-side representation of an application gateway authentication certificate.
/** * A client-side representation of an application gateway authentication certificate. */
@Fluent() @Beta(SinceVersion.V1_4_0) public interface ApplicationGatewayAuthenticationCertificate extends HasInner<ApplicationGatewayAuthenticationCertificateInner>, ChildResource<ApplicationGateway> {
Returns:base-64 encoded bytes of the X.509 certificate
/** * @return base-64 encoded bytes of the X.509 certificate */
String data();
Grouping of application gateway authentication certificate stages.
/** * Grouping of application gateway authentication certificate stages. */
interface DefinitionStages {
The first stage of an application gateway authentication certificate definition.
Type parameters:
  • <ReturnT> – the stage of the parent application gateway definition to return to after attaching this definition
/** * The first stage of an application gateway authentication certificate definition. * @param <ReturnT> the stage of the parent application gateway definition to return to after attaching this definition */
interface Blank<ReturnT> extends WithData<ReturnT> { }
The stage of an application gateway authentication certificate definition allowing to specify the data of the certificate.
Type parameters:
  • <ReturnT> – the stage of the parent application gateway definition to return to after attaching this definition
/** * The stage of an application gateway authentication certificate definition allowing to specify the data of the certificate. * @param <ReturnT> the stage of the parent application gateway definition to return to after attaching this definition */
interface WithData<ReturnT> {
Specifies an X.509 certificate to upload.
Params:
  • derData – the DER-encoded bytes of an X.509 certificate
Returns:the next stage of the definition
/** * Specifies an X.509 certificate to upload. * @param derData the DER-encoded bytes of an X.509 certificate * @return the next stage of the definition */
WithAttach<ReturnT> fromBytes(byte[] derData);
Specifies an X.509 certificate to upload.
Params:
  • certificateFile – a DER encoded X.509 certificate file
Throws:
  • IOException – when there are problems reading the certificate file
Returns:the next stage of the definition
/** * Specifies an X.509 certificate to upload. * @param certificateFile a DER encoded X.509 certificate file * @return the next stage of the definition * @throws IOException when there are problems reading the certificate file */
WithAttach<ReturnT> fromFile(File certificateFile) throws IOException;
Specifies an X.509 certificate to upload.
Params:
  • base64data – base-64 encoded data of the certificate
Returns:the next stage of the definition
/** * Specifies an X.509 certificate to upload. * @param base64data base-64 encoded data of the certificate * @return the next stage of the definition */
WithAttach<ReturnT> fromBase64(String base64data); }
The final stage of an application gateway authentication certificate definition.

At this stage, any remaining optional settings can be specified, or the definition can be attached to the parent application gateway definition.

Type parameters:
  • <ReturnT> – the stage of the parent application gateway definition to return to after attaching this definition
/** The final stage of an application gateway authentication certificate definition. * <p> * At this stage, any remaining optional settings can be specified, or the definition * can be attached to the parent application gateway definition. * @param <ReturnT> the stage of the parent application gateway definition to return to after attaching this definition */
interface WithAttach<ReturnT> extends Attachable.InDefinition<ReturnT> { } }
The entirety of an application gateway authentication certificate definition.
Type parameters:
  • <ReturnT> – the stage of the parent application gateway definition to return to after attaching this definition
/** The entirety of an application gateway authentication certificate definition. * @param <ReturnT> the stage of the parent application gateway definition to return to after attaching this definition */
interface Definition<ReturnT> extends DefinitionStages.Blank<ReturnT>, DefinitionStages.WithAttach<ReturnT>, DefinitionStages.WithData<ReturnT> { }
Grouping of application gateway authentication certificate update stages.
/** * Grouping of application gateway authentication certificate update stages. */
interface UpdateStages { }
The entirety of an application gateway authentication certificate update as part of an application gateway update.
/** * The entirety of an application gateway authentication certificate update as part of an application gateway update. */
interface Update extends Settable<ApplicationGateway.Update> { }
Grouping of application gateway authentication certificate definition stages applicable as part of an application gateway update.
/** * Grouping of application gateway authentication certificate definition stages applicable as part of an application gateway update. */
interface UpdateDefinitionStages {
The first stage of an application gateway authentication certificate definition.
Type parameters:
  • <ReturnT> – the stage of the parent application gateway definition to return to after attaching this definition
/** * The first stage of an application gateway authentication certificate definition. * @param <ReturnT> the stage of the parent application gateway definition to return to after attaching this definition */
interface Blank<ReturnT> extends WithData<ReturnT> { }
The stage of an application gateway authentication certificate definition allowing to specify the data of the certificate.
Type parameters:
  • <ReturnT> – the stage of the parent application gateway update to return to after attaching this definition
/** * The stage of an application gateway authentication certificate definition allowing to specify the data of the certificate. * @param <ReturnT> the stage of the parent application gateway update to return to after attaching this definition */
interface WithData<ReturnT> {
Specifies an X.509 certificate to upload.
Params:
  • data – the DER-encoded bytes of an X.509 certificate
Returns:the next stage of the definition
/** * Specifies an X.509 certificate to upload. * @param data the DER-encoded bytes of an X.509 certificate * @return the next stage of the definition */
WithAttach<ReturnT> fromBytes(byte[] data);
Specifies an X.509 certificate to upload.
Params:
  • certificateFile – a DER encoded X.509 certificate file
Throws:
  • IOException – when there are problems reading the certificate file
Returns:the next stage of the definition
/** * Specifies an X.509 certificate to upload. * @param certificateFile a DER encoded X.509 certificate file * @return the next stage of the definition * @throws IOException when there are problems reading the certificate file */
WithAttach<ReturnT> fromFile(File certificateFile) throws IOException;
Specifies an X.509 certificate to upload.
Params:
  • base64data – base-64 encoded data of the certificate
Returns:the next stage of the definition
/** * Specifies an X.509 certificate to upload. * @param base64data base-64 encoded data of the certificate * @return the next stage of the definition */
WithAttach<ReturnT> fromBase64(String base64data); }
The final stage of an application gateway authentication certificate definition.

At this stage, any remaining optional settings can be specified, or the definition can be attached to the parent application gateway definition.

Type parameters:
  • <ReturnT> – the stage of the parent application gateway definition to return to after attaching this definition
/** The final stage of an application gateway authentication certificate definition. * <p> * At this stage, any remaining optional settings can be specified, or the definition * can be attached to the parent application gateway definition. * @param <ReturnT> the stage of the parent application gateway definition to return to after attaching this definition */
interface WithAttach<ReturnT> extends Attachable.InUpdate<ReturnT> { } }
The entirety of an application gateway authentication certificate definition as part of an application gateway update.
Type parameters:
  • <ReturnT> – the stage of the parent application gateway definition to return to after attaching this definition
/** The entirety of an application gateway authentication certificate definition as part of an application gateway update. * @param <ReturnT> the stage of the parent application gateway definition to return to after attaching this definition */
interface UpdateDefinition<ReturnT> extends UpdateDefinitionStages.Blank<ReturnT>, UpdateDefinitionStages.WithAttach<ReturnT>, UpdateDefinitionStages.WithData<ReturnT> { } }