import * as pulumi from "@pulumi/pulumi"; export declare class EdgeJob extends pulumi.CustomResource { /** * Get an existing EdgeJob 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?: EdgeJobState, opts?: pulumi.CustomResourceOptions): EdgeJob; /** * Returns true if the given object is an instance of EdgeJob. 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 EdgeJob; /** * Cron expression that schedules execution of the edge job. */ readonly cronExpression: pulumi.Output; /** * List of edge group identifiers targeted by the job. */ readonly edgeGroups: pulumi.Output; readonly edgeJobId: pulumi.Output; /** * List of edge endpoint identifiers explicitly targeted by the job (in addition to those in `edgeGroups`). */ readonly endpoints: pulumi.Output; /** * Inline script executed by edge agents. Mutually exclusive with `filePath`. */ readonly fileContent: pulumi.Output; /** * Path on the local filesystem to a script file uploaded as the job payload. Mutually exclusive with `fileContent`. */ readonly filePath: pulumi.Output; /** * Name of the Portainer edge job. */ readonly name: pulumi.Output; /** * Whether the edge job should run repeatedly according to the cron expression (true) or only once (false). */ readonly recurring: pulumi.Output; /** * Create a EdgeJob 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: EdgeJobArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EdgeJob resources. */ export interface EdgeJobState { /** * Cron expression that schedules execution of the edge job. */ cronExpression?: pulumi.Input; /** * List of edge group identifiers targeted by the job. */ edgeGroups?: pulumi.Input[] | undefined>; edgeJobId?: pulumi.Input; /** * List of edge endpoint identifiers explicitly targeted by the job (in addition to those in `edgeGroups`). */ endpoints?: pulumi.Input[] | undefined>; /** * Inline script executed by edge agents. Mutually exclusive with `filePath`. */ fileContent?: pulumi.Input; /** * Path on the local filesystem to a script file uploaded as the job payload. Mutually exclusive with `fileContent`. */ filePath?: pulumi.Input; /** * Name of the Portainer edge job. */ name?: pulumi.Input; /** * Whether the edge job should run repeatedly according to the cron expression (true) or only once (false). */ recurring?: pulumi.Input; } /** * The set of arguments for constructing a EdgeJob resource. */ export interface EdgeJobArgs { /** * Cron expression that schedules execution of the edge job. */ cronExpression: pulumi.Input; /** * List of edge group identifiers targeted by the job. */ edgeGroups: pulumi.Input[]>; edgeJobId?: pulumi.Input; /** * List of edge endpoint identifiers explicitly targeted by the job (in addition to those in `edgeGroups`). */ endpoints: pulumi.Input[]>; /** * Inline script executed by edge agents. Mutually exclusive with `filePath`. */ fileContent?: pulumi.Input; /** * Path on the local filesystem to a script file uploaded as the job payload. Mutually exclusive with `fileContent`. */ filePath?: pulumi.Input; /** * Name of the Portainer edge job. */ name?: pulumi.Input; /** * Whether the edge job should run repeatedly according to the cron expression (true) or only once (false). */ recurring?: pulumi.Input; } //# sourceMappingURL=edgeJob.d.ts.map