DeleteSecretOperation Class

Definition

public class DeleteSecretOperation : Azure.Operation<Azure.Security.KeyVault.Secrets.DeletedSecret>
type DeleteSecretOperation = class
    inherit Operation<DeletedSecret>
Public Class DeleteSecretOperation
Inherits Operation(Of DeletedSecret)
Inheritance
DeleteSecretOperation

Constructors

DeleteSecretOperation()

Initializes a new instance of DeleteSecretOperation for mocking.

Properties

HasCompleted

Returns true if the long-running operation completed.

HasValue

Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property).

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation.

Value

Gets the DeletedSecret. You should await WaitForCompletionAsync(CancellationToken) before attempting to purge or recover a secret in this pending state.

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Calls the server to get updated status of the long-running operation.

UpdateStatusAsync(CancellationToken)

Calls the server to get updated status of the long-running operation.

WaitForCompletionAsync(CancellationToken)

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

WaitForCompletionAsync(TimeSpan, CancellationToken)

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

WaitForCompletionResponseAsync(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)

Extension Methods

WaitForCompletion(Operation, CancellationToken)

Waits for the completion of the long running operations.

WaitForCompletion(Operation, TimeSpan, CancellationToken)

Waits for the completion of the long running operations.

WaitForCompletion<T>(Operation<T>, CancellationToken)

Waits for the completion of the long running operations.

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

Waits for the completion of the long running operations.

Applies to