import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing Harness IaCM Ansible Playbooks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = new harness.platform.IacmAnsiblePlaybook("example", { * identifier: "my_playbook", * name: "my-playbook", * orgId: exampleHarnessPlatformOrganization.id, * projectId: exampleHarnessPlatformProject.id, * repository: "https://github.com/org/repo", * repositoryBranch: "main", * repositoryPath: "ansible/site.yml", * repositoryConnector: "account.my_github_connector", * ansibleGalaxy: true, * tags: ["env:prod"], * vars: [{ * key: "environment", * value: "production", * valueType: "string", * }], * envVars: [{ * key: "ANSIBLE_CONFIG", * value: "ansible.cfg", * valueType: "string", * }], * }); * ``` */ export declare class IacmAnsiblePlaybook extends pulumi.CustomResource { /** * Get an existing IacmAnsiblePlaybook 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?: IacmAnsiblePlaybookState, opts?: pulumi.CustomResourceOptions): IacmAnsiblePlaybook; /** * Returns true if the given object is an instance of IacmAnsiblePlaybook. 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 IacmAnsiblePlaybook; /** * Install Ansible Galaxy dependencies. */ readonly ansibleGalaxy: pulumi.Output; /** * Path to the Ansible Galaxy requirements file. */ readonly ansibleGalaxyRequirementsFile: pulumi.Output; /** * Description of the resource. */ readonly description: pulumi.Output; /** * Environment variables configured on the playbook. */ readonly envVars: pulumi.Output; /** * Unique identifier of the resource. */ readonly identifier: pulumi.Output; /** * Name of the resource. */ readonly name: pulumi.Output; /** * Unique identifier of the organization. */ readonly orgId: pulumi.Output; /** * Unique identifier of the project. */ readonly projectId: pulumi.Output; /** * Repository name for the playbook. */ readonly repository: pulumi.Output; /** * Repository branch for the playbook. */ readonly repositoryBranch: pulumi.Output; /** * Repository commit or tag for the playbook. */ readonly repositoryCommit: pulumi.Output; /** * Repository connector reference for the playbook. */ readonly repositoryConnector: pulumi.Output; /** * Path within the repository where the playbook resides. */ readonly repositoryPath: pulumi.Output; /** * Tags to associate with the resource. */ readonly tags: pulumi.Output; /** * Variables configured on the playbook. */ readonly vars: pulumi.Output; /** * Create a IacmAnsiblePlaybook 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: IacmAnsiblePlaybookArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IacmAnsiblePlaybook resources. */ export interface IacmAnsiblePlaybookState { /** * Install Ansible Galaxy dependencies. */ ansibleGalaxy?: pulumi.Input; /** * Path to the Ansible Galaxy requirements file. */ ansibleGalaxyRequirementsFile?: pulumi.Input; /** * Description of the resource. */ description?: pulumi.Input; /** * Environment variables configured on the playbook. */ envVars?: pulumi.Input[] | undefined>; /** * Unique identifier of the resource. */ identifier?: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Unique identifier of the project. */ projectId?: pulumi.Input; /** * Repository name for the playbook. */ repository?: pulumi.Input; /** * Repository branch for the playbook. */ repositoryBranch?: pulumi.Input; /** * Repository commit or tag for the playbook. */ repositoryCommit?: pulumi.Input; /** * Repository connector reference for the playbook. */ repositoryConnector?: pulumi.Input; /** * Path within the repository where the playbook resides. */ repositoryPath?: pulumi.Input; /** * Tags to associate with the resource. */ tags?: pulumi.Input[] | undefined>; /** * Variables configured on the playbook. */ vars?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a IacmAnsiblePlaybook resource. */ export interface IacmAnsiblePlaybookArgs { /** * Install Ansible Galaxy dependencies. */ ansibleGalaxy?: pulumi.Input; /** * Path to the Ansible Galaxy requirements file. */ ansibleGalaxyRequirementsFile?: pulumi.Input; /** * Description of the resource. */ description?: pulumi.Input; /** * Environment variables configured on the playbook. */ envVars?: pulumi.Input[] | undefined>; /** * Unique identifier of the resource. */ identifier: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId: pulumi.Input; /** * Unique identifier of the project. */ projectId: pulumi.Input; /** * Repository name for the playbook. */ repository?: pulumi.Input; /** * Repository branch for the playbook. */ repositoryBranch?: pulumi.Input; /** * Repository commit or tag for the playbook. */ repositoryCommit?: pulumi.Input; /** * Repository connector reference for the playbook. */ repositoryConnector?: pulumi.Input; /** * Path within the repository where the playbook resides. */ repositoryPath: pulumi.Input; /** * Tags to associate with the resource. */ tags?: pulumi.Input[] | undefined>; /** * Variables configured on the playbook. */ vars?: pulumi.Input[] | undefined>; } //# sourceMappingURL=iacmAnsiblePlaybook.d.ts.map