TaskHubs Interface

public interface TaskHubs

Resource collection API of TaskHubs.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new TaskHub resource.

abstract void delete(String resourceGroupName, String schedulerName, String taskHubName)

Delete a Task Hub.

abstract void delete(String resourceGroupName, String schedulerName, String taskHubName, Context context)

Delete a Task Hub.

abstract void deleteById(String id)

Delete a Task Hub.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a Task Hub.

abstract TaskHub get(String resourceGroupName, String schedulerName, String taskHubName)

Get a Task Hub.

abstract TaskHub getById(String id)

Get a Task Hub.

abstract Response<TaskHub> getByIdWithResponse(String id, Context context)

Get a Task Hub.

abstract Response<TaskHub> getWithResponse(String resourceGroupName, String schedulerName, String taskHubName, Context context)

Get a Task Hub.

abstract PagedIterable<TaskHub> listByScheduler(String resourceGroupName, String schedulerName)

List Task Hubs.

abstract PagedIterable<TaskHub> listByScheduler(String resourceGroupName, String schedulerName, Context context)

List Task Hubs.

Method Details

define

public abstract TaskHub.DefinitionStages.Blank define(String name)

Begins definition for a new TaskHub resource.

Parameters:

name - resource name.

Returns:

the first stage of the new TaskHub definition.

delete

public abstract void delete(String resourceGroupName, String schedulerName, String taskHubName)

Delete a Task Hub.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
schedulerName - The name of the Scheduler.
taskHubName - The name of the TaskHub.

delete

public abstract void delete(String resourceGroupName, String schedulerName, String taskHubName, Context context)

Delete a Task Hub.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Delete a Task Hub.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a Task Hub.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract TaskHub get(String resourceGroupName, String schedulerName, String taskHubName)

Get a Task Hub.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
schedulerName - The name of the Scheduler.
taskHubName - The name of the TaskHub.

Returns:

a Task Hub.

getById

public abstract TaskHub getById(String id)

Get a Task Hub.

Parameters:

id - the resource ID.

Returns:

a Task Hub along with Response<T>.

getByIdWithResponse

public abstract Response<TaskHub> getByIdWithResponse(String id, Context context)

Get a Task Hub.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a Task Hub along with Response<T>.

getWithResponse

public abstract Response<TaskHub> getWithResponse(String resourceGroupName, String schedulerName, String taskHubName, Context context)

Get a Task Hub.

Parameters:

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

Returns:

a Task Hub along with Response<T>.

listByScheduler

public abstract PagedIterable<TaskHub> listByScheduler(String resourceGroupName, String schedulerName)

List Task Hubs.

Parameters:

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

Returns:

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

listByScheduler

public abstract PagedIterable<TaskHub> listByScheduler(String resourceGroupName, String schedulerName, Context context)

List Task Hubs.

Parameters:

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

Returns:

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

Applies to