LinkedServicesClient Interface

public interface LinkedServicesClient

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

Method Summary

Modifier and Type Method and Description
abstract LinkedServiceResourceInner createOrUpdate(String resourceGroupName, String factoryName, String linkedServiceName, LinkedServiceResourceInner linkedService)

Creates or updates a linked service.

abstract Response<LinkedServiceResourceInner> createOrUpdateWithResponse(String resourceGroupName, String factoryName, String linkedServiceName, LinkedServiceResourceInner linkedService, String ifMatch, Context context)

Creates or updates a linked service.

abstract void delete(String resourceGroupName, String factoryName, String linkedServiceName)

Deletes a linked service.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, String linkedServiceName, Context context)

Deletes a linked service.

abstract LinkedServiceResourceInner get(String resourceGroupName, String factoryName, String linkedServiceName)

Gets a linked service.

abstract Response<LinkedServiceResourceInner> getWithResponse(String resourceGroupName, String factoryName, String linkedServiceName, String ifNoneMatch, Context context)

Gets a linked service.

abstract PagedIterable<LinkedServiceResourceInner> listByFactory(String resourceGroupName, String factoryName)

Lists linked services.

abstract PagedIterable<LinkedServiceResourceInner> listByFactory(String resourceGroupName, String factoryName, Context context)

Lists linked services.

Method Details

createOrUpdate

public abstract LinkedServiceResourceInner createOrUpdate(String resourceGroupName, String factoryName, String linkedServiceName, LinkedServiceResourceInner linkedService)

Creates or updates a linked service.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
linkedServiceName - The linked service name.
linkedService - Linked service resource definition.

Returns:

linked service resource type.

createOrUpdateWithResponse

public abstract Response<LinkedServiceResourceInner> createOrUpdateWithResponse(String resourceGroupName, String factoryName, String linkedServiceName, LinkedServiceResourceInner linkedService, String ifMatch, Context context)

Creates or updates a linked service.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
linkedServiceName - The linked service name.
linkedService - Linked service resource definition.
ifMatch - ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
context - The context to associate with this operation.

Returns:

linked service resource type along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String factoryName, String linkedServiceName)

Deletes a linked service.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
linkedServiceName - The linked service name.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, String linkedServiceName, Context context)

Deletes a linked service.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
linkedServiceName - The linked service name.
context - The context to associate with this operation.

Returns:

get

public abstract LinkedServiceResourceInner get(String resourceGroupName, String factoryName, String linkedServiceName)

Gets a linked service.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
linkedServiceName - The linked service name.

Returns:

a linked service.

getWithResponse

public abstract Response<LinkedServiceResourceInner> getWithResponse(String resourceGroupName, String factoryName, String linkedServiceName, String ifNoneMatch, Context context)

Gets a linked service.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
linkedServiceName - The linked service name.
ifNoneMatch - ETag of the linked service entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
context - The context to associate with this operation.

Returns:

a linked service along with Response<T>.

listByFactory

public abstract PagedIterable<LinkedServiceResourceInner> listByFactory(String resourceGroupName, String factoryName)

Lists linked services.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.

Returns:

a list of linked service resources as paginated response with PagedIterable<T>.

listByFactory

public abstract PagedIterable<LinkedServiceResourceInner> listByFactory(String resourceGroupName, String factoryName, Context context)

Lists linked services.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
context - The context to associate with this operation.

Returns:

a list of linked service resources as paginated response with PagedIterable<T>.

Applies to