ArmCostManagementModelFactory.QueryTimePeriod 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 start and end date for pulling data for the query.
public static Azure.ResourceManager.CostManagement.Models.QueryTimePeriod QueryTimePeriod(DateTimeOffset from = default, DateTimeOffset to = default);
static member QueryTimePeriod : DateTimeOffset * DateTimeOffset -> Azure.ResourceManager.CostManagement.Models.QueryTimePeriod
Public Shared Function QueryTimePeriod (Optional from As DateTimeOffset = Nothing, Optional to As DateTimeOffset = Nothing) As QueryTimePeriod
Parameters
- from
- DateTimeOffset
The start date to pull data from.
The end date to pull data to.
Returns
A new QueryTimePeriod instance for mocking.