1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getRequest
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 Request is a file that should be uploaded by a specific user or group.

    Requests can either be manually created and managed, or managed automatically by an Automation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleRequest = filescom.getRequest({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_request = filescom.get_request(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.GetRequest(ctx, &filescom.LookupRequestArgs{
    			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 exampleRequest = Filescom.GetRequest.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.GetRequestArgs;
    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 exampleRequest = FilescomFunctions.getRequest(GetRequestArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleRequest:
        fn::invoke:
          function: filescom:getRequest
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getrequest" "exampleRequest" {
      id = 1
    }
    

    Using getRequest

    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 getRequest(args: GetRequestArgs, opts?: InvokeOptions): Promise<GetRequestResult>
    function getRequestOutput(args: GetRequestOutputArgs, opts?: InvokeOutputOptions): Output<GetRequestResult>
    def get_request(id: Optional[int] = None,
                    opts: Optional[InvokeOptions] = None) -> GetRequestResult
    def get_request_output(id: pulumi.Input[Optional[int]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetRequestResult]
    func LookupRequest(ctx *Context, args *LookupRequestArgs, opts ...InvokeOption) (*LookupRequestResult, error)
    func LookupRequestOutput(ctx *Context, args *LookupRequestOutputArgs, opts ...InvokeOption) LookupRequestResultOutput

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

    public static class GetRequest 
    {
        public static Task<GetRequestResult> InvokeAsync(GetRequestArgs args, InvokeOptions? opts = null)
        public static Output<GetRequestResult> Invoke(GetRequestInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRequestResult> Invoke(GetRequestInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRequestResult> getRequest(GetRequestArgs args, InvokeOptions options)
    public static Output<GetRequestResult> getRequest(GetRequestArgs args, InvokeOptions options)
    public static Output<GetRequestResult> getRequest(GetRequestArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getRequest:getRequest
      arguments:
        # arguments dictionary
    data "filescom_get_request" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Request ID
    Id int
    Request ID
    id number
    Request ID
    id Integer
    Request ID
    id number
    Request ID
    id int
    Request ID
    id Number
    Request ID

    getRequest Result

    The following output properties are available:

    AutomationId int
    ID of automation that created request
    Destination string
    Destination filename
    Id int
    Request ID
    Path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    Source string
    Source filename, if applicable
    UserDisplayName string
    User making the request (if applicable)
    AutomationId int
    ID of automation that created request
    Destination string
    Destination filename
    Id int
    Request ID
    Path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    Source string
    Source filename, if applicable
    UserDisplayName string
    User making the request (if applicable)
    automation_id number
    ID of automation that created request
    destination string
    Destination filename
    id number
    Request ID
    path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    source string
    Source filename, if applicable
    user_display_name string
    User making the request (if applicable)
    automationId Integer
    ID of automation that created request
    destination String
    Destination filename
    id Integer
    Request ID
    path String
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    source String
    Source filename, if applicable
    userDisplayName String
    User making the request (if applicable)
    automationId number
    ID of automation that created request
    destination string
    Destination filename
    id number
    Request ID
    path string
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    source string
    Source filename, if applicable
    userDisplayName string
    User making the request (if applicable)
    automation_id int
    ID of automation that created request
    destination str
    Destination filename
    id int
    Request ID
    path str
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    source str
    Source filename, if applicable
    user_display_name str
    User making the request (if applicable)
    automationId Number
    ID of automation that created request
    destination String
    Destination filename
    id Number
    Request ID
    path String
    Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    source String
    Source filename, if applicable
    userDisplayName String
    User making the request (if applicable)

    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