Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Costs

Package version

Class representing a Costs.

Hierarchy

  • Costs

Index

Constructors

Methods

Constructors

constructor

Methods

createOrUpdate

  • createOrUpdate(resourceGroupName: string, labName: string, name: string, labCost: LabCost, options?: msRest.RequestOptionsBase): Promise<Models.CostsCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, labName: string, name: string, labCost: LabCost, callback: msRest.ServiceCallback<LabCost>): void
  • createOrUpdate(resourceGroupName: string, labName: string, name: string, labCost: LabCost, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<LabCost>): void
  • Create or replace an existing cost.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the cost.

    • labCost: LabCost

      A cost item.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.CostsCreateOrUpdateResponse>

    Promise<Models.CostsCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the cost.

    • labCost: LabCost

      A cost item.

    • callback: msRest.ServiceCallback<LabCost>

      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 cost.

    • labCost: LabCost

      A cost item.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<LabCost>

      The callback

    Returns void

get

  • get(resourceGroupName: string, labName: string, name: string, options?: Models.CostsGetOptionalParams): Promise<Models.CostsGetResponse>
  • get(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback<LabCost>): void
  • get(resourceGroupName: string, labName: string, name: string, options: CostsGetOptionalParams, callback: msRest.ServiceCallback<LabCost>): void
  • Get cost.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the cost.

    • Optional options: Models.CostsGetOptionalParams

    Returns Promise<Models.CostsGetResponse>

    Promise<Models.CostsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the cost.

    • callback: msRest.ServiceCallback<LabCost>

      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 cost.

    • options: CostsGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<LabCost>

      The callback

    Returns void

Generated using TypeDoc