Azure.ResourceManager.CostManagement.Models Namespace
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.
Classes
| Name | Description |
|---|---|
| AlertPropertiesDefinition |
defines the type of alert. |
| AlertPropertiesDetails |
Alert details. |
| AllSavingsBenefitDetails |
Benefit recommendation details. |
| AllSavingsList |
The list of all benefit recommendations with the recommendation details. |
| ArmCostManagementModelFactory |
A factory class for creating instances of the models for mocking. |
| AsyncOperationStatusProperties |
Object representing the report url and valid until date of the async report generated. |
| BenefitDetails |
The benefit resource model definition. |
| BenefitRecommendationModel |
benefit plan recommendation details. |
| BenefitRecommendationProperties |
The properties of the benefit recommendations. Please note this is the abstract base class. The derived classes available for instantiation are: SingleScopeBenefitRecommendationProperties and SharedScopeBenefitRecommendationProperties. |
| BenefitUtilizationSummariesContent |
Properties of an async benefit utilization summaries request. |
| BenefitUtilizationSummariesOperationStatus |
Status of a benefit utilization summaries report. Provides Async Benefit Utilization Summaries Request input, status, and report sas url. |
| BenefitUtilizationSummary |
Benefit utilization summary resource. |
| BudgetComparisonExpression |
The comparison expression to be used in the budgets. |
| BudgetFilter |
May be used to filter budgets by user-specified dimensions and/or tags. Supported for CategoryType(s): Cost, ReservationUtilization. |
| BudgetFilterProperties |
The Dimensions or Tags to filter a budget by. Supported for CategoryType(s): Cost, ReservationUtilization. |
| BudgetNotification |
The notification associated with a budget. Supported for CategoryType(s): Cost, ReservationUtilization. |
| BudgetTimePeriod |
The time period that defines the active period of the budget. The budget will evaluate data on or after the startDate and will expire on the endDate. Supported for CategoryType(s): Cost, ReservationUtilization. Required for CategoryType(s): Cost, ReservationUtilization. |
| CommonExportProperties |
The common properties of the export. |
| CostAllocationEntity |
Common values for resources for cost allocation. |
| CostAllocationProportion |
Target resources and allocation. |
| CostAllocationRuleDetails |
Resource details of the cost allocation rule. |
| CostAllocationRuleProperties |
The properties of a cost allocation rule. |
| CostDetailsOperationResults |
The result of the long running operation for cost details Api. |
| CostDetailsTimePeriod |
The start and end date for pulling data for the cost detailed report. API only allows data to be pulled for 1 month or less and no older than 13 months. |
| CostManagementAlertPatch |
The request payload to update an alert. |
| CostManagementDimension |
List of Dimension. |
| CostManagementNameAvailabilityContent |
The check availability request body. |
| CostManagementNameAvailabilityResult |
The check availability result. |
| CurrentSpend |
The current amount of cost which is being tracked for a budget. Supported for CategoryType(s): Cost. |
| DownloadURL |
The URL to download the generated report. |
| ErrorDetailsWithNestedDetails |
The details of the error. |
| ExportBlobInfo |
The blob information generated by this operation. |
| ExportDataset |
The definition for data in the export. |
| ExportDefinition |
The definition of an export. |
| ExportDeliveryDestination |
This represents the blob storage account location where exports of costs will be delivered. There are two ways to configure the destination. The approach recommended for most customers is to specify the resourceId of the storage account. This requires a one-time registration of the account's subscription with the Microsoft.CostManagementExports resource provider in order to give Cost Management services access to the storage. When creating an export in the Azure portal this registration is performed automatically but API users may need to register the subscription explicitly (for more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services ). Another way to configure the destination is available ONLY to Partners with a Microsoft Partner Agreement plan who are global admins of their billing account. These Partners, instead of specifying the resourceId of a storage account, can specify the storage account name along with a SAS token for the account. This allows exports of costs to a storage account in any tenant. The SAS token should be created for the blob service with Service/Container/Object resource types and with Read/Write/Delete/List/Add/Create permissions (for more information see https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key ). |
| ExportDeliveryInfo |
The delivery information associated with a export. |
| ExportProperties |
The properties of the export. |
| ExportRecurrencePeriod |
The start and end date for recurrence schedule. |
| ExportRun |
An export run. |
| ExportRunContent |
The export run request. |
| ExportRunErrorDetails |
The details of the error. |
| ExportSchedule |
The schedule associated with the export. |
| ExportSuspensionContext |
The properties of the export run. This is not populated currently. |
| ExportTimePeriod |
The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 1 calendar month. |
| FilterItems |
Will contain the filter name and value to operate on. This is currently only supported for Export Definition type of ReservationRecommendations. |
| ForecastAggregation |
The aggregation expression to be used in the forecast. |
| ForecastColumn |
Forecast column properties. |
| ForecastComparisonExpression |
The comparison expression to be used in the forecast. |
| ForecastDataset |
The definition of data present in the forecast. |
| ForecastDefinition |
The definition of a forecast. |
| ForecastFilter |
The filter expression to be used in the export. |
| ForecastResult |
Result of forecast. It contains all columns listed under groupings and aggregation. |
| ForecastSpend |
The forecasted cost which is being tracked for a budget. Supported for CategoryType(s): Cost. |
| ForecastTimePeriod |
Has time period for pulling data for the forecast. |
| GenerateCostDetailsReportContent |
The definition of a cost detailed report. |
| GenerateDetailedCostReportContent |
The definition of a cost detailed report. |
| GenerateDetailedCostReportTimePeriod |
The start and end date for pulling data for the cost detailed report. |
| IncludedQuantityUtilizationSummary |
Included Quantity utilization summary resource. |
| McaPriceSheetProperties |
The properties of the price sheet. |
| NotificationProperties |
The properties of the scheduled action notification. |
| OperationStatus |
The status of the long running operation. |
| PriceSheetDownloadProperties |
The URL to download the generated report. |
| QueryAggregation |
The aggregation expression to be used in the query. |
| QueryColumn |
QueryColumn properties. |
| QueryComparisonExpression |
The comparison expression to be used in the query. |
| QueryDataset |
The definition of data present in the query. |
| QueryDefinition |
The definition of a query. |
| QueryFilter |
The filter expression to be used in the export. |
| QueryGrouping |
The group by expression to be used in the query. |
| QueryResult |
Result of query. It contains all columns listed under groupings and aggregation. |
| QueryTimePeriod |
The start and end date for pulling data for the query. |
| RecommendationUsageDetails |
On-demand charges between firstConsumptionDate and lastConsumptionDate that were used for computing benefit recommendations. |
| ReportConfigAggregation |
The aggregation expression to be used in the report. |
| ReportConfigComparisonExpression |
The comparison expression to be used in the report. |
| ReportConfigDataset |
The definition of data present in the report. |
| ReportConfigFilter |
The filter expression to be used in the report. |
| ReportConfigGrouping |
The group by expression to be used in the report. |
| ReportConfigSorting |
The order by expression to be used in the report. |
| ReportConfigTimePeriod |
The start and end date for pulling data for the report. |
| SavingsPlanUtilizationSummary |
Savings plan utilization summary resource. |
| ScheduleProperties |
The properties of the schedule. |
| SharedScopeBenefitRecommendationProperties |
The properties of the benefit recommendation when scope is 'Shared'. |
| SingleScopeBenefitRecommendationProperties |
The properties of the benefit recommendations when scope is 'Single'. |
| SourceCostAllocationEntity |
Source resources for cost allocation. |
| TagInheritanceSetting |
Tag Inheritance Setting definition. |
| TargetCostAllocationEntity |
Target resources for cost allocation. |
| ViewKpiProperties |
Each KPI must contain a 'type' and 'enabled' key. |
| ViewPivotProperties |
Each pivot must contain a 'type' and 'name'. |
Structs
| Name | Description |
|---|---|
| AccumulatedType |
Show costs accumulated over time. |
| AlertCriterion |
Criteria that triggered alert. |
| AlertTimeGrainType |
Type of timegrain cadence. |
| BenefitRecommendationPeriodTerm |
Grain which corresponds to value. |
| BenefitRecommendationUsageGrain |
Grain which corresponds to value. |
| BenefitUtilizationSummaryReportSchema |
The CSV file from the reportUrl and secondaryReportUrl blob link will consist of the following columns of benefit utilization data. UtilizedPercentage will be 0 for savings plans reports and non data bricks reservations. Utilization percentages will be 0 for data bricks reservations. |
| BillingAccountBenefitKind |
Kind/type of the benefit. |
| BudgetNotificationOperatorType |
The comparison operator. Supported for CategoryType(s): Cost, ReservationUtilization. Supported operators for CategoryType: Cost
|
| BudgetOperatorType |
The operator to use for comparison. |
| CategoryType |
The category of the budget.
|
| ComparisonOperatorType |
The operator to use for comparison. |
| CompressionModeType |
Allow customers to select compress data for exports. This setting will enable destination file compression scheme at runtime. By default set to None. Gzip is for csv and snappy for parquet. |
| CostAllocationPolicyType |
Method to use for allocating cost. FixedProportion indicates that cost will be split based on specified percentage values. |
| CostAllocationResourceType |
Category of resource to use for allocation. |
| CostDetailsDataFormat |
The data format of the report. |
| CostDetailsMetricType |
The type of the detailed report. By default ActualCost is provided. |
| CostDetailsStatusType |
The status of the cost details operation. |
| CostManagementAlertCategory |
Alert category. |
| CostManagementAlertOperator |
operator used to compare currentSpend with amount. |
| CostManagementAlertSource |
Source of alert. |
| CostManagementAlertStatus |
alert status. |
| CostManagementAlertType |
type of alert. |
| CostManagementSettingType | |
| CostManagementUnavailabilityReason |
Possible reasons for a name not being available. |
| CultureCode |
Language in which the recipient will receive the notification, Supported for CategoryType(s): Cost, ReservationUtilization. |
| DataOverwriteBehaviorType |
Allow customers to select overwrite data(OverwritePreviousReport) for exports. This setting will enable overwrite data for the same month in customer storage account. By default set to CreateNewReport. |
| DestinationType |
The export delivery destination type. Currently only 'AzureBlob' is supported. |
| ExportFormatType |
The format of the export being delivered. |
| ExportRunExecutionStatus |
The last known status of the export run. |
| ExportRunExecutionType |
The type of the export run. |
| ExportScheduleRecurrenceType |
The schedule recurrence. |
| ExportScheduleStatusType |
The status of the export's schedule. If 'Inactive', the export's schedule is paused. To enable export set the status to be Active and then make a PUT request. |
| ExportType |
The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations. |
| ExternalCloudProviderType | |
| FilterItemNames |
The name of the filter. This is currently only supported for Export Definition type of ReservationRecommendations. Supported names are ['ReservationScope', 'LookBackPeriod', 'ResourceType']. |
| ForecastOperatorType |
The operator to use for comparison. |
| ForecastTimeframe |
The time frame for pulling data for the forecast. |
| ForecastType |
The type of the forecast. |
| Frequency |
Frequency of a notification. Represents how long the notification will be silent after triggering an alert for a threshold breach. If not specified, the frequency will be set by default based on the timeGrain (Weekly when timeGrain: Last7Days, Monthly when timeGrain: Last30Days). Supported for CategoryType(s): ReservationUtilization. |
| FunctionName |
The name of the column to aggregate. |
| FunctionType |
The name of the aggregation function to use. |
| GenerateDetailedCostReportMetricType |
The type of the detailed report. By default ActualCost is provided. |
| GrainContent | |
| GranularityType |
The granularity of rows in the export. Currently 'Daily' is supported for most cases. |
| LookBackPeriod |
The number of days used to look back. |
| OperationStatusType |
Enum representing the status of an async operation. |
| QueryColumnType |
The type of the column in the report. |
| QueryOperatorType |
The operator to use for comparison. |
| ReportConfigSortingType |
Direction of sort. |
| ReportGranularityType |
The granularity of rows in the report. |
| ReportOperationStatusType |
The status of the long running operation. |
| ReportTimeframeType |
The time frame for pulling data for the report. If custom, then a specific time period must be provided. |
| ReservationReportSchema |
The CSV file from the reportUrl blob link consists of reservation usage data with the following schema at daily granularity. |
| RuleStatus |
Current status of the rule. |
| ScheduledActionDaysOfWeek |
Days of Week. |
| ScheduledActionFileFormat |
Destination of the view data. Currently only CSV format is supported. |
| ScheduledActionKind |
Kind of the scheduled action. |
| ScheduledActionStatus |
Status of the scheduled action. |
| ScheduledActionWeeksOfMonth |
Weeks of month. |
| ScheduleFrequency |
Frequency of the schedule. |
| ThresholdType |
The type of threshold. Supported for CategoryType(s): Cost. |
| TimeframeType |
The time frame for pulling data for the export. If custom, then a specific time period must be provided. |
| TimeGrainType |
The time covered by a budget. Tracking of the amount will be reset based on the time grain. Supported for CategoryType(s): Cost, ReservationUtilization. Supported timeGrainTypes for CategoryType: Cost
|
| ViewChartType |
Chart type of the main view in Cost Analysis. Required. |
| ViewKpiType |
KPI type (Forecast, Budget). |
| ViewMetricType |
Metric to use when displaying costs. |
| ViewPivotType |
Data type to show in view. |
| ViewReportType |
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. |