DeletedServersClient Interface

public interface DeletedServersClient

An instance of this class provides access to all the operations defined in DeletedServersClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DeletedServerInner>,DeletedServerInner> beginRecover(String locationName, String deletedServerName)

Recovers a deleted server.

abstract SyncPoller<PollResult<DeletedServerInner>,DeletedServerInner> beginRecover(String locationName, String deletedServerName, Context context)

Recovers a deleted server.

abstract PollerFlux<PollResult<DeletedServerInner>,DeletedServerInner> beginRecoverAsync(String locationName, String deletedServerName)

Recovers a deleted server.

abstract DeletedServerInner get(String locationName, String deletedServerName)

Gets a deleted server.

abstract Mono<DeletedServerInner> getAsync(String locationName, String deletedServerName)

Gets a deleted server.

abstract Response<DeletedServerInner> getWithResponse(String locationName, String deletedServerName, Context context)

Gets a deleted server.

abstract Mono<Response<DeletedServerInner>> getWithResponseAsync(String locationName, String deletedServerName)

Gets a deleted server.

abstract PagedIterable<DeletedServerInner> list()

Gets a list of all deleted servers in a subscription.

abstract PagedIterable<DeletedServerInner> list(Context context)

Gets a list of all deleted servers in a subscription.

abstract PagedFlux<DeletedServerInner> listAsync()

Gets a list of all deleted servers in a subscription.

abstract PagedIterable<DeletedServerInner> listByLocation(String locationName)

Gets a list of deleted servers for a location.

abstract PagedIterable<DeletedServerInner> listByLocation(String locationName, Context context)

Gets a list of deleted servers for a location.

abstract PagedFlux<DeletedServerInner> listByLocationAsync(String locationName)

Gets a list of deleted servers for a location.

abstract DeletedServerInner recover(String locationName, String deletedServerName)

Recovers a deleted server.

abstract DeletedServerInner recover(String locationName, String deletedServerName, Context context)

Recovers a deleted server.

abstract Mono<DeletedServerInner> recoverAsync(String locationName, String deletedServerName)

Recovers a deleted server.

abstract Mono<Response<Flux<ByteBuffer>>> recoverWithResponseAsync(String locationName, String deletedServerName)

Recovers a deleted server.

Method Details

beginRecover

public abstract SyncPoller,DeletedServerInner> beginRecover(String locationName, String deletedServerName)

Recovers a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

the SyncPoller<T,U> for polling of a deleted server.

beginRecover

public abstract SyncPoller,DeletedServerInner> beginRecover(String locationName, String deletedServerName, Context context)

Recovers a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a deleted server.

beginRecoverAsync

public abstract PollerFlux,DeletedServerInner> beginRecoverAsync(String locationName, String deletedServerName)

Recovers a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

the PollerFlux<T,U> for polling of a deleted server.

get

public abstract DeletedServerInner get(String locationName, String deletedServerName)

Gets a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

a deleted server.

getAsync

public abstract Mono getAsync(String locationName, String deletedServerName)

Gets a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

a deleted server on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String locationName, String deletedServerName, Context context)

Gets a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.
context - The context to associate with this operation.

Returns:

a deleted server along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String locationName, String deletedServerName)

Gets a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

a deleted server along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets a list of all deleted servers in a subscription.

Returns:

a list of all deleted servers in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Gets a list of all deleted servers in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a list of all deleted servers in a subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Gets a list of all deleted servers in a subscription.

Returns:

a list of all deleted servers in a subscription as paginated response with PagedFlux<T>.

listByLocation

public abstract PagedIterable listByLocation(String locationName)

Gets a list of deleted servers for a location.

Parameters:

locationName - The name of the region where the resource is located.

Returns:

a list of deleted servers for a location as paginated response with PagedIterable<T>.

listByLocation

public abstract PagedIterable listByLocation(String locationName, Context context)

Gets a list of deleted servers for a location.

Parameters:

locationName - The name of the region where the resource is located.
context - The context to associate with this operation.

Returns:

a list of deleted servers for a location as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String locationName)

Gets a list of deleted servers for a location.

Parameters:

locationName - The name of the region where the resource is located.

Returns:

a list of deleted servers for a location as paginated response with PagedFlux<T>.

recover

public abstract DeletedServerInner recover(String locationName, String deletedServerName)

Recovers a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

a deleted server.

recover

public abstract DeletedServerInner recover(String locationName, String deletedServerName, Context context)

Recovers a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.
context - The context to associate with this operation.

Returns:

a deleted server.

recoverAsync

public abstract Mono recoverAsync(String locationName, String deletedServerName)

Recovers a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

a deleted server on successful completion of Mono.

recoverWithResponseAsync

public abstract Mono>> recoverWithResponseAsync(String locationName, String deletedServerName)

Recovers a deleted server.

Parameters:

locationName - The name of the region where the resource is located.
deletedServerName - The name of the deleted server.

Returns:

a deleted server along with Response<T> on successful completion of Mono.

Applies to