import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing Terraform/OpenTofu Provider Versions in the IaCM Provider Registry. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // First, create a provider * const aws = new harness.platform.InfraProvider("aws", { * type: "aws", * description: "AWS provider for IaCM", * }); * // Then create a version for that provider * const awsV5 = new harness.platform.InfraProviderVersion("aws_v5", { * providerId: aws.id, * version: "5.0.0", * gpgKeyId: "your-gpg-key-id", * protocols: [ * "5.0", * "6.0", * ], * }); * const awsV4 = new harness.platform.InfraProviderVersion("aws_v4", { * providerId: aws.id, * version: "4.67.0", * gpgKeyId: "your-gpg-key-id", * protocols: ["5.0"], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import harness:platform/infraProviderVersion:InfraProviderVersion example / * ``` */ export declare class InfraProviderVersion extends pulumi.CustomResource { /** * Get an existing InfraProviderVersion resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: InfraProviderVersionState, opts?: pulumi.CustomResourceOptions): InfraProviderVersion; /** * Returns true if the given object is an instance of InfraProviderVersion. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is InfraProviderVersion; /** * GPG key ID for signing. */ readonly gpgKeyId: pulumi.Output; /** * Supported Terraform protocol versions (e.g., ['5.0', '6.0']). */ readonly protocols: pulumi.Output; /** * The ID of the provider this version belongs to. */ readonly providerId: pulumi.Output; /** * Version number (e.g., 1.0.0). */ readonly version: pulumi.Output; /** * Create a InfraProviderVersion resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InfraProviderVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InfraProviderVersion resources. */ export interface InfraProviderVersionState { /** * GPG key ID for signing. */ gpgKeyId?: pulumi.Input; /** * Supported Terraform protocol versions (e.g., ['5.0', '6.0']). */ protocols?: pulumi.Input[] | undefined>; /** * The ID of the provider this version belongs to. */ providerId?: pulumi.Input; /** * Version number (e.g., 1.0.0). */ version?: pulumi.Input; } /** * The set of arguments for constructing a InfraProviderVersion resource. */ export interface InfraProviderVersionArgs { /** * GPG key ID for signing. */ gpgKeyId: pulumi.Input; /** * Supported Terraform protocol versions (e.g., ['5.0', '6.0']). */ protocols: pulumi.Input[]>; /** * The ID of the provider this version belongs to. */ providerId: pulumi.Input; /** * Version number (e.g., 1.0.0). */ version: pulumi.Input; } //# sourceMappingURL=infraProviderVersion.d.ts.map