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 Osub Billing Schedule 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.osubbillingschedule.getBillingSchedule({ * compartmentId: compartmentId, * subscriptionId: testSubscription.id, * subscribedServiceId: testService.id, * xOneOriginRegion: billingScheduleXOneOriginRegion, * }); * ``` */ export declare function getBillingSchedule(args: GetBillingScheduleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBillingSchedule. */ export interface GetBillingScheduleArgs { /** * The OCID of the compartment. */ compartmentId: string; filters?: inputs.OsubBillingSchedule.GetBillingScheduleFilter[]; /** * 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; /** * The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc. */ xOneOriginRegion?: string; } /** * A collection of values returned by getBillingSchedule. */ export interface GetBillingScheduleResult { /** * The list of billing_schedules. */ readonly billingSchedules: outputs.OsubBillingSchedule.GetBillingScheduleBillingSchedule[]; readonly compartmentId: string; readonly filters?: outputs.OsubBillingSchedule.GetBillingScheduleFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly subscribedServiceId?: string; readonly subscriptionId: string; readonly xOneOriginRegion?: string; } /** * This data source provides the list of Billing Schedules in Oracle Cloud Infrastructure Osub Billing Schedule 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.osubbillingschedule.getBillingSchedule({ * compartmentId: compartmentId, * subscriptionId: testSubscription.id, * subscribedServiceId: testService.id, * xOneOriginRegion: billingScheduleXOneOriginRegion, * }); * ``` */ export declare function getBillingScheduleOutput(args: GetBillingScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBillingSchedule. */ export interface GetBillingScheduleOutputArgs { /** * The OCID of the 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; /** * The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc. */ xOneOriginRegion?: pulumi.Input; } //# sourceMappingURL=getBillingSchedule.d.ts.map