Formulas Interface

public interface Formulas

Resource collection API of Formulas.

Method Summary

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

Begins definition for a new Formula resource.

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

Delete formula.

abstract void deleteById(String id)

Delete formula.

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

Delete formula.

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

Delete formula.

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

Get formula.

abstract Formula getById(String id)

Get formula.

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

Get formula.

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

Get formula.

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

List formulas in a given lab.

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

List formulas in a given lab.

Method Details

define

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

Begins definition for a new Formula resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Formula definition.

delete

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

Delete formula.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Delete formula.

Parameters:

id - the resource ID.

deleteByIdWithResponse

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

Delete formula.

Parameters:

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

Returns:

deleteWithResponse

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

Delete formula.

Parameters:

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

Returns:

get

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

Get formula.

Parameters:

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

Returns:

formula.

getById

public abstract Formula getById(String id)

Get formula.

Parameters:

id - the resource ID.

Returns:

formula along with Response<T>.

getByIdWithResponse

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

Get formula.

Parameters:

id - the resource ID.
expand - Specify the $expand query. Example: 'properties($select=description)'.
context - The context to associate with this operation.

Returns:

formula along with Response<T>.

getWithResponse

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

Get formula.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
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<Formula> list(String resourceGroupName, String labName)

List formulas in a given lab.

Parameters:

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

Returns:

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

list

public abstract PagedIterable<Formula> 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. The name is case insensitive.
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>.

Applies to