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 SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters)

Creates or updates a Service Fabric service resource.

abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters, Context context)

Creates or updates a Service Fabric service resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String applicationName, String serviceName)

Deletes a Service Fabric service resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String applicationName, String serviceName, Context context)

Deletes a Service Fabric service resource.

abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters)

Updates a Service Fabric service resource.

abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters, Context context)

Updates a Service Fabric service resource.

abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters)

Creates or updates a Service Fabric service resource.

abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters, Context context)

Creates or updates a Service Fabric service resource.

abstract void delete(String resourceGroupName, String clusterName, String applicationName, String serviceName)

Deletes a Service Fabric service resource.

abstract void delete(String resourceGroupName, String clusterName, String applicationName, String serviceName, Context context)

Deletes a Service Fabric service resource.

abstract ServiceResourceInner get(String resourceGroupName, String clusterName, String applicationName, String serviceName)

Gets a Service Fabric service resource.

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

Gets a Service Fabric service resource.

abstract PagedIterable<ServiceResourceInner> list(String resourceGroupName, String clusterName, String applicationName)

Gets the list of service resources created in the specified Service Fabric application resource.

abstract PagedIterable<ServiceResourceInner> list(String resourceGroupName, String clusterName, String applicationName, Context context)

Gets the list of service resources created in the specified Service Fabric application resource.

abstract ServiceResourceInner update(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters)

Updates a Service Fabric service resource.

abstract ServiceResourceInner update(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters, Context context)

Updates a Service Fabric service resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters)

Creates or updates a Service Fabric service resource. Create or update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource.

Returns:

the SyncPoller<T,U> for polling of the service resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters, Context context)

Creates or updates a Service Fabric service resource. Create or update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the service resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String applicationName, String serviceName)

Deletes a Service Fabric service resource. Delete a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String applicationName, String serviceName, Context context)

Deletes a Service Fabric service resource. Delete a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
context - The context to associate with this operation.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters)

Updates a Service Fabric service resource. Update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource for patch operations.

Returns:

the SyncPoller<T,U> for polling of the service resource.

beginUpdate

public abstract SyncPoller<PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters, Context context)

Updates a Service Fabric service resource. Update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource for patch operations.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the service resource.

createOrUpdate

public abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters)

Creates or updates a Service Fabric service resource. Create or update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource.

Returns:

the service resource.

createOrUpdate

public abstract ServiceResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters, Context context)

Creates or updates a Service Fabric service resource. Create or update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource.
context - The context to associate with this operation.

Returns:

the service resource.

delete

public abstract void delete(String resourceGroupName, String clusterName, String applicationName, String serviceName)

Deletes a Service Fabric service resource. Delete a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.

delete

public abstract void delete(String resourceGroupName, String clusterName, String applicationName, String serviceName, Context context)

Deletes a Service Fabric service resource. Delete a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
context - The context to associate with this operation.

get

public abstract ServiceResourceInner get(String resourceGroupName, String clusterName, String applicationName, String serviceName)

Gets a Service Fabric service resource. Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.

Returns:

a Service Fabric service resource created or in the process of being created in the Service Fabric application resource.

getWithResponse

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

Gets a Service Fabric service resource. Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
context - The context to associate with this operation.

Returns:

a Service Fabric service resource created or in the process of being created in the Service Fabric application resource along with Response<T>.

list

public abstract PagedIterable<ServiceResourceInner> list(String resourceGroupName, String clusterName, String applicationName)

Gets the list of service resources created in the specified Service Fabric application resource. Gets all service resources created or in the process of being created in the Service Fabric application resource.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.

Returns:

all service resources created or in the process of being created in the Service Fabric application resource as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ServiceResourceInner> list(String resourceGroupName, String clusterName, String applicationName, Context context)

Gets the list of service resources created in the specified Service Fabric application resource. Gets all service resources created or in the process of being created in the Service Fabric application resource.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
context - The context to associate with this operation.

Returns:

all service resources created or in the process of being created in the Service Fabric application resource as paginated response with PagedIterable<T>.

update

public abstract ServiceResourceInner update(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters)

Updates a Service Fabric service resource. Update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource for patch operations.

Returns:

the service resource.

update

public abstract ServiceResourceInner update(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters, Context context)

Updates a Service Fabric service resource. Update a Service Fabric service resource with the specified name.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster resource.
applicationName - The name of the application resource.
serviceName - The name of the service resource in the format of {applicationName}~{serviceName}.
parameters - The service resource for patch operations.
context - The context to associate with this operation.

Returns:

the service resource.

Applies to