ScalingPlans Interface

public interface ScalingPlans

Resource collection API of ScalingPlans.

Method Summary

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

Begins definition for a new ScalingPlan resource.

abstract void deleteById(String id)

Remove a scaling plan.

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

Remove a scaling plan.

abstract void deleteByResourceGroup(String resourceGroupName, String scalingPlanName)

Remove a scaling plan.

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

Remove a scaling plan.

abstract ScalingPlan getById(String id)

Get a scaling plan.

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

Get a scaling plan.

abstract ScalingPlan getByResourceGroup(String resourceGroupName, String scalingPlanName)

Get a scaling plan.

abstract Response<ScalingPlan> getByResourceGroupWithResponse(String resourceGroupName, String scalingPlanName, Context context)

Get a scaling plan.

abstract PagedIterable<ScalingPlan> list()

List scaling plans in subscription.

abstract PagedIterable<ScalingPlan> list(Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List scaling plans in subscription.

abstract PagedIterable<ScalingPlan> listByHostPool(String resourceGroupName, String hostPoolName)

List scaling plan associated with hostpool.

abstract PagedIterable<ScalingPlan> listByHostPool(String resourceGroupName, String hostPoolName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List scaling plan associated with hostpool.

abstract PagedIterable<ScalingPlan> listByResourceGroup(String resourceGroupName)

List scaling plans.

abstract PagedIterable<ScalingPlan> listByResourceGroup(String resourceGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List scaling plans.

Method Details

define

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

Begins definition for a new ScalingPlan resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ScalingPlan definition.

deleteById

public abstract void deleteById(String id)

Remove a scaling plan.

Parameters:

id - the resource ID.

deleteByIdWithResponse

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

Remove a scaling plan.

Parameters:

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

Returns:

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String scalingPlanName)

Remove a scaling plan.

Parameters:

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

deleteByResourceGroupWithResponse

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

Remove a scaling plan.

Parameters:

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

Returns:

getById

public abstract ScalingPlan getById(String id)

Get a scaling plan.

Parameters:

id - the resource ID.

Returns:

a scaling plan along with Response<T>.

getByIdWithResponse

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

Get a scaling plan.

Parameters:

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

Returns:

a scaling plan along with Response<T>.

getByResourceGroup

public abstract ScalingPlan getByResourceGroup(String resourceGroupName, String scalingPlanName)

Get a scaling plan.

Parameters:

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

Returns:

a scaling plan.

getByResourceGroupWithResponse

public abstract Response<ScalingPlan> getByResourceGroupWithResponse(String resourceGroupName, String scalingPlanName, Context context)

Get a scaling plan.

Parameters:

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

Returns:

a scaling plan along with Response<T>.

list

public abstract PagedIterable<ScalingPlan> list()

List scaling plans in subscription.

Returns:

scalingPlanList as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ScalingPlan> list(Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List scaling plans in subscription.

Parameters:

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:

scalingPlanList as paginated response with PagedIterable<T>.

listByHostPool

public abstract PagedIterable<ScalingPlan> listByHostPool(String resourceGroupName, String hostPoolName)

List scaling plan associated with hostpool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
hostPoolName - The name of the host pool within the specified resource group.

Returns:

scalingPlanList as paginated response with PagedIterable<T>.

listByHostPool

public abstract PagedIterable<ScalingPlan> listByHostPool(String resourceGroupName, String hostPoolName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List scaling plan associated with hostpool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
hostPoolName - The name of the host pool within the specified resource group.
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:

scalingPlanList as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ScalingPlan> listByResourceGroup(String resourceGroupName)

List scaling plans.

Parameters:

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

Returns:

scalingPlanList as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ScalingPlan> listByResourceGroup(String resourceGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List scaling plans.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
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:

scalingPlanList as paginated response with PagedIterable<T>.

Applies to