View Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
States and configurations of Cost Analysis.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ViewTypeConverter))]
public class View : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IView, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IViewInternal, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ViewTypeConverter))>]
type View = class
interface IView
interface IJsonSerializable
interface IProxyResource
interface IViewInternal
interface IProxyResourceInternal
interface IValidates
Public Class View
Implements IValidates, IView, IViewInternal
- Inheritance
-
View
- Attributes
- Implements
Constructors
View() |
Creates an new View instance. |
Properties
Accumulated |
Show costs accumulated over time. |
Chart |
Chart type of the main view in Cost Analysis. Required. |
ConfigurationColumn |
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. |
CreatedOn |
Date the user created this view. |
Currency |
Currency of the current view. |
DataSetAggregation |
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. |
DataSetFilter |
Has filter expression to use in the report. |
DataSetGranularity |
The granularity of rows in the report. |
DataSetGrouping |
Array of group by expression to use in the report. Report can have up to 2 group by clauses. |
DataSetSorting |
Array of order by expression to use in the report. |
DateRange |
Date range of the current view. |
DisplayName |
User input name of the view. Required. |
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. |
Id |
Resource Id. |
Kpi |
List of KPIs to show in Cost Analysis UI. |
Metric |
Metric to use when displaying costs. |
ModifiedOn |
Date when the user last modified this view. |
Name |
Resource name. |
Pivot |
Configuration of 3 sub-views in the Cost Analysis UI. |
QueryIncludeMonetaryCommitment |
If true, report includes monetary commitment. |
QueryTimeframe |
The time frame for pulling data for the report. If custom, then a specific time period must be provided. |
QueryType |
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. |
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. |
TimePeriodFrom |
The start date to pull data from. |
TimePeriodTo |
The end date to pull data to. |
Type |
Resource type. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of View. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IView. |
FromJsonString(String) |
Creates a new instance of View, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |
Explicit Interface Implementations
IProxyResourceInternal.Id |
Internal Acessors for Id |
IProxyResourceInternal.Name |
Internal Acessors for Name |
IProxyResourceInternal.Type |
Internal Acessors for Type |
IViewInternal.CreatedOn |
Internal Acessors for CreatedOn |
IViewInternal.Currency |
Internal Acessors for Currency |
IViewInternal.DataSetConfiguration |
Internal Acessors for DataSetConfiguration |
IViewInternal.DateRange |
Internal Acessors for DateRange |
IViewInternal.ModifiedOn |
Internal Acessors for ModifiedOn |
IViewInternal.Property |
Internal Acessors for Property |
IViewInternal.Query |
Internal Acessors for Query |
IViewInternal.QueryDataSet |
Internal Acessors for QueryDataSet |
IViewInternal.QueryTimePeriod |
Internal Acessors for QueryTimePeriod |
IViewInternal.QueryType |
Internal Acessors for QueryType |