1. Packages
  2. stackit
  3. API Docs
  4. getSfsShare
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    SFS Share schema. Must have a region specified in the provider configuration.

    This datasource 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

    data "stackit_sfs_share" "example" {
      project_id       = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
      resource_pool_id = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
      share_id         = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
    }
    

    Using getSfsShare

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSfsShare(args: GetSfsShareArgs, opts?: InvokeOptions): Promise<GetSfsShareResult>
    function getSfsShareOutput(args: GetSfsShareOutputArgs, opts?: InvokeOptions): Output<GetSfsShareResult>
    def get_sfs_share(project_id: Optional[str] = None,
                      region: Optional[str] = None,
                      resource_pool_id: Optional[str] = None,
                      share_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetSfsShareResult
    def get_sfs_share_output(project_id: Optional[pulumi.Input[str]] = None,
                      region: Optional[pulumi.Input[str]] = None,
                      resource_pool_id: Optional[pulumi.Input[str]] = None,
                      share_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetSfsShareResult]
    func LookupSfsShare(ctx *Context, args *LookupSfsShareArgs, opts ...InvokeOption) (*LookupSfsShareResult, error)
    func LookupSfsShareOutput(ctx *Context, args *LookupSfsShareOutputArgs, opts ...InvokeOption) LookupSfsShareResultOutput

    > Note: This function is named LookupSfsShare in the Go SDK.

    public static class GetSfsShare 
    {
        public static Task<GetSfsShareResult> InvokeAsync(GetSfsShareArgs args, InvokeOptions? opts = null)
        public static Output<GetSfsShareResult> Invoke(GetSfsShareInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSfsShareResult> getSfsShare(GetSfsShareArgs args, InvokeOptions options)
    public static Output<GetSfsShareResult> getSfsShare(GetSfsShareArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getSfsShare:getSfsShare
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    STACKIT project ID to which the share is associated.
    ResourcePoolId string
    The ID of the resource pool for the SFS share.
    ShareId string
    share ID
    Region string
    The resource region. Read-only attribute that reflects the provider region.
    ProjectId string
    STACKIT project ID to which the share is associated.
    ResourcePoolId string
    The ID of the resource pool for the SFS share.
    ShareId string
    share ID
    Region string
    The resource region. Read-only attribute that reflects the provider region.
    projectId String
    STACKIT project ID to which the share is associated.
    resourcePoolId String
    The ID of the resource pool for the SFS share.
    shareId String
    share ID
    region String
    The resource region. Read-only attribute that reflects the provider region.
    projectId string
    STACKIT project ID to which the share is associated.
    resourcePoolId string
    The ID of the resource pool for the SFS share.
    shareId string
    share ID
    region string
    The resource region. Read-only attribute that reflects the provider region.
    project_id str
    STACKIT project ID to which the share is associated.
    resource_pool_id str
    The ID of the resource pool for the SFS share.
    share_id str
    share ID
    region str
    The resource region. Read-only attribute that reflects the provider region.
    projectId String
    STACKIT project ID to which the share is associated.
    resourcePoolId String
    The ID of the resource pool for the SFS share.
    shareId String
    share ID
    region String
    The resource region. Read-only attribute that reflects the provider region.

    getSfsShare Result

    The following output properties are available:

    ExportPolicy string
    Name of the Share Export Policy to use in the Share. Note that if this is not set, 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
    Id string
    MountPath string
    Mount path of the Share, used to mount the Share
    Name string
    Name of the Share
    ProjectId string
    STACKIT project ID to which the share is associated.
    ResourcePoolId string
    The ID of the resource pool for the SFS share.
    ShareId string
    share ID
    SpaceHardLimitGigabytes int
    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)
    Region string
    The resource region. Read-only attribute that reflects the provider region.
    ExportPolicy string
    Name of the Share Export Policy to use in the Share. Note that if this is not set, 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
    Id string
    MountPath string
    Mount path of the Share, used to mount the Share
    Name string
    Name of the Share
    ProjectId string
    STACKIT project ID to which the share is associated.
    ResourcePoolId string
    The ID of the resource pool for the SFS share.
    ShareId string
    share ID
    SpaceHardLimitGigabytes int
    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)
    Region string
    The resource region. Read-only attribute that reflects the provider region.
    exportPolicy String
    Name of the Share Export Policy to use in the Share. Note that if this is not set, 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
    id String
    mountPath String
    Mount path of the Share, used to mount the Share
    name String
    Name of the Share
    projectId String
    STACKIT project ID to which the share is associated.
    resourcePoolId String
    The ID of the resource pool for the SFS share.
    shareId String
    share ID
    spaceHardLimitGigabytes Integer
    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)
    region String
    The resource region. Read-only attribute that reflects the provider region.
    exportPolicy string
    Name of the Share Export Policy to use in the Share. Note that if this is not set, 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
    id string
    mountPath string
    Mount path of the Share, used to mount the Share
    name string
    Name of the Share
    projectId string
    STACKIT project ID to which the share is associated.
    resourcePoolId string
    The ID of the resource pool for the SFS share.
    shareId string
    share ID
    spaceHardLimitGigabytes number
    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)
    region string
    The resource region. Read-only attribute that reflects the provider region.
    export_policy str
    Name of the Share Export Policy to use in the Share. Note that if this is not set, 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
    id str
    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.
    resource_pool_id str
    The ID of the resource pool for the SFS share.
    share_id str
    share ID
    space_hard_limit_gigabytes int
    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)
    region str
    The resource region. Read-only attribute that reflects the provider region.
    exportPolicy String
    Name of the Share Export Policy to use in the Share. Note that if this is not set, 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
    id String
    mountPath String
    Mount path of the Share, used to mount the Share
    name String
    Name of the Share
    projectId String
    STACKIT project ID to which the share is associated.
    resourcePoolId String
    The ID of the resource pool for the SFS share.
    shareId String
    share ID
    spaceHardLimitGigabytes Number
    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)
    region String
    The resource region. Read-only attribute that reflects the provider region.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.