import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a Terraform/OpenTofu Provider from the IaCM Provider Registry. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const aws = harness.platform.getInfraProvider({ * id: "123", * }); * export const providerType = aws.then(aws => aws.type); * export const providerVersions = aws.then(aws => aws.versions); * ``` */ export declare function getInfraProvider(args: GetInfraProviderArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInfraProvider. */ export interface GetInfraProviderArgs { /** * Unique identifier of the provider. */ id: string; } /** * A collection of values returned by getInfraProvider. */ export interface GetInfraProviderResult { /** * Account that owns the provider. */ readonly account: string; /** * Timestamp when the provider was created. */ readonly created: number; /** * Description of the provider. */ readonly description: string; /** * Unique identifier of the provider. */ readonly id: string; /** * Provider type (e.g., aws, azurerm, google). */ readonly type: string; /** * Timestamp when the provider was last updated. */ readonly updated: number; /** * List of provider versions. */ readonly versions: outputs.platform.GetInfraProviderVersion[]; } /** * Data source for retrieving a Terraform/OpenTofu Provider from the IaCM Provider Registry. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const aws = harness.platform.getInfraProvider({ * id: "123", * }); * export const providerType = aws.then(aws => aws.type); * export const providerVersions = aws.then(aws => aws.versions); * ``` */ export declare function getInfraProviderOutput(args: GetInfraProviderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInfraProvider. */ export interface GetInfraProviderOutputArgs { /** * Unique identifier of the provider. */ id: pulumi.Input; } //# sourceMappingURL=getInfraProvider.d.ts.map