import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about a bank account payment mean associated with an OVHcloud account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ba = ovh.Me.getPaymentmeanBankAccount({ * useDefault: true, * }); * ``` */ export declare function getPaymentmeanBankAccount(args?: GetPaymentmeanBankAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPaymentmeanBankAccount. */ export interface GetPaymentmeanBankAccountArgs { /** * a regexp used to filter bank accounts on their `description` attributes. */ descriptionRegexp?: string; /** * Filter bank accounts on their `state` attribute. Can be "blockedForIncidents", "valid", "pendingValidation" */ state?: string; /** * Retrieve bank account marked as default payment mean. */ useDefault?: boolean; /** * Retrieve oldest bank account. project. */ useOldest?: boolean; } /** * A collection of values returned by getPaymentmeanBankAccount. */ export interface GetPaymentmeanBankAccountResult { /** * a boolean which tells if the retrieved bank account is marked as the default payment mean */ readonly default: boolean; /** * the description attribute of the bank account */ readonly description: string; readonly descriptionRegexp?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly state: string; readonly useDefault?: boolean; readonly useOldest?: boolean; } /** * Use this data source to retrieve information about a bank account payment mean associated with an OVHcloud account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ba = ovh.Me.getPaymentmeanBankAccount({ * useDefault: true, * }); * ``` */ export declare function getPaymentmeanBankAccountOutput(args?: GetPaymentmeanBankAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPaymentmeanBankAccount. */ export interface GetPaymentmeanBankAccountOutputArgs { /** * a regexp used to filter bank accounts on their `description` attributes. */ descriptionRegexp?: pulumi.Input; /** * Filter bank accounts on their `state` attribute. Can be "blockedForIncidents", "valid", "pendingValidation" */ state?: pulumi.Input; /** * Retrieve bank account marked as default payment mean. */ useDefault?: pulumi.Input; /** * Retrieve oldest bank account. project. */ useOldest?: pulumi.Input; }