Budgets Interface
public interface Budgets
Resource collection API of Budgets.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Blank |
define(String name)
Begins definition for a new Budget resource. |
abstract void |
deleteById(String id)
The operation to delete a budget. |
abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
The operation to delete a budget. |
abstract void |
deleteByResourceGroup(String scope, String budgetName)
The operation to delete a budget. |
abstract Response<Void> |
deleteWithResponse(String scope, String budgetName, Context context)
The operation to delete a budget. |
abstract Budget |
get(String scope, String budgetName)
Gets the budget for the scope by budget name. |
abstract Budget |
getById(String id)
Gets the budget for the scope by budget name. |
abstract Response<Budget> |
getByIdWithResponse(String id, Context context)
Gets the budget for the scope by budget name. |
abstract Response<Budget> |
getWithResponse(String scope, String budgetName, Context context)
Gets the budget for the scope by budget name. |
abstract
Paged |
list(String scope)
Lists all budgets for the defined scope. |
abstract
Paged |
list(String scope, Context context)
Lists all budgets for the defined scope. |
Method Details
define
public abstract Budget.DefinitionStages.Blank define(String name)
Begins definition for a new Budget resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
The operation to delete a budget.
Parameters:
deleteByIdWithResponse
public abstract Response
The operation to delete a budget.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String scope, String budgetName)
The operation to delete a budget.
Parameters:
deleteWithResponse
public abstract Response
The operation to delete a budget.
Parameters:
Returns:
get
public abstract Budget get(String scope, String budgetName)
Gets the budget for the scope by budget name.
Parameters:
Returns:
getById
public abstract Budget getById(String id)
Gets the budget for the scope by budget name.
Parameters:
Returns:
getByIdWithResponse
public abstract Response
Gets the budget for the scope by budget name.
Parameters:
Returns:
getWithResponse
public abstract Response
Gets the budget for the scope by budget name.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all budgets for the defined scope.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all budgets for the defined scope.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for