1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getMessage
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 Message is a part of Files.com’s project management features and represents a message posted by a user to a project.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleMessage = filescom.getMessage({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_message = filescom.get_message(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.GetMessage(ctx, &filescom.LookupMessageArgs{
    			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 exampleMessage = Filescom.GetMessage.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.GetMessageArgs;
    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 exampleMessage = FilescomFunctions.getMessage(GetMessageArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleMessage:
        fn::invoke:
          function: filescom:getMessage
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getmessage" "exampleMessage" {
      id = 1
    }
    

    Using getMessage

    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 getMessage(args: GetMessageArgs, opts?: InvokeOptions): Promise<GetMessageResult>
    function getMessageOutput(args: GetMessageOutputArgs, opts?: InvokeOutputOptions): Output<GetMessageResult>
    def get_message(id: Optional[int] = None,
                    opts: Optional[InvokeOptions] = None) -> GetMessageResult
    def get_message_output(id: pulumi.Input[Optional[int]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetMessageResult]
    func LookupMessage(ctx *Context, args *LookupMessageArgs, opts ...InvokeOption) (*LookupMessageResult, error)
    func LookupMessageOutput(ctx *Context, args *LookupMessageOutputArgs, opts ...InvokeOption) LookupMessageResultOutput

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

    public static class GetMessage 
    {
        public static Task<GetMessageResult> InvokeAsync(GetMessageArgs args, InvokeOptions? opts = null)
        public static Output<GetMessageResult> Invoke(GetMessageInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMessageResult> Invoke(GetMessageInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMessageResult> getMessage(GetMessageArgs args, InvokeOptions options)
    public static Output<GetMessageResult> getMessage(GetMessageArgs args, InvokeOptions options)
    public static Output<GetMessageResult> getMessage(GetMessageArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getMessage:getMessage
      arguments:
        # arguments dictionary
    data "filescom_get_message" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Message ID
    Id int
    Message ID
    id number
    Message ID
    id Integer
    Message ID
    id number
    Message ID
    id int
    Message ID
    id Number
    Message ID

    getMessage Result

    The following output properties are available:

    Body string
    Message body.
    Comments object
    Comments.
    Id int
    Message ID
    Subject string
    Message subject.
    Body string
    Message body.
    Comments interface{}
    Comments.
    Id int
    Message ID
    Subject string
    Message subject.
    body string
    Message body.
    comments any
    Comments.
    id number
    Message ID
    subject string
    Message subject.
    body String
    Message body.
    comments Object
    Comments.
    id Integer
    Message ID
    subject String
    Message subject.
    body string
    Message body.
    comments any
    Comments.
    id number
    Message ID
    subject string
    Message subject.
    body str
    Message body.
    comments Any
    Comments.
    id int
    Message ID
    subject str
    Message subject.
    body String
    Message body.
    comments Any
    Comments.
    id Number
    Message ID
    subject String
    Message subject.

    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