BudgetFilter Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. models. BudgetFilter
- com.
public final class BudgetFilter
May be used to filter budgets by resource group, resource, or meter.
Constructor Summary
Constructor | Description | |
---|---|---|
BudgetFilter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Budget |
and()
Get the and property: The logical "AND" expression. |
Budget |
dimensions()
Get the dimensions property: Has comparison expression for a dimension. |
Budget |
not()
Get the not property: The logical "NOT" expression. |
Budget |
tags()
Get the tags property: Has comparison expression for a tag. |
void |
validate()
Validates the instance. |
Budget |
withAnd(List<BudgetFilterProperties> and)
Set the and property: The logical "AND" expression. |
Budget |
withDimensions(BudgetComparisonExpression dimensions)
Set the dimensions property: Has comparison expression for a dimension. |
Budget |
withNot(BudgetFilterProperties not)
Set the not property: The logical "NOT" expression. |
Budget |
withTags(BudgetComparisonExpression tags)
Set the tags property: Has comparison expression for a tag. |
Methods inherited from java.lang.Object
Constructor Details
BudgetFilter
public BudgetFilter()
Method Details
and
public List
Get the and property: The logical "AND" expression. Must have at least 2 items.
Returns:
dimensions
public BudgetComparisonExpression dimensions()
Get the dimensions property: Has comparison expression for a dimension.
Returns:
not
public BudgetFilterProperties not()
Get the not property: The logical "NOT" expression.
Returns:
tags
public BudgetComparisonExpression tags()
Get the tags property: Has comparison expression for a tag.
Returns:
validate
public void validate()
Validates the instance.
withAnd
public BudgetFilter withAnd(List
Set the and property: The logical "AND" expression. Must have at least 2 items.
Parameters:
Returns:
withDimensions
public BudgetFilter withDimensions(BudgetComparisonExpression dimensions)
Set the dimensions property: Has comparison expression for a dimension.
Parameters:
Returns:
withNot
public BudgetFilter withNot(BudgetFilterProperties not)
Set the not property: The logical "NOT" expression.
Parameters:
Returns:
withTags
public BudgetFilter withTags(BudgetComparisonExpression tags)
Set the tags property: Has comparison expression for a tag.
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