Share via


ServicesClient Interface

public interface ServicesClient

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

Method Summary

Modifier and Type Method and Description
abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String serviceTopologyName, String serviceName, ServiceResourceInner serviceInfo)

Creates or updates a service in the service topology.

abstract Response<ServiceResourceInner> createOrUpdateWithResponse(String resourceGroupName, String serviceTopologyName, String serviceName, ServiceResourceInner serviceInfo, Context context)

Creates or updates a service in the service topology.

abstract void delete(String resourceGroupName, String serviceTopologyName, String serviceName)

Deletes the service.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String serviceTopologyName, String serviceName, Context context)

Deletes the service.

abstract ServiceResourceInner get(String resourceGroupName, String serviceTopologyName, String serviceName)

Gets the service.

abstract Response<ServiceResourceInner> getWithResponse(String resourceGroupName, String serviceTopologyName, String serviceName, Context context)

Gets the service.

abstract List<ServiceResourceInner> list(String resourceGroupName, String serviceTopologyName)

Lists the services in the service topology.

abstract Response<List<ServiceResourceInner>> listWithResponse(String resourceGroupName, String serviceTopologyName, Context context)

Lists the services in the service topology.

Method Details

createOrUpdate

public abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String serviceTopologyName, String serviceName, ServiceResourceInner serviceInfo)

Creates or updates a service in the service topology.

Synchronously creates a new service or updates an existing service.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serviceTopologyName - The name of the service topology .
serviceName - The name of the service resource.
serviceInfo - The service object.

Returns:

the resource representation of a service in a service topology.

createOrUpdateWithResponse

public abstract Response<ServiceResourceInner> createOrUpdateWithResponse(String resourceGroupName, String serviceTopologyName, String serviceName, ServiceResourceInner serviceInfo, Context context)

Creates or updates a service in the service topology.

Synchronously creates a new service or updates an existing service.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serviceTopologyName - The name of the service topology .
serviceName - The name of the service resource.
serviceInfo - The service object.
context - The context to associate with this operation.

Returns:

the resource representation of a service in a service topology along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String serviceTopologyName, String serviceName)

Deletes the service.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serviceTopologyName - The name of the service topology .
serviceName - The name of the service resource.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String serviceTopologyName, String serviceName, Context context)

Deletes the service.

Parameters:

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

Returns:

get

public abstract ServiceResourceInner get(String resourceGroupName, String serviceTopologyName, String serviceName)

Gets the service.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serviceTopologyName - The name of the service topology .
serviceName - The name of the service resource.

Returns:

the service.

getWithResponse

public abstract Response<ServiceResourceInner> getWithResponse(String resourceGroupName, String serviceTopologyName, String serviceName, Context context)

Gets the service.

Parameters:

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

Returns:

the service along with Response<T>.

list

public abstract List<ServiceResourceInner> list(String resourceGroupName, String serviceTopologyName)

Lists the services in the service topology.

Parameters:

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

Returns:

the list of services.

listWithResponse

public abstract Response<List<ServiceResourceInner>> listWithResponse(String resourceGroupName, String serviceTopologyName, Context context)

Lists the services in the service topology.

Parameters:

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

Returns:

the list of services along with Response<T>.

Applies to