azure-native.costmanagement.ViewByScope
Explore with Pulumi AI
States and configurations of Cost Analysis.
Uses Azure REST API version 2024-08-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01.
Other available API versions: 2019-04-01-preview, 2019-11-01, 2020-06-01, 2021-10-01, 2022-08-01-preview, 2022-10-01, 2022-10-01-preview, 2022-10-05-preview, 2023-03-01, 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-10-01-preview, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native costmanagement [ApiVersion]
. See the version guide for details.
Create ViewByScope Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ViewByScope(name: string, args: ViewByScopeArgs, opts?: CustomResourceOptions);
@overload
def ViewByScope(resource_name: str,
args: ViewByScopeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ViewByScope(resource_name: str,
opts: Optional[ResourceOptions] = None,
scope: Optional[str] = None,
type: Optional[Union[str, ReportType]] = None,
timeframe: Optional[Union[str, ReportTimeframeType]] = None,
metric: Optional[Union[str, MetricType]] = None,
display_name: Optional[str] = None,
e_tag: Optional[str] = None,
include_monetary_commitment: Optional[bool] = None,
kpis: Optional[Sequence[KpiPropertiesArgs]] = None,
accumulated: Optional[Union[str, AccumulatedType]] = None,
modified_on: Optional[str] = None,
pivots: Optional[Sequence[PivotPropertiesArgs]] = None,
date_range: 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 NewViewByScope(ctx *Context, name string, args ViewByScopeArgs, opts ...ResourceOption) (*ViewByScope, error)
public ViewByScope(string name, ViewByScopeArgs args, CustomResourceOptions? opts = null)
public ViewByScope(String name, ViewByScopeArgs args)
public ViewByScope(String name, ViewByScopeArgs args, CustomResourceOptions options)
type: azure-native:costmanagement:ViewByScope
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ViewByScopeArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ViewByScopeArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ViewByScopeArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ViewByScopeArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ViewByScopeArgs - 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 viewByScopeResource = new AzureNative.CostManagement.ViewByScope("viewByScopeResource", new()
{
Scope = "string",
Type = "string",
Timeframe = "string",
Metric = "string",
DisplayName = "string",
ETag = "string",
IncludeMonetaryCommitment = false,
Kpis = new[]
{
new AzureNative.CostManagement.Inputs.KpiPropertiesArgs
{
Enabled = false,
Id = "string",
Type = "string",
},
},
Accumulated = "string",
ModifiedOn = "string",
Pivots = new[]
{
new AzureNative.CostManagement.Inputs.PivotPropertiesArgs
{
Name = "string",
Type = "string",
},
},
DateRange = "string",
TimePeriod = new AzureNative.CostManagement.Inputs.ReportConfigTimePeriodArgs
{
From = "string",
To = "string",
},
DataSet = new AzureNative.CostManagement.Inputs.ReportConfigDatasetArgs
{
Aggregation =
{
{ "string", new AzureNative.CostManagement.Inputs.ReportConfigAggregationArgs
{
Function = "string",
Name = "string",
} },
},
Configuration = new AzureNative.CostManagement.Inputs.ReportConfigDatasetConfigurationArgs
{
Columns = new[]
{
"string",
},
},
Filter = new AzureNative.CostManagement.Inputs.ReportConfigFilterArgs
{
And = new[]
{
reportConfigFilter,
},
Dimensions = new AzureNative.CostManagement.Inputs.ReportConfigComparisonExpressionArgs
{
Name = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
Or = new[]
{
reportConfigFilter,
},
Tags = new AzureNative.CostManagement.Inputs.ReportConfigComparisonExpressionArgs
{
Name = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
Granularity = "string",
Grouping = new[]
{
new AzureNative.CostManagement.Inputs.ReportConfigGroupingArgs
{
Name = "string",
Type = "string",
},
},
Sorting = new[]
{
new AzureNative.CostManagement.Inputs.ReportConfigSortingArgs
{
Name = "string",
Direction = "string",
},
},
},
Chart = "string",
ViewName = "string",
});
example, err := costmanagement.NewViewByScope(ctx, "viewByScopeResource", &costmanagement.ViewByScopeArgs{
Scope: pulumi.String("string"),
Type: pulumi.String("string"),
Timeframe: pulumi.String("string"),
Metric: pulumi.String("string"),
DisplayName: pulumi.String("string"),
ETag: pulumi.String("string"),
IncludeMonetaryCommitment: pulumi.Bool(false),
Kpis: costmanagement.KpiPropertiesArray{
&costmanagement.KpiPropertiesArgs{
Enabled: pulumi.Bool(false),
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Accumulated: pulumi.String("string"),
ModifiedOn: pulumi.String("string"),
Pivots: costmanagement.PivotPropertiesArray{
&costmanagement.PivotPropertiesArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
DateRange: pulumi.String("string"),
TimePeriod: &costmanagement.ReportConfigTimePeriodArgs{
From: pulumi.String("string"),
To: pulumi.String("string"),
},
DataSet: &costmanagement.ReportConfigDatasetArgs{
Aggregation: costmanagement.ReportConfigAggregationMap{
"string": &costmanagement.ReportConfigAggregationArgs{
Function: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Configuration: &costmanagement.ReportConfigDatasetConfigurationArgs{
Columns: pulumi.StringArray{
pulumi.String("string"),
},
},
Filter: &costmanagement.ReportConfigFilterArgs{
And: costmanagement.ReportConfigFilterArray{
reportConfigFilter,
},
Dimensions: &costmanagement.ReportConfigComparisonExpressionArgs{
Name: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
Or: costmanagement.ReportConfigFilterArray{
reportConfigFilter,
},
Tags: &costmanagement.ReportConfigComparisonExpressionArgs{
Name: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Granularity: pulumi.String("string"),
Grouping: costmanagement.ReportConfigGroupingArray{
&costmanagement.ReportConfigGroupingArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Sorting: costmanagement.ReportConfigSortingArray{
&costmanagement.ReportConfigSortingArgs{
Name: pulumi.String("string"),
Direction: pulumi.String("string"),
},
},
},
Chart: pulumi.String("string"),
ViewName: pulumi.String("string"),
})
var viewByScopeResource = new ViewByScope("viewByScopeResource", ViewByScopeArgs.builder()
.scope("string")
.type("string")
.timeframe("string")
.metric("string")
.displayName("string")
.eTag("string")
.includeMonetaryCommitment(false)
.kpis(KpiPropertiesArgs.builder()
.enabled(false)
.id("string")
.type("string")
.build())
.accumulated("string")
.modifiedOn("string")
.pivots(PivotPropertiesArgs.builder()
.name("string")
.type("string")
.build())
.dateRange("string")
.timePeriod(ReportConfigTimePeriodArgs.builder()
.from("string")
.to("string")
.build())
.dataSet(ReportConfigDatasetArgs.builder()
.aggregation(Map.of("string", Map.ofEntries(
Map.entry("function", "string"),
Map.entry("name", "string")
)))
.configuration(ReportConfigDatasetConfigurationArgs.builder()
.columns("string")
.build())
.filter(ReportConfigFilterArgs.builder()
.and(reportConfigFilter)
.dimensions(ReportConfigComparisonExpressionArgs.builder()
.name("string")
.operator("string")
.values("string")
.build())
.or(reportConfigFilter)
.tags(ReportConfigComparisonExpressionArgs.builder()
.name("string")
.operator("string")
.values("string")
.build())
.build())
.granularity("string")
.grouping(ReportConfigGroupingArgs.builder()
.name("string")
.type("string")
.build())
.sorting(ReportConfigSortingArgs.builder()
.name("string")
.direction("string")
.build())
.build())
.chart("string")
.viewName("string")
.build());
view_by_scope_resource = azure_native.costmanagement.ViewByScope("viewByScopeResource",
scope="string",
type="string",
timeframe="string",
metric="string",
display_name="string",
e_tag="string",
include_monetary_commitment=False,
kpis=[{
"enabled": False,
"id": "string",
"type": "string",
}],
accumulated="string",
modified_on="string",
pivots=[{
"name": "string",
"type": "string",
}],
date_range="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],
"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 viewByScopeResource = new azure_native.costmanagement.ViewByScope("viewByScopeResource", {
scope: "string",
type: "string",
timeframe: "string",
metric: "string",
displayName: "string",
eTag: "string",
includeMonetaryCommitment: false,
kpis: [{
enabled: false,
id: "string",
type: "string",
}],
accumulated: "string",
modifiedOn: "string",
pivots: [{
name: "string",
type: "string",
}],
dateRange: "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],
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:ViewByScope
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}
tags:
name: string
operator: string
values:
- string
granularity: string
grouping:
- name: string
type: string
sorting:
- direction: string
name: string
dateRange: string
displayName: string
eTag: string
includeMonetaryCommitment: false
kpis:
- enabled: false
id: string
type: string
metric: string
modifiedOn: string
pivots:
- name: string
type: string
scope: string
timePeriod:
from: string
to: string
timeframe: string
type: string
viewName: string
ViewByScope 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 ViewByScope resource accepts the following input properties:
- Scope
This property is required. 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.
- Timeframe
This property is required. 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
This property is required. 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.
- Data
Set Pulumi.Azure Native. Cost Management. Inputs. Report Config Dataset - Has definition for data in this report config.
- Date
Range string - Date range of the current view.
- Display
Name 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.
- Include
Monetary boolCommitment - If true, report includes monetary commitment.
- 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.
- Modified
On string - Date when the user last modified this view.
- Pivots
List<Pulumi.
Azure Native. Cost Management. Inputs. Pivot Properties> - Configuration of 3 sub-views in the Cost Analysis UI.
- Time
Period Pulumi.Azure Native. Cost Management. Inputs. Report Config Time Period - Has time period for pulling data for the report.
- View
Name Changes to this property will trigger replacement.
- View name
- Scope
This property is required. 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.
- Timeframe
This property is required. string | ReportTimeframe Type - The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- Type
This property is required. 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 | Accumulated
Type - Show costs accumulated over time.
- Chart
string | Chart
Type - Chart type of the main view in Cost Analysis. Required.
- Data
Set ReportConfig Dataset Args - Has definition for data in this report config.
- Date
Range string - Date range of the current view.
- Display
Name 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.
- Include
Monetary boolCommitment - If true, report includes monetary commitment.
- Kpis
[]Kpi
Properties Args - List of KPIs to show in Cost Analysis UI.
- Metric
string | Metric
Type - Metric to use when displaying costs.
- Modified
On string - Date when the user last modified this view.
- Pivots
[]Pivot
Properties Args - Configuration of 3 sub-views in the Cost Analysis UI.
- Time
Period ReportConfig Time Period Args - Has time period for pulling data for the report.
- View
Name Changes to this property will trigger replacement.
- View name
- scope
This property is required. 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.
- timeframe
This property is required. String | ReportTimeframe Type - The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type
This property is required. 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 | Accumulated
Type - Show costs accumulated over time.
- chart
String | Chart
Type - Chart type of the main view in Cost Analysis. Required.
- data
Set ReportConfig Dataset - Has definition for data in this report config.
- date
Range String - Date range of the current view.
- display
Name String - User input name of the view. Required.
- e
Tag 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.
- include
Monetary BooleanCommitment - If true, report includes monetary commitment.
- kpis
List<Kpi
Properties> - List of KPIs to show in Cost Analysis UI.
- metric
String | Metric
Type - Metric to use when displaying costs.
- modified
On String - Date when the user last modified this view.
- pivots
List<Pivot
Properties> - Configuration of 3 sub-views in the Cost Analysis UI.
- time
Period ReportConfig Time Period - Has time period for pulling data for the report.
- view
Name Changes to this property will trigger replacement.
- View name
- scope
This property is required. 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.
- timeframe
This property is required. string | ReportTimeframe Type - The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type
This property is required. 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 | Accumulated
Type - Show costs accumulated over time.
- chart
string | Chart
Type - Chart type of the main view in Cost Analysis. Required.
- data
Set ReportConfig Dataset - Has definition for data in this report config.
- date
Range string - Date range of the current view.
- display
Name string - User input name of the view. Required.
- e
Tag 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.
- include
Monetary booleanCommitment - If true, report includes monetary commitment.
- kpis
Kpi
Properties[] - List of KPIs to show in Cost Analysis UI.
- metric
string | Metric
Type - Metric to use when displaying costs.
- modified
On string - Date when the user last modified this view.
- pivots
Pivot
Properties[] - Configuration of 3 sub-views in the Cost Analysis UI.
- time
Period ReportConfig Time Period - Has time period for pulling data for the report.
- view
Name Changes to this property will trigger replacement.
- View name
- scope
This property is required. 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.
- timeframe
This property is required. str | ReportTimeframe Type - The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type
This property is required. 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 | Accumulated
Type - Show costs accumulated over time.
- chart
str | Chart
Type - Chart type of the main view in Cost Analysis. Required.
- data_
set ReportConfig Dataset Args - Has definition for data in this report config.
- date_
range str - Date range of the current view.
- 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.
- include_
monetary_ boolcommitment - If true, report includes monetary commitment.
- kpis
Sequence[Kpi
Properties Args] - List of KPIs to show in Cost Analysis UI.
- metric
str | Metric
Type - Metric to use when displaying costs.
- modified_
on str - Date when the user last modified this view.
- pivots
Sequence[Pivot
Properties Args] - Configuration of 3 sub-views in the Cost Analysis UI.
- time_
period ReportConfig Time Period Args - Has time period for pulling data for the report.
- view_
name Changes to this property will trigger replacement.
- View name
- scope
This property is required. 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.
- timeframe
This property is required. 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
This property is required. 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" | "Stacked
Column" | "Grouped Column" | "Table" - Chart type of the main view in Cost Analysis. Required.
- data
Set Property Map - Has definition for data in this report config.
- date
Range String - Date range of the current view.
- display
Name String - User input name of the view. Required.
- e
Tag 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.
- include
Monetary BooleanCommitment - If true, report includes monetary commitment.
- kpis List<Property Map>
- List of KPIs to show in Cost Analysis UI.
- metric
String | "Actual
Cost" | "Amortized Cost" | "AHUB" - Metric to use when displaying costs.
- modified
On String - Date when the user last modified this view.
- pivots List<Property Map>
- Configuration of 3 sub-views in the Cost Analysis UI.
- time
Period Property Map - Has time period for pulling data for the report.
- view
Name Changes to this property will trigger replacement.
- View name
Outputs
All input properties are implicitly available as output properties. Additionally, the ViewByScope resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Created
On string - Date the user created this view.
- Currency string
- Currency of the current view.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Azure
Api stringVersion - The Azure API version of the resource.
- Created
On string - Date the user created this view.
- Currency string
- Currency of the current view.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- azure
Api StringVersion - The Azure API version of the resource.
- created
On String - Date the user created this view.
- currency String
- Currency of the current view.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- azure
Api stringVersion - The Azure API version of the resource.
- created
On string - Date the user created this view.
- currency string
- Currency of the current view.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- azure_
api_ strversion - The Azure API version of the resource.
- created_
on str - Date the user created this view.
- currency str
- Currency of the current view.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- azure
Api StringVersion - The Azure API version of the resource.
- created
On String - Date the user created this view.
- currency String
- Currency of the current view.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
Supporting Types
AccumulatedType, AccumulatedTypeArgs
- @True
- true
- @False
- false
- Accumulated
Type True - true
- Accumulated
Type False - false
- True_
- true
- False_
- false
- True
- true
- False
- false
- TRUE
- true
- FALSE
- false
- "true"
- true
- "false"
- false
ChartType, ChartTypeArgs
- Area
- Area
- Line
- Line
- Stacked
Column - StackedColumn
- Grouped
Column - GroupedColumn
- Table
- Table
- Chart
Type Area - Area
- Chart
Type Line - Line
- Chart
Type Stacked Column - StackedColumn
- Chart
Type Grouped Column - GroupedColumn
- Chart
Type Table - Table
- Area
- Area
- Line
- Line
- Stacked
Column - StackedColumn
- Grouped
Column - GroupedColumn
- Table
- Table
- Area
- Area
- Line
- Line
- Stacked
Column - StackedColumn
- Grouped
Column - GroupedColumn
- Table
- Table
- AREA
- Area
- LINE
- Line
- STACKED_COLUMN
- StackedColumn
- GROUPED_COLUMN
- GroupedColumn
- TABLE
- Table
- "Area"
- Area
- "Line"
- Line
- "Stacked
Column" - StackedColumn
- "Grouped
Column" - GroupedColumn
- "Table"
- Table
FunctionType, FunctionTypeArgs
- Sum
- Sum
- Function
Type Sum - Sum
- Sum
- Sum
- Sum
- Sum
- SUM
- Sum
- "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 | Kpi
Type Type - KPI type (Forecast, Budget).
- enabled Boolean
- show the KPI in the UI?
- id String
- ID of resource related to metric (budget).
- type
String | Kpi
Type Type - KPI type (Forecast, Budget).
- enabled boolean
- show the KPI in the UI?
- id string
- ID of resource related to metric (budget).
- type
string | Kpi
Type Type - KPI type (Forecast, Budget).
- enabled bool
- show the KPI in the UI?
- id str
- ID of resource related to metric (budget).
- type
str | Kpi
Type 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
- Kpi
Type Type Forecast - Forecast
- Kpi
Type Type Budget - Budget
- Forecast
- Forecast
- Budget
- Budget
- Forecast
- Forecast
- Budget
- Budget
- FORECAST
- Forecast
- BUDGET
- Budget
- "Forecast"
- Forecast
- "Budget"
- Budget
MetricType, MetricTypeArgs
- Actual
Cost - ActualCost
- Amortized
Cost - AmortizedCost
- AHUB
- AHUB
- Metric
Type Actual Cost - ActualCost
- Metric
Type Amortized Cost - AmortizedCost
- Metric
Type AHUB - AHUB
- Actual
Cost - ActualCost
- Amortized
Cost - AmortizedCost
- AHUB
- AHUB
- Actual
Cost - ActualCost
- Amortized
Cost - AmortizedCost
- AHUB
- AHUB
- ACTUAL_COST
- ActualCost
- AMORTIZED_COST
- AmortizedCost
- AHUB
- AHUB
- "Actual
Cost" - ActualCost
- "Amortized
Cost" - AmortizedCost
- "AHUB"
- AHUB
OperatorType, OperatorTypeArgs
- In
- In
- Contains
- Contains
- Operator
Type In - In
- Operator
Type 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 | Pivot
Type Type - Data type to show in view.
- name String
- Data field to show in view.
- type
String | Pivot
Type Type - Data type to show in view.
- name string
- Data field to show in view.
- type
string | Pivot
Type Type - Data type to show in view.
- name str
- Data field to show in view.
- type
str | Pivot
Type Type - Data type to show in view.
- name String
- Data field to show in view.
- type
String | "Dimension" | "Tag
Key" - Data type to show in view.
PivotPropertiesResponse, PivotPropertiesResponseArgs
PivotTypeType, PivotTypeTypeArgs
- Dimension
- Dimension
- Tag
Key - TagKey
- Pivot
Type Type Dimension - Dimension
- Pivot
Type Type Tag Key - TagKey
- Dimension
- Dimension
- Tag
Key - TagKey
- Dimension
- Dimension
- Tag
Key - TagKey
- DIMENSION
- Dimension
- TAG_KEY
- TagKey
- "Dimension"
- Dimension
- "Tag
Key" - TagKey
QueryColumnType, QueryColumnTypeArgs
- Tag
Key - TagKeyThe tag associated with the cost data.
- Dimension
- DimensionThe dimension of cost data.
- Query
Column Type Tag Key - TagKeyThe tag associated with the cost data.
- Query
Column Type Dimension - DimensionThe dimension of cost data.
- Tag
Key - TagKeyThe tag associated with the cost data.
- Dimension
- DimensionThe dimension of cost data.
- Tag
Key - TagKeyThe tag associated with the cost data.
- Dimension
- DimensionThe dimension of cost data.
- TAG_KEY
- TagKeyThe tag associated with the cost data.
- DIMENSION
- DimensionThe dimension of cost data.
- "Tag
Key" - TagKeyThe tag associated with the cost data.
- "Dimension"
- DimensionThe dimension of cost data.
ReportConfigAggregation, ReportConfigAggregationArgs
- Function
This property is required. string | Pulumi.Azure Native. Cost Management. Function Type - The name of the aggregation function to use.
- Name
This property is required. string - The name of the column to aggregate.
- Function
This property is required. string | FunctionType - The name of the aggregation function to use.
- Name
This property is required. string - The name of the column to aggregate.
- function
This property is required. String | FunctionType - The name of the aggregation function to use.
- name
This property is required. String - The name of the column to aggregate.
- function
This property is required. string | FunctionType - The name of the aggregation function to use.
- name
This property is required. string - The name of the column to aggregate.
- function
This property is required. str | FunctionType - The name of the aggregation function to use.
- name
This property is required. str - The name of the column to aggregate.
ReportConfigAggregationResponse, ReportConfigAggregationResponseArgs
ReportConfigComparisonExpression, ReportConfigComparisonExpressionArgs
- Name
This property is required. string - The name of the column to use in comparison.
- Operator
This property is required. string | Pulumi.Azure Native. Cost Management. Operator Type - The operator to use for comparison.
- Values
This property is required. List<string> - Array of values to use for comparison
- Name
This property is required. string - The name of the column to use in comparison.
- Operator
This property is required. string | OperatorType - The operator to use for comparison.
- Values
This property is required. []string - Array of values to use for comparison
- name
This property is required. String - The name of the column to use in comparison.
- operator
This property is required. String | OperatorType - The operator to use for comparison.
- values
This property is required. List<String> - Array of values to use for comparison
- name
This property is required. string - The name of the column to use in comparison.
- operator
This property is required. string | OperatorType - The operator to use for comparison.
- values
This property is required. string[] - Array of values to use for comparison
- name
This property is required. str - The name of the column to use in comparison.
- operator
This property is required. str | OperatorType - The operator to use for comparison.
- values
This property is required. Sequence[str] - Array of values to use for comparison
- name
This property is required. String - The name of the column to use in comparison.
- operator
This property is required. String | "In" | "Contains" - The operator to use for comparison.
- values
This property is required. 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]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
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
Report
Config Filter - Has filter expression to use in the report.
- Granularity
string | Report
Granularity Type - The granularity of rows in the report.
- Grouping
[]Report
Config Grouping - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- Sorting
[]Report
Config Sorting - Array of order by expression to use in the report.
- aggregation
Map<String,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
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
Report
Config Filter - Has filter expression to use in the report.
- granularity
String | Report
Granularity Type - The granularity of rows in the report.
- grouping
List<Report
Config Grouping> - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
List<Report
Config Sorting> - Array of order by expression to use in the report.
- aggregation
{[key: string]: 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
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
Report
Config Filter - Has filter expression to use in the report.
- granularity
string | Report
Granularity Type - The granularity of rows in the report.
- grouping
Report
Config Grouping[] - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
Report
Config Sorting[] - Array of order by expression to use in the report.
- aggregation
Mapping[str, 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
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
Report
Config Filter - Has filter expression to use in the report.
- granularity
str | Report
Granularity Type - The granularity of rows in the report.
- grouping
Sequence[Report
Config Grouping] - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
Sequence[Report
Config 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]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
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
Report
Config Filter Response - Has filter expression to use in the report.
- Granularity string
- The granularity of rows in the report.
- Grouping
[]Report
Config Grouping Response - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- Sorting
[]Report
Config Sorting Response - Array of order by expression to use in the report.
- aggregation
Map<String,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
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
Report
Config Filter Response - Has filter expression to use in the report.
- granularity String
- The granularity of rows in the report.
- grouping
List<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<Report
Config Sorting Response> - Array of order by expression to use in the report.
- aggregation
{[key: string]: 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
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
Report
Config Filter Response - Has filter expression to use in the report.
- granularity string
- The granularity of rows in the report.
- grouping
Report
Config Grouping Response[] - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
Report
Config Sorting Response[] - Array of order by expression to use in the report.
- aggregation
Mapping[str, 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
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
Report
Config Filter Response - Has filter expression to use in the report.
- granularity str
- The granularity of rows in the report.
- grouping
Sequence[Report
Config Grouping Response] - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- sorting
Sequence[Report
Config 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.
- Pulumi.
Azure Native. Cost Management. Inputs. Report Config Comparison Expression - Has comparison expression for a tag
- And
[]Report
Config Filter - The logical "AND" expression. Must have at least 2 items.
- Dimensions
Report
Config Comparison Expression - Has comparison expression for a dimension
- Or
[]Report
Config Filter - The logical "OR" expression. Must have at least 2 items.
- Report
Config Comparison Expression - Has comparison expression for a tag
- and
List<Report
Config Filter> - The logical "AND" expression. Must have at least 2 items.
- dimensions
Report
Config Comparison Expression - Has comparison expression for a dimension
- or
List<Report
Config Filter> - The logical "OR" expression. Must have at least 2 items.
- Report
Config Comparison Expression - Has comparison expression for a tag
- and
Report
Config Filter[] - The logical "AND" expression. Must have at least 2 items.
- dimensions
Report
Config Comparison Expression - Has comparison expression for a dimension
- or
Report
Config Filter[] - The logical "OR" expression. Must have at least 2 items.
- Report
Config Comparison Expression - Has comparison expression for a tag
- and_
Sequence[Report
Config Filter] - The logical "AND" expression. Must have at least 2 items.
- dimensions
Report
Config Comparison Expression - Has comparison expression for a dimension
- or_
Sequence[Report
Config Filter] - The logical "OR" expression. Must have at least 2 items.
- Report
Config 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.
- 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.
- Pulumi.
Azure Native. Cost Management. Inputs. Report Config Comparison Expression Response - Has comparison expression for a tag
- And
[]Report
Config Filter Response - The logical "AND" expression. Must have at least 2 items.
- Dimensions
Report
Config Comparison Expression Response - Has comparison expression for a dimension
- Or
[]Report
Config Filter Response - The logical "OR" expression. Must have at least 2 items.
- Report
Config Comparison Expression Response - Has comparison expression for a tag
- and
List<Report
Config Filter Response> - The logical "AND" expression. Must have at least 2 items.
- dimensions
Report
Config Comparison Expression Response - Has comparison expression for a dimension
- or
List<Report
Config Filter Response> - The logical "OR" expression. Must have at least 2 items.
- Report
Config Comparison Expression Response - Has comparison expression for a tag
- and
Report
Config Filter Response[] - The logical "AND" expression. Must have at least 2 items.
- dimensions
Report
Config Comparison Expression Response - Has comparison expression for a dimension
- or
Report
Config Filter Response[] - The logical "OR" expression. Must have at least 2 items.
- Report
Config Comparison Expression Response - Has comparison expression for a tag
- and_
Sequence[Report
Config Filter Response] - The logical "AND" expression. Must have at least 2 items.
- dimensions
Report
Config Comparison Expression Response - Has comparison expression for a dimension
- or_
Sequence[Report
Config Filter Response] - The logical "OR" expression. Must have at least 2 items.
- Report
Config 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.
- Property Map
- Has comparison expression for a tag
ReportConfigGrouping, ReportConfigGroupingArgs
- Name
This property is required. string - The name of the column to group. This version supports subscription lowest possible grain.
- Type
This property is required. string | Pulumi.Azure Native. Cost Management. Query Column Type - Has type of the column to group.
- Name
This property is required. string - The name of the column to group. This version supports subscription lowest possible grain.
- Type
This property is required. string | QueryColumn Type - Has type of the column to group.
- name
This property is required. String - The name of the column to group. This version supports subscription lowest possible grain.
- type
This property is required. String | QueryColumn Type - Has type of the column to group.
- name
This property is required. string - The name of the column to group. This version supports subscription lowest possible grain.
- type
This property is required. string | QueryColumn Type - Has type of the column to group.
- name
This property is required. str - The name of the column to group. This version supports subscription lowest possible grain.
- type
This property is required. str | QueryColumn Type - Has type of the column to group.
- name
This property is required. String - The name of the column to group. This version supports subscription lowest possible grain.
- type
This property is required. String | "TagKey" | "Dimension" - Has type of the column to group.
ReportConfigGroupingResponse, ReportConfigGroupingResponseArgs
ReportConfigSorting, ReportConfigSortingArgs
- Name
This property is required. string - The name of the column to sort.
- Direction
string | Pulumi.
Azure Native. Cost Management. Report Config Sorting Type - Direction of sort.
- Name
This property is required. string - The name of the column to sort.
- Direction
string | Report
Config Sorting Type - Direction of sort.
- name
This property is required. String - The name of the column to sort.
- direction
String | Report
Config Sorting Type - Direction of sort.
- name
This property is required. string - The name of the column to sort.
- direction
string | Report
Config Sorting Type - Direction of sort.
- name
This property is required. str - The name of the column to sort.
- direction
str | Report
Config Sorting Type - Direction of sort.
- name
This property is required. String - The name of the column to sort.
- direction String | "Ascending" | "Descending"
- Direction of sort.
ReportConfigSortingResponse, ReportConfigSortingResponseArgs
ReportConfigSortingType, ReportConfigSortingTypeArgs
- Ascending
- Ascending
- Descending
- Descending
- Report
Config Sorting Type Ascending - Ascending
- Report
Config Sorting Type Descending - Descending
- Ascending
- Ascending
- Descending
- Descending
- Ascending
- Ascending
- Descending
- Descending
- ASCENDING
- Ascending
- DESCENDING
- Descending
- "Ascending"
- Ascending
- "Descending"
- Descending
ReportConfigTimePeriod, ReportConfigTimePeriodArgs
ReportConfigTimePeriodResponse, ReportConfigTimePeriodResponseArgs
ReportGranularityType, ReportGranularityTypeArgs
- Daily
- Daily
- Monthly
- Monthly
- Report
Granularity Type Daily - Daily
- Report
Granularity Type Monthly - Monthly
- Daily
- Daily
- Monthly
- Monthly
- Daily
- Daily
- Monthly
- Monthly
- DAILY
- Daily
- MONTHLY
- Monthly
- "Daily"
- Daily
- "Monthly"
- Monthly
ReportTimeframeType, ReportTimeframeTypeArgs
- Week
To Date - WeekToDate
- Month
To Date - MonthToDate
- Year
To Date - YearToDate
- Custom
- Custom
- Report
Timeframe Type Week To Date - WeekToDate
- Report
Timeframe Type Month To Date - MonthToDate
- Report
Timeframe Type Year To Date - YearToDate
- Report
Timeframe Type Custom - Custom
- Week
To Date - WeekToDate
- Month
To Date - MonthToDate
- Year
To Date - YearToDate
- Custom
- Custom
- Week
To Date - WeekToDate
- Month
To Date - MonthToDate
- Year
To Date - YearToDate
- Custom
- Custom
- WEEK_TO_DATE
- WeekToDate
- MONTH_TO_DATE
- MonthToDate
- YEAR_TO_DATE
- YearToDate
- CUSTOM
- Custom
- "Week
To Date" - WeekToDate
- "Month
To Date" - MonthToDate
- "Year
To Date" - YearToDate
- "Custom"
- Custom
ReportType, ReportTypeArgs
- Usage
- Usage
- Report
Type 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:ViewByScope swaggerExample /{scope}/providers/Microsoft.CostManagement/views/{viewName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0