1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getSfsSnapshotPolicies
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

    SFS snapshot policies datasource schema

    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_snapshot_policies" "all" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    
    data "stackit_sfs_snapshot_policies" "immutable_only" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      immutable  = "immutable-only"
    }
    

    Using getSfsSnapshotPolicies

    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 getSfsSnapshotPolicies(args: GetSfsSnapshotPoliciesArgs, opts?: InvokeOptions): Promise<GetSfsSnapshotPoliciesResult>
    function getSfsSnapshotPoliciesOutput(args: GetSfsSnapshotPoliciesOutputArgs, opts?: InvokeOutputOptions): Output<GetSfsSnapshotPoliciesResult>
    def get_sfs_snapshot_policies(immutable: Optional[str] = None,
                                  project_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSfsSnapshotPoliciesResult
    def get_sfs_snapshot_policies_output(immutable: pulumi.Input[Optional[str]] = None,
                                  project_id: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetSfsSnapshotPoliciesResult]
    func GetSfsSnapshotPolicies(ctx *Context, args *GetSfsSnapshotPoliciesArgs, opts ...InvokeOption) (*GetSfsSnapshotPoliciesResult, error)
    func GetSfsSnapshotPoliciesOutput(ctx *Context, args *GetSfsSnapshotPoliciesOutputArgs, opts ...InvokeOption) GetSfsSnapshotPoliciesResultOutput

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

    public static class GetSfsSnapshotPolicies 
    {
        public static Task<GetSfsSnapshotPoliciesResult> InvokeAsync(GetSfsSnapshotPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<GetSfsSnapshotPoliciesResult> Invoke(GetSfsSnapshotPoliciesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetSfsSnapshotPoliciesResult> Invoke(GetSfsSnapshotPoliciesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetSfsSnapshotPoliciesResult> getSfsSnapshotPolicies(GetSfsSnapshotPoliciesArgs args, InvokeOptions options)
    public static Output<GetSfsSnapshotPoliciesResult> getSfsSnapshotPolicies(GetSfsSnapshotPoliciesArgs args, InvokeOptions options)
    public static Output<GetSfsSnapshotPoliciesResult> getSfsSnapshotPolicies(GetSfsSnapshotPoliciesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: stackit:index/getSfsSnapshotPolicies:getSfsSnapshotPolicies
      arguments:
        # arguments dictionary
    data "stackit_get_sfs_snapshot_policies" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    STACKIT project ID to which the snapshot policy is associated.
    Immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    ProjectId string
    STACKIT project ID to which the snapshot policy is associated.
    Immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    project_id string
    STACKIT project ID to which the snapshot policy is associated.
    immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    projectId String
    STACKIT project ID to which the snapshot policy is associated.
    immutable String
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    projectId string
    STACKIT project ID to which the snapshot policy is associated.
    immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    project_id str
    STACKIT project ID to which the snapshot policy is associated.
    immutable str
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    projectId String
    STACKIT project ID to which the snapshot policy is associated.
    immutable String
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.

    getSfsSnapshotPolicies Result

    The following output properties are available:

    Id string
    Terraform's internal data source ID. It is structured as "projectId".
    Items List<GetSfsSnapshotPoliciesItem>
    ProjectId string
    STACKIT project ID to which the snapshot policy is associated.
    Immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    Id string
    Terraform's internal data source ID. It is structured as "projectId".
    Items []GetSfsSnapshotPoliciesItem
    ProjectId string
    STACKIT project ID to which the snapshot policy is associated.
    Immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    id string
    Terraform's internal data source ID. It is structured as "projectId".
    items list(object)
    project_id string
    STACKIT project ID to which the snapshot policy is associated.
    immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    id String
    Terraform's internal data source ID. It is structured as "projectId".
    items List<GetSfsSnapshotPoliciesItem>
    projectId String
    STACKIT project ID to which the snapshot policy is associated.
    immutable String
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    id string
    Terraform's internal data source ID. It is structured as "projectId".
    items GetSfsSnapshotPoliciesItem[]
    projectId string
    STACKIT project ID to which the snapshot policy is associated.
    immutable string
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    id str
    Terraform's internal data source ID. It is structured as "projectId".
    items Sequence[GetSfsSnapshotPoliciesItem]
    project_id str
    STACKIT project ID to which the snapshot policy is associated.
    immutable str
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.
    id String
    Terraform's internal data source ID. It is structured as "projectId".
    items List<Property Map>
    projectId String
    STACKIT project ID to which the snapshot policy is associated.
    immutable String
    Filter snapshot policies by immutability. Possible values are: all, immutable-only, mutable-only. Defaults to all. This attribute is in beta, may have breaking changes in the future.

    Supporting Types

    GetSfsSnapshotPoliciesItem

    Comment string
    Comment of the Snapshot Policy.
    CreatedAt string
    Created At timestamp.
    Enabled bool
    Wether the Snapshot Policy is enabled.
    Id string
    ID of the Snapshot Policy.
    Name string
    Name of the Snapshot Policy.
    SnapshotSchedules List<GetSfsSnapshotPoliciesItemSnapshotSchedule>
    Comment string
    Comment of the Snapshot Policy.
    CreatedAt string
    Created At timestamp.
    Enabled bool
    Wether the Snapshot Policy is enabled.
    Id string
    ID of the Snapshot Policy.
    Name string
    Name of the Snapshot Policy.
    SnapshotSchedules []GetSfsSnapshotPoliciesItemSnapshotSchedule
    comment string
    Comment of the Snapshot Policy.
    created_at string
    Created At timestamp.
    enabled bool
    Wether the Snapshot Policy is enabled.
    id string
    ID of the Snapshot Policy.
    name string
    Name of the Snapshot Policy.
    snapshot_schedules list(object)
    comment String
    Comment of the Snapshot Policy.
    createdAt String
    Created At timestamp.
    enabled Boolean
    Wether the Snapshot Policy is enabled.
    id String
    ID of the Snapshot Policy.
    name String
    Name of the Snapshot Policy.
    snapshotSchedules List<GetSfsSnapshotPoliciesItemSnapshotSchedule>
    comment string
    Comment of the Snapshot Policy.
    createdAt string
    Created At timestamp.
    enabled boolean
    Wether the Snapshot Policy is enabled.
    id string
    ID of the Snapshot Policy.
    name string
    Name of the Snapshot Policy.
    snapshotSchedules GetSfsSnapshotPoliciesItemSnapshotSchedule[]
    comment str
    Comment of the Snapshot Policy.
    created_at str
    Created At timestamp.
    enabled bool
    Wether the Snapshot Policy is enabled.
    id str
    ID of the Snapshot Policy.
    name str
    Name of the Snapshot Policy.
    snapshot_schedules Sequence[GetSfsSnapshotPoliciesItemSnapshotSchedule]
    comment String
    Comment of the Snapshot Policy.
    createdAt String
    Created At timestamp.
    enabled Boolean
    Wether the Snapshot Policy is enabled.
    id String
    ID of the Snapshot Policy.
    name String
    Name of the Snapshot Policy.
    snapshotSchedules List<Property Map>

    GetSfsSnapshotPoliciesItemSnapshotSchedule

    CreatedAt string
    Created At timestamp.
    Id string
    ID of the Snapshot Schedule.
    Interval string
    Interval of the Snapshot Schedule (follows the cron schedule xpression in Unix-like systems).
    Name string
    Name of the Snapshot Schedule.
    Prefix string
    Prefix used for snapshots created by this policy.
    RetentionCount int
    Retention Count.
    RetentionPeriod string
    Retention Period (ISO 8601 format or 'infinite').
    CreatedAt string
    Created At timestamp.
    Id string
    ID of the Snapshot Schedule.
    Interval string
    Interval of the Snapshot Schedule (follows the cron schedule xpression in Unix-like systems).
    Name string
    Name of the Snapshot Schedule.
    Prefix string
    Prefix used for snapshots created by this policy.
    RetentionCount int
    Retention Count.
    RetentionPeriod string
    Retention Period (ISO 8601 format or 'infinite').
    created_at string
    Created At timestamp.
    id string
    ID of the Snapshot Schedule.
    interval string
    Interval of the Snapshot Schedule (follows the cron schedule xpression in Unix-like systems).
    name string
    Name of the Snapshot Schedule.
    prefix string
    Prefix used for snapshots created by this policy.
    retention_count number
    Retention Count.
    retention_period string
    Retention Period (ISO 8601 format or 'infinite').
    createdAt String
    Created At timestamp.
    id String
    ID of the Snapshot Schedule.
    interval String
    Interval of the Snapshot Schedule (follows the cron schedule xpression in Unix-like systems).
    name String
    Name of the Snapshot Schedule.
    prefix String
    Prefix used for snapshots created by this policy.
    retentionCount Integer
    Retention Count.
    retentionPeriod String
    Retention Period (ISO 8601 format or 'infinite').
    createdAt string
    Created At timestamp.
    id string
    ID of the Snapshot Schedule.
    interval string
    Interval of the Snapshot Schedule (follows the cron schedule xpression in Unix-like systems).
    name string
    Name of the Snapshot Schedule.
    prefix string
    Prefix used for snapshots created by this policy.
    retentionCount number
    Retention Count.
    retentionPeriod string
    Retention Period (ISO 8601 format or 'infinite').
    created_at str
    Created At timestamp.
    id str
    ID of the Snapshot Schedule.
    interval str
    Interval of the Snapshot Schedule (follows the cron schedule xpression in Unix-like systems).
    name str
    Name of the Snapshot Schedule.
    prefix str
    Prefix used for snapshots created by this policy.
    retention_count int
    Retention Count.
    retention_period str
    Retention Period (ISO 8601 format or 'infinite').
    createdAt String
    Created At timestamp.
    id String
    ID of the Snapshot Schedule.
    interval String
    Interval of the Snapshot Schedule (follows the cron schedule xpression in Unix-like systems).
    name String
    Name of the Snapshot Schedule.
    prefix String
    Prefix used for snapshots created by this policy.
    retentionCount Number
    Retention Count.
    retentionPeriod String
    Retention Period (ISO 8601 format or 'infinite').

    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.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial