import * as pulumi from "@pulumi/pulumi"; /** * This data source allows you to retrieve information about a specific account in New Relic. * * ## Overview * * You can locate accounts using either their `accountId` or `name`. However, only one of these attributes can be specified at a time. If neither attribute is provided, the provider's default `accountId` will be used. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.getAccount({ * name: "Test Account", * }); * ``` */ export declare function getAccount(args?: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountArgs { /** * The unique identifier of the account in New Relic. This must be an integer. */ accountId?: string; /** * The name of the account in New Relic. This must be a string. */ name?: string; scope?: string; } /** * A collection of values returned by getAccount. */ export interface GetAccountResult { readonly accountId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; readonly region: string; readonly scope?: string; } /** * This data source allows you to retrieve information about a specific account in New Relic. * * ## Overview * * You can locate accounts using either their `accountId` or `name`. However, only one of these attributes can be specified at a time. If neither attribute is provided, the provider's default `accountId` will be used. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.getAccount({ * name: "Test Account", * }); * ``` */ export declare function getAccountOutput(args?: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountOutputArgs { /** * The unique identifier of the account in New Relic. This must be an integer. */ accountId?: pulumi.Input; /** * The name of the account in New Relic. This must be a string. */ name?: pulumi.Input; scope?: pulumi.Input; } //# sourceMappingURL=getAccount.d.ts.map