azure-native.costmanagement.View
Explore with Pulumi AI
States and configurations of Cost Analysis. API Version: 2019-11-01.
Example Usage
CreateOrUpdatePrivateView
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var view = new AzureNative.CostManagement.View("view", new()
    {
        Accumulated = "true",
        Chart = "Table",
        DataSet = new AzureNative.CostManagement.Inputs.ReportConfigDatasetArgs
        {
            Aggregation = 
            {
                { "totalCost", new AzureNative.CostManagement.Inputs.ReportConfigAggregationArgs
                {
                    Function = "Sum",
                    Name = "PreTaxCost",
                } },
            },
            Granularity = "Daily",
            Grouping = new[] {},
            Sorting = new[]
            {
                new AzureNative.CostManagement.Inputs.ReportConfigSortingArgs
                {
                    Direction = "Ascending",
                    Name = "UsageDate",
                },
            },
        },
        DisplayName = "swagger Example",
        ETag = "\"1d4ff9fe66f1d10\"",
        Kpis = new[]
        {
            new AzureNative.CostManagement.Inputs.KpiPropertiesArgs
            {
                Enabled = true,
                Type = "Forecast",
            },
            new AzureNative.CostManagement.Inputs.KpiPropertiesArgs
            {
                Enabled = true,
                Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Consumption/budgets/swaggerDemo",
                Type = "Budget",
            },
        },
        Metric = "ActualCost",
        Pivots = new[]
        {
            new AzureNative.CostManagement.Inputs.PivotPropertiesArgs
            {
                Name = "ServiceName",
                Type = "Dimension",
            },
            new AzureNative.CostManagement.Inputs.PivotPropertiesArgs
            {
                Name = "MeterCategory",
                Type = "Dimension",
            },
            new AzureNative.CostManagement.Inputs.PivotPropertiesArgs
            {
                Name = "swaggerTagKey",
                Type = "TagKey",
            },
        },
        Timeframe = "MonthToDate",
        Type = "Usage",
        ViewName = "swaggerExample",
    });
});
package main
import (
	costmanagement "github.com/pulumi/pulumi-azure-native-sdk/costmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := costmanagement.NewView(ctx, "view", &costmanagement.ViewArgs{
			Accumulated: pulumi.String("true"),
			Chart:       pulumi.String("Table"),
			DataSet: costmanagement.ReportConfigDatasetResponse{
				Aggregation: costmanagement.ReportConfigAggregationMap{
					"totalCost": &costmanagement.ReportConfigAggregationArgs{
						Function: pulumi.String("Sum"),
						Name:     pulumi.String("PreTaxCost"),
					},
				},
				Granularity: pulumi.String("Daily"),
				Grouping:    costmanagement.ReportConfigGroupingArray{},
				Sorting: costmanagement.ReportConfigSortingArray{
					&costmanagement.ReportConfigSortingArgs{
						Direction: pulumi.String("Ascending"),
						Name:      pulumi.String("UsageDate"),
					},
				},
			},
			DisplayName: pulumi.String("swagger Example"),
			ETag:        pulumi.String("\"1d4ff9fe66f1d10\""),
			Kpis: []costmanagement.KpiPropertiesArgs{
				{
					Enabled: pulumi.Bool(true),
					Type:    pulumi.String("Forecast"),
				},
				{
					Enabled: pulumi.Bool(true),
					Id:      pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Consumption/budgets/swaggerDemo"),
					Type:    pulumi.String("Budget"),
				},
			},
			Metric: pulumi.String("ActualCost"),
			Pivots: []costmanagement.PivotPropertiesArgs{
				{
					Name: pulumi.String("ServiceName"),
					Type: pulumi.String("Dimension"),
				},
				{
					Name: pulumi.String("MeterCategory"),
					Type: pulumi.String("Dimension"),
				},
				{
					Name: pulumi.String("swaggerTagKey"),
					Type: pulumi.String("TagKey"),
				},
			},
			Timeframe: pulumi.String("MonthToDate"),
			Type:      pulumi.String("Usage"),
			ViewName:  pulumi.String("swaggerExample"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.costmanagement.View;
import com.pulumi.azurenative.costmanagement.ViewArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var view = new View("view", ViewArgs.builder()        
            .accumulated("true")
            .chart("Table")
            .dataSet(Map.ofEntries(
                Map.entry("aggregation", Map.of("totalCost", Map.ofEntries(
                    Map.entry("function", "Sum"),
                    Map.entry("name", "PreTaxCost")
                ))),
                Map.entry("granularity", "Daily"),
                Map.entry("grouping", ),
                Map.entry("sorting", Map.ofEntries(
                    Map.entry("direction", "Ascending"),
                    Map.entry("name", "UsageDate")
                ))
            ))
            .displayName("swagger Example")
            .eTag("\"1d4ff9fe66f1d10\"")
            .kpis(            
                Map.ofEntries(
                    Map.entry("enabled", true),
                    Map.entry("type", "Forecast")
                ),
                Map.ofEntries(
                    Map.entry("enabled", true),
                    Map.entry("id", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Consumption/budgets/swaggerDemo"),
                    Map.entry("type", "Budget")
                ))
            .metric("ActualCost")
            .pivots(            
                Map.ofEntries(
                    Map.entry("name", "ServiceName"),
                    Map.entry("type", "Dimension")
                ),
                Map.ofEntries(
                    Map.entry("name", "MeterCategory"),
                    Map.entry("type", "Dimension")
                ),
                Map.ofEntries(
                    Map.entry("name", "swaggerTagKey"),
                    Map.entry("type", "TagKey")
                ))
            .timeframe("MonthToDate")
            .type("Usage")
            .viewName("swaggerExample")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const view = new azure_native.costmanagement.View("view", {
    accumulated: "true",
    chart: "Table",
    dataSet: {
        aggregation: {
            totalCost: {
                "function": "Sum",
                name: "PreTaxCost",
            },
        },
        granularity: "Daily",
        grouping: [],
        sorting: [{
            direction: "Ascending",
            name: "UsageDate",
        }],
    },
    displayName: "swagger Example",
    eTag: "\"1d4ff9fe66f1d10\"",
    kpis: [
        {
            enabled: true,
            type: "Forecast",
        },
        {
            enabled: true,
            id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Consumption/budgets/swaggerDemo",
            type: "Budget",
        },
    ],
    metric: "ActualCost",
    pivots: [
        {
            name: "ServiceName",
            type: "Dimension",
        },
        {
            name: "MeterCategory",
            type: "Dimension",
        },
        {
            name: "swaggerTagKey",
            type: "TagKey",
        },
    ],
    timeframe: "MonthToDate",
    type: "Usage",
    viewName: "swaggerExample",
});
import pulumi
import pulumi_azure_native as azure_native
view = azure_native.costmanagement.View("view",
    accumulated="true",
    chart="Table",
    data_set=azure_native.costmanagement.ReportConfigDatasetResponseArgs(
        aggregation={
            "totalCost": azure_native.costmanagement.ReportConfigAggregationArgs(
                function="Sum",
                name="PreTaxCost",
            ),
        },
        granularity="Daily",
        grouping=[],
        sorting=[azure_native.costmanagement.ReportConfigSortingArgs(
            direction="Ascending",
            name="UsageDate",
        )],
    ),
    display_name="swagger Example",
    e_tag="\"1d4ff9fe66f1d10\"",
    kpis=[
        azure_native.costmanagement.KpiPropertiesArgs(
            enabled=True,
            type="Forecast",
        ),
        azure_native.costmanagement.KpiPropertiesArgs(
            enabled=True,
            id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Consumption/budgets/swaggerDemo",
            type="Budget",
        ),
    ],
    metric="ActualCost",
    pivots=[
        azure_native.costmanagement.PivotPropertiesArgs(
            name="ServiceName",
            type="Dimension",
        ),
        azure_native.costmanagement.PivotPropertiesArgs(
            name="MeterCategory",
            type="Dimension",
        ),
        azure_native.costmanagement.PivotPropertiesArgs(
            name="swaggerTagKey",
            type="TagKey",
        ),
    ],
    timeframe="MonthToDate",
    type="Usage",
    view_name="swaggerExample")
resources:
  view:
    type: azure-native:costmanagement:View
    properties:
      accumulated: 'true'
      chart: Table
      dataSet:
        aggregation:
          totalCost:
            function: Sum
            name: PreTaxCost
        granularity: Daily
        grouping: []
        sorting:
          - direction: Ascending
            name: UsageDate
      displayName: swagger Example
      eTag: '"1d4ff9fe66f1d10"'
      kpis:
        - enabled: true
          type: Forecast
        - enabled: true
          id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Consumption/budgets/swaggerDemo
          type: Budget
      metric: ActualCost
      pivots:
        - name: ServiceName
          type: Dimension
        - name: MeterCategory
          type: Dimension
        - name: swaggerTagKey
          type: TagKey
      timeframe: MonthToDate
      type: Usage
      viewName: swaggerExample
Create View Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new View(name: string, args: ViewArgs, opts?: CustomResourceOptions);@overload
def View(resource_name: str,
         args: ViewArgs,
         opts: Optional[ResourceOptions] = None)
@overload
def View(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         timeframe: Optional[Union[str, ReportTimeframeType]] = None,
         type: Optional[Union[str, ReportType]] = None,
         metric: Optional[Union[str, MetricType]] = None,
         display_name: Optional[str] = None,
         e_tag: Optional[str] = None,
         kpis: Optional[Sequence[KpiPropertiesArgs]] = None,
         accumulated: Optional[Union[str, AccumulatedType]] = None,
         pivots: Optional[Sequence[PivotPropertiesArgs]] = None,
         scope: Optional[str] = None,
         time_period: Optional[ReportConfigTimePeriodArgs] = None,
         data_set: Optional[ReportConfigDatasetArgs] = None,
         chart: Optional[Union[str, ChartType]] = None,
         view_name: Optional[str] = None)func NewView(ctx *Context, name string, args ViewArgs, opts ...ResourceOption) (*View, error)public View(string name, ViewArgs args, CustomResourceOptions? opts = null)type: azure-native:costmanagement:View
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ViewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ViewArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ViewArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ViewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ViewArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var viewResource = new AzureNative.Costmanagement.View("viewResource", new()
{
    Timeframe = "string",
    Type = "string",
    Metric = "string",
    DisplayName = "string",
    ETag = "string",
    Kpis = new[]
    {
        
        {
            { "enabled", false },
            { "id", "string" },
            { "type", "string" },
        },
    },
    Accumulated = "string",
    Pivots = new[]
    {
        
        {
            { "name", "string" },
            { "type", "string" },
        },
    },
    Scope = "string",
    TimePeriod = 
    {
        { "from", "string" },
        { "to", "string" },
    },
    DataSet = 
    {
        { "aggregation", 
        {
            { "string", 
            {
                { "function", "string" },
                { "name", "string" },
            } },
        } },
        { "configuration", 
        {
            { "columns", new[]
            {
                "string",
            } },
        } },
        { "filter", 
        {
            { "and", new[]
            {
                reportConfigFilter,
            } },
            { "dimensions", 
            {
                { "name", "string" },
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "or", new[]
            {
                reportConfigFilter,
            } },
            { "tagKey", 
            {
                { "name", "string" },
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "tagValue", 
            {
                { "name", "string" },
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "tags", 
            {
                { "name", "string" },
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
        } },
        { "granularity", "string" },
        { "grouping", new[]
        {
            
            {
                { "name", "string" },
                { "type", "string" },
            },
        } },
        { "sorting", new[]
        {
            
            {
                { "name", "string" },
                { "direction", "string" },
            },
        } },
    },
    Chart = "string",
    ViewName = "string",
});
example, err := costmanagement.NewView(ctx, "viewResource", &costmanagement.ViewArgs{
	Timeframe:   "string",
	Type:        "string",
	Metric:      "string",
	DisplayName: "string",
	ETag:        "string",
	Kpis: []map[string]interface{}{
		map[string]interface{}{
			"enabled": false,
			"id":      "string",
			"type":    "string",
		},
	},
	Accumulated: "string",
	Pivots: []map[string]interface{}{
		map[string]interface{}{
			"name": "string",
			"type": "string",
		},
	},
	Scope: "string",
	TimePeriod: map[string]interface{}{
		"from": "string",
		"to":   "string",
	},
	DataSet: map[string]interface{}{
		"aggregation": map[string]interface{}{
			"string": map[string]interface{}{
				"function": "string",
				"name":     "string",
			},
		},
		"configuration": map[string]interface{}{
			"columns": []string{
				"string",
			},
		},
		"filter": map[string]interface{}{
			"and": []interface{}{
				reportConfigFilter,
			},
			"dimensions": map[string]interface{}{
				"name":     "string",
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"or": []interface{}{
				reportConfigFilter,
			},
			"tagKey": map[string]interface{}{
				"name":     "string",
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"tagValue": map[string]interface{}{
				"name":     "string",
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"tags": map[string]interface{}{
				"name":     "string",
				"operator": "string",
				"values": []string{
					"string",
				},
			},
		},
		"granularity": "string",
		"grouping": []map[string]interface{}{
			map[string]interface{}{
				"name": "string",
				"type": "string",
			},
		},
		"sorting": []map[string]interface{}{
			map[string]interface{}{
				"name":      "string",
				"direction": "string",
			},
		},
	},
	Chart:    "string",
	ViewName: "string",
})
var viewResource = new View("viewResource", ViewArgs.builder()
    .timeframe("string")
    .type("string")
    .metric("string")
    .displayName("string")
    .eTag("string")
    .kpis(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .accumulated("string")
    .pivots(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .scope("string")
    .timePeriod(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .dataSet(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .chart("string")
    .viewName("string")
    .build());
view_resource = azure_native.costmanagement.View("viewResource",
    timeframe=string,
    type=string,
    metric=string,
    display_name=string,
    e_tag=string,
    kpis=[{
        enabled: False,
        id: string,
        type: string,
    }],
    accumulated=string,
    pivots=[{
        name: string,
        type: string,
    }],
    scope=string,
    time_period={
        from: string,
        to: string,
    },
    data_set={
        aggregation: {
            string: {
                function: string,
                name: string,
            },
        },
        configuration: {
            columns: [string],
        },
        filter: {
            and: [report_config_filter],
            dimensions: {
                name: string,
                operator: string,
                values: [string],
            },
            or: [report_config_filter],
            tagKey: {
                name: string,
                operator: string,
                values: [string],
            },
            tagValue: {
                name: string,
                operator: string,
                values: [string],
            },
            tags: {
                name: string,
                operator: string,
                values: [string],
            },
        },
        granularity: string,
        grouping: [{
            name: string,
            type: string,
        }],
        sorting: [{
            name: string,
            direction: string,
        }],
    },
    chart=string,
    view_name=string)
const viewResource = new azure_native.costmanagement.View("viewResource", {
    timeframe: "string",
    type: "string",
    metric: "string",
    displayName: "string",
    eTag: "string",
    kpis: [{
        enabled: false,
        id: "string",
        type: "string",
    }],
    accumulated: "string",
    pivots: [{
        name: "string",
        type: "string",
    }],
    scope: "string",
    timePeriod: {
        from: "string",
        to: "string",
    },
    dataSet: {
        aggregation: {
            string: {
                "function": "string",
                name: "string",
            },
        },
        configuration: {
            columns: ["string"],
        },
        filter: {
            and: [reportConfigFilter],
            dimensions: {
                name: "string",
                operator: "string",
                values: ["string"],
            },
            or: [reportConfigFilter],
            tagKey: {
                name: "string",
                operator: "string",
                values: ["string"],
            },
            tagValue: {
                name: "string",
                operator: "string",
                values: ["string"],
            },
            tags: {
                name: "string",
                operator: "string",
                values: ["string"],
            },
        },
        granularity: "string",
        grouping: [{
            name: "string",
            type: "string",
        }],
        sorting: [{
            name: "string",
            direction: "string",
        }],
    },
    chart: "string",
    viewName: "string",
});
type: azure-native:costmanagement:View
properties:
    accumulated: string
    chart: string
    dataSet:
        aggregation:
            string:
                function: string
                name: string
        configuration:
            columns:
                - string
        filter:
            and:
                - ${reportConfigFilter}
            dimensions:
                name: string
                operator: string
                values:
                    - string
            or:
                - ${reportConfigFilter}
            tagKey:
                name: string
                operator: string
                values:
                    - string
            tagValue:
                name: string
                operator: string
                values:
                    - string
            tags:
                name: string
                operator: string
                values:
                    - string
        granularity: string
        grouping:
            - name: string
              type: string
        sorting:
            - direction: string
              name: string
    displayName: string
    eTag: string
    kpis:
        - enabled: false
          id: string
          type: string
    metric: string
    pivots:
        - name: string
          type: string
    scope: string
    timePeriod:
        from: string
        to: string
    timeframe: string
    type: string
    viewName: string
View Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The View resource accepts the following input properties:
- Timeframe
string | Pulumi.Azure Native. Cost Management. Report Timeframe Type 
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- Type
string | Pulumi.Azure Native. Cost Management. Report Type 
- The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
- Accumulated
string | Pulumi.Azure Native. Cost Management. Accumulated Type 
- Show costs accumulated over time.
- Chart
string | Pulumi.Azure Native. Cost Management. Chart Type 
- Chart type of the main view in Cost Analysis. Required.
- DataSet Pulumi.Azure Native. Cost Management. Inputs. Report Config Dataset 
- Has definition for data in this report config.
- DisplayName string
- User input name of the view. Required.
- ETag string
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- Kpis
List<Pulumi.Azure Native. Cost Management. Inputs. Kpi Properties> 
- List of KPIs to show in Cost Analysis UI.
- Metric
string | Pulumi.Azure Native. Cost Management. Metric Type 
- Metric to use when displaying costs.
- Pivots
List<Pulumi.Azure Native. Cost Management. Inputs. Pivot Properties> 
- Configuration of 3 sub-views in the Cost Analysis UI.
- Scope string
- Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
- TimePeriod Pulumi.Azure Native. Cost Management. Inputs. Report Config Time Period 
- Has time period for pulling data for the report.
- ViewName string
- View name
- Timeframe
string | ReportTimeframe Type 
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- Type
string | ReportType 
- The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
- Accumulated
string | AccumulatedType 
- Show costs accumulated over time.
- Chart
string | ChartType 
- Chart type of the main view in Cost Analysis. Required.
- DataSet ReportConfig Dataset Args 
- Has definition for data in this report config.
- DisplayName string
- User input name of the view. Required.
- ETag string
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- Kpis
[]KpiProperties Args 
- List of KPIs to show in Cost Analysis UI.
- Metric
string | MetricType 
- Metric to use when displaying costs.
- Pivots
[]PivotProperties Args 
- Configuration of 3 sub-views in the Cost Analysis UI.
- Scope string
- Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
- TimePeriod ReportConfig Time Period Args 
- Has time period for pulling data for the report.
- ViewName string
- View name
- timeframe
String | ReportTimeframe Type 
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type
String | ReportType 
- The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
- accumulated
String | AccumulatedType 
- Show costs accumulated over time.
- chart
String | ChartType 
- Chart type of the main view in Cost Analysis. Required.
- dataSet ReportConfig Dataset 
- Has definition for data in this report config.
- displayName String
- User input name of the view. Required.
- eTag String
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- kpis
List<KpiProperties> 
- List of KPIs to show in Cost Analysis UI.
- metric
String | MetricType 
- Metric to use when displaying costs.
- pivots
List<PivotProperties> 
- Configuration of 3 sub-views in the Cost Analysis UI.
- scope String
- Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
- timePeriod ReportConfig Time Period 
- Has time period for pulling data for the report.
- viewName String
- View name
- timeframe
string | ReportTimeframe Type 
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type
string | ReportType 
- The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
- accumulated
string | AccumulatedType 
- Show costs accumulated over time.
- chart
string | ChartType 
- Chart type of the main view in Cost Analysis. Required.
- dataSet ReportConfig Dataset 
- Has definition for data in this report config.
- displayName string
- User input name of the view. Required.
- eTag string
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- kpis
KpiProperties[] 
- List of KPIs to show in Cost Analysis UI.
- metric
string | MetricType 
- Metric to use when displaying costs.
- pivots
PivotProperties[] 
- Configuration of 3 sub-views in the Cost Analysis UI.
- scope string
- Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
- timePeriod ReportConfig Time Period 
- Has time period for pulling data for the report.
- viewName string
- View name
- timeframe
str | ReportTimeframe Type 
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type
str | ReportType 
- The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
- accumulated
str | AccumulatedType 
- Show costs accumulated over time.
- chart
str | ChartType 
- Chart type of the main view in Cost Analysis. Required.
- data_set ReportConfig Dataset Args 
- Has definition for data in this report config.
- display_name str
- User input name of the view. Required.
- e_tag str
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- kpis
Sequence[KpiProperties Args] 
- List of KPIs to show in Cost Analysis UI.
- metric
str | MetricType 
- Metric to use when displaying costs.
- pivots
Sequence[PivotProperties Args] 
- Configuration of 3 sub-views in the Cost Analysis UI.
- scope str
- Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
- time_period ReportConfig Time Period Args 
- Has time period for pulling data for the report.
- view_name str
- View name
- timeframe
String | "WeekTo Date" | "Month To Date" | "Year To Date" | "Custom" 
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type String | "Usage"
- The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.
- accumulated String | "true" | "false"
- Show costs accumulated over time.
- chart
String | "Area" | "Line" | "StackedColumn" | "Grouped Column" | "Table" 
- Chart type of the main view in Cost Analysis. Required.
- dataSet Property Map
- Has definition for data in this report config.
- displayName String
- User input name of the view. Required.
- eTag String
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- kpis List<Property Map>
- List of KPIs to show in Cost Analysis UI.
- metric
String | "ActualCost" | "Amortized Cost" | "AHUB" 
- Metric to use when displaying costs.
- pivots List<Property Map>
- Configuration of 3 sub-views in the Cost Analysis UI.
- scope String
- Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
- timePeriod Property Map
- Has time period for pulling data for the report.
- viewName String
- View name
Outputs
All input properties are implicitly available as output properties. Additionally, the View resource produces the following output properties:
- CreatedOn string
- Date the user created this view.
- Currency string
- Selected currency.
- DateRange string
- Selected date range for viewing cost in.
- Id string
- The provider-assigned unique ID for this managed resource.
- IncludeMonetary boolCommitment 
- Include monetary commitment
- ModifiedOn string
- Date when the user last modified this view.
- Name string
- Resource name.
- CreatedOn string
- Date the user created this view.
- Currency string
- Selected currency.
- DateRange string
- Selected date range for viewing cost in.
- Id string
- The provider-assigned unique ID for this managed resource.
- IncludeMonetary boolCommitment 
- Include monetary commitment
- ModifiedOn string
- Date when the user last modified this view.
- Name string
- Resource name.
- createdOn String
- Date the user created this view.
- currency String
- Selected currency.
- dateRange String
- Selected date range for viewing cost in.
- id String
- The provider-assigned unique ID for this managed resource.
- includeMonetary BooleanCommitment 
- Include monetary commitment
- modifiedOn String
- Date when the user last modified this view.
- name String
- Resource name.
- createdOn string
- Date the user created this view.
- currency string
- Selected currency.
- dateRange string
- Selected date range for viewing cost in.
- id string
- The provider-assigned unique ID for this managed resource.
- includeMonetary booleanCommitment 
- Include monetary commitment
- modifiedOn string
- Date when the user last modified this view.
- name string
- Resource name.
- created_on str
- Date the user created this view.
- currency str
- Selected currency.
- date_range str
- Selected date range for viewing cost in.
- id str
- The provider-assigned unique ID for this managed resource.
- include_monetary_ boolcommitment 
- Include monetary commitment
- modified_on str
- Date when the user last modified this view.
- name str
- Resource name.
- createdOn String
- Date the user created this view.
- currency String
- Selected currency.
- dateRange String
- Selected date range for viewing cost in.
- id String
- The provider-assigned unique ID for this managed resource.
- includeMonetary BooleanCommitment 
- Include monetary commitment
- modifiedOn String
- Date when the user last modified this view.
- name String
- Resource name.
Supporting Types
AccumulatedType, AccumulatedTypeArgs    
- @True
- true
- @False
- false
- AccumulatedType True 
- true
- AccumulatedType False 
- false
- True_
- true
- False_
- false
- True
- true
- False
- false
- TRUE
- true
- FALSE
- false
- "true"
- true
- "false"
- false
ChartType, ChartTypeArgs    
- Area
- Area
- Line
- Line
- StackedColumn 
- StackedColumn
- GroupedColumn 
- GroupedColumn
- Table
- Table
- ChartType Area 
- Area
- ChartType Line 
- Line
- ChartType Stacked Column 
- StackedColumn
- ChartType Grouped Column 
- GroupedColumn
- ChartType Table 
- Table
- Area
- Area
- Line
- Line
- StackedColumn 
- StackedColumn
- GroupedColumn 
- GroupedColumn
- Table
- Table
- Area
- Area
- Line
- Line
- StackedColumn 
- StackedColumn
- GroupedColumn 
- GroupedColumn
- Table
- Table
- AREA
- Area
- LINE
- Line
- STACKED_COLUMN
- StackedColumn
- GROUPED_COLUMN
- GroupedColumn
- TABLE
- Table
- "Area"
- Area
- "Line"
- Line
- "StackedColumn" 
- StackedColumn
- "GroupedColumn" 
- GroupedColumn
- "Table"
- Table
FunctionType, FunctionTypeArgs    
- Avg
- Avg
- Max
- Max
- Min
- Min
- Sum
- Sum
- FunctionType Avg 
- Avg
- FunctionType Max 
- Max
- FunctionType Min 
- Min
- FunctionType Sum 
- Sum
- Avg
- Avg
- Max
- Max
- Min
- Min
- Sum
- Sum
- Avg
- Avg
- Max
- Max
- Min
- Min
- Sum
- Sum
- AVG
- Avg
- MAX
- Max
- MIN
- Min
- SUM
- Sum
- "Avg"
- Avg
- "Max"
- Max
- "Min"
- Min
- "Sum"
- Sum
KpiProperties, KpiPropertiesArgs    
- Enabled bool
- show the KPI in the UI?
- Id string
- ID of resource related to metric (budget).
- Type
string | Pulumi.Azure Native. Cost Management. Kpi Type Type 
- KPI type (Forecast, Budget).
- Enabled bool
- show the KPI in the UI?
- Id string
- ID of resource related to metric (budget).
- Type
string | KpiType Type 
- KPI type (Forecast, Budget).
- enabled Boolean
- show the KPI in the UI?
- id String
- ID of resource related to metric (budget).
- type
String | KpiType Type 
- KPI type (Forecast, Budget).
- enabled boolean
- show the KPI in the UI?
- id string
- ID of resource related to metric (budget).
- type
string | KpiType Type 
- KPI type (Forecast, Budget).
- enabled bool
- show the KPI in the UI?
- id str
- ID of resource related to metric (budget).
- type
str | KpiType Type 
- KPI type (Forecast, Budget).
- enabled Boolean
- show the KPI in the UI?
- id String
- ID of resource related to metric (budget).
- type String | "Forecast" | "Budget"
- KPI type (Forecast, Budget).
KpiPropertiesResponse, KpiPropertiesResponseArgs      
KpiTypeType, KpiTypeTypeArgs      
- Forecast
- Forecast
- Budget
- Budget
- KpiType Type Forecast 
- Forecast
- KpiType Type Budget 
- Budget
- Forecast
- Forecast
- Budget
- Budget
- Forecast
- Forecast
- Budget
- Budget
- FORECAST
- Forecast
- BUDGET
- Budget
- "Forecast"
- Forecast
- "Budget"
- Budget
MetricType, MetricTypeArgs    
- ActualCost 
- ActualCost
- AmortizedCost 
- AmortizedCost
- AHUB
- AHUB
- MetricType Actual Cost 
- ActualCost
- MetricType Amortized Cost 
- AmortizedCost
- MetricType AHUB 
- AHUB
- ActualCost 
- ActualCost
- AmortizedCost 
- AmortizedCost
- AHUB
- AHUB
- ActualCost 
- ActualCost
- AmortizedCost 
- AmortizedCost
- AHUB
- AHUB
- ACTUAL_COST
- ActualCost
- AMORTIZED_COST
- AmortizedCost
- AHUB
- AHUB
- "ActualCost" 
- ActualCost
- "AmortizedCost" 
- AmortizedCost
- "AHUB"
- AHUB
OperatorType, OperatorTypeArgs    
- In
- In
- Contains
- Contains
- OperatorType In 
- In
- OperatorType Contains 
- Contains
- In
- In
- Contains
- Contains
- In
- In
- Contains
- Contains
- IN_
- In
- CONTAINS
- Contains
- "In"
- In
- "Contains"
- Contains
PivotProperties, PivotPropertiesArgs    
- Name string
- Data field to show in view.
- Type
string | Pulumi.Azure Native. Cost Management. Pivot Type Type 
- Data type to show in view.
- Name string
- Data field to show in view.
- Type
string | PivotType Type 
- Data type to show in view.
- name String
- Data field to show in view.
- type
String | PivotType Type 
- Data type to show in view.
- name string
- Data field to show in view.
- type
string | PivotType Type 
- Data type to show in view.
- name str
- Data field to show in view.
- type
str | PivotType Type 
- Data type to show in view.
- name String
- Data field to show in view.
- type
String | "Dimension" | "TagKey" 
- Data type to show in view.
PivotPropertiesResponse, PivotPropertiesResponseArgs      
PivotTypeType, PivotTypeTypeArgs      
- Dimension
- Dimension
- TagKey 
- TagKey
- PivotType Type Dimension 
- Dimension
- PivotType Type Tag Key 
- TagKey
- Dimension
- Dimension
- TagKey 
- TagKey
- Dimension
- Dimension
- TagKey 
- TagKey
- DIMENSION
- Dimension
- TAG_KEY
- TagKey
- "Dimension"
- Dimension
- "TagKey" 
- TagKey
ReportConfigAggregation, ReportConfigAggregationArgs      
- Function
string | Pulumi.Azure Native. Cost Management. Function Type 
- The name of the aggregation function to use.
- Name string
- The name of the column to aggregate.
- Function
string | FunctionType 
- The name of the aggregation function to use.
- Name string
- The name of the column to aggregate.
- function
String | FunctionType 
- The name of the aggregation function to use.
- name String
- The name of the column to aggregate.
- function
string | FunctionType 
- The name of the aggregation function to use.
- name string
- The name of the column to aggregate.
- function
str | FunctionType 
- The name of the aggregation function to use.
- name str
- The name of the column to aggregate.
- function String | "Avg" | "Max" | "Min" | "Sum"
- The name of the aggregation function to use.
- name String
- The name of the column to aggregate.
ReportConfigAggregationResponse, ReportConfigAggregationResponseArgs        
ReportConfigColumnType, ReportConfigColumnTypeArgs        
- Tag
- Tag
- Dimension
- Dimension
- ReportConfig Column Type Tag 
- Tag
- ReportConfig Column Type Dimension 
- Dimension
- Tag
- Tag
- Dimension
- Dimension
- Tag
- Tag
- Dimension
- Dimension
- TAG
- Tag
- DIMENSION
- Dimension
- "Tag"
- Tag
- "Dimension"
- Dimension
ReportConfigComparisonExpression, ReportConfigComparisonExpressionArgs        
- Name string
- The name of the column to use in comparison.
- Operator
string | Pulumi.Azure Native. Cost Management. Operator Type 
- The operator to use for comparison.
- Values List<string>
- Array of values to use for comparison
- Name string
- The name of the column to use in comparison.
- Operator
string | OperatorType 
- The operator to use for comparison.
- Values []string
- Array of values to use for comparison
- name String
- The name of the column to use in comparison.
- operator
String | OperatorType 
- The operator to use for comparison.
- values List<String>
- Array of values to use for comparison
- name string
- The name of the column to use in comparison.
- operator
string | OperatorType 
- The operator to use for comparison.
- values string[]
- Array of values to use for comparison
- name str
- The name of the column to use in comparison.
- operator
str | OperatorType 
- The operator to use for comparison.
- values Sequence[str]
- Array of values to use for comparison
- name String
- The name of the column to use in comparison.
- operator String | "In" | "Contains"
- The operator to use for comparison.
- values List<String>
- Array of values to use for comparison
ReportConfigComparisonExpressionResponse, ReportConfigComparisonExpressionResponseArgs          
ReportConfigDataset, ReportConfigDatasetArgs      
- Aggregation
Dictionary<string, Pulumi.Azure Native. Cost Management. Inputs. Report Config Aggregation> 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- Configuration
Pulumi.Azure Native. Cost Management. Inputs. Report Config Dataset Configuration 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- Filter
Pulumi.Azure Native. Cost Management. Inputs. Report Config Filter 
- Has filter expression to use in the report.
- Granularity
string | Pulumi.Azure Native. Cost Management. Report Granularity Type 
- The granularity of rows in the report.
- Grouping
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Grouping> 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- Sorting
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Sorting> 
- Array of order by expression to use in the report.
- Aggregation
map[string]ReportConfig Aggregation 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- Configuration
ReportConfig Dataset Configuration 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- Filter
ReportConfig Filter 
- Has filter expression to use in the report.
- Granularity
string | ReportGranularity Type 
- The granularity of rows in the report.
- Grouping
[]ReportConfig Grouping 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- Sorting
[]ReportConfig Sorting 
- Array of order by expression to use in the report.
- aggregation
Map<String,ReportConfig Aggregation> 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportConfig Dataset Configuration 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportConfig Filter 
- Has filter expression to use in the report.
- granularity
String | ReportGranularity Type 
- The granularity of rows in the report.
- grouping
List<ReportConfig Grouping> 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
List<ReportConfig Sorting> 
- Array of order by expression to use in the report.
- aggregation
{[key: string]: ReportConfig Aggregation} 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportConfig Dataset Configuration 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportConfig Filter 
- Has filter expression to use in the report.
- granularity
string | ReportGranularity Type 
- The granularity of rows in the report.
- grouping
ReportConfig Grouping[] 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
ReportConfig Sorting[] 
- Array of order by expression to use in the report.
- aggregation
Mapping[str, ReportConfig Aggregation] 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportConfig Dataset Configuration 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportConfig Filter 
- Has filter expression to use in the report.
- granularity
str | ReportGranularity Type 
- The granularity of rows in the report.
- grouping
Sequence[ReportConfig Grouping] 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
Sequence[ReportConfig Sorting] 
- Array of order by expression to use in the report.
- aggregation Map<Property Map>
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration Property Map
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter Property Map
- Has filter expression to use in the report.
- granularity String | "Daily" | "Monthly"
- The granularity of rows in the report.
- grouping List<Property Map>
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting List<Property Map>
- Array of order by expression to use in the report.
ReportConfigDatasetConfiguration, ReportConfigDatasetConfigurationArgs        
- Columns List<string>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- Columns []string
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns List<String>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns string[]
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns Sequence[str]
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns List<String>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
ReportConfigDatasetConfigurationResponse, ReportConfigDatasetConfigurationResponseArgs          
- Columns List<string>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- Columns []string
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns List<String>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns string[]
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns Sequence[str]
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns List<String>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
ReportConfigDatasetResponse, ReportConfigDatasetResponseArgs        
- Aggregation
Dictionary<string, Pulumi.Azure Native. Cost Management. Inputs. Report Config Aggregation Response> 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- Configuration
Pulumi.Azure Native. Cost Management. Inputs. Report Config Dataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- Filter
Pulumi.Azure Native. Cost Management. Inputs. Report Config Filter Response 
- Has filter expression to use in the report.
- Granularity string
- The granularity of rows in the report.
- Grouping
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Grouping Response> 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- Sorting
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Sorting Response> 
- Array of order by expression to use in the report.
- Aggregation
map[string]ReportConfig Aggregation Response 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- Configuration
ReportConfig Dataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- Filter
ReportConfig Filter Response 
- Has filter expression to use in the report.
- Granularity string
- The granularity of rows in the report.
- Grouping
[]ReportConfig Grouping Response 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- Sorting
[]ReportConfig Sorting Response 
- Array of order by expression to use in the report.
- aggregation
Map<String,ReportConfig Aggregation Response> 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportConfig Dataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportConfig Filter Response 
- Has filter expression to use in the report.
- granularity String
- The granularity of rows in the report.
- grouping
List<ReportConfig Grouping Response> 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
List<ReportConfig Sorting Response> 
- Array of order by expression to use in the report.
- aggregation
{[key: string]: ReportConfig Aggregation Response} 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportConfig Dataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportConfig Filter Response 
- Has filter expression to use in the report.
- granularity string
- The granularity of rows in the report.
- grouping
ReportConfig Grouping Response[] 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
ReportConfig Sorting Response[] 
- Array of order by expression to use in the report.
- aggregation
Mapping[str, ReportConfig Aggregation Response] 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportConfig Dataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportConfig Filter Response 
- Has filter expression to use in the report.
- granularity str
- The granularity of rows in the report.
- grouping
Sequence[ReportConfig Grouping Response] 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
Sequence[ReportConfig Sorting Response] 
- Array of order by expression to use in the report.
- aggregation Map<Property Map>
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration Property Map
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter Property Map
- Has filter expression to use in the report.
- granularity String
- The granularity of rows in the report.
- grouping List<Property Map>
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting List<Property Map>
- Array of order by expression to use in the report.
ReportConfigFilter, ReportConfigFilterArgs      
- And
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Filter> 
- The logical "AND" expression. Must have at least 2 items.
- Dimensions
Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression 
- Has comparison expression for a dimension
- Or
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Filter> 
- The logical "OR" expression. Must have at least 2 items.
- TagKey Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression 
- Has comparison expression for a tag key
- TagValue Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression 
- Has comparison expression for a tag value
- 
Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression 
- Has comparison expression for a tag
- And
[]ReportConfig Filter 
- The logical "AND" expression. Must have at least 2 items.
- Dimensions
ReportConfig Comparison Expression 
- Has comparison expression for a dimension
- Or
[]ReportConfig Filter 
- The logical "OR" expression. Must have at least 2 items.
- TagKey ReportConfig Comparison Expression 
- Has comparison expression for a tag key
- TagValue ReportConfig Comparison Expression 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression 
- Has comparison expression for a tag
- and
List<ReportConfig Filter> 
- The logical "AND" expression. Must have at least 2 items.
- dimensions
ReportConfig Comparison Expression 
- Has comparison expression for a dimension
- or
List<ReportConfig Filter> 
- The logical "OR" expression. Must have at least 2 items.
- tagKey ReportConfig Comparison Expression 
- Has comparison expression for a tag key
- tagValue ReportConfig Comparison Expression 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression 
- Has comparison expression for a tag
- and
ReportConfig Filter[] 
- The logical "AND" expression. Must have at least 2 items.
- dimensions
ReportConfig Comparison Expression 
- Has comparison expression for a dimension
- or
ReportConfig Filter[] 
- The logical "OR" expression. Must have at least 2 items.
- tagKey ReportConfig Comparison Expression 
- Has comparison expression for a tag key
- tagValue ReportConfig Comparison Expression 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression 
- Has comparison expression for a tag
- and_
Sequence[ReportConfig Filter] 
- The logical "AND" expression. Must have at least 2 items.
- dimensions
ReportConfig Comparison Expression 
- Has comparison expression for a dimension
- or_
Sequence[ReportConfig Filter] 
- The logical "OR" expression. Must have at least 2 items.
- tag_key ReportConfig Comparison Expression 
- Has comparison expression for a tag key
- tag_value ReportConfig Comparison Expression 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression 
- Has comparison expression for a tag
- and List<Property Map>
- The logical "AND" expression. Must have at least 2 items.
- dimensions Property Map
- Has comparison expression for a dimension
- or List<Property Map>
- The logical "OR" expression. Must have at least 2 items.
- tagKey Property Map
- Has comparison expression for a tag key
- tagValue Property Map
- Has comparison expression for a tag value
- Property Map
- Has comparison expression for a tag
ReportConfigFilterResponse, ReportConfigFilterResponseArgs        
- And
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Filter Response> 
- The logical "AND" expression. Must have at least 2 items.
- Dimensions
Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression Response 
- Has comparison expression for a dimension
- Or
List<Pulumi.Azure Native. Cost Management. Inputs. Report Config Filter Response> 
- The logical "OR" expression. Must have at least 2 items.
- TagKey Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression Response 
- Has comparison expression for a tag key
- TagValue Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression Response 
- Has comparison expression for a tag value
- 
Pulumi.Azure Native. Cost Management. Inputs. Report Config Comparison Expression Response 
- Has comparison expression for a tag
- And
[]ReportConfig Filter Response 
- The logical "AND" expression. Must have at least 2 items.
- Dimensions
ReportConfig Comparison Expression Response 
- Has comparison expression for a dimension
- Or
[]ReportConfig Filter Response 
- The logical "OR" expression. Must have at least 2 items.
- TagKey ReportConfig Comparison Expression Response 
- Has comparison expression for a tag key
- TagValue ReportConfig Comparison Expression Response 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression Response 
- Has comparison expression for a tag
- and
List<ReportConfig Filter Response> 
- The logical "AND" expression. Must have at least 2 items.
- dimensions
ReportConfig Comparison Expression Response 
- Has comparison expression for a dimension
- or
List<ReportConfig Filter Response> 
- The logical "OR" expression. Must have at least 2 items.
- tagKey ReportConfig Comparison Expression Response 
- Has comparison expression for a tag key
- tagValue ReportConfig Comparison Expression Response 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression Response 
- Has comparison expression for a tag
- and
ReportConfig Filter Response[] 
- The logical "AND" expression. Must have at least 2 items.
- dimensions
ReportConfig Comparison Expression Response 
- Has comparison expression for a dimension
- or
ReportConfig Filter Response[] 
- The logical "OR" expression. Must have at least 2 items.
- tagKey ReportConfig Comparison Expression Response 
- Has comparison expression for a tag key
- tagValue ReportConfig Comparison Expression Response 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression Response 
- Has comparison expression for a tag
- and_
Sequence[ReportConfig Filter Response] 
- The logical "AND" expression. Must have at least 2 items.
- dimensions
ReportConfig Comparison Expression Response 
- Has comparison expression for a dimension
- or_
Sequence[ReportConfig Filter Response] 
- The logical "OR" expression. Must have at least 2 items.
- tag_key ReportConfig Comparison Expression Response 
- Has comparison expression for a tag key
- tag_value ReportConfig Comparison Expression Response 
- Has comparison expression for a tag value
- 
ReportConfig Comparison Expression Response 
- Has comparison expression for a tag
- and List<Property Map>
- The logical "AND" expression. Must have at least 2 items.
- dimensions Property Map
- Has comparison expression for a dimension
- or List<Property Map>
- The logical "OR" expression. Must have at least 2 items.
- tagKey Property Map
- Has comparison expression for a tag key
- tagValue Property Map
- Has comparison expression for a tag value
- Property Map
- Has comparison expression for a tag
ReportConfigGrouping, ReportConfigGroupingArgs      
- Name string
- The name of the column to group. This version supports subscription lowest possible grain.
- Type
string | Pulumi.Azure Native. Cost Management. Report Config Column Type 
- Has type of the column to group.
- Name string
- The name of the column to group. This version supports subscription lowest possible grain.
- Type
string | ReportConfig Column Type 
- Has type of the column to group.
- name String
- The name of the column to group. This version supports subscription lowest possible grain.
- type
String | ReportConfig Column Type 
- Has type of the column to group.
- name string
- The name of the column to group. This version supports subscription lowest possible grain.
- type
string | ReportConfig Column Type 
- Has type of the column to group.
- name str
- The name of the column to group. This version supports subscription lowest possible grain.
- type
str | ReportConfig Column Type 
- Has type of the column to group.
- name String
- The name of the column to group. This version supports subscription lowest possible grain.
- type String | "Tag" | "Dimension"
- Has type of the column to group.
ReportConfigGroupingResponse, ReportConfigGroupingResponseArgs        
ReportConfigSorting, ReportConfigSortingArgs      
ReportConfigSortingResponse, ReportConfigSortingResponseArgs        
ReportConfigTimePeriod, ReportConfigTimePeriodArgs        
ReportConfigTimePeriodResponse, ReportConfigTimePeriodResponseArgs          
ReportGranularityType, ReportGranularityTypeArgs      
- Daily
- Daily
- Monthly
- Monthly
- ReportGranularity Type Daily 
- Daily
- ReportGranularity Type Monthly 
- Monthly
- Daily
- Daily
- Monthly
- Monthly
- Daily
- Daily
- Monthly
- Monthly
- DAILY
- Daily
- MONTHLY
- Monthly
- "Daily"
- Daily
- "Monthly"
- Monthly
ReportTimeframeType, ReportTimeframeTypeArgs      
- WeekTo Date 
- WeekToDate
- MonthTo Date 
- MonthToDate
- YearTo Date 
- YearToDate
- Custom
- Custom
- ReportTimeframe Type Week To Date 
- WeekToDate
- ReportTimeframe Type Month To Date 
- MonthToDate
- ReportTimeframe Type Year To Date 
- YearToDate
- ReportTimeframe Type Custom 
- Custom
- WeekTo Date 
- WeekToDate
- MonthTo Date 
- MonthToDate
- YearTo Date 
- YearToDate
- Custom
- Custom
- WeekTo Date 
- WeekToDate
- MonthTo Date 
- MonthToDate
- YearTo Date 
- YearToDate
- Custom
- Custom
- WEEK_TO_DATE
- WeekToDate
- MONTH_TO_DATE
- MonthToDate
- YEAR_TO_DATE
- YearToDate
- CUSTOM
- Custom
- "WeekTo Date" 
- WeekToDate
- "MonthTo Date" 
- MonthToDate
- "YearTo Date" 
- YearToDate
- "Custom"
- Custom
ReportType, ReportTypeArgs    
- Usage
- Usage
- ReportType Usage 
- Usage
- Usage
- Usage
- Usage
- Usage
- USAGE
- Usage
- "Usage"
- Usage
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:costmanagement:View swaggerExample /providers/Microsoft.CostManagement/views/swaggerExample 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0