ApplicationGatewaySslCertificate.DefinitionStages.WithData<ParentT> Interface

Type Parameters

ParentT

the stage of the parent application gateway to return to after attaching

public static interface ApplicationGatewaySslCertificate.DefinitionStages.WithData

The stage of an SSL certificate definition allowing to specify the contents of the SSL certificate.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withKeyVaultSecretId(String keyVaultSecretId)

Sepecifies the content of the private key using key vault.

abstract WithPassword<ParentT> withPfxFromBytes(byte[] pfxData)

Specifies the contents of the private key in the PFX (PKCS#12) format, not base64-encoded.

abstract WithPassword<ParentT> withPfxFromFile(File pfxFile)

Specifies the PFX (PKCS#12) file to get the private key content from.

Method Details

withKeyVaultSecretId

public abstract ApplicationGatewaySslCertificate.DefinitionStages.WithAttach withKeyVaultSecretId(String keyVaultSecretId)

Sepecifies the content of the private key using key vault.

Parameters:

keyVaultSecretId - the secret id of key vault

Returns:

the next stage of the definition

withPfxFromBytes

public abstract ApplicationGatewaySslCertificate.DefinitionStages.WithPassword withPfxFromBytes(byte[] pfxData)

Specifies the contents of the private key in the PFX (PKCS#12) format, not base64-encoded.

Parameters:

pfxData - the contents of the private key in the PFX format

Returns:

the next stage of the definition

withPfxFromFile

public abstract ApplicationGatewaySslCertificate.DefinitionStages.WithPassword withPfxFromFile(File pfxFile)

Specifies the PFX (PKCS#12) file to get the private key content from.

Parameters:

pfxFile - a file in the PFX format

Returns:

the next stage of the definition

Throws:

java.io.IOException - when there are problems with the provided file

Applies to