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 Billing Schedules in Oracle Cloud Infrastructure Onesubscription service. * * This list API returns all billing schedules for given subscription id and * for a particular Subscribed Service if provided * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBillingSchedules = oci.onesubsription.getBillingSchedules({ * compartmentId: compartmentId, * subscriptionId: testSubscription.id, * subscribedServiceId: testSubscribedService.id, * }); * ``` */ export declare function getBillingSchedules(args: GetBillingSchedulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBillingSchedules. */ export interface GetBillingSchedulesArgs { /** * The OCID of the root compartment. */ compartmentId: string; filters?: inputs.OneSubsription.GetBillingSchedulesFilter[]; /** * This param is used to get only the billing schedules for a particular Subscribed Service */ subscribedServiceId?: string; /** * This param is used to get only the billing schedules for a particular Subscription Id */ subscriptionId: string; } /** * A collection of values returned by getBillingSchedules. */ export interface GetBillingSchedulesResult { /** * The list of billing_schedules. */ readonly billingSchedules: outputs.OneSubsription.GetBillingSchedulesBillingSchedule[]; readonly compartmentId: string; readonly filters?: outputs.OneSubsription.GetBillingSchedulesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * SPM internal Subscribed Service ID */ readonly subscribedServiceId?: string; readonly subscriptionId: string; } /** * This data source provides the list of Billing Schedules in Oracle Cloud Infrastructure Onesubscription service. * * This list API returns all billing schedules for given subscription id and * for a particular Subscribed Service if provided * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBillingSchedules = oci.onesubsription.getBillingSchedules({ * compartmentId: compartmentId, * subscriptionId: testSubscription.id, * subscribedServiceId: testSubscribedService.id, * }); * ``` */ export declare function getBillingSchedulesOutput(args: GetBillingSchedulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBillingSchedules. */ export interface GetBillingSchedulesOutputArgs { /** * The OCID of the root compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * This param is used to get only the billing schedules for a particular Subscribed Service */ subscribedServiceId?: pulumi.Input; /** * This param is used to get only the billing schedules for a particular Subscription Id */ subscriptionId: pulumi.Input; } //# sourceMappingURL=getBillingSchedules.d.ts.map