Interface HostNameSslBinding.UpdateDefinitionStages.WithCertificate<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
HostNameSslBinding.UpdateDefinition<ParentT>
- Enclosing interface:
- HostNameSslBinding.UpdateDefinitionStages
public static interface HostNameSslBinding.UpdateDefinitionStages.WithCertificate<ParentT>
The stage of a hostname SSL binding definition allowing certificate information to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingAppServiceCertificateOrder
(AppServiceCertificateOrder certificateOrder) Specifies a ready-to-use certificate order to use.withExistingCertificate
(String certificateNameOrThumbprint) Use an existing certificate in the resource group.withNewStandardSslCertificateOrder
(String certificateOrderName) Places a new App Service certificate order to use for the hostname.withPfxCertificateToUpload
(File pfxFile, String password) Uploads a PFX certificate.
-
Method Details
-
withPfxCertificateToUpload
HostNameSslBinding.UpdateDefinitionStages.WithSslType<ParentT> withPfxCertificateToUpload(File pfxFile, String password) Uploads a PFX certificate.- Parameters:
pfxFile
- the PFX certificate file to uploadpassword
- the password to the certificate- Returns:
- the next stage of the definition
-
withExistingCertificate
HostNameSslBinding.UpdateDefinitionStages.WithSslType<ParentT> 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
HostNameSslBinding.UpdateDefinitionStages.WithKeyVault<ParentT> 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
-
withExistingAppServiceCertificateOrder
HostNameSslBinding.UpdateDefinitionStages.WithSslType<ParentT> 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
-