import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Custom Table resource in Oracle Cloud Infrastructure Metering Computation service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/usage/latest/CustomTable * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/metering_computation * * Returns the created custom table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCustomTable = new oci.meteringcomputation.CustomTable("test_custom_table", { * compartmentId: compartmentId, * savedCustomTable: { * displayName: customTableSavedCustomTableDisplayName, * columnGroupBies: customTableSavedCustomTableColumnGroupBy, * compartmentDepth: customTableSavedCustomTableCompartmentDepth, * groupByTags: [{ * key: customTableSavedCustomTableGroupByTagKey, * namespace: customTableSavedCustomTableGroupByTagNamespace, * value: customTableSavedCustomTableGroupByTagValue, * }], * rowGroupBies: customTableSavedCustomTableRowGroupBy, * version: customTableSavedCustomTableVersion, * }, * savedReportId: testSavedReport.id, * }); * ``` * * ## Import * * CustomTables can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:MeteringComputation/customTable:CustomTable test_custom_table "id" * ``` */ export declare class CustomTable extends pulumi.CustomResource { /** * Get an existing CustomTable 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, state?: CustomTableState, opts?: pulumi.CustomResourceOptions): CustomTable; /** * Returns true if the given object is an instance of CustomTable. 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 CustomTable; /** * The compartment OCID. */ readonly compartmentId: pulumi.Output; /** * (Updatable) The custom table for Cost Analysis UI rendering. */ readonly savedCustomTable: pulumi.Output; /** * The associated saved report OCID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly savedReportId: pulumi.Output; /** * Create a CustomTable 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: CustomTableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomTable resources. */ export interface CustomTableState { /** * The compartment OCID. */ compartmentId?: pulumi.Input; /** * (Updatable) The custom table for Cost Analysis UI rendering. */ savedCustomTable?: pulumi.Input; /** * The associated saved report OCID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ savedReportId?: pulumi.Input; } /** * The set of arguments for constructing a CustomTable resource. */ export interface CustomTableArgs { /** * The compartment OCID. */ compartmentId: pulumi.Input; /** * (Updatable) The custom table for Cost Analysis UI rendering. */ savedCustomTable: pulumi.Input; /** * The associated saved report OCID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ savedReportId: pulumi.Input; } //# sourceMappingURL=customTable.d.ts.map