HostnameSslBinding.DefinitionStages.WithCertificate<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public static interface HostnameSslBinding.DefinitionStages.WithCertificate

The stage of a hostname SSL binding definition allowing certificate information to be specified.

Method Summary

Modifier and Type Method and Description
abstract WithSslType<ParentT> withExistingAppServiceCertificateOrder(AppServiceCertificateOrder certificateOrder)

Specifies a ready-to-use certificate order to use.

abstract WithSslType<ParentT> withExistingCertificate(String certificateName)

Use an existing certificate in the resource group.

abstract WithKeyVault<ParentT> withNewStandardSslCertificateOrder(String certificateOrderName)

Places a new App Service certificate order to use for the hostname.

abstract WithSslType<ParentT> withPfxCertificateToUpload(File pfxFile, String password)

Uploads a PFX certificate.

Method Details

withExistingAppServiceCertificateOrder

public abstract HostnameSslBinding.DefinitionStages.WithSslType withExistingAppServiceCertificateOrder(AppServiceCertificateOrder certificateOrder)

Specifies a ready-to-use certificate order to use. This is usually useful for reusing wildcard certificates.

Parameters:

certificateOrder - the ready-to-use certificate order

Returns:

the next stage of the definition

withExistingCertificate

public abstract HostnameSslBinding.DefinitionStages.WithSslType withExistingCertificate(String certificateName)

Use an existing certificate in the resource group.

Parameters:

certificateName - the name of the certificate

Returns:

the next stage of the definition

withNewStandardSslCertificateOrder

public abstract HostnameSslBinding.DefinitionStages.WithKeyVault withNewStandardSslCertificateOrder(String certificateOrderName)

Places a new App Service certificate order to use for the hostname.

Parameters:

certificateOrderName - the name of the certificate order

Returns:

the next stage of the definition

withPfxCertificateToUpload

public abstract HostnameSslBinding.DefinitionStages.WithSslType withPfxCertificateToUpload(File pfxFile, String password)

Uploads a PFX certificate.

Parameters:

pfxFile - the PFX certificate file to upload
password - the password to the certificate

Returns:

the next stage of the definition

Applies to