ScalingPlanPersonalSchedules Interface

public interface ScalingPlanPersonalSchedules

Resource collection API of ScalingPlanPersonalSchedules.

Method Summary

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

Begins definition for a new ScalingPlanPersonalSchedule resource.

abstract void delete(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)

Remove a ScalingPlanPersonalSchedule.

abstract void deleteById(String id)

Remove a ScalingPlanPersonalSchedule.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Remove a ScalingPlanPersonalSchedule.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, Context context)

Remove a ScalingPlanPersonalSchedule.

abstract ScalingPlanPersonalSchedule get(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)

Get a ScalingPlanPersonalSchedule.

abstract ScalingPlanPersonalSchedule getById(String id)

Get a ScalingPlanPersonalSchedule.

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

Get a ScalingPlanPersonalSchedule.

abstract Response<ScalingPlanPersonalSchedule> getWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, Context context)

Get a ScalingPlanPersonalSchedule.

abstract PagedIterable<ScalingPlanPersonalSchedule> list(String resourceGroupName, String scalingPlanName)

List ScalingPlanPersonalSchedules.

abstract PagedIterable<ScalingPlanPersonalSchedule> list(String resourceGroupName, String scalingPlanName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List ScalingPlanPersonalSchedules.

Method Details

define

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

Begins definition for a new ScalingPlanPersonalSchedule resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ScalingPlanPersonalSchedule definition.

delete

public abstract void delete(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)

Remove a ScalingPlanPersonalSchedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlanScheduleName - The name of the ScalingPlanSchedule.

deleteById

public abstract void deleteById(String id)

Remove a ScalingPlanPersonalSchedule.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Remove a ScalingPlanPersonalSchedule.

Parameters:

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

Returns:

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, Context context)

Remove a ScalingPlanPersonalSchedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlanScheduleName - The name of the ScalingPlanSchedule.
context - The context to associate with this operation.

Returns:

get

public abstract ScalingPlanPersonalSchedule get(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName)

Get a ScalingPlanPersonalSchedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlanScheduleName - The name of the ScalingPlanSchedule.

Returns:

a ScalingPlanPersonalSchedule.

getById

public abstract ScalingPlanPersonalSchedule getById(String id)

Get a ScalingPlanPersonalSchedule.

Parameters:

id - the resource ID.

Returns:

a ScalingPlanPersonalSchedule along with Response<T>.

getByIdWithResponse

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

Get a ScalingPlanPersonalSchedule.

Parameters:

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

Returns:

a ScalingPlanPersonalSchedule along with Response<T>.

getWithResponse

public abstract Response<ScalingPlanPersonalSchedule> getWithResponse(String resourceGroupName, String scalingPlanName, String scalingPlanScheduleName, Context context)

Get a ScalingPlanPersonalSchedule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlanScheduleName - The name of the ScalingPlanSchedule.
context - The context to associate with this operation.

Returns:

a ScalingPlanPersonalSchedule along with Response<T>.

list

public abstract PagedIterable<ScalingPlanPersonalSchedule> list(String resourceGroupName, String scalingPlanName)

List ScalingPlanPersonalSchedules.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.

Returns:

scalingPlanPersonalScheduleList as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ScalingPlanPersonalSchedule> list(String resourceGroupName, String scalingPlanName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List ScalingPlanPersonalSchedules.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
pageSize - Number of items per page.
isDescending - Indicates whether the collection is descending.
initialSkip - Initial number of items to skip.
context - The context to associate with this operation.

Returns:

scalingPlanPersonalScheduleList as paginated response with PagedIterable<T>.

Applies to