1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. DesktopConfigurationProfile
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 Desktop Configuration Profile centrally defines desktop mount point mappings for users in a Site or Workspace.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleDesktopConfigurationProfile = new filescom.DesktopConfigurationProfile("example_desktop_configuration_profile", {
        name: "North America Desktop Profile",
        mountMappings: {
            key: "example value",
        },
        workspaceId: 1,
        useForAllUsers: false,
        disableDriveMounting: false,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_desktop_configuration_profile = filescom.DesktopConfigurationProfile("example_desktop_configuration_profile",
        name="North America Desktop Profile",
        mount_mappings={
            "key": "example value",
        },
        workspace_id=1,
        use_for_all_users=False,
        disable_drive_mounting=False)
    
    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.NewDesktopConfigurationProfile(ctx, "example_desktop_configuration_profile", &filescom.DesktopConfigurationProfileArgs{
    			Name: pulumi.String("North America Desktop Profile"),
    			MountMappings: pulumi.Any(map[string]interface{}{
    				"key": "example value",
    			}),
    			WorkspaceId:          pulumi.Int(1),
    			UseForAllUsers:       pulumi.Bool(false),
    			DisableDriveMounting: pulumi.Bool(false),
    		})
    		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 exampleDesktopConfigurationProfile = new Filescom.DesktopConfigurationProfile("example_desktop_configuration_profile", new()
        {
            Name = "North America Desktop Profile",
            MountMappings = new Dictionary<string, object?>
            {
                ["key"] = "example value",
            },
            WorkspaceId = 1,
            UseForAllUsers = false,
            DisableDriveMounting = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.DesktopConfigurationProfile;
    import com.pulumi.filescom.DesktopConfigurationProfileArgs;
    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) {
            var exampleDesktopConfigurationProfile = new DesktopConfigurationProfile("exampleDesktopConfigurationProfile", DesktopConfigurationProfileArgs.builder()
                .name("North America Desktop Profile")
                .mountMappings(Map.of("key", "example value"))
                .workspaceId(1)
                .useForAllUsers(false)
                .disableDriveMounting(false)
                .build());
    
        }
    }
    
    resources:
      exampleDesktopConfigurationProfile:
        type: filescom:DesktopConfigurationProfile
        name: example_desktop_configuration_profile
        properties:
          name: North America Desktop Profile
          mountMappings:
            key: example value
          workspaceId: 1
          useForAllUsers: false
          disableDriveMounting: false
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    resource "filescom_desktopconfigurationprofile" "example_desktop_configuration_profile" {
      name = "North America Desktop Profile"
      mount_mappings = {
        "key" = "example value"
      }
      workspace_id           = 1
      use_for_all_users      = false
      disable_drive_mounting = false
    }
    

    Create DesktopConfigurationProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DesktopConfigurationProfile(name: string, args: DesktopConfigurationProfileArgs, opts?: CustomResourceOptions);
    @overload
    def DesktopConfigurationProfile(resource_name: str,
                                    args: DesktopConfigurationProfileArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DesktopConfigurationProfile(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    mount_mappings: Optional[Any] = None,
                                    disable_drive_mounting: Optional[bool] = None,
                                    name: Optional[str] = None,
                                    use_for_all_users: Optional[bool] = None,
                                    workspace_id: Optional[int] = None)
    func NewDesktopConfigurationProfile(ctx *Context, name string, args DesktopConfigurationProfileArgs, opts ...ResourceOption) (*DesktopConfigurationProfile, error)
    public DesktopConfigurationProfile(string name, DesktopConfigurationProfileArgs args, CustomResourceOptions? opts = null)
    public DesktopConfigurationProfile(String name, DesktopConfigurationProfileArgs args)
    public DesktopConfigurationProfile(String name, DesktopConfigurationProfileArgs args, CustomResourceOptions options)
    
    type: filescom:DesktopConfigurationProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "filescom_desktop_configuration_profile" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DesktopConfigurationProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DesktopConfigurationProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DesktopConfigurationProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DesktopConfigurationProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DesktopConfigurationProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var desktopConfigurationProfileResource = new Filescom.DesktopConfigurationProfile("desktopConfigurationProfileResource", new()
    {
        MountMappings = "any",
        DisableDriveMounting = false,
        Name = "string",
        UseForAllUsers = false,
        WorkspaceId = 0,
    });
    
    example, err := filescom.NewDesktopConfigurationProfile(ctx, "desktopConfigurationProfileResource", &filescom.DesktopConfigurationProfileArgs{
    	MountMappings:        pulumi.Any("any"),
    	DisableDriveMounting: pulumi.Bool(false),
    	Name:                 pulumi.String("string"),
    	UseForAllUsers:       pulumi.Bool(false),
    	WorkspaceId:          pulumi.Int(0),
    })
    
    resource "filescom_desktop_configuration_profile" "desktopConfigurationProfileResource" {
      lifecycle {
        create_before_destroy = true
      }
      mount_mappings         = "any"
      disable_drive_mounting = false
      name                   = "string"
      use_for_all_users      = false
      workspace_id           = 0
    }
    
    var desktopConfigurationProfileResource = new DesktopConfigurationProfile("desktopConfigurationProfileResource", DesktopConfigurationProfileArgs.builder()
        .mountMappings("any")
        .disableDriveMounting(false)
        .name("string")
        .useForAllUsers(false)
        .workspaceId(0)
        .build());
    
    desktop_configuration_profile_resource = filescom.DesktopConfigurationProfile("desktopConfigurationProfileResource",
        mount_mappings="any",
        disable_drive_mounting=False,
        name="string",
        use_for_all_users=False,
        workspace_id=0)
    
    const desktopConfigurationProfileResource = new filescom.DesktopConfigurationProfile("desktopConfigurationProfileResource", {
        mountMappings: "any",
        disableDriveMounting: false,
        name: "string",
        useForAllUsers: false,
        workspaceId: 0,
    });
    
    type: filescom:DesktopConfigurationProfile
    properties:
        disableDriveMounting: false
        mountMappings: any
        name: string
        useForAllUsers: false
        workspaceId: 0
    

    DesktopConfigurationProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DesktopConfigurationProfile resource accepts the following input properties:

    MountMappings object
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    DisableDriveMounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    Name string
    Profile name
    UseForAllUsers bool
    Whether this profile applies to all users in the Workspace by default
    WorkspaceId int
    Workspace ID
    MountMappings interface{}
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    DisableDriveMounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    Name string
    Profile name
    UseForAllUsers bool
    Whether this profile applies to all users in the Workspace by default
    WorkspaceId int
    Workspace ID
    mount_mappings any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    disable_drive_mounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    name string
    Profile name
    use_for_all_users bool
    Whether this profile applies to all users in the Workspace by default
    workspace_id number
    Workspace ID
    mountMappings Object
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    disableDriveMounting Boolean
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    name String
    Profile name
    useForAllUsers Boolean
    Whether this profile applies to all users in the Workspace by default
    workspaceId Integer
    Workspace ID
    mountMappings any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    disableDriveMounting boolean
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    name string
    Profile name
    useForAllUsers boolean
    Whether this profile applies to all users in the Workspace by default
    workspaceId number
    Workspace ID
    mount_mappings Any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    disable_drive_mounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    name str
    Profile name
    use_for_all_users bool
    Whether this profile applies to all users in the Workspace by default
    workspace_id int
    Workspace ID
    mountMappings Any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    disableDriveMounting Boolean
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    name String
    Profile name
    useForAllUsers Boolean
    Whether this profile applies to all users in the Workspace by default
    workspaceId Number
    Workspace ID

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DesktopConfigurationProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DesktopConfigurationProfile Resource

    Get an existing DesktopConfigurationProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DesktopConfigurationProfileState, opts?: CustomResourceOptions): DesktopConfigurationProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            disable_drive_mounting: Optional[bool] = None,
            mount_mappings: Optional[Any] = None,
            name: Optional[str] = None,
            use_for_all_users: Optional[bool] = None,
            workspace_id: Optional[int] = None) -> DesktopConfigurationProfile
    func GetDesktopConfigurationProfile(ctx *Context, name string, id IDInput, state *DesktopConfigurationProfileState, opts ...ResourceOption) (*DesktopConfigurationProfile, error)
    public static DesktopConfigurationProfile Get(string name, Input<string> id, DesktopConfigurationProfileState? state, CustomResourceOptions? opts = null)
    public static DesktopConfigurationProfile get(String name, Output<String> id, DesktopConfigurationProfileState state, CustomResourceOptions options)
    resources:  _:    type: filescom:DesktopConfigurationProfile    get:      id: ${id}
    import {
      to = filescom_desktop_configuration_profile.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DisableDriveMounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    MountMappings object
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    Name string
    Profile name
    UseForAllUsers bool
    Whether this profile applies to all users in the Workspace by default
    WorkspaceId int
    Workspace ID
    DisableDriveMounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    MountMappings interface{}
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    Name string
    Profile name
    UseForAllUsers bool
    Whether this profile applies to all users in the Workspace by default
    WorkspaceId int
    Workspace ID
    disable_drive_mounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    mount_mappings any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    name string
    Profile name
    use_for_all_users bool
    Whether this profile applies to all users in the Workspace by default
    workspace_id number
    Workspace ID
    disableDriveMounting Boolean
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    mountMappings Object
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    name String
    Profile name
    useForAllUsers Boolean
    Whether this profile applies to all users in the Workspace by default
    workspaceId Integer
    Workspace ID
    disableDriveMounting boolean
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    mountMappings any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    name string
    Profile name
    useForAllUsers boolean
    Whether this profile applies to all users in the Workspace by default
    workspaceId number
    Workspace ID
    disable_drive_mounting bool
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    mount_mappings Any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    name str
    Profile name
    use_for_all_users bool
    Whether this profile applies to all users in the Workspace by default
    workspace_id int
    Workspace ID
    disableDriveMounting Boolean
    Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
    mountMappings Any
    Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
    name String
    Profile name
    useForAllUsers Boolean
    Whether this profile applies to all users in the Workspace by default
    workspaceId Number
    Workspace ID

    Import

    The pulumi import command can be used, for example:

    Desktop Configuration Profiles can be imported by specifying the id.

    $ pulumi import filescom:index/desktopConfigurationProfile:DesktopConfigurationProfile example_desktop_configuration_profile 1
    

    To learn more about importing existing cloud resources, see Importing resources.

    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