次の方法で共有


Schedules Interface

public interface Schedules

Resource collection API of Schedules.

Method Summary

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

Begins definition for a new Schedule resource.

abstract void delete(String resourceGroupName, String labName, String scheduleName)

Deletes a schedule resource.

abstract void delete(String resourceGroupName, String labName, String scheduleName, Context context)

Deletes a schedule resource.

abstract void deleteById(String id)

Deletes a schedule resource.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a schedule resource.

abstract Schedule get(String resourceGroupName, String labName, String scheduleName)

Get a lab Schedule.

abstract Schedule getById(String id)

Get a lab Schedule.

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

Get a lab Schedule.

abstract Response<Schedule> getWithResponse(String resourceGroupName, String labName, String scheduleName, Context context)

Get a lab Schedule.

abstract PagedIterable<Schedule> listByLab(String resourceGroupName, String labName)

Get all schedules for a lab.

abstract PagedIterable<Schedule> listByLab(String resourceGroupName, String labName, String filter, Context context)

Get all schedules for a lab.

Method Details

define

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

Begins definition for a new Schedule resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Schedule definition.

delete

public abstract void delete(String resourceGroupName, String labName, String scheduleName)

Deletes a schedule resource. Operation to delete a schedule resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
scheduleName - The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.

delete

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

Deletes a schedule resource. Operation to delete a schedule resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
scheduleName - The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes a schedule resource. Operation to delete a schedule resource.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a schedule resource. Operation to delete a schedule resource.

Parameters:

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

get

public abstract Schedule get(String resourceGroupName, String labName, String scheduleName)

Get a lab Schedule. Returns the properties of a lab Schedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
scheduleName - The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.

Returns:

schedule for automatically turning virtual machines in a lab on and off at specified times.

getById

public abstract Schedule getById(String id)

Get a lab Schedule. Returns the properties of a lab Schedule.

Parameters:

id - the resource ID.

Returns:

schedule for automatically turning virtual machines in a lab on and off at specified times along with Response<T>.

getByIdWithResponse

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

Get a lab Schedule. Returns the properties of a lab Schedule.

Parameters:

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

Returns:

schedule for automatically turning virtual machines in a lab on and off at specified times along with Response<T>.

getWithResponse

public abstract Response<Schedule> getWithResponse(String resourceGroupName, String labName, String scheduleName, Context context)

Get a lab Schedule. Returns the properties of a lab Schedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
scheduleName - The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
context - The context to associate with this operation.

Returns:

schedule for automatically turning virtual machines in a lab on and off at specified times along with Response<T>.

listByLab

public abstract PagedIterable<Schedule> listByLab(String resourceGroupName, String labName)

Get all schedules for a lab. Returns a list of all schedules for a lab.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.

Returns:

paged list of schedules as paginated response with PagedIterable<T>.

listByLab

public abstract PagedIterable<Schedule> listByLab(String resourceGroupName, String labName, String filter, Context context)

Get all schedules for a lab. Returns a list of all schedules for a lab.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
filter - The filter to apply to the operation.
context - The context to associate with this operation.

Returns:

paged list of schedules as paginated response with PagedIterable<T>.

Applies to