Share via


LibraryCreateOperation Class

Definition

Creates a library with the library name.

public class LibraryCreateOperation : Azure.Operation
type LibraryCreateOperation = class
    inherit Operation
Public Class LibraryCreateOperation
Inherits Operation
Inheritance
LibraryCreateOperation

Constructors

Name Description
LibraryCreateOperation()

Initializes a new instance of LibraryCreateOperation for mocking.

Properties

Name Description
HasCompleted

Returns true if the long-running operation completed.

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.

Methods

Name Description
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.

WaitForCompletionResponse(CancellationToken)

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

WaitForCompletionResponse(TimeSpan, CancellationToken)

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

WaitForCompletionResponseAsync(CancellationToken)

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

WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

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

Applies to