Interface HasSslCertificate.DefinitionStages.WithSslCertificate<ReturnT>
-
- Type Parameters:
ReturnT
- the next stage of the definition
- All Known Subinterfaces:
ApplicationGatewayListener.Definition<ParentT>
,ApplicationGatewayListener.DefinitionStages.WithSslCertificate<ParentT>
,ApplicationGatewayRequestRoutingRule.Definition<ParentT>
,ApplicationGatewayRequestRoutingRule.DefinitionStages.WithSslCertificate<ParentT>
- Enclosing interface:
- HasSslCertificate.DefinitionStages
public static interface HasSslCertificate.DefinitionStages.WithSslCertificate<ReturnT>
The stage of a resource definition allowing to specify the SSL certificate to associate with it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReturnT
withSslCertificate(String name)
Specifies an SSL certificate to associate with this resource.HasSslCertificate.DefinitionStages.WithSslPassword<ReturnT>
withSslCertificateFromPfxFile(File pfxFile)
Specifies the PFX file to import the SSL certificate from to associated with this resource.
-
-
-
Method Detail
-
withSslCertificate
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 optional part of the parent resource definition.
- Parameters:
name
- the name of an existing SSL certificate.- Returns:
- the next stage of the definition
-
withSslCertificateFromPfxFile
HasSslCertificate.DefinitionStages.WithSslPassword<ReturnT> withSslCertificateFromPfxFile(File pfxFile) throws IOException
Specifies the PFX file to import the SSL certificate from to associated 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:
IOException
- when there are issues with the provided file
-
-