HostNameSslBinding.DefinitionStages.WithCertificate<ParentT> Interface

Type Parameters

ParentT

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

public interface WithCertificate

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

Method Summary

Modifier and Type Method and Description
HostNameSslBinding.DefinitionStages.WithSslType<ParentT> withExistingAppServiceCertificateOrder(AppServiceCertificateOrder certificateOrder)

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

HostNameSslBinding.DefinitionStages.WithSslType<ParentT> withExistingCertificate(String certificateName)

Use an existing certificate in the resource group.

HostNameSslBinding.DefinitionStages.WithKeyVault<ParentT> withNewStandardSslCertificateOrder(String certificateOrderName)

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

HostNameSslBinding.DefinitionStages.WithSslType<ParentT> withPfxCertificateToUpload(File pfxFile, String password)

Uploads a PFX certificate.

Method Details

withExistingAppServiceCertificateOrder

public 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 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 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 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