We recommend using Azure Native.
azure.core.SubscriptionCostManagementView
Explore with Pulumi AI
Manages an Azure Cost Management View for a Subscription.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.SubscriptionCostManagementView("example", new()
{
Accumulated = false,
ChartType = "StackedColumn",
Dataset = new Azure.Core.Inputs.SubscriptionCostManagementViewDatasetArgs
{
Aggregations = new[]
{
new Azure.Core.Inputs.SubscriptionCostManagementViewDatasetAggregationArgs
{
ColumnName = "Cost",
Name = "totalCost",
},
},
Granularity = "Monthly",
},
DisplayName = "Cost View per Month",
ReportType = "Usage",
SubscriptionId = "/subscription/00000000-0000-0000-0000-000000000000",
Timeframe = "MonthToDate",
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.NewSubscriptionCostManagementView(ctx, "example", &core.SubscriptionCostManagementViewArgs{
Accumulated: pulumi.Bool(false),
ChartType: pulumi.String("StackedColumn"),
Dataset: &core.SubscriptionCostManagementViewDatasetArgs{
Aggregations: core.SubscriptionCostManagementViewDatasetAggregationArray{
&core.SubscriptionCostManagementViewDatasetAggregationArgs{
ColumnName: pulumi.String("Cost"),
Name: pulumi.String("totalCost"),
},
},
Granularity: pulumi.String("Monthly"),
},
DisplayName: pulumi.String("Cost View per Month"),
ReportType: pulumi.String("Usage"),
SubscriptionId: pulumi.String("/subscription/00000000-0000-0000-0000-000000000000"),
Timeframe: pulumi.String("MonthToDate"),
})
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.azure.core.SubscriptionCostManagementView;
import com.pulumi.azure.core.SubscriptionCostManagementViewArgs;
import com.pulumi.azure.core.inputs.SubscriptionCostManagementViewDatasetArgs;
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 example = new SubscriptionCostManagementView("example", SubscriptionCostManagementViewArgs.builder()
.accumulated(false)
.chartType("StackedColumn")
.dataset(SubscriptionCostManagementViewDatasetArgs.builder()
.aggregations(SubscriptionCostManagementViewDatasetAggregationArgs.builder()
.columnName("Cost")
.name("totalCost")
.build())
.granularity("Monthly")
.build())
.displayName("Cost View per Month")
.reportType("Usage")
.subscriptionId("/subscription/00000000-0000-0000-0000-000000000000")
.timeframe("MonthToDate")
.build());
}
}
import pulumi
import pulumi_azure as azure
example = azure.core.SubscriptionCostManagementView("example",
accumulated=False,
chart_type="StackedColumn",
dataset=azure.core.SubscriptionCostManagementViewDatasetArgs(
aggregations=[azure.core.SubscriptionCostManagementViewDatasetAggregationArgs(
column_name="Cost",
name="totalCost",
)],
granularity="Monthly",
),
display_name="Cost View per Month",
report_type="Usage",
subscription_id="/subscription/00000000-0000-0000-0000-000000000000",
timeframe="MonthToDate")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.SubscriptionCostManagementView("example", {
accumulated: false,
chartType: "StackedColumn",
dataset: {
aggregations: [{
columnName: "Cost",
name: "totalCost",
}],
granularity: "Monthly",
},
displayName: "Cost View per Month",
reportType: "Usage",
subscriptionId: "/subscription/00000000-0000-0000-0000-000000000000",
timeframe: "MonthToDate",
});
resources:
example:
type: azure:core:SubscriptionCostManagementView
properties:
accumulated: false
chartType: StackedColumn
dataset:
aggregations:
- columnName: Cost
name: totalCost
granularity: Monthly
displayName: Cost View per Month
reportType: Usage
subscriptionId: /subscription/00000000-0000-0000-0000-000000000000
timeframe: MonthToDate
Create SubscriptionCostManagementView Resource
new SubscriptionCostManagementView(name: string, args: SubscriptionCostManagementViewArgs, opts?: CustomResourceOptions);
@overload
def SubscriptionCostManagementView(resource_name: str,
opts: Optional[ResourceOptions] = None,
accumulated: Optional[bool] = None,
chart_type: Optional[str] = None,
dataset: Optional[SubscriptionCostManagementViewDatasetArgs] = None,
display_name: Optional[str] = None,
kpis: Optional[Sequence[SubscriptionCostManagementViewKpiArgs]] = None,
name: Optional[str] = None,
pivots: Optional[Sequence[SubscriptionCostManagementViewPivotArgs]] = None,
report_type: Optional[str] = None,
subscription_id: Optional[str] = None,
timeframe: Optional[str] = None)
@overload
def SubscriptionCostManagementView(resource_name: str,
args: SubscriptionCostManagementViewArgs,
opts: Optional[ResourceOptions] = None)
func NewSubscriptionCostManagementView(ctx *Context, name string, args SubscriptionCostManagementViewArgs, opts ...ResourceOption) (*SubscriptionCostManagementView, error)
public SubscriptionCostManagementView(string name, SubscriptionCostManagementViewArgs args, CustomResourceOptions? opts = null)
public SubscriptionCostManagementView(String name, SubscriptionCostManagementViewArgs args)
public SubscriptionCostManagementView(String name, SubscriptionCostManagementViewArgs args, CustomResourceOptions options)
type: azure:core:SubscriptionCostManagementView
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionCostManagementViewArgs
- 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 SubscriptionCostManagementViewArgs
- 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 SubscriptionCostManagementViewArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionCostManagementViewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubscriptionCostManagementViewArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SubscriptionCostManagementView Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SubscriptionCostManagementView resource accepts the following input properties:
- Accumulated bool
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- Chart
Type string Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- Dataset
Subscription
Cost Management View Dataset A
dataset
block as defined below.- Display
Name string User visible input name of the Cost Management View.
- Report
Type string The type of the report. The only possible value is
Usage
.- Subscription
Id string The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- Timeframe string
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.- Kpis
List<Subscription
Cost Management View Kpi> One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- Name string
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- Pivots
List<Subscription
Cost Management View Pivot> One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
- Accumulated bool
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- Chart
Type string Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- Dataset
Subscription
Cost Management View Dataset Args A
dataset
block as defined below.- Display
Name string User visible input name of the Cost Management View.
- Report
Type string The type of the report. The only possible value is
Usage
.- Subscription
Id string The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- Timeframe string
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.- Kpis
[]Subscription
Cost Management View Kpi Args One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- Name string
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- Pivots
[]Subscription
Cost Management View Pivot Args One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
- accumulated Boolean
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart
Type String Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset
Subscription
Cost Management View Dataset A
dataset
block as defined below.- display
Name String User visible input name of the Cost Management View.
- report
Type String The type of the report. The only possible value is
Usage
.- subscription
Id String The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe String
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.- kpis
List<Subscription
Cost Management View Kpi> One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name String
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots
List<Subscription
Cost Management View Pivot> One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
- accumulated boolean
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart
Type string Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset
Subscription
Cost Management View Dataset A
dataset
block as defined below.- display
Name string User visible input name of the Cost Management View.
- report
Type string The type of the report. The only possible value is
Usage
.- subscription
Id string The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe string
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.- kpis
Subscription
Cost Management View Kpi[] One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name string
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots
Subscription
Cost Management View Pivot[] One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
- accumulated bool
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart_
type str Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset
Subscription
Cost Management View Dataset Args A
dataset
block as defined below.- display_
name str User visible input name of the Cost Management View.
- report_
type str The type of the report. The only possible value is
Usage
.- subscription_
id str The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe str
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.- kpis
Sequence[Subscription
Cost Management View Kpi Args] One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name str
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots
Sequence[Subscription
Cost Management View Pivot Args] One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
- accumulated Boolean
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart
Type String Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset Property Map
A
dataset
block as defined below.- display
Name String User visible input name of the Cost Management View.
- report
Type String The type of the report. The only possible value is
Usage
.- subscription
Id String The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe String
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.- kpis List<Property Map>
One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name String
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots List<Property Map>
One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
Outputs
All input properties are implicitly available as output properties. Additionally, the SubscriptionCostManagementView resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing SubscriptionCostManagementView Resource
Get an existing SubscriptionCostManagementView resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SubscriptionCostManagementViewState, opts?: CustomResourceOptions): SubscriptionCostManagementView
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accumulated: Optional[bool] = None,
chart_type: Optional[str] = None,
dataset: Optional[SubscriptionCostManagementViewDatasetArgs] = None,
display_name: Optional[str] = None,
kpis: Optional[Sequence[SubscriptionCostManagementViewKpiArgs]] = None,
name: Optional[str] = None,
pivots: Optional[Sequence[SubscriptionCostManagementViewPivotArgs]] = None,
report_type: Optional[str] = None,
subscription_id: Optional[str] = None,
timeframe: Optional[str] = None) -> SubscriptionCostManagementView
func GetSubscriptionCostManagementView(ctx *Context, name string, id IDInput, state *SubscriptionCostManagementViewState, opts ...ResourceOption) (*SubscriptionCostManagementView, error)
public static SubscriptionCostManagementView Get(string name, Input<string> id, SubscriptionCostManagementViewState? state, CustomResourceOptions? opts = null)
public static SubscriptionCostManagementView get(String name, Output<String> id, SubscriptionCostManagementViewState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accumulated bool
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- Chart
Type string Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- Dataset
Subscription
Cost Management View Dataset A
dataset
block as defined below.- Display
Name string User visible input name of the Cost Management View.
- Kpis
List<Subscription
Cost Management View Kpi> One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- Name string
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- Pivots
List<Subscription
Cost Management View Pivot> One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.- Report
Type string The type of the report. The only possible value is
Usage
.- Subscription
Id string The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- Timeframe string
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.
- Accumulated bool
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- Chart
Type string Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- Dataset
Subscription
Cost Management View Dataset Args A
dataset
block as defined below.- Display
Name string User visible input name of the Cost Management View.
- Kpis
[]Subscription
Cost Management View Kpi Args One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- Name string
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- Pivots
[]Subscription
Cost Management View Pivot Args One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.- Report
Type string The type of the report. The only possible value is
Usage
.- Subscription
Id string The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- Timeframe string
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.
- accumulated Boolean
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart
Type String Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset
Subscription
Cost Management View Dataset A
dataset
block as defined below.- display
Name String User visible input name of the Cost Management View.
- kpis
List<Subscription
Cost Management View Kpi> One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name String
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots
List<Subscription
Cost Management View Pivot> One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.- report
Type String The type of the report. The only possible value is
Usage
.- subscription
Id String The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe String
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.
- accumulated boolean
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart
Type string Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset
Subscription
Cost Management View Dataset A
dataset
block as defined below.- display
Name string User visible input name of the Cost Management View.
- kpis
Subscription
Cost Management View Kpi[] One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name string
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots
Subscription
Cost Management View Pivot[] One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.- report
Type string The type of the report. The only possible value is
Usage
.- subscription
Id string The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe string
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.
- accumulated bool
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart_
type str Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset
Subscription
Cost Management View Dataset Args A
dataset
block as defined below.- display_
name str User visible input name of the Cost Management View.
- kpis
Sequence[Subscription
Cost Management View Kpi Args] One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name str
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots
Sequence[Subscription
Cost Management View Pivot Args] One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.- report_
type str The type of the report. The only possible value is
Usage
.- subscription_
id str The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe str
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.
- accumulated Boolean
Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
- chart
Type String Chart type of the main view in Cost Analysis. Possible values are
Area
,GroupedColumn
,Line
,StackedColumn
andTable
.- dataset Property Map
A
dataset
block as defined below.- display
Name String User visible input name of the Cost Management View.
- kpis List<Property Map>
One or more
kpi
blocks as defined below, to show in Cost Analysis UI.- name String
The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
- pivots List<Property Map>
One or more
pivot
blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.- report
Type String The type of the report. The only possible value is
Usage
.- subscription
Id String The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
- timeframe String
The time frame for pulling data for the report. Possible values are
Custom
,MonthToDate
,WeekToDate
andYearToDate
.
Supporting Types
SubscriptionCostManagementViewDataset, SubscriptionCostManagementViewDatasetArgs
- Aggregations
List<Subscription
Cost Management View Dataset Aggregation> One or more
aggregation
blocks as defined above.- Granularity string
The granularity of rows in the report. Possible values are
Daily
andMonthly
.- Groupings
List<Subscription
Cost Management View Dataset Grouping> One or more
grouping
blocks as defined below.- Sortings
List<Subscription
Cost Management View Dataset Sorting> One or more
sorting
blocks as defined below, containing the order by expression to be used in the report
- Aggregations
[]Subscription
Cost Management View Dataset Aggregation One or more
aggregation
blocks as defined above.- Granularity string
The granularity of rows in the report. Possible values are
Daily
andMonthly
.- Groupings
[]Subscription
Cost Management View Dataset Grouping One or more
grouping
blocks as defined below.- Sortings
[]Subscription
Cost Management View Dataset Sorting One or more
sorting
blocks as defined below, containing the order by expression to be used in the report
- aggregations
List<Subscription
Cost Management View Dataset Aggregation> One or more
aggregation
blocks as defined above.- granularity String
The granularity of rows in the report. Possible values are
Daily
andMonthly
.- groupings
List<Subscription
Cost Management View Dataset Grouping> One or more
grouping
blocks as defined below.- sortings
List<Subscription
Cost Management View Dataset Sorting> One or more
sorting
blocks as defined below, containing the order by expression to be used in the report
- aggregations
Subscription
Cost Management View Dataset Aggregation[] One or more
aggregation
blocks as defined above.- granularity string
The granularity of rows in the report. Possible values are
Daily
andMonthly
.- groupings
Subscription
Cost Management View Dataset Grouping[] One or more
grouping
blocks as defined below.- sortings
Subscription
Cost Management View Dataset Sorting[] One or more
sorting
blocks as defined below, containing the order by expression to be used in the report
- aggregations
Sequence[Subscription
Cost Management View Dataset Aggregation] One or more
aggregation
blocks as defined above.- granularity str
The granularity of rows in the report. Possible values are
Daily
andMonthly
.- groupings
Sequence[Subscription
Cost Management View Dataset Grouping] One or more
grouping
blocks as defined below.- sortings
Sequence[Subscription
Cost Management View Dataset Sorting] One or more
sorting
blocks as defined below, containing the order by expression to be used in the report
- aggregations List<Property Map>
One or more
aggregation
blocks as defined above.- granularity String
The granularity of rows in the report. Possible values are
Daily
andMonthly
.- groupings List<Property Map>
One or more
grouping
blocks as defined below.- sortings List<Property Map>
One or more
sorting
blocks as defined below, containing the order by expression to be used in the report
SubscriptionCostManagementViewDatasetAggregation, SubscriptionCostManagementViewDatasetAggregationArgs
- Column
Name string The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created.
- Name string
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created.
- Column
Name string The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created.
- Name string
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created.
- column
Name String The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created.
- name String
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created.
- column
Name string The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created.
- name string
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created.
- column_
name str The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created.
- name str
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created.
- column
Name String The name of the column to aggregate. Changing this forces a new Cost Management View for a Subscription to be created.
- name String
The name which should be used for this aggregation. Changing this forces a new Cost Management View for a Subscription to be created.
SubscriptionCostManagementViewDatasetGrouping, SubscriptionCostManagementViewDatasetGroupingArgs
SubscriptionCostManagementViewDatasetSorting, SubscriptionCostManagementViewDatasetSortingArgs
SubscriptionCostManagementViewKpi, SubscriptionCostManagementViewKpiArgs
- Type string
KPI type. Possible values are
Budget
andForecast
.
- Type string
KPI type. Possible values are
Budget
andForecast
.
- type String
KPI type. Possible values are
Budget
andForecast
.
- type string
KPI type. Possible values are
Budget
andForecast
.
- type str
KPI type. Possible values are
Budget
andForecast
.
- type String
KPI type. Possible values are
Budget
andForecast
.
SubscriptionCostManagementViewPivot, SubscriptionCostManagementViewPivotArgs
Import
Cost Management View for a Subscriptions can be imported using the resource id
, e.g.
$ pulumi import azure:core/subscriptionCostManagementView:SubscriptionCostManagementView example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/views/costmanagementview
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.