published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
SFS Share schema. Must have a region specified in the provider configuration.
This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.
Example Usage
resource "stackit_sfs_share" "example" {
project_id = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
resource_pool_id = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
name = "my-nfs-share"
export_policy = "high-performance-class"
space_hard_limit_gigabytes = 32
}
# Only use the import statement, if you want to import an existing sfs share
import {
to = stackit_sfs_resource_pool.resourcepool
id = "${var.project_id},${var.region},${var.resource_pool_id},${var.share_id}"
}
Create SfsShare Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SfsShare(name: string, args: SfsShareArgs, opts?: CustomResourceOptions);@overload
def SfsShare(resource_name: str,
args: SfsShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SfsShare(resource_name: str,
opts: Optional[ResourceOptions] = None,
export_policy: Optional[str] = None,
project_id: Optional[str] = None,
resource_pool_id: Optional[str] = None,
space_hard_limit_gigabytes: Optional[int] = None,
name: Optional[str] = None,
region: Optional[str] = None)func NewSfsShare(ctx *Context, name string, args SfsShareArgs, opts ...ResourceOption) (*SfsShare, error)public SfsShare(string name, SfsShareArgs args, CustomResourceOptions? opts = null)
public SfsShare(String name, SfsShareArgs args)
public SfsShare(String name, SfsShareArgs args, CustomResourceOptions options)
type: stackit:SfsShare
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 SfsShareArgs
- 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 SfsShareArgs
- 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 SfsShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SfsShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SfsShareArgs
- 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 sfsShareResource = new Stackit.SfsShare("sfsShareResource", new()
{
ExportPolicy = "string",
ProjectId = "string",
ResourcePoolId = "string",
SpaceHardLimitGigabytes = 0,
Name = "string",
Region = "string",
});
example, err := stackit.NewSfsShare(ctx, "sfsShareResource", &stackit.SfsShareArgs{
ExportPolicy: pulumi.String("string"),
ProjectId: pulumi.String("string"),
ResourcePoolId: pulumi.String("string"),
SpaceHardLimitGigabytes: pulumi.Int(0),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
})
var sfsShareResource = new SfsShare("sfsShareResource", SfsShareArgs.builder()
.exportPolicy("string")
.projectId("string")
.resourcePoolId("string")
.spaceHardLimitGigabytes(0)
.name("string")
.region("string")
.build());
sfs_share_resource = stackit.SfsShare("sfsShareResource",
export_policy="string",
project_id="string",
resource_pool_id="string",
space_hard_limit_gigabytes=0,
name="string",
region="string")
const sfsShareResource = new stackit.SfsShare("sfsShareResource", {
exportPolicy: "string",
projectId: "string",
resourcePoolId: "string",
spaceHardLimitGigabytes: 0,
name: "string",
region: "string",
});
type: stackit:SfsShare
properties:
exportPolicy: string
name: string
projectId: string
region: string
resourcePoolId: string
spaceHardLimitGigabytes: 0
SfsShare 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 SfsShare resource accepts the following input properties:
- Export
Policy string - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- Project
Id string - STACKIT project ID to which the share is associated.
- Resource
Pool stringId - The ID of the resource pool for the SFS share.
- Space
Hard intLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- Name string
- Name of the share.
- Region string
- The resource region. If not defined, the provider region is used.
- Export
Policy string - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- Project
Id string - STACKIT project ID to which the share is associated.
- Resource
Pool stringId - The ID of the resource pool for the SFS share.
- Space
Hard intLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- Name string
- Name of the share.
- Region string
- The resource region. If not defined, the provider region is used.
- export
Policy String - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- project
Id String - STACKIT project ID to which the share is associated.
- resource
Pool StringId - The ID of the resource pool for the SFS share.
- space
Hard IntegerLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- name String
- Name of the share.
- region String
- The resource region. If not defined, the provider region is used.
- export
Policy string - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- project
Id string - STACKIT project ID to which the share is associated.
- resource
Pool stringId - The ID of the resource pool for the SFS share.
- space
Hard numberLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- name string
- Name of the share.
- region string
- The resource region. If not defined, the provider region is used.
- export_
policy str - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- project_
id str - STACKIT project ID to which the share is associated.
- resource_
pool_ strid - The ID of the resource pool for the SFS share.
- space_
hard_ intlimit_ gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- name str
- Name of the share.
- region str
- The resource region. If not defined, the provider region is used.
- export
Policy String - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- project
Id String - STACKIT project ID to which the share is associated.
- resource
Pool StringId - The ID of the resource pool for the SFS share.
- space
Hard NumberLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- name String
- Name of the share.
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the SfsShare resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- mount_
path str - Mount path of the Share, used to mount the Share
- str
- share ID
Look up Existing SfsShare Resource
Get an existing SfsShare 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?: SfsShareState, opts?: CustomResourceOptions): SfsShare@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
export_policy: Optional[str] = None,
mount_path: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resource_pool_id: Optional[str] = None,
share_id: Optional[str] = None,
space_hard_limit_gigabytes: Optional[int] = None) -> SfsSharefunc GetSfsShare(ctx *Context, name string, id IDInput, state *SfsShareState, opts ...ResourceOption) (*SfsShare, error)public static SfsShare Get(string name, Input<string> id, SfsShareState? state, CustomResourceOptions? opts = null)public static SfsShare get(String name, Output<String> id, SfsShareState state, CustomResourceOptions options)resources: _: type: stackit:SfsShare 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.
- Export
Policy string - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- Mount
Path string - Mount path of the Share, used to mount the Share
- Name string
- Name of the share.
- Project
Id string - STACKIT project ID to which the share is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Resource
Pool stringId - The ID of the resource pool for the SFS share.
- string
- share ID
- Space
Hard intLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- Export
Policy string - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- Mount
Path string - Mount path of the Share, used to mount the Share
- Name string
- Name of the share.
- Project
Id string - STACKIT project ID to which the share is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Resource
Pool stringId - The ID of the resource pool for the SFS share.
- string
- share ID
- Space
Hard intLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- export
Policy String - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- mount
Path String - Mount path of the Share, used to mount the Share
- name String
- Name of the share.
- project
Id String - STACKIT project ID to which the share is associated.
- region String
- The resource region. If not defined, the provider region is used.
- resource
Pool StringId - The ID of the resource pool for the SFS share.
- String
- share ID
- space
Hard IntegerLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- export
Policy string - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- mount
Path string - Mount path of the Share, used to mount the Share
- name string
- Name of the share.
- project
Id string - STACKIT project ID to which the share is associated.
- region string
- The resource region. If not defined, the provider region is used.
- resource
Pool stringId - The ID of the resource pool for the SFS share.
- string
- share ID
- space
Hard numberLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- export_
policy str - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- mount_
path str - Mount path of the Share, used to mount the Share
- name str
- Name of the share.
- project_
id str - STACKIT project ID to which the share is associated.
- region str
- The resource region. If not defined, the provider region is used.
- resource_
pool_ strid - The ID of the resource pool for the SFS share.
- str
- share ID
- space_
hard_ intlimit_ gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
- export
Policy String - Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share
- mount
Path String - Mount path of the Share, used to mount the Share
- name String
- Name of the share.
- project
Id String - STACKIT project ID to which the share is associated.
- region String
- The resource region. If not defined, the provider region is used.
- resource
Pool StringId - The ID of the resource pool for the SFS share.
- String
- share ID
- space
Hard NumberLimit Gigabytes - Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
