StorageSyncServicesClient Interface

public interface StorageSyncServicesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginCreate(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters)

Create a new StorageSyncService.

abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginCreate(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters, Context context)

Create a new StorageSyncService.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageSyncServiceName)

Delete a given StorageSyncService.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageSyncServiceName, Context context)

Delete a given StorageSyncService.

abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginUpdate(String resourceGroupName, String storageSyncServiceName)

Patch a given StorageSyncService.

abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginUpdate(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceUpdateParameters parameters, Context context)

Patch a given StorageSyncService.

abstract CheckNameAvailabilityResultInner checkNameAvailability(String locationName, CheckNameAvailabilityParameters parameters)

Check the give namespace name availability.

abstract Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityParameters parameters, Context context)

Check the give namespace name availability.

abstract StorageSyncServiceInner create(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters)

Create a new StorageSyncService.

abstract StorageSyncServiceInner create(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters, Context context)

Create a new StorageSyncService.

abstract void delete(String resourceGroupName, String storageSyncServiceName)

Delete a given StorageSyncService.

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

Delete a given StorageSyncService.

abstract StorageSyncServiceInner getByResourceGroup(String resourceGroupName, String storageSyncServiceName)

Get a given StorageSyncService.

abstract StorageSyncServicesGetByResourceGroupResponse getByResourceGroupWithResponse(String resourceGroupName, String storageSyncServiceName, Context context)

Get a given StorageSyncService.

abstract PagedIterable<StorageSyncServiceInner> list()

Get a StorageSyncService list by subscription.

abstract PagedIterable<StorageSyncServiceInner> list(Context context)

Get a StorageSyncService list by subscription.

abstract PagedIterable<StorageSyncServiceInner> listByResourceGroup(String resourceGroupName)

Get a StorageSyncService list by Resource group name.

abstract PagedIterable<StorageSyncServiceInner> listByResourceGroup(String resourceGroupName, Context context)

Get a StorageSyncService list by Resource group name.

abstract StorageSyncServiceInner update(String resourceGroupName, String storageSyncServiceName)

Patch a given StorageSyncService.

abstract StorageSyncServiceInner update(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceUpdateParameters parameters, Context context)

Patch a given StorageSyncService.

Method Details

beginCreate

public abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginCreate(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters)

Create a new StorageSyncService.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of storage Sync Service object.

beginCreate

public abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginCreate(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters, Context context)

Create a new StorageSyncService.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of storage Sync Service object.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageSyncServiceName)

Delete a given StorageSyncService.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageSyncServiceName, Context context)

Delete a given StorageSyncService.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginUpdate(String resourceGroupName, String storageSyncServiceName)

Patch a given StorageSyncService.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of storage Sync Service object.

beginUpdate

public abstract SyncPoller<PollResult<StorageSyncServiceInner>,StorageSyncServiceInner> beginUpdate(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceUpdateParameters parameters, Context context)

Patch a given StorageSyncService.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of storage Sync Service object.

checkNameAvailability

public abstract CheckNameAvailabilityResultInner checkNameAvailability(String locationName, CheckNameAvailabilityParameters parameters)

Check the give namespace name availability.

Parameters:

locationName - The desired region for the name check.
parameters - The request body.

Returns:

the CheckNameAvailability operation response.

checkNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityParameters parameters, Context context)

Check the give namespace name availability.

Parameters:

locationName - The desired region for the name check.
parameters - The request body.
context - The context to associate with this operation.

Returns:

the CheckNameAvailability operation response along with Response<T>.

create

public abstract StorageSyncServiceInner create(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters)

Create a new StorageSyncService.

Parameters:

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

Returns:

storage Sync Service object.

create

public abstract StorageSyncServiceInner create(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceCreateParameters parameters, Context context)

Create a new StorageSyncService.

Parameters:

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

Returns:

storage Sync Service object.

delete

public abstract void delete(String resourceGroupName, String storageSyncServiceName)

Delete a given StorageSyncService.

Parameters:

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

delete

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

Delete a given StorageSyncService.

Parameters:

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

getByResourceGroup

public abstract StorageSyncServiceInner getByResourceGroup(String resourceGroupName, String storageSyncServiceName)

Get a given StorageSyncService.

Parameters:

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

Returns:

a given StorageSyncService.

getByResourceGroupWithResponse

public abstract StorageSyncServicesGetByResourceGroupResponse getByResourceGroupWithResponse(String resourceGroupName, String storageSyncServiceName, Context context)

Get a given StorageSyncService.

Parameters:

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

Returns:

a given StorageSyncService.

list

public abstract PagedIterable<StorageSyncServiceInner> list()

Get a StorageSyncService list by subscription.

Returns:

a StorageSyncService list by subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<StorageSyncServiceInner> list(Context context)

Get a StorageSyncService list by subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a StorageSyncService list by subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<StorageSyncServiceInner> listByResourceGroup(String resourceGroupName)

Get a StorageSyncService list by Resource group name.

Parameters:

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

Returns:

a StorageSyncService list by Resource group name as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<StorageSyncServiceInner> listByResourceGroup(String resourceGroupName, Context context)

Get a StorageSyncService list by Resource group name.

Parameters:

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

Returns:

a StorageSyncService list by Resource group name as paginated response with PagedIterable<T>.

update

public abstract StorageSyncServiceInner update(String resourceGroupName, String storageSyncServiceName)

Patch a given StorageSyncService.

Parameters:

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

Returns:

storage Sync Service object.

update

public abstract StorageSyncServiceInner update(String resourceGroupName, String storageSyncServiceName, StorageSyncServiceUpdateParameters parameters, Context context)

Patch a given StorageSyncService.

Parameters:

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

Returns:

storage Sync Service object.

Applies to