1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getShareGroup
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 ShareGroup is a way for you to store and name groups of email contacts to be used for sending share and inbox invitations.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleShareGroup = filescom.getShareGroup({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_share_group = filescom.get_share_group(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.GetShareGroup(ctx, &filescom.LookupShareGroupArgs{
    			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 exampleShareGroup = Filescom.GetShareGroup.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.GetShareGroupArgs;
    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 exampleShareGroup = FilescomFunctions.getShareGroup(GetShareGroupArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleShareGroup:
        fn::invoke:
          function: filescom:getShareGroup
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getsharegroup" "exampleShareGroup" {
      id = 1
    }
    

    Using getShareGroup

    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 getShareGroup(args: GetShareGroupArgs, opts?: InvokeOptions): Promise<GetShareGroupResult>
    function getShareGroupOutput(args: GetShareGroupOutputArgs, opts?: InvokeOutputOptions): Output<GetShareGroupResult>
    def get_share_group(id: Optional[int] = None,
                        opts: Optional[InvokeOptions] = None) -> GetShareGroupResult
    def get_share_group_output(id: pulumi.Input[Optional[int]] = None,
                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetShareGroupResult]
    func LookupShareGroup(ctx *Context, args *LookupShareGroupArgs, opts ...InvokeOption) (*LookupShareGroupResult, error)
    func LookupShareGroupOutput(ctx *Context, args *LookupShareGroupOutputArgs, opts ...InvokeOption) LookupShareGroupResultOutput

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

    public static class GetShareGroup 
    {
        public static Task<GetShareGroupResult> InvokeAsync(GetShareGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetShareGroupResult> Invoke(GetShareGroupInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetShareGroupResult> Invoke(GetShareGroupInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetShareGroupResult> getShareGroup(GetShareGroupArgs args, InvokeOptions options)
    public static Output<GetShareGroupResult> getShareGroup(GetShareGroupArgs args, InvokeOptions options)
    public static Output<GetShareGroupResult> getShareGroup(GetShareGroupArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getShareGroup:getShareGroup
      arguments:
        # arguments dictionary
    data "filescom_get_share_group" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Share Group ID
    Id int
    Share Group ID
    id number
    Share Group ID
    id Integer
    Share Group ID
    id number
    Share Group ID
    id int
    Share Group ID
    id Number
    Share Group ID

    getShareGroup Result

    The following output properties are available:

    Id int
    Share Group ID
    Members object
    A list of share group members
    Name string
    Name of the share group
    Notes string
    Additional notes of the share group
    UserId int
    Owner User ID
    Id int
    Share Group ID
    Members interface{}
    A list of share group members
    Name string
    Name of the share group
    Notes string
    Additional notes of the share group
    UserId int
    Owner User ID
    id number
    Share Group ID
    members any
    A list of share group members
    name string
    Name of the share group
    notes string
    Additional notes of the share group
    user_id number
    Owner User ID
    id Integer
    Share Group ID
    members Object
    A list of share group members
    name String
    Name of the share group
    notes String
    Additional notes of the share group
    userId Integer
    Owner User ID
    id number
    Share Group ID
    members any
    A list of share group members
    name string
    Name of the share group
    notes string
    Additional notes of the share group
    userId number
    Owner User ID
    id int
    Share Group ID
    members Any
    A list of share group members
    name str
    Name of the share group
    notes str
    Additional notes of the share group
    user_id int
    Owner User ID
    id Number
    Share Group ID
    members Any
    A list of share group members
    name String
    Name of the share group
    notes String
    Additional notes of the share group
    userId Number
    Owner User ID

    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