Share via


CertificateOperation Class

Definition

A long running poller operation which can be used to track the status of a pending key vault certificate operation.

public class CertificateOperation : Azure.Operation<Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy>
type CertificateOperation = class
    inherit Operation<KeyVaultCertificateWithPolicy>
Public Class CertificateOperation
Inherits Operation(Of KeyVaultCertificateWithPolicy)
Inheritance

Constructors

CertificateOperation()

Initializes a new instance of CertificateOperation for mocking.

CertificateOperation(CertificateClient, String)

Initializes a new instance of the CertificateOperation class. You must call UpdateStatus(CancellationToken) or UpdateStatusAsync(CancellationToken) before you can get the Value.

Properties

HasCompleted

Gets a value indicating whether the operation has reached a terminal state.

HasValue

Gets a value indicating whether the Value property can be safely accessed.

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation. There are cases that operation id is not available, we return "NOT_SET" for unavailable operation id.

Properties

Gets the properties of the pending certificate operation.

Value

Final result of the long-running operation.

Methods

Cancel(CancellationToken)

Cancels a pending CertificateOperation in the key vault. This operation requires the certificates/update permission.

CancelAsync(CancellationToken)

Cancels a pending CertificateOperation in the key vault. This operation requires the certificates/update permission.

Delete(CancellationToken)

Deletes a pending CertificateOperation in the key vault. This operation requires the certificates/delete permission.

DeleteAsync(CancellationToken)

Deletes a pending CertificateOperation in the key vault. This operation requires the certificates/delete permission.

GetRawResponse()

The last HTTP response received from the server.

GetRehydrationToken()

Get a token that can be used to rehydrate the operation.

(Inherited from Operation)
UpdateStatus(CancellationToken)

Updates the status of the certificate operation. This operation requires the certificates/get permission.

UpdateStatusAsync(CancellationToken)

Updates the status of the certificate operation.

WaitForCompletion(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletion(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletion(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletionAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionResponse(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)

Applies to