1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getEventChannel
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 EventChannel is a named grouping of EventSubscriptions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleEventChannel = filescom.getEventChannel({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_event_channel = filescom.get_event_channel(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.GetEventChannel(ctx, &filescom.LookupEventChannelArgs{
    			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 exampleEventChannel = Filescom.GetEventChannel.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.GetEventChannelArgs;
    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 exampleEventChannel = FilescomFunctions.getEventChannel(GetEventChannelArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleEventChannel:
        fn::invoke:
          function: filescom:getEventChannel
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_geteventchannel" "exampleEventChannel" {
      id = 1
    }
    

    Using getEventChannel

    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 getEventChannel(args: GetEventChannelArgs, opts?: InvokeOptions): Promise<GetEventChannelResult>
    function getEventChannelOutput(args: GetEventChannelOutputArgs, opts?: InvokeOutputOptions): Output<GetEventChannelResult>
    def get_event_channel(id: Optional[int] = None,
                          opts: Optional[InvokeOptions] = None) -> GetEventChannelResult
    def get_event_channel_output(id: pulumi.Input[Optional[int]] = None,
                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventChannelResult]
    func LookupEventChannel(ctx *Context, args *LookupEventChannelArgs, opts ...InvokeOption) (*LookupEventChannelResult, error)
    func LookupEventChannelOutput(ctx *Context, args *LookupEventChannelOutputArgs, opts ...InvokeOption) LookupEventChannelResultOutput

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

    public static class GetEventChannel 
    {
        public static Task<GetEventChannelResult> InvokeAsync(GetEventChannelArgs args, InvokeOptions? opts = null)
        public static Output<GetEventChannelResult> Invoke(GetEventChannelInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetEventChannelResult> Invoke(GetEventChannelInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetEventChannelResult> getEventChannel(GetEventChannelArgs args, InvokeOptions options)
    public static Output<GetEventChannelResult> getEventChannel(GetEventChannelArgs args, InvokeOptions options)
    public static Output<GetEventChannelResult> getEventChannel(GetEventChannelArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getEventChannel:getEventChannel
      arguments:
        # arguments dictionary
    data "filescom_get_event_channel" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getEventChannel Result

    The following output properties are available:

    CreatedAt string
    Event Channel create date/time.
    DefaultChannel bool
    Whether this Event Channel is the default destination for newly published events.
    Description string
    Event Channel description.
    Enabled bool
    Whether this Event Channel can dispatch events.
    Id int
    Event Channel ID
    Name string
    Event Channel name.
    UpdatedAt string
    Event Channel update date/time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    CreatedAt string
    Event Channel create date/time.
    DefaultChannel bool
    Whether this Event Channel is the default destination for newly published events.
    Description string
    Event Channel description.
    Enabled bool
    Whether this Event Channel can dispatch events.
    Id int
    Event Channel ID
    Name string
    Event Channel name.
    UpdatedAt string
    Event Channel update date/time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    created_at string
    Event Channel create date/time.
    default_channel bool
    Whether this Event Channel is the default destination for newly published events.
    description string
    Event Channel description.
    enabled bool
    Whether this Event Channel can dispatch events.
    id number
    Event Channel ID
    name string
    Event Channel name.
    updated_at string
    Event Channel update date/time.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    createdAt String
    Event Channel create date/time.
    defaultChannel Boolean
    Whether this Event Channel is the default destination for newly published events.
    description String
    Event Channel description.
    enabled Boolean
    Whether this Event Channel can dispatch events.
    id Integer
    Event Channel ID
    name String
    Event Channel name.
    updatedAt String
    Event Channel update date/time.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    createdAt string
    Event Channel create date/time.
    defaultChannel boolean
    Whether this Event Channel is the default destination for newly published events.
    description string
    Event Channel description.
    enabled boolean
    Whether this Event Channel can dispatch events.
    id number
    Event Channel ID
    name string
    Event Channel name.
    updatedAt string
    Event Channel update date/time.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    created_at str
    Event Channel create date/time.
    default_channel bool
    Whether this Event Channel is the default destination for newly published events.
    description str
    Event Channel description.
    enabled bool
    Whether this Event Channel can dispatch events.
    id int
    Event Channel ID
    name str
    Event Channel name.
    updated_at str
    Event Channel update date/time.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    createdAt String
    Event Channel create date/time.
    defaultChannel Boolean
    Whether this Event Channel is the default destination for newly published events.
    description String
    Event Channel description.
    enabled Boolean
    Whether this Event Channel can dispatch events.
    id Number
    Event Channel ID
    name String
    Event Channel name.
    updatedAt String
    Event Channel update date/time.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    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