ReturnT - the next stage of the definitionpublic static interface HasSslCertificate.DefinitionStages.WithSslCertificate<ReturnT>
| Modifier and Type | Method and Description |
|---|---|
ReturnT |
withSslCertificate(String name)
Specifies an SSL certificate to associate with this resource.
|
ReturnT |
withSslCertificateFromKeyVaultSecretId(String keyVaultSecretId)
Sepecifies the content of the private key using key vault.
|
HasSslCertificate.DefinitionStages.WithSslPassword<ReturnT> |
withSslCertificateFromPfxFile(File pfxFile)
Specifies the PFX file to import the SSL certificate from to associated with this resource.
|
ReturnT withSslCertificate(String name)
If the certificate does not exist yet, it must be defined in the optional part of the parent resource definition.
name - the name of an existing SSL certificate.ReturnT withSslCertificateFromKeyVaultSecretId(String keyVaultSecretId)
keyVaultSecretId - the secret id of key vaultHasSslCertificate.DefinitionStages.WithSslPassword<ReturnT> withSslCertificateFromPfxFile(File pfxFile) throws IOException
The certificate will be named using an auto-generated name.
pfxFile - an existing PFX fileIOException - when there are issues with the provided file/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/