FormulasClient Interface

public interface FormulasClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<FormulaInner>,FormulaInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula)

Create or replace an existing formula.

abstract SyncPoller<PollResult<FormulaInner>,FormulaInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula, Context context)

Create or replace an existing formula.

abstract FormulaInner createOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula)

Create or replace an existing formula.

abstract FormulaInner createOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula, Context context)

Create or replace an existing formula.

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

Delete formula.

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

Delete formula.

abstract FormulaInner get(String resourceGroupName, String labName, String name)

Get formula.

abstract Response<FormulaInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, Context context)

Get formula.

abstract PagedIterable<FormulaInner> list(String resourceGroupName, String labName)

List formulas in a given lab.

abstract PagedIterable<FormulaInner> list(String resourceGroupName, String labName, String expand, String filter, Integer top, String orderby, Context context)

List formulas in a given lab.

abstract FormulaInner update(String resourceGroupName, String labName, String name, FormulaFragment formula)

Allows modifying tags of formulas.

abstract Response<FormulaInner> updateWithResponse(String resourceGroupName, String labName, String name, FormulaFragment formula, Context context)

Allows modifying tags of formulas.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<FormulaInner>,FormulaInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula)

Create or replace an existing formula. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
formula - A formula for creating a VM, specifying an image base and other parameters.

Returns:

the SyncPoller<T,U> for polling of a formula for creating a VM, specifying an image base and other parameters.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<FormulaInner>,FormulaInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula, Context context)

Create or replace an existing formula. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
formula - A formula for creating a VM, specifying an image base and other parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a formula for creating a VM, specifying an image base and other parameters.

createOrUpdate

public abstract FormulaInner createOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula)

Create or replace an existing formula. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
formula - A formula for creating a VM, specifying an image base and other parameters.

Returns:

a formula for creating a VM, specifying an image base and other parameters.

createOrUpdate

public abstract FormulaInner createOrUpdate(String resourceGroupName, String labName, String name, FormulaInner formula, Context context)

Create or replace an existing formula. This operation can take a while to complete.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
formula - A formula for creating a VM, specifying an image base and other parameters.
context - The context to associate with this operation.

Returns:

a formula for creating a VM, specifying an image base and other parameters.

delete

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

Delete formula.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String labName, String name, Context context)

Delete formula.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
context - The context to associate with this operation.

Returns:

get

public abstract FormulaInner get(String resourceGroupName, String labName, String name)

Get formula.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.

Returns:

formula.

getWithResponse

public abstract Response<FormulaInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, Context context)

Get formula.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
expand - Specify the $expand query. Example: 'properties($select=description)'.
context - The context to associate with this operation.

Returns:

formula along with Response<T>.

list

public abstract PagedIterable<FormulaInner> list(String resourceGroupName, String labName)

List formulas in a given lab.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.

Returns:

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

list

public abstract PagedIterable<FormulaInner> list(String resourceGroupName, String labName, String expand, String filter, Integer top, String orderby, Context context)

List formulas in a given lab.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
expand - Specify the $expand query. Example: 'properties($select=description)'.
filter - The filter to apply to the operation. Example: '$filter=contains(name,'myName').
top - The maximum number of resources to return from the operation. Example: '$top=10'.
orderby - The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.
context - The context to associate with this operation.

Returns:

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

update

public abstract FormulaInner update(String resourceGroupName, String labName, String name, FormulaFragment formula)

Allows modifying tags of formulas. All other properties will be ignored.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
formula - A formula for creating a VM, specifying an image base and other parameters.

Returns:

a formula for creating a VM, specifying an image base and other parameters.

updateWithResponse

public abstract Response<FormulaInner> updateWithResponse(String resourceGroupName, String labName, String name, FormulaFragment formula, Context context)

Allows modifying tags of formulas. All other properties will be ignored.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the formula.
formula - A formula for creating a VM, specifying an image base and other parameters.
context - The context to associate with this operation.

Returns:

a formula for creating a VM, specifying an image base and other parameters along with Response<T>.

Applies to