共用方式為


QueryDefinition(ExportType, TimeframeType, QueryDataset) Constructor

Definition

Initializes a new instance of QueryDefinition.

public QueryDefinition (Azure.ResourceManager.CostManagement.Models.ExportType exportType, Azure.ResourceManager.CostManagement.Models.TimeframeType timeframe, Azure.ResourceManager.CostManagement.Models.QueryDataset dataset);
new Azure.ResourceManager.CostManagement.Models.QueryDefinition : Azure.ResourceManager.CostManagement.Models.ExportType * Azure.ResourceManager.CostManagement.Models.TimeframeType * Azure.ResourceManager.CostManagement.Models.QueryDataset -> Azure.ResourceManager.CostManagement.Models.QueryDefinition
Public Sub New (exportType As ExportType, timeframe As TimeframeType, dataset As QueryDataset)

Parameters

exportType
ExportType

The type of the query.

timeframe
TimeframeType

The time frame for pulling data for the query. If custom, then a specific time period must be provided.

dataset
QueryDataset

Has definition for data in this query.

Exceptions

dataset is null.

Applies to