View interface
States and configurations of Cost Analysis.
- Extends
Properties
accumulated | Show costs accumulated over time. |
chart | Chart type of the main view in Cost Analysis. Required. |
created |
Date the user created this view. NOTE: This property will not be serialized. It can only be populated by the server. |
currency | Currency of the current view. NOTE: This property will not be serialized. It can only be populated by the server. |
data |
Has definition for data in this report config. |
date |
Date range of the current view. NOTE: This property will not be serialized. It can only be populated by the server. |
display |
User input name of the view. Required. |
include |
If true, report includes monetary commitment. |
kpis | List of KPIs to show in Cost Analysis UI. |
metric | Metric to use when displaying costs. |
modified |
Date when the user last modified this view. NOTE: This property will not be serialized. It can only be populated by the server. |
pivots | Configuration of 3 sub-views in the Cost Analysis UI. |
scope | 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 | The time frame for pulling data for the report. If custom, then a specific time period must be provided. |
time |
Has time period for pulling data for the 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. |
Inherited Properties
e |
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. |
id | Resource Id. NOTE: This property will not be serialized. It can only be populated by the server. |
name | Resource name. NOTE: This property will not be serialized. It can only be populated by the server. |
type | Resource type. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
accumulated
Show costs accumulated over time.
accumulated?: string
Property Value
string
chart
Chart type of the main view in Cost Analysis. Required.
chart?: string
Property Value
string
createdOn
Date the user created this view. NOTE: This property will not be serialized. It can only be populated by the server.
createdOn?: Date
Property Value
Date
currency
Currency of the current view. NOTE: This property will not be serialized. It can only be populated by the server.
currency?: string
Property Value
string
dataSet
Has definition for data in this report config.
dataSet?: ReportConfigDataset
Property Value
dateRange
Date range of the current view. NOTE: This property will not be serialized. It can only be populated by the server.
dateRange?: string
Property Value
string
displayName
User input name of the view. Required.
displayName?: string
Property Value
string
includeMonetaryCommitment
If true, report includes monetary commitment.
includeMonetaryCommitment?: boolean
Property Value
boolean
kpis
metric
Metric to use when displaying costs.
metric?: string
Property Value
string
modifiedOn
Date when the user last modified this view. NOTE: This property will not be serialized. It can only be populated by the server.
modifiedOn?: Date
Property Value
Date
pivots
Configuration of 3 sub-views in the Cost Analysis UI.
pivots?: PivotProperties[]
Property Value
scope
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.
scope?: string
Property Value
string
timeframe
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
timeframe?: string
Property Value
string
timePeriod
Has time period for pulling data for the report.
timePeriod?: ReportConfigTimePeriod
Property Value
typePropertiesQueryType
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.
typePropertiesQueryType?: string
Property Value
string
Inherited Property Details
eTag
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.
eTag?: string
Property Value
string
Inherited From CostManagementProxyResource.eTag
id
Resource Id. NOTE: This property will not be serialized. It can only be populated by the server.
id?: string
Property Value
string
Inherited From CostManagementProxyResource.id
name
Resource name. NOTE: This property will not be serialized. It can only be populated by the server.
name?: string
Property Value
string
Inherited From CostManagementProxyResource.name
type
Resource type. NOTE: This property will not be serialized. It can only be populated by the server.
type?: string
Property Value
string
Inherited From CostManagementProxyResource.type
Azure SDK for JavaScript