import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for listing Terraform/OpenTofu Provider Versions from the IaCM Provider Registry. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * import * as std from "@pulumi/std"; * * const awsVersions = harness.platform.getInfraProviderVersions({ * account: "your-account-id", * type: "aws", * }); * export const allAwsVersions = awsVersions.then(awsVersions => awsVersions.versions); * const v6CompatibleVersions = Promise.all([awsVersions, std.contains({ * input: v.protocols, * element: "6.0", * })]).then(([awsVersions, invoke]) => .filter(v => invoke.result).map(v => (v))); * ``` */ export declare function getInfraProviderVersions(args: GetInfraProviderVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInfraProviderVersions. */ export interface GetInfraProviderVersionsArgs { /** * Account identifier. */ account: string; /** * Provider type (e.g., aws, azurerm, google). */ type: string; } /** * A collection of values returned by getInfraProviderVersions. */ export interface GetInfraProviderVersionsResult { /** * Account identifier. */ readonly account: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Provider type (e.g., aws, azurerm, google). */ readonly type: string; /** * List of provider versions. */ readonly versions: outputs.platform.GetInfraProviderVersionsVersion[]; } /** * Data source for listing Terraform/OpenTofu Provider Versions from the IaCM Provider Registry. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * import * as std from "@pulumi/std"; * * const awsVersions = harness.platform.getInfraProviderVersions({ * account: "your-account-id", * type: "aws", * }); * export const allAwsVersions = awsVersions.then(awsVersions => awsVersions.versions); * const v6CompatibleVersions = Promise.all([awsVersions, std.contains({ * input: v.protocols, * element: "6.0", * })]).then(([awsVersions, invoke]) => .filter(v => invoke.result).map(v => (v))); * ``` */ export declare function getInfraProviderVersionsOutput(args: GetInfraProviderVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInfraProviderVersions. */ export interface GetInfraProviderVersionsOutputArgs { /** * Account identifier. */ account: pulumi.Input; /** * Provider type (e.g., aws, azurerm, google). */ type: pulumi.Input; } //# sourceMappingURL=getInfraProviderVersions.d.ts.map