CertificateDeletePollerAsync Class
- java.
lang. Object - com.
azure. compute. batch. CertificateDeletePollerAsync
- com.
public final class CertificateDeletePollerAsync
Async poller class used by beginDeleteCertificate to implement polling logic for deleting a BatchCertificate. Returns BatchCertificate during polling and null upon successful deletion.
Constructor Summary
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function<Polling |
getActivationOperation()
Activation operation to start the delete. |
|
Bi |
getCancelOperation()
Cancel operation (not supported for certificate deletion). |
|
Function<Polling |
getFetchResultOperation()
Final result fetch operation (returns null; not required). |
|
Function<Polling |
getPollOperation()
Poll operation to check if the certificate is still being deleted or is gone. |
Methods inherited from java.lang.Object
Constructor Details
CertificateDeletePollerAsync
public CertificateDeletePollerAsync(BatchAsyncClient batchAsyncClient, String thumbprintAlgorithm, String thumbprint, RequestOptions options)
Creates a new CertificateDeletePollerAsync.
Parameters:
Method Details
getActivationOperation
public Function<PollingContext<BatchCertificate>,Mono<PollResponse<BatchCertificate>>> getActivationOperation()
Activation operation to start the delete.
Returns:
getCancelOperation
public BiFunction<PollingContext<BatchCertificate>,PollResponse<BatchCertificate>,Mono<BatchCertificate>> getCancelOperation()
Cancel operation (not supported for certificate deletion).
Returns:
getFetchResultOperation
public Function<PollingContext<BatchCertificate>,Mono<Void>> getFetchResultOperation()
Final result fetch operation (returns null; not required).
Returns:
getPollOperation
public Function<PollingContext<BatchCertificate>,Mono<PollResponse<BatchCertificate>>> getPollOperation()
Poll operation to check if the certificate is still being deleted or is gone.
Returns: