1. Packages
  2. stackit
  3. API Docs
  4. getSfsExportPolicy
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 export policy datasource 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_export_policy" "example" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      policy_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getSfsExportPolicy

    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 getSfsExportPolicy(args: GetSfsExportPolicyArgs, opts?: InvokeOptions): Promise<GetSfsExportPolicyResult>
    function getSfsExportPolicyOutput(args: GetSfsExportPolicyOutputArgs, opts?: InvokeOptions): Output<GetSfsExportPolicyResult>
    def get_sfs_export_policy(policy_id: Optional[str] = None,
                              project_id: Optional[str] = None,
                              region: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetSfsExportPolicyResult
    def get_sfs_export_policy_output(policy_id: Optional[pulumi.Input[str]] = None,
                              project_id: Optional[pulumi.Input[str]] = None,
                              region: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetSfsExportPolicyResult]
    func LookupSfsExportPolicy(ctx *Context, args *LookupSfsExportPolicyArgs, opts ...InvokeOption) (*LookupSfsExportPolicyResult, error)
    func LookupSfsExportPolicyOutput(ctx *Context, args *LookupSfsExportPolicyOutputArgs, opts ...InvokeOption) LookupSfsExportPolicyResultOutput

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

    public static class GetSfsExportPolicy 
    {
        public static Task<GetSfsExportPolicyResult> InvokeAsync(GetSfsExportPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetSfsExportPolicyResult> Invoke(GetSfsExportPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSfsExportPolicyResult> getSfsExportPolicy(GetSfsExportPolicyArgs args, InvokeOptions options)
    public static Output<GetSfsExportPolicyResult> getSfsExportPolicy(GetSfsExportPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getSfsExportPolicy:getSfsExportPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PolicyId string
    Export policy ID
    ProjectId string
    STACKIT project ID to which the export policy is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    PolicyId string
    Export policy ID
    ProjectId string
    STACKIT project ID to which the export policy is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    policyId String
    Export policy ID
    projectId String
    STACKIT project ID to which the export policy is associated.
    region String
    The resource region. If not defined, the provider region is used.
    policyId string
    Export policy ID
    projectId string
    STACKIT project ID to which the export policy is associated.
    region string
    The resource region. If not defined, the provider region is used.
    policy_id str
    Export policy ID
    project_id str
    STACKIT project ID to which the export policy is associated.
    region str
    The resource region. If not defined, the provider region is used.
    policyId String
    Export policy ID
    projectId String
    STACKIT project ID to which the export policy is associated.
    region String
    The resource region. If not defined, the provider region is used.

    getSfsExportPolicy Result

    The following output properties are available:

    Id string
    Name string
    Name of the export policy.
    PolicyId string
    Export policy ID
    ProjectId string
    STACKIT project ID to which the export policy is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Rules List<GetSfsExportPolicyRule>
    Id string
    Name string
    Name of the export policy.
    PolicyId string
    Export policy ID
    ProjectId string
    STACKIT project ID to which the export policy is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Rules []GetSfsExportPolicyRule
    id String
    name String
    Name of the export policy.
    policyId String
    Export policy ID
    projectId String
    STACKIT project ID to which the export policy is associated.
    region String
    The resource region. If not defined, the provider region is used.
    rules List<GetSfsExportPolicyRule>
    id string
    name string
    Name of the export policy.
    policyId string
    Export policy ID
    projectId string
    STACKIT project ID to which the export policy is associated.
    region string
    The resource region. If not defined, the provider region is used.
    rules GetSfsExportPolicyRule[]
    id str
    name str
    Name of the export policy.
    policy_id str
    Export policy ID
    project_id str
    STACKIT project ID to which the export policy is associated.
    region str
    The resource region. If not defined, the provider region is used.
    rules Sequence[GetSfsExportPolicyRule]
    id String
    name String
    Name of the export policy.
    policyId String
    Export policy ID
    projectId String
    STACKIT project ID to which the export policy is associated.
    region String
    The resource region. If not defined, the provider region is used.
    rules List<Property Map>

    Supporting Types

    GetSfsExportPolicyRule

    IpAcls List<string>
    IP access control list; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP).
    Order int
    Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied
    ReadOnly bool
    Flag to indicate if client IPs matching this rule can only mount the share in read only mode
    SetUuid bool
    Flag to honor set UUID
    SuperUser bool
    Flag to indicate if client IPs matching this rule have root access on the Share
    Description string
    Description of the Rule
    IpAcls []string
    IP access control list; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP).
    Order int
    Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied
    ReadOnly bool
    Flag to indicate if client IPs matching this rule can only mount the share in read only mode
    SetUuid bool
    Flag to honor set UUID
    SuperUser bool
    Flag to indicate if client IPs matching this rule have root access on the Share
    Description string
    Description of the Rule
    ipAcls List<String>
    IP access control list; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP).
    order Integer
    Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied
    readOnly Boolean
    Flag to indicate if client IPs matching this rule can only mount the share in read only mode
    setUuid Boolean
    Flag to honor set UUID
    superUser Boolean
    Flag to indicate if client IPs matching this rule have root access on the Share
    description String
    Description of the Rule
    ipAcls string[]
    IP access control list; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP).
    order number
    Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied
    readOnly boolean
    Flag to indicate if client IPs matching this rule can only mount the share in read only mode
    setUuid boolean
    Flag to honor set UUID
    superUser boolean
    Flag to indicate if client IPs matching this rule have root access on the Share
    description string
    Description of the Rule
    ip_acls Sequence[str]
    IP access control list; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP).
    order int
    Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied
    read_only bool
    Flag to indicate if client IPs matching this rule can only mount the share in read only mode
    set_uuid bool
    Flag to honor set UUID
    super_user bool
    Flag to indicate if client IPs matching this rule have root access on the Share
    description str
    Description of the Rule
    ipAcls List<String>
    IP access control list; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP).
    order Number
    Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied
    readOnly Boolean
    Flag to indicate if client IPs matching this rule can only mount the share in read only mode
    setUuid Boolean
    Flag to honor set UUID
    superUser Boolean
    Flag to indicate if client IPs matching this rule have root access on the Share
    description String
    Description of the Rule

    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.