You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is Poller API an add-on or should it be the new default API to create certificates?
Sync side API, is it enough to allow timeout and just block ? At time out the operation will not be cancelled, will continue to run on server side. Let user cancel it if they want to ?
CertificateAsyncClient
publicclassCertificateAsyncClientextendsServiceClient
{
publicPoller<CertificateOperation> createCertificate(Stringname);
// Validates the required certificate configuration parameters are set and then invokes rest api call.publicPoller<CertificateOperation> createCertificate(Certificatecertificate);
publicMono<Response<CertificateOperation>> cancelCertificateOperation(StringcertificateName);
publicMono<Response<CertificateOperation>> deleteCertificateOperation(StringcertificateName);
//This can potentially be removedpublicMono<Response<CertificateOperation>> getCertificateOperation(StringcertificateName);
}
CertificateClient
publicclassCertificateClientextendsServiceClient
{
publicPollResponse<CertificateOperation> createCertificate(Stringname);
publicPollResponse<CertificateOperation> createCertificate(Stringname, Durationtimeout);
publicPollResponse<CertificateOperation> createCertificate(Certificatecertificate);
publicPollResponse<CertificateOperation> createCertificate(Certificatecertificate, Durationtimeout);
publicResponse<CertificateOperation> cancelCertificateOperation(StringcertificateName);
publicResponse<CertificateOperation> deleteCertificateOperation(StringcertificateName);
// This can potentially be removed.publicResponse<CertificateOperation> getCertificateOperation(StringcertificateName);
}