1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getExternalEvent
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

    An ExternalEvent is a log that is sent to the cloud from a client application such as the Files.com CLI.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleExternalEvent = filescom.getExternalEvent({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_external_event = filescom.get_external_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.GetExternalEvent(ctx, &filescom.GetExternalEventArgs{
    			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 exampleExternalEvent = Filescom.GetExternalEvent.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.GetExternalEventArgs;
    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 exampleExternalEvent = FilescomFunctions.getExternalEvent(GetExternalEventArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleExternalEvent:
        fn::invoke:
          function: filescom:getExternalEvent
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getexternalevent" "exampleExternalEvent" {
      id = 1
    }
    

    Using getExternalEvent

    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 getExternalEvent(args: GetExternalEventArgs, opts?: InvokeOptions): Promise<GetExternalEventResult>
    function getExternalEventOutput(args: GetExternalEventOutputArgs, opts?: InvokeOutputOptions): Output<GetExternalEventResult>
    def get_external_event(id: Optional[int] = None,
                           opts: Optional[InvokeOptions] = None) -> GetExternalEventResult
    def get_external_event_output(id: pulumi.Input[Optional[int]] = None,
                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetExternalEventResult]
    func GetExternalEvent(ctx *Context, args *GetExternalEventArgs, opts ...InvokeOption) (*GetExternalEventResult, error)
    func GetExternalEventOutput(ctx *Context, args *GetExternalEventOutputArgs, opts ...InvokeOption) GetExternalEventResultOutput

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

    public static class GetExternalEvent 
    {
        public static Task<GetExternalEventResult> InvokeAsync(GetExternalEventArgs args, InvokeOptions? opts = null)
        public static Output<GetExternalEventResult> Invoke(GetExternalEventInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetExternalEventResult> Invoke(GetExternalEventInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetExternalEventResult> getExternalEvent(GetExternalEventArgs args, InvokeOptions options)
    public static Output<GetExternalEventResult> getExternalEvent(GetExternalEventArgs args, InvokeOptions options)
    public static Output<GetExternalEventResult> getExternalEvent(GetExternalEventArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getExternalEvent:getExternalEvent
      arguments:
        # arguments dictionary
    data "filescom_get_external_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

    getExternalEvent Result

    The following output properties are available:

    Body string
    Event body
    BodyUrl string
    Link to log file.
    CreatedAt string
    External event create date/time
    EventType string
    Type of event being recorded.
    Id int
    Event ID
    Status string
    Status of event.
    Body string
    Event body
    BodyUrl string
    Link to log file.
    CreatedAt string
    External event create date/time
    EventType string
    Type of event being recorded.
    Id int
    Event ID
    Status string
    Status of event.
    body string
    Event body
    body_url string
    Link to log file.
    created_at string
    External event create date/time
    event_type string
    Type of event being recorded.
    id number
    Event ID
    status string
    Status of event.
    body String
    Event body
    bodyUrl String
    Link to log file.
    createdAt String
    External event create date/time
    eventType String
    Type of event being recorded.
    id Integer
    Event ID
    status String
    Status of event.
    body string
    Event body
    bodyUrl string
    Link to log file.
    createdAt string
    External event create date/time
    eventType string
    Type of event being recorded.
    id number
    Event ID
    status string
    Status of event.
    body str
    Event body
    body_url str
    Link to log file.
    created_at str
    External event create date/time
    event_type str
    Type of event being recorded.
    id int
    Event ID
    status str
    Status of event.
    body String
    Event body
    bodyUrl String
    Link to log file.
    createdAt String
    External event create date/time
    eventType String
    Type of event being recorded.
    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