Package-level declarations

Types

Link copied to clipboard
data class CommonExportPropertiesResponse(val definition: ExportDefinitionResponse, val deliveryInfo: ExportDeliveryInfoResponse, val format: String? = null, val nextRunTimeEstimate: String, val runHistory: ExportExecutionListResultResponse? = null)

The common properties of the export.

Link copied to clipboard
data class ConnectorCollectionErrorInfoResponse(val errorCode: String, val errorInnerMessage: String, val errorMessage: String, val errorStartTime: String)

Details of any error encountered on last collection attempt

Link copied to clipboard
data class ConnectorCollectionInfoResponse(val error: ConnectorCollectionErrorInfoResponse? = null, val lastChecked: String, val lastUpdated: String, val sourceLastUpdated: String)

Collection and ingestion information

Link copied to clipboard
data class CostAllocationProportionResponse(val name: String, val percentage: Double)

Target resources and allocation

Link copied to clipboard
data class CostAllocationRuleDetailsResponse(val sourceResources: List<SourceCostAllocationResourceResponse>? = null, val targetResources: List<TargetCostAllocationResourceResponse>? = null)

Resource details of the cost allocation rule

Link copied to clipboard
data class CostAllocationRulePropertiesResponse(val createdDate: String, val description: String? = null, val details: CostAllocationRuleDetailsResponse, val status: String, val updatedDate: String)

The properties of a cost allocation rule

Link copied to clipboard
data class ErrorDetailsResponse(val code: String, val message: String)

The details of the error.

Link copied to clipboard
data class ExportDatasetConfigurationResponse(val columns: List<String>? = null)

The export dataset configuration. Allows columns to be selected for the export. If not provided then the export will include all available columns.

Link copied to clipboard
data class ExportDatasetResponse(val configuration: ExportDatasetConfigurationResponse? = null, val granularity: String? = null)

The definition for data in the export.

Link copied to clipboard
data class ExportDefinitionResponse(val dataSet: ExportDatasetResponse? = null, val timePeriod: ExportTimePeriodResponse? = null, val timeframe: String, val type: String)

The definition of an export.

Link copied to clipboard
data class ExportDeliveryDestinationResponse(val container: String, val resourceId: String, val rootFolderPath: String? = null)

The destination information for the delivery of the export. To allow access to a storage account, you must register the account's subscription with the Microsoft.CostManagementExports resource provider. This is required once per subscription. When creating an export in the Azure portal, it is done automatically, however API users need to register the subscription. For more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services .

Link copied to clipboard

The delivery information associated with a export.

Link copied to clipboard

Result of listing the execution history of an export.

Link copied to clipboard
data class ExportExecutionResponse(val eTag: String? = null, val error: ErrorDetailsResponse? = null, val executionType: String? = null, val fileName: String? = null, val id: String, val name: String, val processingEndTime: String? = null, val processingStartTime: String? = null, val runSettings: CommonExportPropertiesResponse? = null, val status: String? = null, val submittedBy: String? = null, val submittedTime: String? = null, val type: String)

An export execution.

Link copied to clipboard
data class ExportRecurrencePeriodResponse(val from: String, val to: String? = null)

The start and end date for recurrence schedule.

Link copied to clipboard
data class ExportScheduleResponse(val recurrence: String? = null, val recurrencePeriod: ExportRecurrencePeriodResponse? = null, val status: String? = null)

The schedule associated with the export.

Link copied to clipboard
data class ExportTimePeriodResponse(val from: String, val to: String)

The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months.

Link copied to clipboard
data class FileDestinationResponse(val fileFormats: List<String>? = null)

Destination of the view data. Currently only csv format is supported.

Link copied to clipboard
data class GetCloudConnectorResult(val billingModel: String? = null, val collectionInfo: ConnectorCollectionInfoResponse, val createdOn: String, val credentialsKey: String? = null, val daysTrialRemaining: Int, val defaultManagementGroupId: String? = null, val displayName: String? = null, val externalBillingAccountId: String, val id: String, val kind: String? = null, val modifiedOn: String, val name: String, val providerBillingAccountDisplayName: String, val providerBillingAccountId: String, val reportId: String? = null, val status: String, val subscriptionId: String? = null, val type: String)

The Connector model definition

Link copied to clipboard
data class GetCostAllocationRuleResult(val id: String, val name: String, val properties: CostAllocationRulePropertiesResponse, val type: String)

The cost allocation rule model definition

Link copied to clipboard
data class GetExportResult(val definition: ExportDefinitionResponse, val deliveryInfo: ExportDeliveryInfoResponse, val eTag: String? = null, val format: String? = null, val id: String, val name: String, val nextRunTimeEstimate: String, val runHistory: ExportExecutionListResultResponse? = null, val schedule: ExportScheduleResponse? = null, val type: String)

An export resource.

Link copied to clipboard
data class GetReportByBillingAccountResult(val definition: ReportDefinitionResponse, val deliveryInfo: ReportDeliveryInfoResponse, val format: String? = null, val id: String, val name: String, val schedule: ReportScheduleResponse? = null, val tags: Map<String, String>, val type: String)

A report resource.

Link copied to clipboard
data class GetReportByDepartmentResult(val definition: ReportDefinitionResponse, val deliveryInfo: ReportDeliveryInfoResponse, val format: String? = null, val id: String, val name: String, val schedule: ReportScheduleResponse? = null, val tags: Map<String, String>, val type: String)

A report resource.

Link copied to clipboard
data class GetReportByResourceGroupNameResult(val definition: ReportDefinitionResponse, val deliveryInfo: ReportDeliveryInfoResponse, val format: String? = null, val id: String, val name: String, val schedule: ReportScheduleResponse? = null, val tags: Map<String, String>, val type: String)

A report resource.

Link copied to clipboard
data class GetReportResult(val definition: ReportDefinitionResponse, val deliveryInfo: ReportDeliveryInfoResponse, val format: String? = null, val id: String, val name: String, val schedule: ReportScheduleResponse? = null, val tags: Map<String, String>, val type: String)

A report resource.

Link copied to clipboard
data class GetScheduledActionByScopeResult(val displayName: String, val eTag: String, val fileDestination: FileDestinationResponse? = null, val id: String, val kind: String? = null, val name: String, val notification: NotificationPropertiesResponse, val schedule: SchedulePropertiesResponse, val scope: String? = null, val status: String, val systemData: SystemDataResponse, val type: String, val viewId: String)

Scheduled action definition.

Link copied to clipboard
data class GetScheduledActionResult(val displayName: String, val eTag: String, val fileDestination: FileDestinationResponse? = null, val id: String, val kind: String? = null, val name: String, val notification: NotificationPropertiesResponse, val schedule: SchedulePropertiesResponse, val scope: String? = null, val status: String, val systemData: SystemDataResponse, val type: String, val viewId: String)

Scheduled action definition.

Link copied to clipboard
data class GetSettingResult(val cache: List<SettingsPropertiesResponseCache>? = null, val id: String, val kind: String, val name: String, val scope: String, val startOn: String? = null, val type: String)

State of the myscope setting.

Link copied to clipboard
data class GetViewByScopeResult(val accumulated: String? = null, val chart: String? = null, val createdOn: String, val currency: String, val dataSet: ReportConfigDatasetResponse? = null, val dateRange: String, val displayName: String? = null, val eTag: String? = null, val id: String, val includeMonetaryCommitment: Boolean, val kpis: List<KpiPropertiesResponse>? = null, val metric: String? = null, val modifiedOn: String, val name: String, val pivots: List<PivotPropertiesResponse>? = null, val scope: String? = null, val timePeriod: ReportConfigTimePeriodResponse? = null, val timeframe: String, val type: String)

States and configurations of Cost Analysis.

Link copied to clipboard
data class GetViewResult(val accumulated: String? = null, val chart: String? = null, val createdOn: String, val currency: String, val dataSet: ReportConfigDatasetResponse? = null, val dateRange: String, val displayName: String? = null, val eTag: String? = null, val id: String, val includeMonetaryCommitment: Boolean, val kpis: List<KpiPropertiesResponse>? = null, val metric: String? = null, val modifiedOn: String, val name: String, val pivots: List<PivotPropertiesResponse>? = null, val scope: String? = null, val timePeriod: ReportConfigTimePeriodResponse? = null, val timeframe: String, val type: String)

States and configurations of Cost Analysis.

Link copied to clipboard
data class KpiPropertiesResponse(val enabled: Boolean? = null, val id: String? = null, val type: String? = null)

Each KPI must contain a 'type' and 'enabled' key.

Link copied to clipboard
data class NotificationPropertiesResponse(val message: String? = null, val subject: String, val to: List<String>)

The properties of the scheduled action notification.

Link copied to clipboard
data class PivotPropertiesResponse(val name: String? = null, val type: String? = null)

Each pivot must contain a 'type' and 'name'.

Link copied to clipboard
data class ReportAggregationResponse(val function: String, val name: String)

The aggregation expression to be used in the report.

Link copied to clipboard
data class ReportComparisonExpressionResponse(val name: String, val operator: String, val values: List<String>)

The comparison expression to be used in the report.

Link copied to clipboard
data class ReportConfigAggregationResponse(val function: String, val name: String)

The aggregation expression to be used in the report.

Link copied to clipboard
data class ReportConfigComparisonExpressionResponse(val name: String, val operator: String, val values: List<String>)

The comparison expression to be used in the report.

Link copied to clipboard
data class ReportConfigDatasetConfigurationResponse(val columns: List<String>? = null)

The configuration of dataset in the report.

Link copied to clipboard
data class ReportConfigDatasetResponse(val aggregation: Map<String, ReportConfigAggregationResponse>? = null, val configuration: ReportConfigDatasetConfigurationResponse? = null, val filter: ReportConfigFilterResponse? = null, val granularity: String? = null, val grouping: List<ReportConfigGroupingResponse>? = null, val sorting: List<ReportConfigSortingResponse>? = null)

The definition of data present in the report.

Link copied to clipboard

The filter expression to be used in the report.

Link copied to clipboard
data class ReportConfigGroupingResponse(val name: String, val type: String)

The group by expression to be used in the report.

Link copied to clipboard
data class ReportConfigSortingResponse(val direction: String? = null, val name: String)

The order by expression to be used in the report.

Link copied to clipboard
data class ReportConfigTimePeriodResponse(val from: String, val to: String)

The start and end date for pulling data for the report.

Link copied to clipboard
data class ReportDatasetConfigurationResponse(val columns: List<String>? = null)

The configuration of dataset in the report.

Link copied to clipboard
data class ReportDatasetResponse(val aggregation: Map<String, ReportAggregationResponse>? = null, val configuration: ReportDatasetConfigurationResponse? = null, val filter: ReportFilterResponse? = null, val granularity: String? = null, val grouping: List<ReportGroupingResponse>? = null)

The definition of data present in the report.

Link copied to clipboard
data class ReportDefinitionResponse(val dataset: ReportDatasetResponse? = null, val timePeriod: ReportTimePeriodResponse? = null, val timeframe: String, val type: String)

The definition of a report.

Link copied to clipboard
data class ReportDeliveryDestinationResponse(val container: String, val resourceId: String, val rootFolderPath: String? = null)

The destination information for the delivery of the report.

Link copied to clipboard

The delivery information associated with a report.

Link copied to clipboard
data class ReportFilterResponse(val and: List<ReportFilterResponse>? = null, val dimension: ReportComparisonExpressionResponse? = null, val not: ReportFilterResponse? = null, val or: List<ReportFilterResponse>? = null, val tag: ReportComparisonExpressionResponse? = null)

The filter expression to be used in the report.

Link copied to clipboard
data class ReportGroupingResponse(val name: String, val type: String)

The group by expression to be used in the report.

Link copied to clipboard
data class ReportRecurrencePeriodResponse(val from: String, val to: String? = null)

The start and end date for recurrence schedule.

Link copied to clipboard
data class ReportScheduleResponse(val recurrence: String, val recurrencePeriod: ReportRecurrencePeriodResponse? = null, val status: String? = null)

The schedule associated with a report.

Link copied to clipboard
data class ReportTimePeriodResponse(val from: String, val to: String)

The start and end date for pulling data for the report.

Link copied to clipboard
data class SchedulePropertiesResponse(val dayOfMonth: Int? = null, val daysOfWeek: List<String>? = null, val endDate: String, val frequency: String, val hourOfDay: Int? = null, val startDate: String, val weeksOfMonth: List<String>? = null)

The properties of the schedule.

Link copied to clipboard
data class SettingsPropertiesResponseCache(val channel: String, val id: String, val name: String, val parent: String? = null, val status: String? = null, val subchannel: String)
Link copied to clipboard
data class SourceCostAllocationResourceResponse(val name: String, val resourceType: String, val values: List<String>)

Source resources for cost allocation

Link copied to clipboard
data class SystemDataResponse(val createdAt: String? = null, val createdBy: String? = null, val createdByType: String? = null, val lastModifiedAt: String? = null, val lastModifiedBy: String? = null, val lastModifiedByType: String? = null)

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
data class TargetCostAllocationResourceResponse(val name: String, val policyType: String, val resourceType: String, val values: List<CostAllocationProportionResponse>)

Target resources for cost allocation.