To use this function add it to the class library file named PluginAVIService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: PluginAVIService.ts
Description: Orchestrator Function to Build an AVI SSL Key And Certificate.
Private Function: AviSSLKeyAndCertificateBuild
privateAviSSLKeyAndCertificateBuild(objAviSSLCertificate:AviSSLCertificate,objAviSSLKeyParams:AviSSLKeyParams,strFormat:string,strType:string,strName:string,strCertificateBase64:string):AviSSLKeyAndCertificate{
letobjAviSSLKeyAndCertificate:AviSSLKeyAndCertificate=newAviSSLKeyAndCertificate();
objAviSSLKeyAndCertificate.setStatus("SSL_CERTIFICATE_FINISHED");
objAviSSLKeyAndCertificate.setCertificate(objAviSSLCertificate);
objAviSSLKeyAndCertificate.setKeyParams(objAviSSLKeyParams);
objAviSSLKeyAndCertificate.setFormat(strFormat);
objAviSSLKeyAndCertificate.setType(strType);
objAviSSLKeyAndCertificate.setName(strName);
if (strCertificateBase64){
objAviSSLKeyAndCertificate.setCertificateBase64(strCertificateBase64);
}
returnobjAviSSLKeyAndCertificate;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
