1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getPendingWorkEvent
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    A PendingWorkEvent is a log record for pending file work failures, such as GPG Encryption and GPG Decryption.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const examplePendingWorkEvent = filescom.getPendingWorkEvent({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_pending_work_event = filescom.get_pending_work_event(id=1)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.GetPendingWorkEvent(ctx, &filescom.GetPendingWorkEventArgs{
    			Id: 1,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var examplePendingWorkEvent = Filescom.GetPendingWorkEvent.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetPendingWorkEventArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var examplePendingWorkEvent = FilescomFunctions.getPendingWorkEvent(GetPendingWorkEventArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      examplePendingWorkEvent:
        fn::invoke:
          function: filescom:getPendingWorkEvent
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getpendingworkevent" "examplePendingWorkEvent" {
      id = 1
    }
    

    Using getPendingWorkEvent

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPendingWorkEvent(args: GetPendingWorkEventArgs, opts?: InvokeOptions): Promise<GetPendingWorkEventResult>
    function getPendingWorkEventOutput(args: GetPendingWorkEventOutputArgs, opts?: InvokeOutputOptions): Output<GetPendingWorkEventResult>
    def get_pending_work_event(id: Optional[int] = None,
                               opts: Optional[InvokeOptions] = None) -> GetPendingWorkEventResult
    def get_pending_work_event_output(id: pulumi.Input[Optional[int]] = None,
                               opts: Optional[InvokeOutputOptions] = None) -> Output[GetPendingWorkEventResult]
    func GetPendingWorkEvent(ctx *Context, args *GetPendingWorkEventArgs, opts ...InvokeOption) (*GetPendingWorkEventResult, error)
    func GetPendingWorkEventOutput(ctx *Context, args *GetPendingWorkEventOutputArgs, opts ...InvokeOption) GetPendingWorkEventResultOutput

    > Note: This function is named GetPendingWorkEvent in the Go SDK.

    public static class GetPendingWorkEvent 
    {
        public static Task<GetPendingWorkEventResult> InvokeAsync(GetPendingWorkEventArgs args, InvokeOptions? opts = null)
        public static Output<GetPendingWorkEventResult> Invoke(GetPendingWorkEventInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetPendingWorkEventResult> Invoke(GetPendingWorkEventInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetPendingWorkEventResult> getPendingWorkEvent(GetPendingWorkEventArgs args, InvokeOptions options)
    public static Output<GetPendingWorkEventResult> getPendingWorkEvent(GetPendingWorkEventArgs args, InvokeOptions options)
    public static Output<GetPendingWorkEventResult> getPendingWorkEvent(GetPendingWorkEventArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getPendingWorkEvent:getPendingWorkEvent
      arguments:
        # arguments dictionary
    data "filescom_get_pending_work_event" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Event ID
    Id int
    Event ID
    id number
    Event ID
    id Integer
    Event ID
    id number
    Event ID
    id int
    Event ID
    id Number
    Event ID

    getPendingWorkEvent Result

    The following output properties are available:

    Body string
    Event body.
    BodyUrl string
    Link to log file.
    CreatedAt string
    Event create date/time.
    EventErrors List<string>
    Event errors.
    EventType string
    Type of pending work event being recorded.
    FolderBehaviorId int
    Folder Behavior ID.
    Id int
    Event ID
    Status string
    Status of event.
    Body string
    Event body.
    BodyUrl string
    Link to log file.
    CreatedAt string
    Event create date/time.
    EventErrors []string
    Event errors.
    EventType string
    Type of pending work event being recorded.
    FolderBehaviorId int
    Folder Behavior ID.
    Id int
    Event ID
    Status string
    Status of event.
    body string
    Event body.
    body_url string
    Link to log file.
    created_at string
    Event create date/time.
    event_errors list(string)
    Event errors.
    event_type string
    Type of pending work event being recorded.
    folder_behavior_id number
    Folder Behavior ID.
    id number
    Event ID
    status string
    Status of event.
    body String
    Event body.
    bodyUrl String
    Link to log file.
    createdAt String
    Event create date/time.
    eventErrors List<String>
    Event errors.
    eventType String
    Type of pending work event being recorded.
    folderBehaviorId Integer
    Folder Behavior ID.
    id Integer
    Event ID
    status String
    Status of event.
    body string
    Event body.
    bodyUrl string
    Link to log file.
    createdAt string
    Event create date/time.
    eventErrors string[]
    Event errors.
    eventType string
    Type of pending work event being recorded.
    folderBehaviorId number
    Folder Behavior ID.
    id number
    Event ID
    status string
    Status of event.
    body str
    Event body.
    body_url str
    Link to log file.
    created_at str
    Event create date/time.
    event_errors Sequence[str]
    Event errors.
    event_type str
    Type of pending work event being recorded.
    folder_behavior_id int
    Folder Behavior ID.
    id int
    Event ID
    status str
    Status of event.
    body String
    Event body.
    bodyUrl String
    Link to log file.
    createdAt String
    Event create date/time.
    eventErrors List<String>
    Event errors.
    eventType String
    Type of pending work event being recorded.
    folderBehaviorId Number
    Folder Behavior ID.
    id Number
    Event ID
    status String
    Status of event.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial