Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Formulas

Package version

Class representing a Formulas.

Hierarchy

  • Formulas

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, labName: string, name: string, formula: Formula, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Create or replace an existing Formula. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • formula: Formula

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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, labName: string, name: string, formula: Formula, options?: msRest.RequestOptionsBase): Promise<Models.FormulasCreateOrUpdateResponse>
  • Create or replace an existing Formula. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • formula: Formula

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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.FormulasCreateOrUpdateResponse>

    Promise<Models.FormulasCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, labName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Delete formula.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, labName: string, name: string, options?: Models.FormulasGetOptionalParams): Promise<Models.FormulasGetResponse>
  • get(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback<Formula>): void
  • get(resourceGroupName: string, labName: string, name: string, options: FormulasGetOptionalParams, callback: msRest.ServiceCallback<Formula>): void
  • Get formula.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • Optional options: Models.FormulasGetOptionalParams

    Returns Promise<Models.FormulasGetResponse>

    Promise<Models.FormulasGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • callback: msRest.ServiceCallback<Formula>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • options: FormulasGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Formula>

      The callback

    Returns void

list

  • list(resourceGroupName: string, labName: string, options?: Models.FormulasListOptionalParams): Promise<Models.FormulasListResponse>
  • list(resourceGroupName: string, labName: string, callback: msRest.ServiceCallback<FormulaList>): void
  • list(resourceGroupName: string, labName: string, options: FormulasListOptionalParams, callback: msRest.ServiceCallback<FormulaList>): void
  • List formulas in a given lab.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • Optional options: Models.FormulasListOptionalParams

    Returns Promise<Models.FormulasListResponse>

    Promise<Models.FormulasListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • callback: msRest.ServiceCallback<FormulaList>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • options: FormulasListOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<FormulaList>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.FormulasListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<FormulaList>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<FormulaList>): void
  • List formulas in a given lab.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.FormulasListNextResponse>

    Promise<Models.FormulasListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<FormulaList>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<FormulaList>

      The callback

    Returns void

update

  • update(resourceGroupName: string, labName: string, name: string, formula: FormulaFragment, options?: msRest.RequestOptionsBase): Promise<Models.FormulasUpdateResponse>
  • update(resourceGroupName: string, labName: string, name: string, formula: FormulaFragment, callback: msRest.ServiceCallback<Formula>): void
  • update(resourceGroupName: string, labName: string, name: string, formula: FormulaFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Formula>): void
  • Modify properties of formulas.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • formula: FormulaFragment

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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.FormulasUpdateResponse>

    Promise<Models.FormulasUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • formula: FormulaFragment

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

    • callback: msRest.ServiceCallback<Formula>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the formula.

    • formula: FormulaFragment

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

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Formula>

      The callback

    Returns void

Generated using TypeDoc