BudgetsOperations interface

Interface representing a Budgets operations.

Properties

createOrUpdate

The operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.

delete

The operation to delete a budget.

get

Gets the budget for the scope by budget name.

list

Lists all budgets for the defined scope.

Property Details

createOrUpdate

The operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.

createOrUpdate: (scope: string, budgetName: string, parameters: Budget, options?: BudgetsCreateOrUpdateOptionalParams) => Promise<Budget>

Property Value

(scope: string, budgetName: string, parameters: Budget, options?: BudgetsCreateOrUpdateOptionalParams) => Promise<Budget>

delete

The operation to delete a budget.

delete: (scope: string, budgetName: string, options?: BudgetsDeleteOptionalParams) => Promise<void>

Property Value

(scope: string, budgetName: string, options?: BudgetsDeleteOptionalParams) => Promise<void>

get

Gets the budget for the scope by budget name.

get: (scope: string, budgetName: string, options?: BudgetsGetOptionalParams) => Promise<Budget>

Property Value

(scope: string, budgetName: string, options?: BudgetsGetOptionalParams) => Promise<Budget>

list

Lists all budgets for the defined scope.

list: (scope: string, options?: BudgetsListOptionalParams) => PagedAsyncIterableIterator<Budget, Budget[], PageSettings>

Property Value

(scope: string, options?: BudgetsListOptionalParams) => PagedAsyncIterableIterator<Budget, Budget[], PageSettings>