import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages an Azure Cost Management View for a Subscription.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.SubscriptionCostManagementView("example", {
 *     name: "example",
 *     displayName: "Cost View per Month",
 *     chartType: "StackedColumn",
 *     accumulated: false,
 *     subscriptionId: "/subscription/00000000-0000-0000-0000-000000000000",
 *     reportType: "Usage",
 *     timeframe: "MonthToDate",
 *     dataset: {
 *         granularity: "Monthly",
 *         aggregations: [{
 *             name: "totalCost",
 *             columnName: "Cost",
 *         }],
 *     },
 *     pivots: [
 *         {
 *             type: "Dimension",
 *             name: "ServiceName",
 *         },
 *         {
 *             type: "Dimension",
 *             name: "ResourceLocation",
 *         },
 *         {
 *             type: "Dimension",
 *             name: "ResourceGroupName",
 *         },
 *     ],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.CostManagement` - 2023-08-01
 *
 * ## Import
 *
 * Cost Management View for a Subscriptions can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:core/subscriptionCostManagementView:SubscriptionCostManagementView example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/views/costmanagementview
 * ```
 */
export declare class SubscriptionCostManagementView extends pulumi.CustomResource {
    /**
     * Get an existing SubscriptionCostManagementView resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionCostManagementViewState, opts?: pulumi.CustomResourceOptions): SubscriptionCostManagementView;
    /**
     * Returns true if the given object is an instance of SubscriptionCostManagementView.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is SubscriptionCostManagementView;
    /**
     * Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    readonly accumulated: pulumi.Output<boolean>;
    /**
     * Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`.
     */
    readonly chartType: pulumi.Output<string>;
    /**
     * A `dataset` block as defined below.
     */
    readonly dataset: pulumi.Output<outputs.core.SubscriptionCostManagementViewDataset>;
    /**
     * User visible input name of the Cost Management View.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * One or more `kpi` blocks as defined below, to show in Cost Analysis UI.
     */
    readonly kpis: pulumi.Output<outputs.core.SubscriptionCostManagementViewKpi[] | undefined>;
    /**
     * The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
     */
    readonly pivots: pulumi.Output<outputs.core.SubscriptionCostManagementViewPivot[] | undefined>;
    /**
     * The type of the report. The only possible value is `Usage`.
     */
    readonly reportType: pulumi.Output<string>;
    /**
     * The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    readonly subscriptionId: pulumi.Output<string>;
    /**
     * The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`.
     */
    readonly timeframe: pulumi.Output<string>;
    /**
     * Create a SubscriptionCostManagementView resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: SubscriptionCostManagementViewArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SubscriptionCostManagementView resources.
 */
export interface SubscriptionCostManagementViewState {
    /**
     * Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    accumulated?: pulumi.Input<boolean | undefined>;
    /**
     * Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`.
     */
    chartType?: pulumi.Input<string | undefined>;
    /**
     * A `dataset` block as defined below.
     */
    dataset?: pulumi.Input<inputs.core.SubscriptionCostManagementViewDataset | undefined>;
    /**
     * User visible input name of the Cost Management View.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * One or more `kpi` blocks as defined below, to show in Cost Analysis UI.
     */
    kpis?: pulumi.Input<pulumi.Input<inputs.core.SubscriptionCostManagementViewKpi>[] | undefined>;
    /**
     * The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
     */
    pivots?: pulumi.Input<pulumi.Input<inputs.core.SubscriptionCostManagementViewPivot>[] | undefined>;
    /**
     * The type of the report. The only possible value is `Usage`.
     */
    reportType?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    subscriptionId?: pulumi.Input<string | undefined>;
    /**
     * The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`.
     */
    timeframe?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SubscriptionCostManagementView resource.
 */
export interface SubscriptionCostManagementViewArgs {
    /**
     * Whether the costs data in the Cost Management View are accumulated over time. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    accumulated: pulumi.Input<boolean>;
    /**
     * Chart type of the main view in Cost Analysis. Possible values are `Area`, `GroupedColumn`, `Line`, `StackedColumn` and `Table`.
     */
    chartType: pulumi.Input<string>;
    /**
     * A `dataset` block as defined below.
     */
    dataset: pulumi.Input<inputs.core.SubscriptionCostManagementViewDataset>;
    /**
     * User visible input name of the Cost Management View.
     */
    displayName: pulumi.Input<string>;
    /**
     * One or more `kpi` blocks as defined below, to show in Cost Analysis UI.
     */
    kpis?: pulumi.Input<pulumi.Input<inputs.core.SubscriptionCostManagementViewKpi>[] | undefined>;
    /**
     * The name which should be used for this Cost Management View for a Subscription. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * One or more `pivot` blocks as defined below, containing the configuration of 3 sub-views in the Cost Analysis UI. Non table views should have three pivots.
     */
    pivots?: pulumi.Input<pulumi.Input<inputs.core.SubscriptionCostManagementViewPivot>[] | undefined>;
    /**
     * The type of the report. The only possible value is `Usage`.
     */
    reportType: pulumi.Input<string>;
    /**
     * The ID of the Subscription this View is scoped to. Changing this forces a new Cost Management View for a Subscription to be created.
     */
    subscriptionId: pulumi.Input<string>;
    /**
     * The time frame for pulling data for the report. Possible values are `Custom`, `MonthToDate`, `WeekToDate` and `YearToDate`.
     */
    timeframe: pulumi.Input<string>;
}
//# sourceMappingURL=subscriptionCostManagementView.d.ts.map