import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing Terraform/Tofu Modules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = new harness.platform.InfraModule("example", { * moduleId: 1234, * org: "default", * project: "project", * providerConnector: "account.connector", * provisionerType: "tofu", * provisionerVersion: "1.9.4", * pipelines: [ * "pipelinea", * "pipelineb", * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import harness:platform/infraModuleTesting:InfraModuleTesting example * ``` */ export declare class InfraModuleTesting extends pulumi.CustomResource { /** * Get an existing InfraModuleTesting 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?: InfraModuleTestingState, opts?: pulumi.CustomResourceOptions): InfraModuleTesting; /** * Returns true if the given object is an instance of InfraModuleTesting. 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 InfraModuleTesting; /** * Account that owns the module */ readonly account: pulumi.Output; /** * Timestamp when the module was created */ readonly created: pulumi.Output; /** * Description of the module */ readonly description: pulumi.Output; /** * Git Tag Style */ readonly gitTagStyle: pulumi.Output; /** * Error while retrieving the module */ readonly moduleError: pulumi.Output; /** * Identifier of the module to enable testing for */ readonly moduleId: pulumi.Output; /** * Name of the module */ readonly name: pulumi.Output; /** * Organization identifier */ readonly org: pulumi.Output; /** * List of pipeline IDs to create webhooks for triggering test executions */ readonly pipelines: pulumi.Output; /** * Project identifier */ readonly project: pulumi.Output; /** * Provider connector for testing purposes */ readonly providerConnector: pulumi.Output; /** * Provisioner type for testing purposes (e.g., terraform, tofu) */ readonly provisionerType: pulumi.Output; /** * Provisioner version for testing purposes */ readonly provisionerVersion: pulumi.Output; /** * Pipeline ID to create webhooks for releases */ readonly releasePipeline: pulumi.Output; /** * For account connectors, the repository where the module is stored */ readonly repository: pulumi.Output; /** * Repository Branch in which the module should be accessed */ readonly repositoryBranch: pulumi.Output; /** * Repository Commit in which the module should be accessed */ readonly repositoryCommit: pulumi.Output; /** * Repository Connector is the reference to the connector for the repository */ readonly repositoryConnector: pulumi.Output; /** * Repository Path is the path in which the module resides */ readonly repositoryPath: pulumi.Output; /** * URL where the module is stored */ readonly repositoryUrl: pulumi.Output; /** * Timestamp when the module was last synced */ readonly synced: pulumi.Output; /** * Provider of the module */ readonly system: pulumi.Output; /** * Tags associated with the module */ readonly tags: pulumi.Output; /** * Whether testing is enabled for the module */ readonly testingEnabled: pulumi.Output; /** * Testing metadata for the module */ readonly testingMetadata: pulumi.Output; /** * Timestamp when the module was last modified */ readonly updated: pulumi.Output; /** * Versions of the module */ readonly versions: pulumi.Output; /** * Create a InfraModuleTesting 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: InfraModuleTestingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InfraModuleTesting resources. */ export interface InfraModuleTestingState { /** * Account that owns the module */ account?: pulumi.Input; /** * Timestamp when the module was created */ created?: pulumi.Input; /** * Description of the module */ description?: pulumi.Input; /** * Git Tag Style */ gitTagStyle?: pulumi.Input; /** * Error while retrieving the module */ moduleError?: pulumi.Input; /** * Identifier of the module to enable testing for */ moduleId?: pulumi.Input; /** * Name of the module */ name?: pulumi.Input; /** * Organization identifier */ org?: pulumi.Input; /** * List of pipeline IDs to create webhooks for triggering test executions */ pipelines?: pulumi.Input[] | undefined>; /** * Project identifier */ project?: pulumi.Input; /** * Provider connector for testing purposes */ providerConnector?: pulumi.Input; /** * Provisioner type for testing purposes (e.g., terraform, tofu) */ provisionerType?: pulumi.Input; /** * Provisioner version for testing purposes */ provisionerVersion?: pulumi.Input; /** * Pipeline ID to create webhooks for releases */ releasePipeline?: pulumi.Input; /** * For account connectors, the repository where the module is stored */ repository?: pulumi.Input; /** * Repository Branch in which the module should be accessed */ repositoryBranch?: pulumi.Input; /** * Repository Commit in which the module should be accessed */ repositoryCommit?: pulumi.Input; /** * Repository Connector is the reference to the connector for the repository */ repositoryConnector?: pulumi.Input; /** * Repository Path is the path in which the module resides */ repositoryPath?: pulumi.Input; /** * URL where the module is stored */ repositoryUrl?: pulumi.Input; /** * Timestamp when the module was last synced */ synced?: pulumi.Input; /** * Provider of the module */ system?: pulumi.Input; /** * Tags associated with the module */ tags?: pulumi.Input; /** * Whether testing is enabled for the module */ testingEnabled?: pulumi.Input; /** * Testing metadata for the module */ testingMetadata?: pulumi.Input; /** * Timestamp when the module was last modified */ updated?: pulumi.Input; /** * Versions of the module */ versions?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a InfraModuleTesting resource. */ export interface InfraModuleTestingArgs { /** * Identifier of the module to enable testing for */ moduleId: pulumi.Input; /** * Organization identifier */ org: pulumi.Input; /** * List of pipeline IDs to create webhooks for triggering test executions */ pipelines: pulumi.Input[]>; /** * Project identifier */ project: pulumi.Input; /** * Provider connector for testing purposes */ providerConnector: pulumi.Input; /** * Provisioner type for testing purposes (e.g., terraform, tofu) */ provisionerType: pulumi.Input; /** * Provisioner version for testing purposes */ provisionerVersion: pulumi.Input; /** * Pipeline ID to create webhooks for releases */ releasePipeline?: pulumi.Input; /** * Whether testing is enabled for the module */ testingEnabled?: pulumi.Input; /** * Testing metadata for the module */ testingMetadata?: pulumi.Input; /** * Timestamp when the module was last modified */ updated?: pulumi.Input; /** * Versions of the module */ versions?: pulumi.Input[] | undefined>; } //# sourceMappingURL=infraModuleTesting.d.ts.map