次の方法で共有


SchedulesClient Interface

public interface SchedulesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body)

Creates or updates a Schedule.

abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body, Integer top, Context context)

Creates or updates a Schedule.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName, String poolName, String scheduleName)

Deletes a Scheduled.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName, String poolName, String scheduleName, Integer top, Context context)

Deletes a Scheduled.

abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body)

Partially updates a Scheduled.

abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body, Integer top, Context context)

Partially updates a Scheduled.

abstract ScheduleInner createOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body)

Creates or updates a Schedule.

abstract ScheduleInner createOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body, Integer top, Context context)

Creates or updates a Schedule.

abstract void delete(String resourceGroupName, String projectName, String poolName, String scheduleName)

Deletes a Scheduled.

abstract void delete(String resourceGroupName, String projectName, String poolName, String scheduleName, Integer top, Context context)

Deletes a Scheduled.

abstract ScheduleInner get(String resourceGroupName, String projectName, String poolName, String scheduleName)

Gets a schedule resource.

abstract Response<ScheduleInner> getWithResponse(String resourceGroupName, String projectName, String poolName, String scheduleName, Integer top, Context context)

Gets a schedule resource.

abstract PagedIterable<ScheduleInner> listByPool(String resourceGroupName, String projectName, String poolName)

Lists schedules for a pool.

abstract PagedIterable<ScheduleInner> listByPool(String resourceGroupName, String projectName, String poolName, Integer top, Context context)

Lists schedules for a pool.

abstract ScheduleInner update(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body)

Partially updates a Scheduled.

abstract ScheduleInner update(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body, Integer top, Context context)

Partially updates a Scheduled.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body)

Creates or updates a Schedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.

Returns:

the SyncPoller<T,U> for polling of represents a Schedule to execute a task.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginCreateOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body, Integer top, Context context)

Creates or updates a Schedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents a Schedule to execute a task.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName, String poolName, String scheduleName)

Deletes a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName, String poolName, String scheduleName, Integer top, Context context)

Deletes a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body)

Partially updates a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.

Returns:

the SyncPoller<T,U> for polling of represents a Schedule to execute a task.

beginUpdate

public abstract SyncPoller<PollResult<ScheduleInner>,ScheduleInner> beginUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body, Integer top, Context context)

Partially updates a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents a Schedule to execute a task.

createOrUpdate

public abstract ScheduleInner createOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body)

Creates or updates a Schedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.

Returns:

represents a Schedule to execute a task.

createOrUpdate

public abstract ScheduleInner createOrUpdate(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleInner body, Integer top, Context context)

Creates or updates a Schedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

represents a Schedule to execute a task.

delete

public abstract void delete(String resourceGroupName, String projectName, String poolName, String scheduleName)

Deletes a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.

delete

public abstract void delete(String resourceGroupName, String projectName, String poolName, String scheduleName, Integer top, Context context)

Deletes a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

get

public abstract ScheduleInner get(String resourceGroupName, String projectName, String poolName, String scheduleName)

Gets a schedule resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.

Returns:

a schedule resource.

getWithResponse

public abstract Response<ScheduleInner> getWithResponse(String resourceGroupName, String projectName, String poolName, String scheduleName, Integer top, Context context)

Gets a schedule resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

a schedule resource along with Response<T>.

listByPool

public abstract PagedIterable<ScheduleInner> listByPool(String resourceGroupName, String projectName, String poolName)

Lists schedules for a pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.

Returns:

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

listByPool

public abstract PagedIterable<ScheduleInner> listByPool(String resourceGroupName, String projectName, String poolName, Integer top, Context context)

Lists schedules for a pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

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

update

public abstract ScheduleInner update(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body)

Partially updates a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.

Returns:

represents a Schedule to execute a task.

update

public abstract ScheduleInner update(String resourceGroupName, String projectName, String poolName, String scheduleName, ScheduleUpdate body, Integer top, Context context)

Partially updates a Scheduled.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
poolName - Name of the pool.
scheduleName - The name of the schedule that uniquely identifies it.
body - Represents a scheduled task.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

represents a Schedule to execute a task.

Applies to