Share via


HasSslCertificate.UpdateStages.WithSslCertificate<ReturnT> Interface

Type Parameters

ReturnT

the next stage of the update

public static interface HasSslCertificate.UpdateStages.WithSslCertificate

The stage of a resource update allowing to specify the SSL certificate to associate with it.

Method Summary

Modifier and Type Method and Description
abstract ReturnT withSslCertificate(String name)

Specifies an SSL certificate to associate with this resource.

abstract ReturnT withSslCertificateFromKeyVaultSecretId(String keyVaultSecretId)

Sepecifies the content of the private key using key vault.

abstract WithSslPassword<ReturnT> withSslCertificateFromPfxFile(File pfxFile)

Specifies the PFX file to import the SSL certificate from to associate with this resource.

Method Details

withSslCertificate

public abstract ReturnT withSslCertificate(String name)

Specifies an SSL certificate to associate with this resource.

If the certificate does not exist yet, it must be defined in the parent resource update.

Parameters:

name - the name of an existing SSL certificate associated with this application gateway

Returns:

the next stage of the update

withSslCertificateFromKeyVaultSecretId

public abstract ReturnT withSslCertificateFromKeyVaultSecretId(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 update

withSslCertificateFromPfxFile

public abstract HasSslCertificate.UpdateStages.WithSslPassword withSslCertificateFromPfxFile(File pfxFile)

Specifies the PFX file to import the SSL certificate from to associate with this resource.

The certificate will be named using an auto-generated name.

Parameters:

pfxFile - an existing PFX file

Returns:

the next stage of the definition

Throws:

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

Applies to