published on Thursday, Aug 20, 2026 by jschady
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:
- Mount
Mappings 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.
- Disable
Drive boolMounting - 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 boolAll Users - Whether this profile applies to all users in the Workspace by default
- Workspace
Id int - Workspace ID
- Mount
Mappings 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.
- Disable
Drive boolMounting - 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 boolAll Users - Whether this profile applies to all users in the Workspace by default
- Workspace
Id 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_ boolmounting - 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_ boolall_ users - Whether this profile applies to all users in the Workspace by default
- workspace_
id number - Workspace ID
- mount
Mappings 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.
- disable
Drive BooleanMounting - 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 BooleanAll Users - Whether this profile applies to all users in the Workspace by default
- workspace
Id Integer - 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 booleanMounting - 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 booleanAll Users - Whether this profile applies to all users in the Workspace by default
- workspace
Id 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_ boolmounting - 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_ boolall_ users - Whether this profile applies to all users in the Workspace by default
- workspace_
id 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 BooleanMounting - 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 BooleanAll Users - Whether this profile applies to all users in the Workspace by default
- workspace
Id 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) -> DesktopConfigurationProfilefunc 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.
- Disable
Drive boolMounting - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
- Mount
Mappings 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
- Use
For boolAll Users - Whether this profile applies to all users in the Workspace by default
- Workspace
Id int - Workspace ID
- Disable
Drive boolMounting - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
- Mount
Mappings 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
- Use
For boolAll Users - Whether this profile applies to all users in the Workspace by default
- Workspace
Id int - Workspace ID
- disable_
drive_ boolmounting - 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_ boolall_ users - Whether this profile applies to all users in the Workspace by default
- workspace_
id number - Workspace ID
- disable
Drive BooleanMounting - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
- mount
Mappings 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
- use
For BooleanAll Users - Whether this profile applies to all users in the Workspace by default
- workspace
Id Integer - Workspace ID
- disable
Drive booleanMounting - 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 booleanAll Users - Whether this profile applies to all users in the Workspace by default
- workspace
Id number - Workspace ID
- disable_
drive_ boolmounting - 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_ boolall_ users - Whether this profile applies to all users in the Workspace by default
- workspace_
id int - Workspace ID
- disable
Drive BooleanMounting - 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 BooleanAll Users - Whether this profile applies to all users in the Workspace by default
- workspace
Id 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
filescomTerraform Provider.
published on Thursday, Aug 20, 2026 by jschady