@azure/template package

Interfaces

FakedSharedModel

Faked shared model

PageSettings

Options for the byPage method

PagedAsyncIterableIterator

An interface that allows async iterable iteration both to completion and by page.

ResourceOperationStatusWidgetSuiteWidgetSuiteError

Provides status details for long running operations.

RestorePollerOptions
WidgetAnalyticsClientOptionalParams

Optional parameters for the client.

WidgetSuite

A widget.

WidgetsCreateOrUpdateWidgetOptionalParams

Optional parameters.

WidgetsDeleteWidgetOptionalParams

Optional parameters.

WidgetsGetWidgetOperationStatusOptionalParams

Optional parameters.

WidgetsGetWidgetOptionalParams

Optional parameters.

WidgetsListWidgetsOptionalParams

Optional parameters.

WidgetsOperations

Interface representing a Widgets operations.

Type Aliases

ContinuablePage

An interface that describes a page of results.

OperationState

Enum describing allowed operation states.
KnownOperationState can be used interchangeably with OperationState, this enum contains the known values that the service supports.

Known values supported by the service

NotStarted: The operation has not started.
Running: The operation is in progress.
Succeeded: The operation has completed successfully.
Failed: The operation has failed.
Canceled: The operation has been canceled by the user.

Enums

KnownOperationState

Enum describing allowed operation states.

KnownVersions

Versions info.

Functions

restorePoller<TResponse, TResult>(WidgetAnalyticsClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

Function Details

restorePoller<TResponse, TResult>(WidgetAnalyticsClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

function restorePoller<TResponse, TResult>(client: WidgetAnalyticsClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

Parameters

serializedState

string

sourceOperation

(args: any[]) => PollerLike<OperationState<TResult>, TResult>

Returns

PollerLike<OperationState<TResult>, TResult>