import * as pulumi from "@pulumi/pulumi"; export declare class CustomTemplate extends pulumi.CustomResource { /** * Get an existing CustomTemplate 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?: CustomTemplateState, opts?: pulumi.CustomResourceOptions): CustomTemplate; /** * Returns true if the given object is an instance of CustomTemplate. 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 CustomTemplate; /** * Path within the Git repository to the Compose or manifest file (defaults to `docker-compose.yml`). */ readonly composeFilePath: pulumi.Output; readonly customTemplateId: pulumi.Output; /** * Short description of the custom template displayed in the Portainer UI. */ readonly description: pulumi.Output; /** * Whether this template is exposed as an Edge template. */ readonly edgeTemplate: pulumi.Output; /** * Inline template body (Compose YAML, Kubernetes manifest, or Swarm stack file). Mutually exclusive with `filePath` and the repository fields. */ readonly fileContent: pulumi.Output; /** * Path on the local filesystem to a file containing the template body. Mutually exclusive with `fileContent` and the repository fields. */ readonly filePath: pulumi.Output; /** * Whether the Kubernetes manifest is provided in Compose format (only relevant for `type = 3`). */ readonly isComposeFormat: pulumi.Output; /** * URL of the logo image displayed next to the template in the Portainer UI. */ readonly logo: pulumi.Output; /** * Additional note or instructions associated with the custom template. */ readonly note: pulumi.Output; /** * Target platform for the template: 1 = Linux, 2 = Windows. */ readonly platform: pulumi.Output; /** * Enable authentication for the Git repository (default: false). */ readonly repositoryAuthentication: pulumi.Output; /** * Sensitive password or personal access token used to authenticate against the Git repository. */ readonly repositoryPassword: pulumi.Output; /** * Git reference (branch, tag, or commit) to check out (defaults to `refs/heads/main`). */ readonly repositoryReference: pulumi.Output; /** * URL of the Git repository hosting the template manifest. */ readonly repositoryUrl: pulumi.Output; /** * Username used to authenticate against the Git repository. */ readonly repositoryUsername: pulumi.Output; /** * Title of the Portainer custom template. */ readonly title: pulumi.Output; /** * Whether to skip TLS verification when cloning the Git repository. */ readonly tlsskipVerify: pulumi.Output; /** * Template type: 1 = Swarm stack, 2 = Compose stack, 3 = Kubernetes manifest. */ readonly type: pulumi.Output; /** * List of template variable definitions (name, label, description, defaultValue) used for parameterized templates. */ readonly variables: pulumi.Output<{ [key: string]: string; }[] | undefined>; /** * Create a CustomTemplate 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: CustomTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomTemplate resources. */ export interface CustomTemplateState { /** * Path within the Git repository to the Compose or manifest file (defaults to `docker-compose.yml`). */ composeFilePath?: pulumi.Input; customTemplateId?: pulumi.Input; /** * Short description of the custom template displayed in the Portainer UI. */ description?: pulumi.Input; /** * Whether this template is exposed as an Edge template. */ edgeTemplate?: pulumi.Input; /** * Inline template body (Compose YAML, Kubernetes manifest, or Swarm stack file). Mutually exclusive with `filePath` and the repository fields. */ fileContent?: pulumi.Input; /** * Path on the local filesystem to a file containing the template body. Mutually exclusive with `fileContent` and the repository fields. */ filePath?: pulumi.Input; /** * Whether the Kubernetes manifest is provided in Compose format (only relevant for `type = 3`). */ isComposeFormat?: pulumi.Input; /** * URL of the logo image displayed next to the template in the Portainer UI. */ logo?: pulumi.Input; /** * Additional note or instructions associated with the custom template. */ note?: pulumi.Input; /** * Target platform for the template: 1 = Linux, 2 = Windows. */ platform?: pulumi.Input; /** * Enable authentication for the Git repository (default: false). */ repositoryAuthentication?: pulumi.Input; /** * Sensitive password or personal access token used to authenticate against the Git repository. */ repositoryPassword?: pulumi.Input; /** * Git reference (branch, tag, or commit) to check out (defaults to `refs/heads/main`). */ repositoryReference?: pulumi.Input; /** * URL of the Git repository hosting the template manifest. */ repositoryUrl?: pulumi.Input; /** * Username used to authenticate against the Git repository. */ repositoryUsername?: pulumi.Input; /** * Title of the Portainer custom template. */ title?: pulumi.Input; /** * Whether to skip TLS verification when cloning the Git repository. */ tlsskipVerify?: pulumi.Input; /** * Template type: 1 = Swarm stack, 2 = Compose stack, 3 = Kubernetes manifest. */ type?: pulumi.Input; /** * List of template variable definitions (name, label, description, defaultValue) used for parameterized templates. */ variables?: pulumi.Input; }>[] | undefined>; } /** * The set of arguments for constructing a CustomTemplate resource. */ export interface CustomTemplateArgs { /** * Path within the Git repository to the Compose or manifest file (defaults to `docker-compose.yml`). */ composeFilePath?: pulumi.Input; customTemplateId?: pulumi.Input; /** * Short description of the custom template displayed in the Portainer UI. */ description: pulumi.Input; /** * Whether this template is exposed as an Edge template. */ edgeTemplate?: pulumi.Input; /** * Inline template body (Compose YAML, Kubernetes manifest, or Swarm stack file). Mutually exclusive with `filePath` and the repository fields. */ fileContent?: pulumi.Input; /** * Path on the local filesystem to a file containing the template body. Mutually exclusive with `fileContent` and the repository fields. */ filePath?: pulumi.Input; /** * Whether the Kubernetes manifest is provided in Compose format (only relevant for `type = 3`). */ isComposeFormat?: pulumi.Input; /** * URL of the logo image displayed next to the template in the Portainer UI. */ logo?: pulumi.Input; /** * Additional note or instructions associated with the custom template. */ note: pulumi.Input; /** * Target platform for the template: 1 = Linux, 2 = Windows. */ platform: pulumi.Input; /** * Enable authentication for the Git repository (default: false). */ repositoryAuthentication?: pulumi.Input; /** * Sensitive password or personal access token used to authenticate against the Git repository. */ repositoryPassword?: pulumi.Input; /** * Git reference (branch, tag, or commit) to check out (defaults to `refs/heads/main`). */ repositoryReference?: pulumi.Input; /** * URL of the Git repository hosting the template manifest. */ repositoryUrl?: pulumi.Input; /** * Username used to authenticate against the Git repository. */ repositoryUsername?: pulumi.Input; /** * Title of the Portainer custom template. */ title: pulumi.Input; /** * Whether to skip TLS verification when cloning the Git repository. */ tlsskipVerify?: pulumi.Input; /** * Template type: 1 = Swarm stack, 2 = Compose stack, 3 = Kubernetes manifest. */ type: pulumi.Input; /** * List of template variable definitions (name, label, description, defaultValue) used for parameterized templates. */ variables?: pulumi.Input; }>[] | undefined>; } //# sourceMappingURL=customTemplate.d.ts.map