Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
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 dictionarydata "stackit_get_sfs_snapshot_policies" "name" {
# arguments
}The following arguments are supported:
- 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 toall. 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 toall. 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<Get
Sfs Snapshot Policies Item> - 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 toall. 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
[]Get
Sfs Snapshot Policies Item - 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 toall. 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 toall. 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<Get
Sfs Snapshot Policies Item> - 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 toall. 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
Get
Sfs Snapshot Policies Item[] - 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 toall. 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[Get
Sfs Snapshot Policies Item] - 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 toall. 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>
- 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 toall. This attribute is in beta, may have breaking changes in the future.
Supporting Types
GetSfsSnapshotPoliciesItem
- 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<GetSfs Snapshot Policies Item Snapshot Schedule>
- 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 []GetSfs Snapshot Policies Item Snapshot Schedule
- 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.
- created
At 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.
- snapshot
Schedules List<GetSfs Snapshot Policies Item Snapshot Schedule>
- comment string
- Comment of the Snapshot Policy.
- created
At 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.
- snapshot
Schedules GetSfs Snapshot Policies Item Snapshot Schedule[]
- 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[GetSfs Snapshot Policies Item Snapshot Schedule]
- comment String
- Comment of the Snapshot Policy.
- created
At 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.
- snapshot
Schedules List<Property Map>
GetSfsSnapshotPoliciesItemSnapshotSchedule
- 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 int - Retention Count.
- Retention
Period 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 int - Retention Count.
- Retention
Period 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').
- 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 Integer - Retention Count.
- retention
Period 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').
- 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').
- 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').
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud