ServiceFabricsClient Interface

public interface ServiceFabricsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ServiceFabricInner>,ServiceFabricInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric)

Create or replace an existing service fabric.

abstract SyncPoller<PollResult<ServiceFabricInner>,ServiceFabricInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric, Context context)

Create or replace an existing service fabric.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String username, String name)

Delete service fabric.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String username, String name, Context context)

Delete service fabric.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String labName, String username, String name)

Start a service fabric.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String labName, String username, String name, Context context)

Start a service fabric.

abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String labName, String username, String name)

Stop a service fabric This operation can take a while to complete.

abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String labName, String username, String name, Context context)

Stop a service fabric This operation can take a while to complete.

abstract ServiceFabricInner createOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric)

Create or replace an existing service fabric.

abstract ServiceFabricInner createOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric, Context context)

Create or replace an existing service fabric.

abstract void delete(String resourceGroupName, String labName, String username, String name)

Delete service fabric.

abstract void delete(String resourceGroupName, String labName, String username, String name, Context context)

Delete service fabric.

abstract ServiceFabricInner get(String resourceGroupName, String labName, String username, String name)

Get service fabric.

abstract Response<ServiceFabricInner> getWithResponse(String resourceGroupName, String labName, String username, String name, String expand, Context context)

Get service fabric.

abstract PagedIterable<ServiceFabricInner> list(String resourceGroupName, String labName, String username)

List service fabrics in a given user profile.

abstract PagedIterable<ServiceFabricInner> list(String resourceGroupName, String labName, String username, String expand, String filter, Integer top, String orderby, Context context)

List service fabrics in a given user profile.

abstract ApplicableScheduleInner listApplicableSchedules(String resourceGroupName, String labName, String username, String name)

Lists the applicable start/stop schedules, if any.

abstract Response<ApplicableScheduleInner> listApplicableSchedulesWithResponse(String resourceGroupName, String labName, String username, String name, Context context)

Lists the applicable start/stop schedules, if any.

abstract void start(String resourceGroupName, String labName, String username, String name)

Start a service fabric.

abstract void start(String resourceGroupName, String labName, String username, String name, Context context)

Start a service fabric.

abstract void stop(String resourceGroupName, String labName, String username, String name)

Stop a service fabric This operation can take a while to complete.

abstract void stop(String resourceGroupName, String labName, String username, String name, Context context)

Stop a service fabric This operation can take a while to complete.

abstract ServiceFabricInner update(String resourceGroupName, String labName, String username, String name, ServiceFabricFragment serviceFabric)

Allows modifying tags of service fabrics.

abstract Response<ServiceFabricInner> updateWithResponse(String resourceGroupName, String labName, String username, String name, ServiceFabricFragment serviceFabric, Context context)

Allows modifying tags of service fabrics.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServiceFabricInner>,ServiceFabricInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric)

Create or replace an existing service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
serviceFabric - A Service Fabric.

Returns:

the SyncPoller<T,U> for polling of a Service Fabric.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServiceFabricInner>,ServiceFabricInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric, Context context)

Create or replace an existing service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
serviceFabric - A Service Fabric.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a Service Fabric.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String username, String name)

Delete service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String username, String name, Context context)

Delete service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
context - The context to associate with this operation.

Returns:

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

beginStart

public abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String labName, String username, String name)

Start a service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

Returns:

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

beginStart

public abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String labName, String username, String name, Context context)

Start a service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
context - The context to associate with this operation.

Returns:

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

beginStop

public abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String labName, String username, String name)

Stop a service fabric This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

Returns:

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

beginStop

public abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String labName, String username, String name, Context context)

Stop a service fabric This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
context - The context to associate with this operation.

Returns:

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

createOrUpdate

public abstract ServiceFabricInner createOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric)

Create or replace an existing service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
serviceFabric - A Service Fabric.

Returns:

a Service Fabric.

createOrUpdate

public abstract ServiceFabricInner createOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric, Context context)

Create or replace an existing service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
serviceFabric - A Service Fabric.
context - The context to associate with this operation.

Returns:

a Service Fabric.

delete

public abstract void delete(String resourceGroupName, String labName, String username, String name)

Delete service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

delete

public abstract void delete(String resourceGroupName, String labName, String username, String name, Context context)

Delete service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
context - The context to associate with this operation.

get

public abstract ServiceFabricInner get(String resourceGroupName, String labName, String username, String name)

Get service fabric.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

Returns:

service fabric.

getWithResponse

public abstract Response<ServiceFabricInner> getWithResponse(String resourceGroupName, String labName, String username, String name, String expand, Context context)

Get service fabric.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
expand - Specify the $expand query. Example: 'properties($expand=applicableSchedule)'.
context - The context to associate with this operation.

Returns:

service fabric along with Response<T>.

list

public abstract PagedIterable<ServiceFabricInner> list(String resourceGroupName, String labName, String username)

List service fabrics in a given user profile.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.

Returns:

the response of a list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ServiceFabricInner> list(String resourceGroupName, String labName, String username, String expand, String filter, Integer top, String orderby, Context context)

List service fabrics in a given user profile.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
expand - Specify the $expand query. Example: 'properties($expand=applicableSchedule)'.
filter - The filter to apply to the operation. Example: '$filter=contains(name,'myName').
top - The maximum number of resources to return from the operation. Example: '$top=10'.
orderby - The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.
context - The context to associate with this operation.

Returns:

the response of a list operation as paginated response with PagedIterable<T>.

listApplicableSchedules

public abstract ApplicableScheduleInner listApplicableSchedules(String resourceGroupName, String labName, String username, String name)

Lists the applicable start/stop schedules, if any.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

Returns:

schedules applicable to a virtual machine.

listApplicableSchedulesWithResponse

public abstract Response<ApplicableScheduleInner> listApplicableSchedulesWithResponse(String resourceGroupName, String labName, String username, String name, Context context)

Lists the applicable start/stop schedules, if any.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
context - The context to associate with this operation.

Returns:

schedules applicable to a virtual machine along with Response<T>.

start

public abstract void start(String resourceGroupName, String labName, String username, String name)

Start a service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

start

public abstract void start(String resourceGroupName, String labName, String username, String name, Context context)

Start a service fabric. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
context - The context to associate with this operation.

stop

public abstract void stop(String resourceGroupName, String labName, String username, String name)

Stop a service fabric This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.

stop

public abstract void stop(String resourceGroupName, String labName, String username, String name, Context context)

Stop a service fabric This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
context - The context to associate with this operation.

update

public abstract ServiceFabricInner update(String resourceGroupName, String labName, String username, String name, ServiceFabricFragment serviceFabric)

Allows modifying tags of service fabrics. All other properties will be ignored.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
serviceFabric - A Service Fabric.

Returns:

a Service Fabric.

updateWithResponse

public abstract Response<ServiceFabricInner> updateWithResponse(String resourceGroupName, String labName, String username, String name, ServiceFabricFragment serviceFabric, Context context)

Allows modifying tags of service fabrics. All other properties will be ignored.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
username - The name of the user profile.
name - The name of the service fabric.
serviceFabric - A Service Fabric.
context - The context to associate with this operation.

Returns:

a Service Fabric along with Response<T>.

Applies to