import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ContainerExec extends pulumi.CustomResource { /** * Get an existing ContainerExec 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?: ContainerExecState, opts?: pulumi.CustomResourceOptions): ContainerExec; /** * Returns true if the given object is an instance of ContainerExec. 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 ContainerExec; /** * Shell command to execute inside the target container. */ readonly command: pulumi.Output; readonly containerExecId: pulumi.Output; /** * Identifier of the Portainer endpoint hosting the container or Swarm service. */ readonly endpointId: pulumi.Output; /** * Deployment mode: 'standalone' (default) or 'swarm' */ readonly mode: pulumi.Output; /** * Standard output captured from the executed command. */ readonly output: pulumi.Output; /** * Name of the container (standalone) or Swarm service in which the command should be executed. */ readonly serviceName: pulumi.Output; readonly timeouts: pulumi.Output; /** * User and optional group used to run the command inside the container (defaults to `root:root`). */ readonly user: pulumi.Output; /** * Initial delay in seconds before executing the command. */ readonly wait: pulumi.Output; /** * Create a ContainerExec 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: ContainerExecArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContainerExec resources. */ export interface ContainerExecState { /** * Shell command to execute inside the target container. */ command?: pulumi.Input; containerExecId?: pulumi.Input; /** * Identifier of the Portainer endpoint hosting the container or Swarm service. */ endpointId?: pulumi.Input; /** * Deployment mode: 'standalone' (default) or 'swarm' */ mode?: pulumi.Input; /** * Standard output captured from the executed command. */ output?: pulumi.Input; /** * Name of the container (standalone) or Swarm service in which the command should be executed. */ serviceName?: pulumi.Input; timeouts?: pulumi.Input; /** * User and optional group used to run the command inside the container (defaults to `root:root`). */ user?: pulumi.Input; /** * Initial delay in seconds before executing the command. */ wait?: pulumi.Input; } /** * The set of arguments for constructing a ContainerExec resource. */ export interface ContainerExecArgs { /** * Shell command to execute inside the target container. */ command: pulumi.Input; containerExecId?: pulumi.Input; /** * Identifier of the Portainer endpoint hosting the container or Swarm service. */ endpointId: pulumi.Input; /** * Deployment mode: 'standalone' (default) or 'swarm' */ mode?: pulumi.Input; /** * Name of the container (standalone) or Swarm service in which the command should be executed. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * User and optional group used to run the command inside the container (defaults to `root:root`). */ user?: pulumi.Input; /** * Initial delay in seconds before executing the command. */ wait?: pulumi.Input; } //# sourceMappingURL=containerExec.d.ts.map