Interface ApplicationGatewaySslCertificate.DefinitionStages.WithData<ParentT>
- Type Parameters:
ParentT- the stage of the parent application gateway to return to after attaching
- All Known Subinterfaces:
ApplicationGatewaySslCertificate.Definition<ParentT>,ApplicationGatewaySslCertificate.DefinitionStages.Blank<ParentT>
- Enclosing interface:
ApplicationGatewaySslCertificate.DefinitionStages
public static interface ApplicationGatewaySslCertificate.DefinitionStages.WithData<ParentT>
The stage of an SSL certificate definition allowing to specify the contents of the SSL certificate.
-
Method Summary
Modifier and TypeMethodDescriptionwithKeyVaultSecretId(String keyVaultSecretId) Sepecifies the content of the private key using key vault.withPfxFromBytes(byte[] pfxData) Specifies the contents of the private key in the PFX (PKCS#12) format, not base64-encoded.withPfxFromFile(File pfxFile) Specifies the PFX (PKCS#12) file to get the private key content from.
-
Method Details
-
withPfxFromBytes
ApplicationGatewaySslCertificate.DefinitionStages.WithPassword<ParentT> withPfxFromBytes(byte[] pfxData) Specifies the contents of the private key in the PFX (PKCS#12) format, not base64-encoded.- Parameters:
pfxData- the contents of the private key in the PFX format- Returns:
- the next stage of the definition
-
withPfxFromFile
ApplicationGatewaySslCertificate.DefinitionStages.WithPassword<ParentT> withPfxFromFile(File pfxFile) throws IOException Specifies the PFX (PKCS#12) file to get the private key content from.- Parameters:
pfxFile- a file in the PFX format- Returns:
- the next stage of the definition
- Throws:
IOException- when there are problems with the provided file
-
withKeyVaultSecretId
ApplicationGatewaySslCertificate.DefinitionStages.WithAttach<ParentT> withKeyVaultSecretId(String keyVaultSecretId) Sepecifies the content of the private key using key vault.- Parameters:
keyVaultSecretId- the secret id of key vault- Returns:
- the next stage of the definition
-