你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HostNameSslBinding.UpdateDefinitionStages.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.UpdateDefinitionStages.WithSslType<ParentT> withExistingAppServiceCertificateOrder(AppServiceCertificateOrder certificateOrder)

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

HostNameSslBinding.UpdateDefinitionStages.WithSslType<ParentT> withExistingCertificate(String certificateNameOrThumbprint)

Use an existing certificate in the resource group.

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

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

HostNameSslBinding.UpdateDefinitionStages.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 certificateNameOrThumbprint)

Use an existing certificate in the resource group.

Parameters:

certificateNameOrThumbprint - the name or the thumbprint 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