1. Packages
  2. Azure Native
  3. API Docs
  4. costmanagement
  5. getViewByScope
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.costmanagement.getViewByScope

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets the view for the defined scope by view name.

Uses Azure REST API version 2024-08-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.

Using getViewByScope

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getViewByScope(args: GetViewByScopeArgs, opts?: InvokeOptions): Promise<GetViewByScopeResult>
function getViewByScopeOutput(args: GetViewByScopeOutputArgs, opts?: InvokeOptions): Output<GetViewByScopeResult>
Copy
def get_view_by_scope(scope: Optional[str] = None,
                      view_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetViewByScopeResult
def get_view_by_scope_output(scope: Optional[pulumi.Input[str]] = None,
                      view_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetViewByScopeResult]
Copy
func LookupViewByScope(ctx *Context, args *LookupViewByScopeArgs, opts ...InvokeOption) (*LookupViewByScopeResult, error)
func LookupViewByScopeOutput(ctx *Context, args *LookupViewByScopeOutputArgs, opts ...InvokeOption) LookupViewByScopeResultOutput
Copy

> Note: This function is named LookupViewByScope in the Go SDK.

public static class GetViewByScope 
{
    public static Task<GetViewByScopeResult> InvokeAsync(GetViewByScopeArgs args, InvokeOptions? opts = null)
    public static Output<GetViewByScopeResult> Invoke(GetViewByScopeInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetViewByScopeResult> getViewByScope(GetViewByScopeArgs args, InvokeOptions options)
public static Output<GetViewByScopeResult> getViewByScope(GetViewByScopeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:costmanagement:getViewByScope
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope associated with view operations. 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 External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
ViewName
This property is required.
Changes to this property will trigger replacement.
string
View name
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope associated with view operations. 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 External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
ViewName
This property is required.
Changes to this property will trigger replacement.
string
View name
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope associated with view operations. 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 External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
viewName
This property is required.
Changes to this property will trigger replacement.
String
View name
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope associated with view operations. 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 External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
viewName
This property is required.
Changes to this property will trigger replacement.
string
View name
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope associated with view operations. 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 External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
view_name
This property is required.
Changes to this property will trigger replacement.
str
View name
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope associated with view operations. 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 External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.
viewName
This property is required.
Changes to this property will trigger replacement.
String
View name

getViewByScope Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
CreatedOn string
Date the user created this view.
Currency string
Currency of the current view.
Id string
Resource Id.
Name string
Resource name.
Timeframe string
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
Type string
Resource type.
Accumulated string
Show costs accumulated over time.
Chart string
Chart type of the main view in Cost Analysis. Required.
DataSet Pulumi.AzureNative.CostManagement.Outputs.ReportConfigDatasetResponse
Has definition for data in this report config.
DateRange string
Date range of the current view.
DisplayName string
User input name of the view. Required.
ETag string
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
IncludeMonetaryCommitment bool
If true, report includes monetary commitment.
Kpis List<Pulumi.AzureNative.CostManagement.Outputs.KpiPropertiesResponse>
List of KPIs to show in Cost Analysis UI.
Metric string
Metric to use when displaying costs.
ModifiedOn string
Date when the user last modified this view.
Pivots List<Pulumi.AzureNative.CostManagement.Outputs.PivotPropertiesResponse>
Configuration of 3 sub-views in the Cost Analysis UI.
Scope string
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
TimePeriod Pulumi.AzureNative.CostManagement.Outputs.ReportConfigTimePeriodResponse
Has time period for pulling data for the report.
AzureApiVersion string
The Azure API version of the resource.
CreatedOn string
Date the user created this view.
Currency string
Currency of the current view.
Id string
Resource Id.
Name string
Resource name.
Timeframe string
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
Type string
Resource type.
Accumulated string
Show costs accumulated over time.
Chart string
Chart type of the main view in Cost Analysis. Required.
DataSet ReportConfigDatasetResponse
Has definition for data in this report config.
DateRange string
Date range of the current view.
DisplayName string
User input name of the view. Required.
ETag string
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
IncludeMonetaryCommitment bool
If true, report includes monetary commitment.
Kpis []KpiPropertiesResponse
List of KPIs to show in Cost Analysis UI.
Metric string
Metric to use when displaying costs.
ModifiedOn string
Date when the user last modified this view.
Pivots []PivotPropertiesResponse
Configuration of 3 sub-views in the Cost Analysis UI.
Scope string
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
TimePeriod ReportConfigTimePeriodResponse
Has time period for pulling data for the report.
azureApiVersion String
The Azure API version of the resource.
createdOn String
Date the user created this view.
currency String
Currency of the current view.
id String
Resource Id.
name String
Resource name.
timeframe String
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
type String
Resource type.
accumulated String
Show costs accumulated over time.
chart String
Chart type of the main view in Cost Analysis. Required.
dataSet ReportConfigDatasetResponse
Has definition for data in this report config.
dateRange String
Date range of the current view.
displayName String
User input name of the view. Required.
eTag String
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
includeMonetaryCommitment Boolean
If true, report includes monetary commitment.
kpis List<KpiPropertiesResponse>
List of KPIs to show in Cost Analysis UI.
metric String
Metric to use when displaying costs.
modifiedOn String
Date when the user last modified this view.
pivots List<PivotPropertiesResponse>
Configuration of 3 sub-views in the Cost Analysis UI.
scope String
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
timePeriod ReportConfigTimePeriodResponse
Has time period for pulling data for the report.
azureApiVersion string
The Azure API version of the resource.
createdOn string
Date the user created this view.
currency string
Currency of the current view.
id string
Resource Id.
name string
Resource name.
timeframe string
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
type string
Resource type.
accumulated string
Show costs accumulated over time.
chart string
Chart type of the main view in Cost Analysis. Required.
dataSet ReportConfigDatasetResponse
Has definition for data in this report config.
dateRange string
Date range of the current view.
displayName string
User input name of the view. Required.
eTag string
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
includeMonetaryCommitment boolean
If true, report includes monetary commitment.
kpis KpiPropertiesResponse[]
List of KPIs to show in Cost Analysis UI.
metric string
Metric to use when displaying costs.
modifiedOn string
Date when the user last modified this view.
pivots PivotPropertiesResponse[]
Configuration of 3 sub-views in the Cost Analysis UI.
scope string
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
timePeriod ReportConfigTimePeriodResponse
Has time period for pulling data for the report.
azure_api_version str
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
Resource Id.
name str
Resource name.
timeframe str
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
type str
Resource type.
accumulated str
Show costs accumulated over time.
chart str
Chart type of the main view in Cost Analysis. Required.
data_set ReportConfigDatasetResponse
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_commitment bool
If true, report includes monetary commitment.
kpis Sequence[KpiPropertiesResponse]
List of KPIs to show in Cost Analysis UI.
metric str
Metric to use when displaying costs.
modified_on str
Date when the user last modified this view.
pivots Sequence[PivotPropertiesResponse]
Configuration of 3 sub-views in the Cost Analysis UI.
scope str
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
time_period ReportConfigTimePeriodResponse
Has time period for pulling data for the report.
azureApiVersion String
The Azure API version of the resource.
createdOn String
Date the user created this view.
currency String
Currency of the current view.
id String
Resource Id.
name String
Resource name.
timeframe String
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
type String
Resource type.
accumulated String
Show costs accumulated over time.
chart String
Chart type of the main view in Cost Analysis. Required.
dataSet Property Map
Has definition for data in this report config.
dateRange String
Date range of the current view.
displayName String
User input name of the view. Required.
eTag String
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
includeMonetaryCommitment Boolean
If true, report includes monetary commitment.
kpis List<Property Map>
List of KPIs to show in Cost Analysis UI.
metric String
Metric to use when displaying costs.
modifiedOn String
Date when the user last modified this view.
pivots List<Property Map>
Configuration of 3 sub-views in the Cost Analysis UI.
scope String
Cost Management scope to save the view on. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.
timePeriod Property Map
Has time period for pulling data for the report.

Supporting Types

KpiPropertiesResponse

Enabled bool
show the KPI in the UI?
Id string
ID of resource related to metric (budget).
Type string
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 (Forecast, Budget).
enabled Boolean
show the KPI in the UI?
id String
ID of resource related to metric (budget).
type String
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 (Forecast, Budget).
enabled bool
show the KPI in the UI?
id str
ID of resource related to metric (budget).
type str
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 (Forecast, Budget).

PivotPropertiesResponse

Name string
Data field to show in view.
Type string
Data type to show in view.
Name string
Data field to show in view.
Type string
Data type to show in view.
name String
Data field to show in view.
type String
Data type to show in view.
name string
Data field to show in view.
type string
Data type to show in view.
name str
Data field to show in view.
type str
Data type to show in view.
name String
Data field to show in view.
type String
Data type to show in view.

ReportConfigAggregationResponse

Function This property is required. string
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
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
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
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
The name of the aggregation function to use.
name This property is required. str
The name of the column to aggregate.
function This property is required. String
The name of the aggregation function to use.
name This property is required. String
The name of the column to aggregate.

ReportConfigComparisonExpressionResponse

Name This property is required. string
The name of the column to use in comparison.
Operator This property is required. string
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
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
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
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
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
The operator to use for comparison.
values This property is required. List<String>
Array of values to use for comparison

ReportConfigDatasetConfigurationResponse

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

Aggregation Dictionary<string, Pulumi.AzureNative.CostManagement.Inputs.ReportConfigAggregationResponse>
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.AzureNative.CostManagement.Inputs.ReportConfigDatasetConfigurationResponse
Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
Filter Pulumi.AzureNative.CostManagement.Inputs.ReportConfigFilterResponse
Has filter expression to use in the report.
Granularity string
The granularity of rows in the report.
Grouping List<Pulumi.AzureNative.CostManagement.Inputs.ReportConfigGroupingResponse>
Array of group by expression to use in the report. Report can have up to 2 group by clauses.
Sorting List<Pulumi.AzureNative.CostManagement.Inputs.ReportConfigSortingResponse>
Array of order by expression to use in the report.
Aggregation map[string]ReportConfigAggregationResponse
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 ReportConfigDatasetConfigurationResponse
Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
Filter ReportConfigFilterResponse
Has filter expression to use in the report.
Granularity string
The granularity of rows in the report.
Grouping []ReportConfigGroupingResponse
Array of group by expression to use in the report. Report can have up to 2 group by clauses.
Sorting []ReportConfigSortingResponse
Array of order by expression to use in the report.
aggregation Map<String,ReportConfigAggregationResponse>
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 ReportConfigDatasetConfigurationResponse
Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
filter ReportConfigFilterResponse
Has filter expression to use in the report.
granularity String
The granularity of rows in the report.
grouping List<ReportConfigGroupingResponse>
Array of group by expression to use in the report. Report can have up to 2 group by clauses.
sorting List<ReportConfigSortingResponse>
Array of order by expression to use in the report.
aggregation {[key: string]: ReportConfigAggregationResponse}
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 ReportConfigDatasetConfigurationResponse
Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
filter ReportConfigFilterResponse
Has filter expression to use in the report.
granularity string
The granularity of rows in the report.
grouping ReportConfigGroupingResponse[]
Array of group by expression to use in the report. Report can have up to 2 group by clauses.
sorting ReportConfigSortingResponse[]
Array of order by expression to use in the report.
aggregation Mapping[str, ReportConfigAggregationResponse]
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 ReportConfigDatasetConfigurationResponse
Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
filter ReportConfigFilterResponse
Has filter expression to use in the report.
granularity str
The granularity of rows in the report.
grouping Sequence[ReportConfigGroupingResponse]
Array of group by expression to use in the report. Report can have up to 2 group by clauses.
sorting Sequence[ReportConfigSortingResponse]
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.

ReportConfigFilterResponse

And []ReportConfigFilterResponse
The logical "AND" expression. Must have at least 2 items.
Dimensions ReportConfigComparisonExpressionResponse
Has comparison expression for a dimension
Or []ReportConfigFilterResponse
The logical "OR" expression. Must have at least 2 items.
Tags ReportConfigComparisonExpressionResponse
Has comparison expression for a tag
and List<ReportConfigFilterResponse>
The logical "AND" expression. Must have at least 2 items.
dimensions ReportConfigComparisonExpressionResponse
Has comparison expression for a dimension
or List<ReportConfigFilterResponse>
The logical "OR" expression. Must have at least 2 items.
tags ReportConfigComparisonExpressionResponse
Has comparison expression for a tag
and ReportConfigFilterResponse[]
The logical "AND" expression. Must have at least 2 items.
dimensions ReportConfigComparisonExpressionResponse
Has comparison expression for a dimension
or ReportConfigFilterResponse[]
The logical "OR" expression. Must have at least 2 items.
tags ReportConfigComparisonExpressionResponse
Has comparison expression for a tag
and_ Sequence[ReportConfigFilterResponse]
The logical "AND" expression. Must have at least 2 items.
dimensions ReportConfigComparisonExpressionResponse
Has comparison expression for a dimension
or_ Sequence[ReportConfigFilterResponse]
The logical "OR" expression. Must have at least 2 items.
tags ReportConfigComparisonExpressionResponse
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.
tags Property Map
Has comparison expression for a tag

ReportConfigGroupingResponse

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
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
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
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
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
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
Has type of the column to group.

ReportConfigSortingResponse

Name This property is required. string
The name of the column to sort.
Direction string
Direction of sort.
Name This property is required. string
The name of the column to sort.
Direction string
Direction of sort.
name This property is required. String
The name of the column to sort.
direction String
Direction of sort.
name This property is required. string
The name of the column to sort.
direction string
Direction of sort.
name This property is required. str
The name of the column to sort.
direction str
Direction of sort.
name This property is required. String
The name of the column to sort.
direction String
Direction of sort.

ReportConfigTimePeriodResponse

From This property is required. string
The start date to pull data from.
To This property is required. string
The end date to pull data to.
From This property is required. string
The start date to pull data from.
To This property is required. string
The end date to pull data to.
from This property is required. String
The start date to pull data from.
to This property is required. String
The end date to pull data to.
from This property is required. string
The start date to pull data from.
to This property is required. string
The end date to pull data to.
from_ This property is required. str
The start date to pull data from.
to This property is required. str
The end date to pull data to.
from This property is required. String
The start date to pull data from.
to This property is required. String
The end date to pull data to.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi