published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
This resource is used to manage the FileSystem (Namespace directory) entity of PowerScale Array. We can Create, Update and Delete the FileSystem using this resource. We can also import an existing FileSystem from PowerScale array.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";
//Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// Available actions: Create, Update (owner, group, access_control), Delete and Import existing FileSystem(Namespace directory) from Powerscale array.
// After `pulumi up` of this example file it will create a new FileSystem(Namespace directory) with the name set in `name` attribute in the directory path provided in `directory_path`on the PowerScale array
// PowerScale FileSystem Resource allows you to manage the Namespace Directory on the Powerscale array
const fileSystemTest = new powerscale.Filesystem("file_system_test", {
name: "DirTf",
group: {
id: "GID:0",
name: "wheel",
type: "group",
},
owner: {
id: "UID:1501",
name: "Guest",
type: "user",
},
recursive: true,
overwrite: false,
});
// Steps to create a file system using the SID.
// First use the user datasource to get the UID using the SID.
const getUserWithSID = powerscale.getUser({
filter: {
names: [{
name: "Guest",
sid: "S-1-5-21-3219966720-1480896164-796802738-501",
}],
},
});
// Once you get the UID using the datasource , use that UID while creating your fileystem.
const ifsTestdir = new powerscale.Filesystem("ifs_testdir", {
accessControl: "0770",
directoryPath: "/ifs",
fullPath: "/ifs/new-fs",
group: {
id: "GID:1800",
name: "Isilon Users",
type: "group",
},
name: "new-fs",
overwrite: false,
owner: {
id: getUserWithSID.then(getUserWithSID => getUserWithSID.users?.[0]?.uid),
name: "Guest",
type: "user",
},
recursive: true,
});
import pulumi
import pulumi_powerscale as powerscale
#Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
#
#Licensed under the Mozilla Public License Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
# http://mozilla.org/MPL/2.0/
#
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
# Available actions: Create, Update (owner, group, access_control), Delete and Import existing FileSystem(Namespace directory) from Powerscale array.
# After `pulumi up` of this example file it will create a new FileSystem(Namespace directory) with the name set in `name` attribute in the directory path provided in `directory_path`on the PowerScale array
# PowerScale FileSystem Resource allows you to manage the Namespace Directory on the Powerscale array
file_system_test = powerscale.Filesystem("file_system_test",
name="DirTf",
group={
"id": "GID:0",
"name": "wheel",
"type": "group",
},
owner={
"id": "UID:1501",
"name": "Guest",
"type": "user",
},
recursive=True,
overwrite=False)
# Steps to create a file system using the SID.
# First use the user datasource to get the UID using the SID.
get_user_with_sid = powerscale.get_user(filter={
"names": [{
"name": "Guest",
"sid": "S-1-5-21-3219966720-1480896164-796802738-501",
}],
})
# Once you get the UID using the datasource , use that UID while creating your fileystem.
ifs_testdir = powerscale.Filesystem("ifs_testdir",
access_control="0770",
directory_path="/ifs",
full_path="/ifs/new-fs",
group={
"id": "GID:1800",
"name": "Isilon Users",
"type": "group",
},
name="new-fs",
overwrite=False,
owner={
"id": get_user_with_sid.users[0].uid,
"name": "Guest",
"type": "user",
},
recursive=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
// Licensed under the Mozilla Public License Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Available actions: Create, Update (owner, group, access_control), Delete and Import existing FileSystem(Namespace directory) from Powerscale array.
// After `pulumi up` of this example file it will create a new FileSystem(Namespace directory) with the name set in `name` attribute in the directory path provided in `directory_path`on the PowerScale array
// PowerScale FileSystem Resource allows you to manage the Namespace Directory on the Powerscale array
_, err := powerscale.NewFilesystem(ctx, "file_system_test", &powerscale.FilesystemArgs{
Name: pulumi.String("DirTf"),
Group: &powerscale.FilesystemGroupArgs{
Id: pulumi.String("GID:0"),
Name: pulumi.String("wheel"),
Type: pulumi.String("group"),
},
Owner: &powerscale.FilesystemOwnerArgs{
Id: pulumi.String("UID:1501"),
Name: pulumi.String("Guest"),
Type: pulumi.String("user"),
},
Recursive: pulumi.Bool(true),
Overwrite: pulumi.Bool(false),
})
if err != nil {
return err
}
// First use the user datasource to get the UID using the SID.
getUserWithSID, err := powerscale.LookupUser(ctx, &powerscale.LookupUserArgs{
Filter: powerscale.GetUserFilter{
Names: []powerscale.GetUserFilterName{
{
Name: pulumi.StringRef("Guest"),
Sid: pulumi.StringRef("S-1-5-21-3219966720-1480896164-796802738-501"),
},
},
},
}, nil)
if err != nil {
return err
}
// Once you get the UID using the datasource , use that UID while creating your fileystem.
_, err = powerscale.NewFilesystem(ctx, "ifs_testdir", &powerscale.FilesystemArgs{
AccessControl: pulumi.String("0770"),
DirectoryPath: pulumi.String("/ifs"),
FullPath: pulumi.String("/ifs/new-fs"),
Group: &powerscale.FilesystemGroupArgs{
Id: pulumi.String("GID:1800"),
Name: pulumi.String("Isilon Users"),
Type: pulumi.String("group"),
},
Name: pulumi.String("new-fs"),
Overwrite: pulumi.Bool(false),
Owner: &powerscale.FilesystemOwnerArgs{
Id: pulumi.String(getUserWithSID.Users[0].Uid),
Name: pulumi.String("Guest"),
Type: pulumi.String("user"),
},
Recursive: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;
return await Deployment.RunAsync(() =>
{
//Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// Available actions: Create, Update (owner, group, access_control), Delete and Import existing FileSystem(Namespace directory) from Powerscale array.
// After `pulumi up` of this example file it will create a new FileSystem(Namespace directory) with the name set in `name` attribute in the directory path provided in `directory_path`on the PowerScale array
// PowerScale FileSystem Resource allows you to manage the Namespace Directory on the Powerscale array
var fileSystemTest = new Powerscale.Filesystem("file_system_test", new()
{
Name = "DirTf",
Group = new Powerscale.Inputs.FilesystemGroupArgs
{
Id = "GID:0",
Name = "wheel",
Type = "group",
},
Owner = new Powerscale.Inputs.FilesystemOwnerArgs
{
Id = "UID:1501",
Name = "Guest",
Type = "user",
},
Recursive = true,
Overwrite = false,
});
// Steps to create a file system using the SID.
// First use the user datasource to get the UID using the SID.
var getUserWithSID = Powerscale.GetUser.Invoke(new()
{
Filter = new Powerscale.Inputs.GetUserFilterInputArgs
{
Names = new[]
{
new Powerscale.Inputs.GetUserFilterNameInputArgs
{
Name = "Guest",
Sid = "S-1-5-21-3219966720-1480896164-796802738-501",
},
},
},
});
// Once you get the UID using the datasource , use that UID while creating your fileystem.
var ifsTestdir = new Powerscale.Filesystem("ifs_testdir", new()
{
AccessControl = "0770",
DirectoryPath = "/ifs",
FullPath = "/ifs/new-fs",
Group = new Powerscale.Inputs.FilesystemGroupArgs
{
Id = "GID:1800",
Name = "Isilon Users",
Type = "group",
},
Name = "new-fs",
Overwrite = false,
Owner = new Powerscale.Inputs.FilesystemOwnerArgs
{
Id = getUserWithSID.Apply(getUserResult => getUserResult.Users[0]?.Uid),
Name = "Guest",
Type = "user",
},
Recursive = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.Filesystem;
import com.pulumi.powerscale.FilesystemArgs;
import com.pulumi.powerscale.inputs.FilesystemGroupArgs;
import com.pulumi.powerscale.inputs.FilesystemOwnerArgs;
import com.pulumi.powerscale.PowerscaleFunctions;
import com.pulumi.powerscale.inputs.GetUserArgs;
import com.pulumi.powerscale.inputs.GetUserFilterArgs;
import java.util.List;
import java.util.ArrayList;
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) {
//Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// Available actions: Create, Update (owner, group, access_control), Delete and Import existing FileSystem(Namespace directory) from Powerscale array.
// After `pulumi up` of this example file it will create a new FileSystem(Namespace directory) with the name set in `name` attribute in the directory path provided in `directory_path`on the PowerScale array
// PowerScale FileSystem Resource allows you to manage the Namespace Directory on the Powerscale array
var fileSystemTest = new Filesystem("fileSystemTest", FilesystemArgs.builder()
.name("DirTf")
.group(FilesystemGroupArgs.builder()
.id("GID:0")
.name("wheel")
.type("group")
.build())
.owner(FilesystemOwnerArgs.builder()
.id("UID:1501")
.name("Guest")
.type("user")
.build())
.recursive(true)
.overwrite(false)
.build());
// Steps to create a file system using the SID.
// First use the user datasource to get the UID using the SID.
final var getUserWithSID = PowerscaleFunctions.getUser(GetUserArgs.builder()
.filter(GetUserFilterArgs.builder()
.names(GetUserFilterNameArgs.builder()
.name("Guest")
.sid("S-1-5-21-3219966720-1480896164-796802738-501")
.build())
.build())
.build());
// Once you get the UID using the datasource , use that UID while creating your fileystem.
var ifsTestdir = new Filesystem("ifsTestdir", FilesystemArgs.builder()
.accessControl("0770")
.directoryPath("/ifs")
.fullPath("/ifs/new-fs")
.group(FilesystemGroupArgs.builder()
.id("GID:1800")
.name("Isilon Users")
.type("group")
.build())
.name("new-fs")
.overwrite(false)
.owner(FilesystemOwnerArgs.builder()
.id(getUserWithSID.users()[0].uid())
.name("Guest")
.type("user")
.build())
.recursive(true)
.build());
}
}
resources:
# /*
# Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
# Licensed under the Mozilla Public License Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://mozilla.org/MPL/2.0/
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# */
# Available actions: Create, Update (owner, group, access_control), Delete and Import existing FileSystem(Namespace directory) from Powerscale array.
# After `pulumi up` of this example file it will create a new FileSystem(Namespace directory) with the name set in `name` attribute in the directory path provided in `directory_path`on the PowerScale array
# PowerScale FileSystem Resource allows you to manage the Namespace Directory on the Powerscale array
fileSystemTest: # Steps to create a file system using the SID.
type: powerscale:Filesystem
name: file_system_test
properties:
name: DirTf
group:
id: GID:0
name: wheel
type: group
owner:
id: UID:1501
name: Guest
type: user
recursive: true # Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes and ACLS, when set to true.
overwrite: false # access_control = "0777"
# Once you get the UID using the datasource , use that UID while creating your fileystem.
ifsTestdir:
type: powerscale:Filesystem
name: ifs_testdir
properties:
accessControl: '0770'
directoryPath: /ifs
fullPath: /ifs/new-fs
group:
id: GID:1800
name: Isilon Users
type: group
name: new-fs
overwrite: false
owner:
id: ${getUserWithSID.users[0].uid}
name: Guest
type: user
recursive: true
variables:
# First use the user datasource to get the UID using the SID.
getUserWithSID:
fn::invoke:
function: powerscale:getUser
arguments:
filter:
names:
- name: Guest
sid: S-1-5-21-3219966720-1480896164-796802738-501
Create Filesystem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Filesystem(name: string, args: FilesystemArgs, opts?: CustomResourceOptions);@overload
def Filesystem(resource_name: str,
args: FilesystemArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Filesystem(resource_name: str,
opts: Optional[ResourceOptions] = None,
group: Optional[FilesystemGroupArgs] = None,
owner: Optional[FilesystemOwnerArgs] = None,
access_control: Optional[str] = None,
directory_path: Optional[str] = None,
filesystem_id: Optional[str] = None,
full_path: Optional[str] = None,
name: Optional[str] = None,
overwrite: Optional[bool] = None,
query_zone: Optional[str] = None,
recursive: Optional[bool] = None)func NewFilesystem(ctx *Context, name string, args FilesystemArgs, opts ...ResourceOption) (*Filesystem, error)public Filesystem(string name, FilesystemArgs args, CustomResourceOptions? opts = null)
public Filesystem(String name, FilesystemArgs args)
public Filesystem(String name, FilesystemArgs args, CustomResourceOptions options)
type: powerscale:Filesystem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FilesystemArgs
- 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 FilesystemArgs
- 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 FilesystemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FilesystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FilesystemArgs
- 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 filesystemResource = new Powerscale.Filesystem("filesystemResource", new()
{
Group = new Powerscale.Inputs.FilesystemGroupArgs
{
Id = "string",
Name = "string",
Type = "string",
},
Owner = new Powerscale.Inputs.FilesystemOwnerArgs
{
Id = "string",
Name = "string",
Type = "string",
},
AccessControl = "string",
DirectoryPath = "string",
FilesystemId = "string",
FullPath = "string",
Name = "string",
Overwrite = false,
QueryZone = "string",
Recursive = false,
});
example, err := powerscale.NewFilesystem(ctx, "filesystemResource", &powerscale.FilesystemArgs{
Group: &powerscale.FilesystemGroupArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Owner: &powerscale.FilesystemOwnerArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
AccessControl: pulumi.String("string"),
DirectoryPath: pulumi.String("string"),
FilesystemId: pulumi.String("string"),
FullPath: pulumi.String("string"),
Name: pulumi.String("string"),
Overwrite: pulumi.Bool(false),
QueryZone: pulumi.String("string"),
Recursive: pulumi.Bool(false),
})
var filesystemResource = new Filesystem("filesystemResource", FilesystemArgs.builder()
.group(FilesystemGroupArgs.builder()
.id("string")
.name("string")
.type("string")
.build())
.owner(FilesystemOwnerArgs.builder()
.id("string")
.name("string")
.type("string")
.build())
.accessControl("string")
.directoryPath("string")
.filesystemId("string")
.fullPath("string")
.name("string")
.overwrite(false)
.queryZone("string")
.recursive(false)
.build());
filesystem_resource = powerscale.Filesystem("filesystemResource",
group={
"id": "string",
"name": "string",
"type": "string",
},
owner={
"id": "string",
"name": "string",
"type": "string",
},
access_control="string",
directory_path="string",
filesystem_id="string",
full_path="string",
name="string",
overwrite=False,
query_zone="string",
recursive=False)
const filesystemResource = new powerscale.Filesystem("filesystemResource", {
group: {
id: "string",
name: "string",
type: "string",
},
owner: {
id: "string",
name: "string",
type: "string",
},
accessControl: "string",
directoryPath: "string",
filesystemId: "string",
fullPath: "string",
name: "string",
overwrite: false,
queryZone: "string",
recursive: false,
});
type: powerscale:Filesystem
properties:
accessControl: string
directoryPath: string
filesystemId: string
fullPath: string
group:
id: string
name: string
type: string
name: string
overwrite: false
owner:
id: string
name: string
type: string
queryZone: string
recursive: false
Filesystem 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 Filesystem resource accepts the following input properties:
- Group
Filesystem
Group - The group of the Filesystem.(Update Supported)
- Owner
Filesystem
Owner - The owner of the Filesystem.(Update Supported)
- Access
Control string - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- Directory
Path string - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- Filesystem
Id string - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- Full
Path string - The full path of the FileSystem
- Name string
- FileSystem directory name
- Overwrite bool
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- Query
Zone string - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- Recursive bool
- Creates intermediate folders recursively when set to true.
- Group
Filesystem
Group Args - The group of the Filesystem.(Update Supported)
- Owner
Filesystem
Owner Args - The owner of the Filesystem.(Update Supported)
- Access
Control string - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- Directory
Path string - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- Filesystem
Id string - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- Full
Path string - The full path of the FileSystem
- Name string
- FileSystem directory name
- Overwrite bool
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- Query
Zone string - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- Recursive bool
- Creates intermediate folders recursively when set to true.
- group
Filesystem
Group - The group of the Filesystem.(Update Supported)
- owner
Filesystem
Owner - The owner of the Filesystem.(Update Supported)
- access
Control String - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- directory
Path String - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem
Id String - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full
Path String - The full path of the FileSystem
- name String
- FileSystem directory name
- overwrite Boolean
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- query
Zone String - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive Boolean
- Creates intermediate folders recursively when set to true.
- group
Filesystem
Group - The group of the Filesystem.(Update Supported)
- owner
Filesystem
Owner - The owner of the Filesystem.(Update Supported)
- access
Control string - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- directory
Path string - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem
Id string - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full
Path string - The full path of the FileSystem
- name string
- FileSystem directory name
- overwrite boolean
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- query
Zone string - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive boolean
- Creates intermediate folders recursively when set to true.
- group
Filesystem
Group Args - The group of the Filesystem.(Update Supported)
- owner
Filesystem
Owner Args - The owner of the Filesystem.(Update Supported)
- access_
control str - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- directory_
path str - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem_
id str - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full_
path str - The full path of the FileSystem
- name str
- FileSystem directory name
- overwrite bool
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- query_
zone str - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive bool
- Creates intermediate folders recursively when set to true.
- group Property Map
- The group of the Filesystem.(Update Supported)
- owner Property Map
- The owner of the Filesystem.(Update Supported)
- access
Control String - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- directory
Path String - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem
Id String - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full
Path String - The full path of the FileSystem
- name String
- FileSystem directory name
- overwrite Boolean
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- query
Zone String - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive Boolean
- Creates intermediate folders recursively when set to true.
Outputs
All input properties are implicitly available as output properties. Additionally, the Filesystem resource produces the following output properties:
- string
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- Creation
Time string - File System Resource Creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Acl mode
- Type string
- File System Resource type
- string
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- Creation
Time string - File System Resource Creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Mode string
- Acl mode
- Type string
- File System Resource type
- String
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation
Time String - File System Resource Creation time
- id String
- The provider-assigned unique ID for this managed resource.
- mode String
- Acl mode
- type String
- File System Resource type
- string
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation
Time string - File System Resource Creation time
- id string
- The provider-assigned unique ID for this managed resource.
- mode string
- Acl mode
- type string
- File System Resource type
- str
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation_
time str - File System Resource Creation time
- id str
- The provider-assigned unique ID for this managed resource.
- mode str
- Acl mode
- type str
- File System Resource type
- String
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation
Time String - File System Resource Creation time
- id String
- The provider-assigned unique ID for this managed resource.
- mode String
- Acl mode
- type String
- File System Resource type
Look up Existing Filesystem Resource
Get an existing Filesystem 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?: FilesystemState, opts?: CustomResourceOptions): Filesystem@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_control: Optional[str] = None,
authoritative: Optional[str] = None,
creation_time: Optional[str] = None,
directory_path: Optional[str] = None,
filesystem_id: Optional[str] = None,
full_path: Optional[str] = None,
group: Optional[FilesystemGroupArgs] = None,
mode: Optional[str] = None,
name: Optional[str] = None,
overwrite: Optional[bool] = None,
owner: Optional[FilesystemOwnerArgs] = None,
query_zone: Optional[str] = None,
recursive: Optional[bool] = None,
type: Optional[str] = None) -> Filesystemfunc GetFilesystem(ctx *Context, name string, id IDInput, state *FilesystemState, opts ...ResourceOption) (*Filesystem, error)public static Filesystem Get(string name, Input<string> id, FilesystemState? state, CustomResourceOptions? opts = null)public static Filesystem get(String name, Output<String> id, FilesystemState state, CustomResourceOptions options)resources: _: type: powerscale:Filesystem get: 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.
- Access
Control string - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- string
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- Creation
Time string - File System Resource Creation time
- Directory
Path string - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- Filesystem
Id string - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- Full
Path string - The full path of the FileSystem
- Group
Filesystem
Group - The group of the Filesystem.(Update Supported)
- Mode string
- Acl mode
- Name string
- FileSystem directory name
- Overwrite bool
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- Owner
Filesystem
Owner - The owner of the Filesystem.(Update Supported)
- Query
Zone string - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- Recursive bool
- Creates intermediate folders recursively when set to true.
- Type string
- File System Resource type
- Access
Control string - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- string
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- Creation
Time string - File System Resource Creation time
- Directory
Path string - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- Filesystem
Id string - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- Full
Path string - The full path of the FileSystem
- Group
Filesystem
Group Args - The group of the Filesystem.(Update Supported)
- Mode string
- Acl mode
- Name string
- FileSystem directory name
- Overwrite bool
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- Owner
Filesystem
Owner Args - The owner of the Filesystem.(Update Supported)
- Query
Zone string - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- Recursive bool
- Creates intermediate folders recursively when set to true.
- Type string
- File System Resource type
- access
Control String - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- String
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation
Time String - File System Resource Creation time
- directory
Path String - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem
Id String - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full
Path String - The full path of the FileSystem
- group
Filesystem
Group - The group of the Filesystem.(Update Supported)
- mode String
- Acl mode
- name String
- FileSystem directory name
- overwrite Boolean
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- owner
Filesystem
Owner - The owner of the Filesystem.(Update Supported)
- query
Zone String - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive Boolean
- Creates intermediate folders recursively when set to true.
- type String
- File System Resource type
- access
Control string - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- string
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation
Time string - File System Resource Creation time
- directory
Path string - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem
Id string - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full
Path string - The full path of the FileSystem
- group
Filesystem
Group - The group of the Filesystem.(Update Supported)
- mode string
- Acl mode
- name string
- FileSystem directory name
- overwrite boolean
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- owner
Filesystem
Owner - The owner of the Filesystem.(Update Supported)
- query
Zone string - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive boolean
- Creates intermediate folders recursively when set to true.
- type string
- File System Resource type
- access_
control str - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- str
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation_
time str - File System Resource Creation time
- directory_
path str - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem_
id str - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full_
path str - The full path of the FileSystem
- group
Filesystem
Group Args - The group of the Filesystem.(Update Supported)
- mode str
- Acl mode
- name str
- FileSystem directory name
- overwrite bool
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- owner
Filesystem
Owner Args - The owner of the Filesystem.(Update Supported)
- query_
zone str - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive bool
- Creates intermediate folders recursively when set to true.
- type str
- File System Resource type
- access
Control String - The ACL value for the directory. Users can either provide access rights input such as 'privateread' , 'private' , 'publicread', 'publicreadwrite', 'public' or permissions in POSIX format as '0550', '0770', '0775','0777' or 0700. The Default value is (0700). (Update Supported but Modification of ACL is only supported from POSIX to POSIX mode)
- String
- If the directory has access rights set, then this field returns acl. Otherwise it returns mode.
- creation
Time String - File System Resource Creation time
- directory
Path String - FileSystem directory path.This specifies the path to the FileSystem(Namespace directory) which we are trying to manage. If no directory path is specified, [/ifs] would be taken by default.
- filesystem
Id String - FileSystem identifier. Unique identifier for the FileSystem(Namespace directory)
- full
Path String - The full path of the FileSystem
- group Property Map
- The group of the Filesystem.(Update Supported)
- mode String
- Acl mode
- name String
- FileSystem directory name
- overwrite Boolean
- Deletes and replaces the existing user attributes and ACLs of the directory with user-specified attributes if set to true.
- owner Property Map
- The owner of the Filesystem.(Update Supported)
- query
Zone String - Specifies the zone that the object belongs to. Optional and will default to the default access zone if one is not set.
- recursive Boolean
- Creates intermediate folders recursively when set to true.
- type String
- File System Resource type
Supporting Types
FilesystemGroup, FilesystemGroupArgs
FilesystemOwner, FilesystemOwnerArgs
Import
Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The command is
$ pulumi import powerscale:index/filesystem:Filesystem file_system_test <name>
Example:
$ pulumi import powerscale:index/filesystem:Filesystem file_system_test ifs/DirTf
after running this command, populate the name field and other required parameters in the config file to start managing this resource.
Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscaleTerraform Provider.
published on Wednesday, Apr 1, 2026 by dell
