published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
Resource-pool resource 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_resource_pool" "resourcepool" {
project_id = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
name = "some-resourcepool"
availability_zone = "eu01-m"
performance_class = "Standard"
size_gigabytes = 512
ip_acl = [
"192.168.42.1/32",
"192.168.42.2/32"
]
snapshots_are_visible = true
labels = {
"foo" = "bar"
}
}
Create SfsResourcePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SfsResourcePool(name: string, args: SfsResourcePoolArgs, opts?: CustomResourceOptions);@overload
def SfsResourcePool(resource_name: str,
args: SfsResourcePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SfsResourcePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
ip_acls: Optional[Sequence[str]] = None,
performance_class: Optional[str] = None,
project_id: Optional[str] = None,
size_gigabytes: Optional[int] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
region: Optional[str] = None,
snapshot_policy: Optional[SfsResourcePoolSnapshotPolicyArgs] = None,
snapshots_are_visible: Optional[bool] = None)func NewSfsResourcePool(ctx *Context, name string, args SfsResourcePoolArgs, opts ...ResourceOption) (*SfsResourcePool, error)public SfsResourcePool(string name, SfsResourcePoolArgs args, CustomResourceOptions? opts = null)
public SfsResourcePool(String name, SfsResourcePoolArgs args)
public SfsResourcePool(String name, SfsResourcePoolArgs args, CustomResourceOptions options)
type: stackit:SfsResourcePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "stackit_sfs_resource_pool" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SfsResourcePoolArgs
- 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 SfsResourcePoolArgs
- 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 SfsResourcePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SfsResourcePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SfsResourcePoolArgs
- 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 sfsResourcePoolResource = new Stackit.SfsResourcePool("sfsResourcePoolResource", new()
{
AvailabilityZone = "string",
IpAcls = new[]
{
"string",
},
PerformanceClass = "string",
ProjectId = "string",
SizeGigabytes = 0,
Labels =
{
{ "string", "string" },
},
Name = "string",
Region = "string",
SnapshotPolicy = new Stackit.Inputs.SfsResourcePoolSnapshotPolicyArgs
{
Id = "string",
Name = "string",
},
SnapshotsAreVisible = false,
});
example, err := stackit.NewSfsResourcePool(ctx, "sfsResourcePoolResource", &stackit.SfsResourcePoolArgs{
AvailabilityZone: pulumi.String("string"),
IpAcls: pulumi.StringArray{
pulumi.String("string"),
},
PerformanceClass: pulumi.String("string"),
ProjectId: pulumi.String("string"),
SizeGigabytes: pulumi.Int(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SnapshotPolicy: &stackit.SfsResourcePoolSnapshotPolicyArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
SnapshotsAreVisible: pulumi.Bool(false),
})
resource "stackit_sfs_resource_pool" "sfsResourcePoolResource" {
lifecycle {
create_before_destroy = true
}
availability_zone = "string"
ip_acls = ["string"]
performance_class = "string"
project_id = "string"
size_gigabytes = 0
labels = {
"string" = "string"
}
name = "string"
region = "string"
snapshot_policy = {
id = "string"
name = "string"
}
snapshots_are_visible = false
}
var sfsResourcePoolResource = new SfsResourcePool("sfsResourcePoolResource", SfsResourcePoolArgs.builder()
.availabilityZone("string")
.ipAcls("string")
.performanceClass("string")
.projectId("string")
.sizeGigabytes(0)
.labels(Map.of("string", "string"))
.name("string")
.region("string")
.snapshotPolicy(SfsResourcePoolSnapshotPolicyArgs.builder()
.id("string")
.name("string")
.build())
.snapshotsAreVisible(false)
.build());
sfs_resource_pool_resource = stackit.SfsResourcePool("sfsResourcePoolResource",
availability_zone="string",
ip_acls=["string"],
performance_class="string",
project_id="string",
size_gigabytes=0,
labels={
"string": "string",
},
name="string",
region="string",
snapshot_policy={
"id": "string",
"name": "string",
},
snapshots_are_visible=False)
const sfsResourcePoolResource = new stackit.SfsResourcePool("sfsResourcePoolResource", {
availabilityZone: "string",
ipAcls: ["string"],
performanceClass: "string",
projectId: "string",
sizeGigabytes: 0,
labels: {
string: "string",
},
name: "string",
region: "string",
snapshotPolicy: {
id: "string",
name: "string",
},
snapshotsAreVisible: false,
});
type: stackit:SfsResourcePool
properties:
availabilityZone: string
ipAcls:
- string
labels:
string: string
name: string
performanceClass: string
projectId: string
region: string
sizeGigabytes: 0
snapshotPolicy:
id: string
name: string
snapshotsAreVisible: false
SfsResourcePool 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 SfsResourcePool resource accepts the following input properties:
- Availability
Zone string - Availability zone.
- Ip
Acls List<string> - List of IPs that can mount the resource pool in read-only; 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).
- Performance
Class string - Name of the performance class.
- Project
Id string - STACKIT project ID to which the resource pool is associated.
- Size
Gigabytes int - Size of the resource pool (unit: gigabytes)
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to the resource.
- Name string
- Name of the resource pool.
- Region string
- The resource region. If not defined, the provider region is used.
- Snapshot
Policy SfsResource Pool Snapshot Policy - Name of the snapshot policy.
- Snapshots
Are boolVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- Availability
Zone string - Availability zone.
- Ip
Acls []string - List of IPs that can mount the resource pool in read-only; 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).
- Performance
Class string - Name of the performance class.
- Project
Id string - STACKIT project ID to which the resource pool is associated.
- Size
Gigabytes int - Size of the resource pool (unit: gigabytes)
- Labels map[string]string
- Labels are key-value string pairs which can be attached to the resource.
- Name string
- Name of the resource pool.
- Region string
- The resource region. If not defined, the provider region is used.
- Snapshot
Policy SfsResource Pool Snapshot Policy Args - Name of the snapshot policy.
- Snapshots
Are boolVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability_
zone string - Availability zone.
- ip_
acls list(string) - List of IPs that can mount the resource pool in read-only; 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).
- performance_
class string - Name of the performance class.
- project_
id string - STACKIT project ID to which the resource pool is associated.
- size_
gigabytes number - Size of the resource pool (unit: gigabytes)
- labels map(string)
- Labels are key-value string pairs which can be attached to the resource.
- name string
- Name of the resource pool.
- region string
- The resource region. If not defined, the provider region is used.
- snapshot_
policy object - Name of the snapshot policy.
- snapshots_
are_ boolvisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability
Zone String - Availability zone.
- ip
Acls List<String> - List of IPs that can mount the resource pool in read-only; 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).
- performance
Class String - Name of the performance class.
- project
Id String - STACKIT project ID to which the resource pool is associated.
- size
Gigabytes Integer - Size of the resource pool (unit: gigabytes)
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to the resource.
- name String
- Name of the resource pool.
- region String
- The resource region. If not defined, the provider region is used.
- snapshot
Policy SfsResource Pool Snapshot Policy - Name of the snapshot policy.
- snapshots
Are BooleanVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability
Zone string - Availability zone.
- ip
Acls string[] - List of IPs that can mount the resource pool in read-only; 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).
- performance
Class string - Name of the performance class.
- project
Id string - STACKIT project ID to which the resource pool is associated.
- size
Gigabytes number - Size of the resource pool (unit: gigabytes)
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to the resource.
- name string
- Name of the resource pool.
- region string
- The resource region. If not defined, the provider region is used.
- snapshot
Policy SfsResource Pool Snapshot Policy - Name of the snapshot policy.
- snapshots
Are booleanVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability_
zone str - Availability zone.
- ip_
acls Sequence[str] - List of IPs that can mount the resource pool in read-only; 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).
- performance_
class str - Name of the performance class.
- project_
id str - STACKIT project ID to which the resource pool is associated.
- size_
gigabytes int - Size of the resource pool (unit: gigabytes)
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to the resource.
- name str
- Name of the resource pool.
- region str
- The resource region. If not defined, the provider region is used.
- snapshot_
policy SfsResource Pool Snapshot Policy Args - Name of the snapshot policy.
- snapshots_
are_ boolvisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability
Zone String - Availability zone.
- ip
Acls List<String> - List of IPs that can mount the resource pool in read-only; 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).
- performance
Class String - Name of the performance class.
- project
Id String - STACKIT project ID to which the resource pool is associated.
- size
Gigabytes Number - Size of the resource pool (unit: gigabytes)
- labels Map<String>
- Labels are key-value string pairs which can be attached to the resource.
- name String
- Name of the resource pool.
- region String
- The resource region. If not defined, the provider region is used.
- snapshot
Policy Property Map - Name of the snapshot policy.
- snapshots
Are BooleanVisible - If set to true, snapshots are visible and accessible to users. (default: false)
Outputs
All input properties are implicitly available as output properties. Additionally, the SfsResourcePool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Pool stringId - Resource pool ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Pool stringId - Resource pool ID
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
pool_ stringid - Resource pool ID
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Pool StringId - Resource pool ID
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Pool stringId - Resource pool ID
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
pool_ strid - Resource pool ID
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Pool StringId - Resource pool ID
Look up Existing SfsResourcePool Resource
Get an existing SfsResourcePool 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?: SfsResourcePoolState, opts?: CustomResourceOptions): SfsResourcePool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
ip_acls: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
performance_class: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resource_pool_id: Optional[str] = None,
size_gigabytes: Optional[int] = None,
snapshot_policy: Optional[SfsResourcePoolSnapshotPolicyArgs] = None,
snapshots_are_visible: Optional[bool] = None) -> SfsResourcePoolfunc GetSfsResourcePool(ctx *Context, name string, id IDInput, state *SfsResourcePoolState, opts ...ResourceOption) (*SfsResourcePool, error)public static SfsResourcePool Get(string name, Input<string> id, SfsResourcePoolState? state, CustomResourceOptions? opts = null)public static SfsResourcePool get(String name, Output<String> id, SfsResourcePoolState state, CustomResourceOptions options)resources: _: type: stackit:SfsResourcePool get: id: ${id}import {
to = stackit_sfs_resource_pool.example
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.
- Availability
Zone string - Availability zone.
- Ip
Acls List<string> - List of IPs that can mount the resource pool in read-only; 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).
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to the resource.
- Name string
- Name of the resource pool.
- Performance
Class string - Name of the performance class.
- Project
Id string - STACKIT project ID to which the resource pool is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Resource
Pool stringId - Resource pool ID
- Size
Gigabytes int - Size of the resource pool (unit: gigabytes)
- Snapshot
Policy SfsResource Pool Snapshot Policy - Name of the snapshot policy.
- Snapshots
Are boolVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- Availability
Zone string - Availability zone.
- Ip
Acls []string - List of IPs that can mount the resource pool in read-only; 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).
- Labels map[string]string
- Labels are key-value string pairs which can be attached to the resource.
- Name string
- Name of the resource pool.
- Performance
Class string - Name of the performance class.
- Project
Id string - STACKIT project ID to which the resource pool is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Resource
Pool stringId - Resource pool ID
- Size
Gigabytes int - Size of the resource pool (unit: gigabytes)
- Snapshot
Policy SfsResource Pool Snapshot Policy Args - Name of the snapshot policy.
- Snapshots
Are boolVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability_
zone string - Availability zone.
- ip_
acls list(string) - List of IPs that can mount the resource pool in read-only; 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).
- labels map(string)
- Labels are key-value string pairs which can be attached to the resource.
- name string
- Name of the resource pool.
- performance_
class string - Name of the performance class.
- project_
id string - STACKIT project ID to which the resource pool is associated.
- region string
- The resource region. If not defined, the provider region is used.
- resource_
pool_ stringid - Resource pool ID
- size_
gigabytes number - Size of the resource pool (unit: gigabytes)
- snapshot_
policy object - Name of the snapshot policy.
- snapshots_
are_ boolvisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability
Zone String - Availability zone.
- ip
Acls List<String> - List of IPs that can mount the resource pool in read-only; 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).
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to the resource.
- name String
- Name of the resource pool.
- performance
Class String - Name of the performance class.
- project
Id String - STACKIT project ID to which the resource pool is associated.
- region String
- The resource region. If not defined, the provider region is used.
- resource
Pool StringId - Resource pool ID
- size
Gigabytes Integer - Size of the resource pool (unit: gigabytes)
- snapshot
Policy SfsResource Pool Snapshot Policy - Name of the snapshot policy.
- snapshots
Are BooleanVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability
Zone string - Availability zone.
- ip
Acls string[] - List of IPs that can mount the resource pool in read-only; 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).
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to the resource.
- name string
- Name of the resource pool.
- performance
Class string - Name of the performance class.
- project
Id string - STACKIT project ID to which the resource pool is associated.
- region string
- The resource region. If not defined, the provider region is used.
- resource
Pool stringId - Resource pool ID
- size
Gigabytes number - Size of the resource pool (unit: gigabytes)
- snapshot
Policy SfsResource Pool Snapshot Policy - Name of the snapshot policy.
- snapshots
Are booleanVisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability_
zone str - Availability zone.
- ip_
acls Sequence[str] - List of IPs that can mount the resource pool in read-only; 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).
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to the resource.
- name str
- Name of the resource pool.
- performance_
class str - Name of the performance class.
- project_
id str - STACKIT project ID to which the resource pool is associated.
- region str
- The resource region. If not defined, the provider region is used.
- resource_
pool_ strid - Resource pool ID
- size_
gigabytes int - Size of the resource pool (unit: gigabytes)
- snapshot_
policy SfsResource Pool Snapshot Policy Args - Name of the snapshot policy.
- snapshots_
are_ boolvisible - If set to true, snapshots are visible and accessible to users. (default: false)
- availability
Zone String - Availability zone.
- ip
Acls List<String> - List of IPs that can mount the resource pool in read-only; 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).
- labels Map<String>
- Labels are key-value string pairs which can be attached to the resource.
- name String
- Name of the resource pool.
- performance
Class String - Name of the performance class.
- project
Id String - STACKIT project ID to which the resource pool is associated.
- region String
- The resource region. If not defined, the provider region is used.
- resource
Pool StringId - Resource pool ID
- size
Gigabytes Number - Size of the resource pool (unit: gigabytes)
- snapshot
Policy Property Map - Name of the snapshot policy.
- snapshots
Are BooleanVisible - If set to true, snapshots are visible and accessible to users. (default: false)
Supporting Types
SfsResourcePoolSnapshotPolicy, SfsResourcePoolSnapshotPolicyArgs
Import
In Terraform v1.5.0 and later, the + "" + import + “" + block can be used with the + "” + id + “" + attribute, for example:
# Only use the import statement, if you want to import an existing resource pool
import {
to = stackit_sfs_resource_pool.resourcepool
id = "${var.project_id},${var.region},${var.resource_pool_id}"
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Monday, Aug 17, 2026 by stackitcloud