Replicas Interface

public interface Replicas

Resource collection API of Replicas.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<Server> listByServer(String resourceGroupName, String serverName)

List all the replicas for a given server.

abstract PagedIterable<Server> listByServer(String resourceGroupName, String serverName, Context context)

List all the replicas for a given server.

Method Details

listByServer

public abstract PagedIterable<Server> listByServer(String resourceGroupName, String serverName)

List all the replicas for a given server.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.

Returns:

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

listByServer

public abstract PagedIterable<Server> listByServer(String resourceGroupName, String serverName, Context context)

List all the replicas for a given server.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

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

Applies to