published on Wednesday, Jun 24, 2026 by dell
published on Wednesday, Jun 24, 2026 by dell
This resource is used to manage the smb share entity of PowerStore Array. We can Create, Update and Delete the smb share using this resource. We can also import an existing smb share from PowerStore array.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
# 2. create an SMB Share from that filesystem
salesCatalogFor2024March:
type: powerstore:SmbShare
name: sales_catalog_for_2024_march
properties:
fileSystemId: ${salesCatalog.filesystems[0].id}
name: sales_catalog_for_2024_march
path: /sales_catalog_fs/2024/March
description: SMB Share for sales catalog for 2024 March
aces:
- access_level: Full
access_type: Allow
trustee_name: Everyone
trustee_type: WellKnown
isAbeEnabled: true
isContinuousAvailabilityEnabled: true
isEncryptionEnabled: true
isBranchCacheEnabled: true
offlineAvailability: Manual
umask: '077'
# To expose a snapshot of a filesystem via NFS, we shall:
# 1. create a snapshot of type "Protocol" of the given filesystem
salesCatalogSnap:
type: powerstore:FilesystemSnapshot
name: sales_catalog_snap
properties:
name: sales_catalog_snap
description: Snapshot of Sales Catalog Filesystem
filesystemId: ${salesCatalog.filesystems[0].id}
accessType: Protocol
# 2. Expose the snapshot over SMB (here, we are sharing the /2024/March directory from the snapshot)
salesCatalogFor2024MarchSnap:
type: powerstore:SmbShare
name: sales_catalog_for_2024_march_snap
properties:
fileSystemId: ${salesCatalogSnap.id}
name: sales_catalog_for_2024_march_snap
path: /${salesCatalogSnapPowestoreFilesystemSnapshot.name}/2024/March
description: SMB share of Sales Catalog for 2024 March from snapshot
variables:
# /*
# Copyright (c) 2025 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.
# */
# Commands to run this tf file : terraform init && pulumi preview && pulumi up
# Create, Update, Delete and Import is supported for this resource
# To create an SMB Share of a filesystem, we shall:
# 1. get the id of the filesystem to be shared over SMB
salesCatalog:
fn::invoke:
function: powerstore:getFilesystem
arguments:
name: sales_catalog_fs
Example coming soon!
Create SmbShare Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SmbShare(name: string, args: SmbShareArgs, opts?: CustomResourceOptions);@overload
def SmbShare(resource_name: str,
args: SmbShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SmbShare(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_system_id: Optional[str] = None,
path: Optional[str] = None,
aces: Optional[Sequence[SmbShareAceArgs]] = None,
description: Optional[str] = None,
is_abe_enabled: Optional[bool] = None,
is_branch_cache_enabled: Optional[bool] = None,
is_continuous_availability_enabled: Optional[bool] = None,
is_encryption_enabled: Optional[bool] = None,
name: Optional[str] = None,
offline_availability: Optional[str] = None,
umask: Optional[str] = None)func NewSmbShare(ctx *Context, name string, args SmbShareArgs, opts ...ResourceOption) (*SmbShare, error)public SmbShare(string name, SmbShareArgs args, CustomResourceOptions? opts = null)
public SmbShare(String name, SmbShareArgs args)
public SmbShare(String name, SmbShareArgs args, CustomResourceOptions options)
type: powerstore:SmbShare
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "powerstore_smbshare" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SmbShareArgs
- 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 SmbShareArgs
- 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 SmbShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SmbShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SmbShareArgs
- 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 smbShareResource = new Powerstore.SmbShare("smbShareResource", new()
{
FileSystemId = "string",
Path = "string",
Aces = new[]
{
new Powerstore.Inputs.SmbShareAceArgs
{
AccessLevel = "string",
AccessType = "string",
TrusteeName = "string",
TrusteeType = "string",
},
},
Description = "string",
IsAbeEnabled = false,
IsBranchCacheEnabled = false,
IsContinuousAvailabilityEnabled = false,
IsEncryptionEnabled = false,
Name = "string",
OfflineAvailability = "string",
Umask = "string",
});
example, err := powerstore.NewSmbShare(ctx, "smbShareResource", &powerstore.SmbShareArgs{
FileSystemId: pulumi.String("string"),
Path: pulumi.String("string"),
Aces: powerstore.SmbShareAceArray{
&powerstore.SmbShareAceArgs{
AccessLevel: pulumi.String("string"),
AccessType: pulumi.String("string"),
TrusteeName: pulumi.String("string"),
TrusteeType: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
IsAbeEnabled: pulumi.Bool(false),
IsBranchCacheEnabled: pulumi.Bool(false),
IsContinuousAvailabilityEnabled: pulumi.Bool(false),
IsEncryptionEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
OfflineAvailability: pulumi.String("string"),
Umask: pulumi.String("string"),
})
resource "powerstore_smbshare" "smbShareResource" {
file_system_id = "string"
path = "string"
aces {
access_level = "string"
access_type = "string"
trustee_name = "string"
trustee_type = "string"
}
description = "string"
is_abe_enabled = false
is_branch_cache_enabled = false
is_continuous_availability_enabled = false
is_encryption_enabled = false
name = "string"
offline_availability = "string"
umask = "string"
}
var smbShareResource = new SmbShare("smbShareResource", SmbShareArgs.builder()
.fileSystemId("string")
.path("string")
.aces(SmbShareAceArgs.builder()
.accessLevel("string")
.accessType("string")
.trusteeName("string")
.trusteeType("string")
.build())
.description("string")
.isAbeEnabled(false)
.isBranchCacheEnabled(false)
.isContinuousAvailabilityEnabled(false)
.isEncryptionEnabled(false)
.name("string")
.offlineAvailability("string")
.umask("string")
.build());
smb_share_resource = powerstore.SmbShare("smbShareResource",
file_system_id="string",
path="string",
aces=[{
"access_level": "string",
"access_type": "string",
"trustee_name": "string",
"trustee_type": "string",
}],
description="string",
is_abe_enabled=False,
is_branch_cache_enabled=False,
is_continuous_availability_enabled=False,
is_encryption_enabled=False,
name="string",
offline_availability="string",
umask="string")
const smbShareResource = new powerstore.SmbShare("smbShareResource", {
fileSystemId: "string",
path: "string",
aces: [{
accessLevel: "string",
accessType: "string",
trusteeName: "string",
trusteeType: "string",
}],
description: "string",
isAbeEnabled: false,
isBranchCacheEnabled: false,
isContinuousAvailabilityEnabled: false,
isEncryptionEnabled: false,
name: "string",
offlineAvailability: "string",
umask: "string",
});
type: powerstore:SmbShare
properties:
aces:
- accessLevel: string
accessType: string
trusteeName: string
trusteeType: string
description: string
fileSystemId: string
isAbeEnabled: false
isBranchCacheEnabled: false
isContinuousAvailabilityEnabled: false
isEncryptionEnabled: false
name: string
offlineAvailability: string
path: string
umask: string
SmbShare 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 SmbShare resource accepts the following input properties:
- File
System stringId - The unique identifier of the file system on which the SMB Share is created.
- Path string
- The local path to export relative to the NAS Server.
- Aces
List<Smb
Share Ace> - To specify the ACL access options.
- Description string
- User defined SMB share description.
- Is
Abe boolEnabled - Whether Access-based Enumeration (ABE) is enabled.
- Is
Branch boolCache Enabled - Whether BranchCache optimization is enabled.
- Is
Continuous boolAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- Is
Encryption boolEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- Name string
- The name of the SMB Share.
- Offline
Availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - Umask string
- The default UNIX umask for new files created on the Share.
- File
System stringId - The unique identifier of the file system on which the SMB Share is created.
- Path string
- The local path to export relative to the NAS Server.
- Aces
[]Smb
Share Ace Args - To specify the ACL access options.
- Description string
- User defined SMB share description.
- Is
Abe boolEnabled - Whether Access-based Enumeration (ABE) is enabled.
- Is
Branch boolCache Enabled - Whether BranchCache optimization is enabled.
- Is
Continuous boolAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- Is
Encryption boolEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- Name string
- The name of the SMB Share.
- Offline
Availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - Umask string
- The default UNIX umask for new files created on the Share.
- file_
system_ stringid - The unique identifier of the file system on which the SMB Share is created.
- path string
- The local path to export relative to the NAS Server.
- aces list(object)
- To specify the ACL access options.
- description string
- User defined SMB share description.
- is_
abe_ boolenabled - Whether Access-based Enumeration (ABE) is enabled.
- is_
branch_ boolcache_ enabled - Whether BranchCache optimization is enabled.
- is_
continuous_ boolavailability_ enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is_
encryption_ boolenabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name string
- The name of the SMB Share.
- offline_
availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - umask string
- The default UNIX umask for new files created on the Share.
- file
System StringId - The unique identifier of the file system on which the SMB Share is created.
- path String
- The local path to export relative to the NAS Server.
- aces
List<Smb
Share Ace> - To specify the ACL access options.
- description String
- User defined SMB share description.
- is
Abe BooleanEnabled - Whether Access-based Enumeration (ABE) is enabled.
- is
Branch BooleanCache Enabled - Whether BranchCache optimization is enabled.
- is
Continuous BooleanAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is
Encryption BooleanEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name String
- The name of the SMB Share.
- offline
Availability String - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - umask String
- The default UNIX umask for new files created on the Share.
- file
System stringId - The unique identifier of the file system on which the SMB Share is created.
- path string
- The local path to export relative to the NAS Server.
- aces
Smb
Share Ace[] - To specify the ACL access options.
- description string
- User defined SMB share description.
- is
Abe booleanEnabled - Whether Access-based Enumeration (ABE) is enabled.
- is
Branch booleanCache Enabled - Whether BranchCache optimization is enabled.
- is
Continuous booleanAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is
Encryption booleanEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name string
- The name of the SMB Share.
- offline
Availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - umask string
- The default UNIX umask for new files created on the Share.
- file_
system_ strid - The unique identifier of the file system on which the SMB Share is created.
- path str
- The local path to export relative to the NAS Server.
- aces
Sequence[Smb
Share Ace Args] - To specify the ACL access options.
- description str
- User defined SMB share description.
- is_
abe_ boolenabled - Whether Access-based Enumeration (ABE) is enabled.
- is_
branch_ boolcache_ enabled - Whether BranchCache optimization is enabled.
- is_
continuous_ boolavailability_ enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is_
encryption_ boolenabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name str
- The name of the SMB Share.
- offline_
availability str - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - umask str
- The default UNIX umask for new files created on the Share.
- file
System StringId - The unique identifier of the file system on which the SMB Share is created.
- path String
- The local path to export relative to the NAS Server.
- aces List<Property Map>
- To specify the ACL access options.
- description String
- User defined SMB share description.
- is
Abe BooleanEnabled - Whether Access-based Enumeration (ABE) is enabled.
- is
Branch BooleanCache Enabled - Whether BranchCache optimization is enabled.
- is
Continuous BooleanAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is
Encryption BooleanEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name String
- The name of the SMB Share.
- offline
Availability String - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - umask String
- The default UNIX umask for new files created on the Share.
Outputs
All input properties are implicitly available as output properties. Additionally, the SmbShare 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 SmbShare Resource
Get an existing SmbShare 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?: SmbShareState, opts?: CustomResourceOptions): SmbShare@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aces: Optional[Sequence[SmbShareAceArgs]] = None,
description: Optional[str] = None,
file_system_id: Optional[str] = None,
is_abe_enabled: Optional[bool] = None,
is_branch_cache_enabled: Optional[bool] = None,
is_continuous_availability_enabled: Optional[bool] = None,
is_encryption_enabled: Optional[bool] = None,
name: Optional[str] = None,
offline_availability: Optional[str] = None,
path: Optional[str] = None,
umask: Optional[str] = None) -> SmbSharefunc GetSmbShare(ctx *Context, name string, id IDInput, state *SmbShareState, opts ...ResourceOption) (*SmbShare, error)public static SmbShare Get(string name, Input<string> id, SmbShareState? state, CustomResourceOptions? opts = null)public static SmbShare get(String name, Output<String> id, SmbShareState state, CustomResourceOptions options)resources: _: type: powerstore:SmbShare get: id: ${id}import {
to = powerstore_smbshare.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.
- Aces
List<Smb
Share Ace> - To specify the ACL access options.
- Description string
- User defined SMB share description.
- File
System stringId - The unique identifier of the file system on which the SMB Share is created.
- Is
Abe boolEnabled - Whether Access-based Enumeration (ABE) is enabled.
- Is
Branch boolCache Enabled - Whether BranchCache optimization is enabled.
- Is
Continuous boolAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- Is
Encryption boolEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- Name string
- The name of the SMB Share.
- Offline
Availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - Path string
- The local path to export relative to the NAS Server.
- Umask string
- The default UNIX umask for new files created on the Share.
- Aces
[]Smb
Share Ace Args - To specify the ACL access options.
- Description string
- User defined SMB share description.
- File
System stringId - The unique identifier of the file system on which the SMB Share is created.
- Is
Abe boolEnabled - Whether Access-based Enumeration (ABE) is enabled.
- Is
Branch boolCache Enabled - Whether BranchCache optimization is enabled.
- Is
Continuous boolAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- Is
Encryption boolEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- Name string
- The name of the SMB Share.
- Offline
Availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - Path string
- The local path to export relative to the NAS Server.
- Umask string
- The default UNIX umask for new files created on the Share.
- aces list(object)
- To specify the ACL access options.
- description string
- User defined SMB share description.
- file_
system_ stringid - The unique identifier of the file system on which the SMB Share is created.
- is_
abe_ boolenabled - Whether Access-based Enumeration (ABE) is enabled.
- is_
branch_ boolcache_ enabled - Whether BranchCache optimization is enabled.
- is_
continuous_ boolavailability_ enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is_
encryption_ boolenabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name string
- The name of the SMB Share.
- offline_
availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - path string
- The local path to export relative to the NAS Server.
- umask string
- The default UNIX umask for new files created on the Share.
- aces
List<Smb
Share Ace> - To specify the ACL access options.
- description String
- User defined SMB share description.
- file
System StringId - The unique identifier of the file system on which the SMB Share is created.
- is
Abe BooleanEnabled - Whether Access-based Enumeration (ABE) is enabled.
- is
Branch BooleanCache Enabled - Whether BranchCache optimization is enabled.
- is
Continuous BooleanAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is
Encryption BooleanEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name String
- The name of the SMB Share.
- offline
Availability String - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - path String
- The local path to export relative to the NAS Server.
- umask String
- The default UNIX umask for new files created on the Share.
- aces
Smb
Share Ace[] - To specify the ACL access options.
- description string
- User defined SMB share description.
- file
System stringId - The unique identifier of the file system on which the SMB Share is created.
- is
Abe booleanEnabled - Whether Access-based Enumeration (ABE) is enabled.
- is
Branch booleanCache Enabled - Whether BranchCache optimization is enabled.
- is
Continuous booleanAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is
Encryption booleanEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name string
- The name of the SMB Share.
- offline
Availability string - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - path string
- The local path to export relative to the NAS Server.
- umask string
- The default UNIX umask for new files created on the Share.
- aces
Sequence[Smb
Share Ace Args] - To specify the ACL access options.
- description str
- User defined SMB share description.
- file_
system_ strid - The unique identifier of the file system on which the SMB Share is created.
- is_
abe_ boolenabled - Whether Access-based Enumeration (ABE) is enabled.
- is_
branch_ boolcache_ enabled - Whether BranchCache optimization is enabled.
- is_
continuous_ boolavailability_ enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is_
encryption_ boolenabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name str
- The name of the SMB Share.
- offline_
availability str - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - path str
- The local path to export relative to the NAS Server.
- umask str
- The default UNIX umask for new files created on the Share.
- aces List<Property Map>
- To specify the ACL access options.
- description String
- User defined SMB share description.
- file
System StringId - The unique identifier of the file system on which the SMB Share is created.
- is
Abe BooleanEnabled - Whether Access-based Enumeration (ABE) is enabled.
- is
Branch BooleanCache Enabled - Whether BranchCache optimization is enabled.
- is
Continuous BooleanAvailability Enabled - Whether continuous availability for Server Message Block (SMB) 3.0 is enabled for the SMB Share.
- is
Encryption BooleanEnabled - Whether encryption for Server Message Block (SMB) 3.0 is enabled at the shared folder level.
- name String
- The name of the SMB Share.
- offline
Availability String - Defines valid states of Offline Availability, where the states are:
Manual- Only specified files will be available offline.Documents- All files that users open will be available offline.Programs- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline.None- Prevents clients from storing documents and programs in offline cache. - path String
- The local path to export relative to the NAS Server.
- umask String
- The default UNIX umask for new files created on the Share.
Supporting Types
SmbShareAce, SmbShareAceArgs
- Access
Level string - The access level.
- Access
Type string - The access type.
- Trustee
Name string - The name of the trustee.
- Trustee
Type string - The type of the trustee.
- Access
Level string - The access level.
- Access
Type string - The access type.
- Trustee
Name string - The name of the trustee.
- Trustee
Type string - The type of the trustee.
- access_
level string - The access level.
- access_
type string - The access type.
- trustee_
name string - The name of the trustee.
- trustee_
type string - The type of the trustee.
- access
Level String - The access level.
- access
Type String - The access type.
- trustee
Name String - The name of the trustee.
- trustee
Type String - The type of the trustee.
- access
Level string - The access level.
- access
Type string - The access type.
- trustee
Name string - The name of the trustee.
- trustee
Type string - The type of the trustee.
- access_
level str - The access level.
- access_
type str - The access type.
- trustee_
name str - The name of the trustee.
- trustee_
type str - The type of the trustee.
- access
Level String - The access level.
- access
Type String - The access type.
- trustee
Name String - The name of the trustee.
- trustee
Type String - The type of the trustee.
Import
#Copyright (c) 2025 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.
Below are the steps to import smb share :
Step 1 - To import a smb share , we need the id of that smb share
Step 2 - To check the id of the smb share we can make use of smb share datasource to read required/all smb share ids. Alternatively, we can make GET request to smb share endpoint. eg. https://10.0.0.1/api/rest/smb_share which will return list of all smb share ids.
Step 3 - Add empty resource block in tf file.
eg.
resource “powerstore_smb_share” “resource_block_name” {
(resource arguments)
}
$ pulumi import powerstore:index/smbShare:SmbShare Step 4 - Execute the command: "powerstore_smb_share.resource_block_name" "id_of_the_smb_share" (resource_block_name must be taken from step 3 and id must be taken from step 2)
Step 5 - After successful execution of the command , check the state file
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerstore dell/terraform-provider-powerstore
- License
- Notes
- This Pulumi package is based on the
powerstoreTerraform Provider.
published on Wednesday, Jun 24, 2026 by dell