ServerEndpoints Interface

public interface ServerEndpoints

Resource collection API of ServerEndpoints.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ServerEndpoint resource.

abstract void delete(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName)

Delete a given ServerEndpoint.

abstract void delete(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, Context context)

Delete a given ServerEndpoint.

abstract void deleteById(String id)

Delete a given ServerEndpoint.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a given ServerEndpoint.

abstract ServerEndpoint get(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName)

Get a ServerEndpoint.

abstract ServerEndpoint getById(String id)

Get a ServerEndpoint.

abstract Response<ServerEndpoint> getByIdWithResponse(String id, Context context)

Get a ServerEndpoint.

abstract Response<ServerEndpoint> getWithResponse(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, Context context)

Get a ServerEndpoint.

abstract PagedIterable<ServerEndpoint> listBySyncGroup(String resourceGroupName, String storageSyncServiceName, String syncGroupName)

Get a ServerEndpoint list.

abstract PagedIterable<ServerEndpoint> listBySyncGroup(String resourceGroupName, String storageSyncServiceName, String syncGroupName, Context context)

Get a ServerEndpoint list.

abstract void recallAction(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, RecallActionParameters parameters)

Recall a server endpoint.

abstract void recallAction(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, RecallActionParameters parameters, Context context)

Recall a server endpoint.

Method Details

define

public abstract ServerEndpoint.DefinitionStages.Blank define(String name)

Begins definition for a new ServerEndpoint resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ServerEndpoint definition.

delete

public abstract void delete(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName)

Delete a given ServerEndpoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.
serverEndpointName - Name of Server Endpoint object.

delete

public abstract void delete(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, Context context)

Delete a given ServerEndpoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.
serverEndpointName - Name of Server Endpoint object.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Delete a given ServerEndpoint.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a given ServerEndpoint.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract ServerEndpoint get(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName)

Get a ServerEndpoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.
serverEndpointName - Name of Server Endpoint object.

Returns:

a ServerEndpoint.

getById

public abstract ServerEndpoint getById(String id)

Get a ServerEndpoint.

Parameters:

id - the resource ID.

Returns:

a ServerEndpoint.

getByIdWithResponse

public abstract Response<ServerEndpoint> getByIdWithResponse(String id, Context context)

Get a ServerEndpoint.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a ServerEndpoint.

getWithResponse

public abstract Response<ServerEndpoint> getWithResponse(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, Context context)

Get a ServerEndpoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.
serverEndpointName - Name of Server Endpoint object.
context - The context to associate with this operation.

Returns:

a ServerEndpoint.

listBySyncGroup

public abstract PagedIterable<ServerEndpoint> listBySyncGroup(String resourceGroupName, String storageSyncServiceName, String syncGroupName)

Get a ServerEndpoint list.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.

Returns:

a ServerEndpoint list as paginated response with PagedIterable<T>.

listBySyncGroup

public abstract PagedIterable<ServerEndpoint> listBySyncGroup(String resourceGroupName, String storageSyncServiceName, String syncGroupName, Context context)

Get a ServerEndpoint list.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.
context - The context to associate with this operation.

Returns:

a ServerEndpoint list as paginated response with PagedIterable<T>.

recallAction

public abstract void recallAction(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, RecallActionParameters parameters)

Recall a server endpoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.
serverEndpointName - Name of Server Endpoint object.
parameters - Body of Recall Action object.

recallAction

public abstract void recallAction(String resourceGroupName, String storageSyncServiceName, String syncGroupName, String serverEndpointName, RecallActionParameters parameters, Context context)

Recall a server endpoint.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageSyncServiceName - Name of Storage Sync Service resource.
syncGroupName - Name of Sync Group resource.
serverEndpointName - Name of Server Endpoint object.
parameters - Body of Recall Action object.
context - The context to associate with this operation.

Applies to