import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating a Template. Description field is deprecated * * ## Import * * The `pulumi import` command can be used, for example: * * Import account level template * * ```sh * $ pulumi import harness:platform/template:Template example * ``` * * Import org level template * * ```sh * $ pulumi import harness:platform/template:Template example / * ``` * * Import project level template * * ```sh * $ pulumi import harness:platform/template:Template example // * ``` */ export declare class Template extends pulumi.CustomResource { /** * Get an existing Template 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?: TemplateState, opts?: pulumi.CustomResourceOptions): Template; /** * Returns true if the given object is an instance of Template. 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 Template; /** * Specify comment with respect to changes. */ readonly comments: pulumi.Output; /** * Description of the entity. Description field is deprecated * * @deprecated description field is deprecated */ readonly description: pulumi.Output; /** * Enable this flag for force deletion of template. It will delete the Harness entity even if your pipelines or other entities reference it */ readonly forceDelete: pulumi.Output; /** * Contains parameters related to creating an Entity for Git Experience. */ readonly gitDetails: pulumi.Output; /** * Contains Git Information for importing entities from Git */ readonly gitImportDetails: pulumi.Output; /** * Unique identifier of the resource */ readonly identifier: pulumi.Output; /** * Flag to set if importing from Git */ readonly importFromGit: pulumi.Output; /** * True if given version for template to be set as stable. */ readonly isStable: pulumi.Output; /** * Name of the Variable */ readonly name: pulumi.Output; /** * Organization Identifier for the Entity */ readonly orgId: pulumi.Output; /** * Project Identifier for the Entity */ readonly projectId: pulumi.Output; /** * Tags to associate with the resource. */ readonly tags: pulumi.Output; /** * Contains parameters for importing template. */ readonly templateImportRequest: pulumi.Output; /** * Yaml for creating new Template. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId. */ readonly templateYaml: pulumi.Output; /** * Version Label for Template. */ readonly version: pulumi.Output; /** * Create a Template 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: TemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Template resources. */ export interface TemplateState { /** * Specify comment with respect to changes. */ comments?: pulumi.Input; /** * Description of the entity. Description field is deprecated * * @deprecated description field is deprecated */ description?: pulumi.Input; /** * Enable this flag for force deletion of template. It will delete the Harness entity even if your pipelines or other entities reference it */ forceDelete?: pulumi.Input; /** * Contains parameters related to creating an Entity for Git Experience. */ gitDetails?: pulumi.Input; /** * Contains Git Information for importing entities from Git */ gitImportDetails?: pulumi.Input; /** * Unique identifier of the resource */ identifier?: pulumi.Input; /** * Flag to set if importing from Git */ importFromGit?: pulumi.Input; /** * True if given version for template to be set as stable. */ isStable?: pulumi.Input; /** * Name of the Variable */ name?: pulumi.Input; /** * Organization Identifier for the Entity */ orgId?: pulumi.Input; /** * Project Identifier for the Entity */ projectId?: pulumi.Input; /** * Tags to associate with the resource. */ tags?: pulumi.Input[] | undefined>; /** * Contains parameters for importing template. */ templateImportRequest?: pulumi.Input; /** * Yaml for creating new Template. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId. */ templateYaml?: pulumi.Input; /** * Version Label for Template. */ version?: pulumi.Input; } /** * The set of arguments for constructing a Template resource. */ export interface TemplateArgs { /** * Specify comment with respect to changes. */ comments?: pulumi.Input; /** * Description of the entity. Description field is deprecated * * @deprecated description field is deprecated */ description?: pulumi.Input; /** * Enable this flag for force deletion of template. It will delete the Harness entity even if your pipelines or other entities reference it */ forceDelete?: pulumi.Input; /** * Contains parameters related to creating an Entity for Git Experience. */ gitDetails?: pulumi.Input; /** * Contains Git Information for importing entities from Git */ gitImportDetails?: pulumi.Input; /** * Unique identifier of the resource */ identifier: pulumi.Input; /** * Flag to set if importing from Git */ importFromGit?: pulumi.Input; /** * True if given version for template to be set as stable. */ isStable?: pulumi.Input; /** * Name of the Variable */ name?: pulumi.Input; /** * Organization Identifier for the Entity */ orgId?: pulumi.Input; /** * Project Identifier for the Entity */ projectId?: pulumi.Input; /** * Tags to associate with the resource. */ tags?: pulumi.Input[] | undefined>; /** * Contains parameters for importing template. */ templateImportRequest?: pulumi.Input; /** * Yaml for creating new Template. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId. */ templateYaml?: pulumi.Input; /** * Version Label for Template. */ version: pulumi.Input; } //# sourceMappingURL=template.d.ts.map