Compartir a través de


DeletedServers interface

Interface representing a DeletedServers.

Methods

beginRecover(string, string, DeletedServersRecoverOptionalParams)

Recovers a deleted server.

beginRecoverAndWait(string, string, DeletedServersRecoverOptionalParams)

Recovers a deleted server.

get(string, string, DeletedServersGetOptionalParams)

Gets a deleted server.

list(DeletedServersListOptionalParams)

Gets a list of all deleted servers in a subscription.

listByLocation(string, DeletedServersListByLocationOptionalParams)

Gets a list of deleted servers for a location.

Method Details

beginRecover(string, string, DeletedServersRecoverOptionalParams)

Recovers a deleted server.

function beginRecover(locationName: string, deletedServerName: string, options?: DeletedServersRecoverOptionalParams): Promise<SimplePollerLike<OperationState<DeletedServer>, DeletedServer>>

Parameters

locationName

string

The name of the region where the resource is located.

deletedServerName

string

The name of the deleted server.

options
DeletedServersRecoverOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DeletedServer>, DeletedServer>>

beginRecoverAndWait(string, string, DeletedServersRecoverOptionalParams)

Recovers a deleted server.

function beginRecoverAndWait(locationName: string, deletedServerName: string, options?: DeletedServersRecoverOptionalParams): Promise<DeletedServer>

Parameters

locationName

string

The name of the region where the resource is located.

deletedServerName

string

The name of the deleted server.

options
DeletedServersRecoverOptionalParams

The options parameters.

Returns

Promise<DeletedServer>

get(string, string, DeletedServersGetOptionalParams)

Gets a deleted server.

function get(locationName: string, deletedServerName: string, options?: DeletedServersGetOptionalParams): Promise<DeletedServer>

Parameters

locationName

string

The name of the region where the resource is located.

deletedServerName

string

The name of the deleted server.

options
DeletedServersGetOptionalParams

The options parameters.

Returns

Promise<DeletedServer>

list(DeletedServersListOptionalParams)

Gets a list of all deleted servers in a subscription.

function list(options?: DeletedServersListOptionalParams): PagedAsyncIterableIterator<DeletedServer, DeletedServer[], PageSettings>

Parameters

options
DeletedServersListOptionalParams

The options parameters.

Returns

listByLocation(string, DeletedServersListByLocationOptionalParams)

Gets a list of deleted servers for a location.

function listByLocation(locationName: string, options?: DeletedServersListByLocationOptionalParams): PagedAsyncIterableIterator<DeletedServer, DeletedServer[], PageSettings>

Parameters

locationName

string

The name of the region where the resource is located.

options
DeletedServersListByLocationOptionalParams

The options parameters.

Returns