import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Chargeback Plans in Oracle Cloud Infrastructure Opsi service. * * Gets a list of Ops Insights chargeback plans. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testChargebackPlans = oci.opsi.getChargebackPlans({ * chargebackplanId: testChargebackplan.id, * compartmentId: compartmentId, * compartmentIdInSubtree: chargebackPlanCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getChargebackPlans(args?: GetChargebackPlansArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getChargebackPlans. */ export interface GetChargebackPlansArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan. */ chargebackplanId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * A flag to search all resources within a given compartment and all sub-compartments. */ compartmentIdInSubtree?: boolean; filters?: inputs.Opsi.GetChargebackPlansFilter[]; } /** * A collection of values returned by getChargebackPlans. */ export interface GetChargebackPlansResult { /** * The list of chargeback_plan_collection. */ readonly chargebackPlanCollections: outputs.Opsi.GetChargebackPlansChargebackPlanCollection[]; readonly chargebackplanId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; readonly filters?: outputs.Opsi.GetChargebackPlansFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of Chargeback Plans in Oracle Cloud Infrastructure Opsi service. * * Gets a list of Ops Insights chargeback plans. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testChargebackPlans = oci.opsi.getChargebackPlans({ * chargebackplanId: testChargebackplan.id, * compartmentId: compartmentId, * compartmentIdInSubtree: chargebackPlanCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getChargebackPlansOutput(args?: GetChargebackPlansOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getChargebackPlans. */ export interface GetChargebackPlansOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan. */ chargebackplanId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * A flag to search all resources within a given compartment and all sub-compartments. */ compartmentIdInSubtree?: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getChargebackPlans.d.ts.map