ArmCostManagementModelFactory.QueryAggregation(String, FunctionType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The aggregation expression to be used in the query.
public static Azure.ResourceManager.CostManagement.Models.QueryAggregation QueryAggregation(string name = default, Azure.ResourceManager.CostManagement.Models.FunctionType function = default);
static member QueryAggregation : string * Azure.ResourceManager.CostManagement.Models.FunctionType -> Azure.ResourceManager.CostManagement.Models.QueryAggregation
Public Shared Function QueryAggregation (Optional name As String = Nothing, Optional function As FunctionType = Nothing) As QueryAggregation
Parameters
- name
- String
The name of the column to aggregate.
- function
- FunctionType
The name of the aggregation function to use.
Returns
A new QueryAggregation instance for mocking.