ScalingPlansClient Interface

public interface ScalingPlansClient

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

Method Summary

Modifier and Type Method and Description
abstract ScalingPlanInner create(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan)

Create or update a scaling plan.

abstract reactor.core.publisher.Mono<ScalingPlanInner> createAsync(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan)

Create or update a scaling plan.

abstract Response<ScalingPlanInner> createWithResponse(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan, Context context)

Create or update a scaling plan.

abstract reactor.core.publisher.Mono<Response<ScalingPlanInner>> createWithResponseAsync(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan)

Create or update a scaling plan.

abstract void delete(String resourceGroupName, String scalingPlanName)

Remove a scaling plan.

abstract reactor.core.publisher.Mono<Void> deleteAsync(String resourceGroupName, String scalingPlanName)

Remove a scaling plan.

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

Remove a scaling plan.

abstract reactor.core.publisher.Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String scalingPlanName)

Remove a scaling plan.

abstract ScalingPlanInner getByResourceGroup(String resourceGroupName, String scalingPlanName)

Get a scaling plan.

abstract reactor.core.publisher.Mono<ScalingPlanInner> getByResourceGroupAsync(String resourceGroupName, String scalingPlanName)

Get a scaling plan.

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

Get a scaling plan.

abstract reactor.core.publisher.Mono<Response<ScalingPlanInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String scalingPlanName)

Get a scaling plan.

abstract PagedIterable<ScalingPlanInner> list()

List scaling plans in subscription.

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

List scaling plans in subscription.

abstract PagedFlux<ScalingPlanInner> listAsync()

List scaling plans in subscription.

abstract PagedFlux<ScalingPlanInner> listAsync(Integer pageSize, Boolean isDescending, Integer initialSkip)

List scaling plans in subscription.

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

List scaling plan associated with hostpool.

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

List scaling plan associated with hostpool.

abstract PagedFlux<ScalingPlanInner> listByHostPoolAsync(String resourceGroupName, String hostPoolName)

List scaling plan associated with hostpool.

abstract PagedFlux<ScalingPlanInner> listByHostPoolAsync(String resourceGroupName, String hostPoolName, Integer pageSize, Boolean isDescending, Integer initialSkip)

List scaling plan associated with hostpool.

abstract PagedIterable<ScalingPlanInner> listByResourceGroup(String resourceGroupName)

List scaling plans.

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

List scaling plans.

abstract PagedFlux<ScalingPlanInner> listByResourceGroupAsync(String resourceGroupName)

List scaling plans.

abstract PagedFlux<ScalingPlanInner> listByResourceGroupAsync(String resourceGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip)

List scaling plans.

abstract ScalingPlanInner update(String resourceGroupName, String scalingPlanName)

Update a scaling plan.

abstract reactor.core.publisher.Mono<ScalingPlanInner> updateAsync(String resourceGroupName, String scalingPlanName)

Update a scaling plan.

abstract Response<ScalingPlanInner> updateWithResponse(String resourceGroupName, String scalingPlanName, ScalingPlanPatch scalingPlan, Context context)

Update a scaling plan.

abstract reactor.core.publisher.Mono<Response<ScalingPlanInner>> updateWithResponseAsync(String resourceGroupName, String scalingPlanName, ScalingPlanPatch scalingPlan)

Update a scaling plan.

Method Details

create

public abstract ScalingPlanInner create(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan)

Create or update a scaling plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlan - Object containing scaling plan definitions.

Returns:

scalingPlan.

createAsync

public abstract Mono<ScalingPlanInner> createAsync(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan)

Create or update a scaling plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlan - Object containing scaling plan definitions.

Returns:

scalingPlan on successful completion of Mono.

createWithResponse

public abstract Response<ScalingPlanInner> createWithResponse(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan, Context context)

Create or update a scaling plan.

Parameters:

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

Returns:

scalingPlan along with Response<T>.

createWithResponseAsync

public abstract Mono<Response<ScalingPlanInner>> createWithResponseAsync(String resourceGroupName, String scalingPlanName, ScalingPlanInner scalingPlan)

Create or update a scaling plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlan - Object containing scaling plan definitions.

Returns:

scalingPlan along with Response<T> on successful completion of Mono.

delete

public abstract void delete(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.

deleteAsync

public abstract Mono<Void> deleteAsync(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.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(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:

deleteWithResponseAsync

public abstract Mono<Response<Void>> deleteWithResponseAsync(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.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

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

getByResourceGroupAsync

public abstract Mono<ScalingPlanInner> getByResourceGroupAsync(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 on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response<ScalingPlanInner> 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>.

getByResourceGroupWithResponseAsync

public abstract Mono<Response<ScalingPlanInner>> getByResourceGroupWithResponseAsync(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 along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<ScalingPlanInner> list()

List scaling plans in subscription.

Returns:

scalingPlanList as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ScalingPlanInner> 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>.

listAsync

public abstract PagedFlux<ScalingPlanInner> listAsync()

List scaling plans in subscription.

Returns:

scalingPlanList as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux<ScalingPlanInner> listAsync(Integer pageSize, Boolean isDescending, Integer initialSkip)

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.

Returns:

scalingPlanList as paginated response with PagedFlux<T>.

listByHostPool

public abstract PagedIterable<ScalingPlanInner> 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<ScalingPlanInner> 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>.

listByHostPoolAsync

public abstract PagedFlux<ScalingPlanInner> listByHostPoolAsync(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 PagedFlux<T>.

listByHostPoolAsync

public abstract PagedFlux<ScalingPlanInner> listByHostPoolAsync(String resourceGroupName, String hostPoolName, Integer pageSize, Boolean isDescending, Integer initialSkip)

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.

Returns:

scalingPlanList as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable<ScalingPlanInner> 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<ScalingPlanInner> 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>.

listByResourceGroupAsync

public abstract PagedFlux<ScalingPlanInner> listByResourceGroupAsync(String resourceGroupName)

List scaling plans.

Parameters:

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

Returns:

scalingPlanList as paginated response with PagedFlux<T>.

listByResourceGroupAsync

public abstract PagedFlux<ScalingPlanInner> listByResourceGroupAsync(String resourceGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip)

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.

Returns:

scalingPlanList as paginated response with PagedFlux<T>.

update

public abstract ScalingPlanInner update(String resourceGroupName, String scalingPlanName)

Update a scaling plan.

Parameters:

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

Returns:

scalingPlan.

updateAsync

public abstract Mono<ScalingPlanInner> updateAsync(String resourceGroupName, String scalingPlanName)

Update a scaling plan.

Parameters:

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

Returns:

scalingPlan on successful completion of Mono.

updateWithResponse

public abstract Response<ScalingPlanInner> updateWithResponse(String resourceGroupName, String scalingPlanName, ScalingPlanPatch scalingPlan, Context context)

Update a scaling plan.

Parameters:

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

Returns:

scalingPlan along with Response<T>.

updateWithResponseAsync

public abstract Mono<Response<ScalingPlanInner>> updateWithResponseAsync(String resourceGroupName, String scalingPlanName, ScalingPlanPatch scalingPlan)

Update a scaling plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
scalingPlanName - The name of the scaling plan.
scalingPlan - Object containing scaling plan definitions.

Returns:

scalingPlan along with Response<T> on successful completion of Mono.

Applies to