TaskHubsClient Interface

public interface TaskHubsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<TaskHubInner>,TaskHubInner> beginCreateOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource)

Create or Update a Task Hub.

abstract SyncPoller<PollResult<TaskHubInner>,TaskHubInner> beginCreateOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource, Context context)

Create or Update a Task Hub.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String schedulerName, String taskHubName)

Delete a Task Hub.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String schedulerName, String taskHubName, Context context)

Delete a Task Hub.

abstract TaskHubInner createOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource)

Create or Update a Task Hub.

abstract TaskHubInner createOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource, Context context)

Create or Update a Task Hub.

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 TaskHubInner get(String resourceGroupName, String schedulerName, String taskHubName)

Get a Task Hub.

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

Get a Task Hub.

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

List Task Hubs.

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

List Task Hubs.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<TaskHubInner>,TaskHubInner> beginCreateOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource)

Create or Update 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.
resource - Resource create parameters.

Returns:

the SyncPoller<T,U> for polling of a Task Hub resource belonging to the scheduler.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<TaskHubInner>,TaskHubInner> beginCreateOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource, Context context)

Create or Update 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.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a Task Hub resource belonging to the scheduler.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

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

createOrUpdate

public abstract TaskHubInner createOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource)

Create or Update 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.
resource - Resource create parameters.

Returns:

a Task Hub resource belonging to the scheduler.

createOrUpdate

public abstract TaskHubInner createOrUpdate(String resourceGroupName, String schedulerName, String taskHubName, TaskHubInner resource, Context context)

Create or Update 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.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

a Task Hub resource belonging to the scheduler.

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.

get

public abstract TaskHubInner 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.

getWithResponse

public abstract Response<TaskHubInner> 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<TaskHubInner> 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<TaskHubInner> 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