1. Packages
  2. stackit
  3. API Docs
  4. SfsResourcePool
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

    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
    }
    
    # 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}"
    }
    

    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,
                        name: Optional[str] = None,
                        region: Optional[str] = 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.
    
    

    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,
        Name = "string",
        Region = "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),
    	Name:                pulumi.String("string"),
    	Region:              pulumi.String("string"),
    	SnapshotsAreVisible: pulumi.Bool(false),
    })
    
    var sfsResourcePoolResource = new SfsResourcePool("sfsResourcePoolResource", SfsResourcePoolArgs.builder()
        .availabilityZone("string")
        .ipAcls("string")
        .performanceClass("string")
        .projectId("string")
        .sizeGigabytes(0)
        .name("string")
        .region("string")
        .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,
        name="string",
        region="string",
        snapshots_are_visible=False)
    
    const sfsResourcePoolResource = new stackit.SfsResourcePool("sfsResourcePoolResource", {
        availabilityZone: "string",
        ipAcls: ["string"],
        performanceClass: "string",
        projectId: "string",
        sizeGigabytes: 0,
        name: "string",
        region: "string",
        snapshotsAreVisible: false,
    });
    
    type: stackit:SfsResourcePool
    properties:
        availabilityZone: string
        ipAcls:
            - string
        name: string
        performanceClass: string
        projectId: string
        region: string
        sizeGigabytes: 0
        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:

    AvailabilityZone string
    Availability zone.
    IpAcls 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).
    PerformanceClass string
    Name of the performance class.
    ProjectId string
    STACKIT project ID to which the resource pool is associated.
    SizeGigabytes int
    Size of the resource pool (unit: gigabytes)
    Name string
    Name of the resource pool.
    Region string
    The resource region. If not defined, the provider region is used.
    SnapshotsAreVisible bool
    If set to true, snapshots are visible and accessible to users. (default: false)
    AvailabilityZone string
    Availability zone.
    IpAcls []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).
    PerformanceClass string
    Name of the performance class.
    ProjectId string
    STACKIT project ID to which the resource pool is associated.
    SizeGigabytes int
    Size of the resource pool (unit: gigabytes)
    Name string
    Name of the resource pool.
    Region string
    The resource region. If not defined, the provider region is used.
    SnapshotsAreVisible bool
    If set to true, snapshots are visible and accessible to users. (default: false)
    availabilityZone String
    Availability zone.
    ipAcls 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).
    performanceClass String
    Name of the performance class.
    projectId String
    STACKIT project ID to which the resource pool is associated.
    sizeGigabytes Integer
    Size of the resource pool (unit: gigabytes)
    name String
    Name of the resource pool.
    region String
    The resource region. If not defined, the provider region is used.
    snapshotsAreVisible Boolean
    If set to true, snapshots are visible and accessible to users. (default: false)
    availabilityZone string
    Availability zone.
    ipAcls 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).
    performanceClass string
    Name of the performance class.
    projectId string
    STACKIT project ID to which the resource pool is associated.
    sizeGigabytes number
    Size of the resource pool (unit: gigabytes)
    name string
    Name of the resource pool.
    region string
    The resource region. If not defined, the provider region is used.
    snapshotsAreVisible boolean
    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)
    name str
    Name of the resource pool.
    region str
    The resource region. If not defined, the provider region is used.
    snapshots_are_visible bool
    If set to true, snapshots are visible and accessible to users. (default: false)
    availabilityZone String
    Availability zone.
    ipAcls 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).
    performanceClass String
    Name of the performance class.
    projectId String
    STACKIT project ID to which the resource pool is associated.
    sizeGigabytes Number
    Size of the resource pool (unit: gigabytes)
    name String
    Name of the resource pool.
    region String
    The resource region. If not defined, the provider region is used.
    snapshotsAreVisible Boolean
    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.
    ResourcePoolId string
    Resource pool ID
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourcePoolId string
    Resource pool ID
    id String
    The provider-assigned unique ID for this managed resource.
    resourcePoolId String
    Resource pool ID
    id string
    The provider-assigned unique ID for this managed resource.
    resourcePoolId string
    Resource pool ID
    id str
    The provider-assigned unique ID for this managed resource.
    resource_pool_id str
    Resource pool ID
    id String
    The provider-assigned unique ID for this managed resource.
    resourcePoolId String
    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,
            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,
            snapshots_are_visible: Optional[bool] = None) -> SfsResourcePool
    func 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}
    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.
    The following state arguments are supported:
    AvailabilityZone string
    Availability zone.
    IpAcls 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).
    Name string
    Name of the resource pool.
    PerformanceClass string
    Name of the performance class.
    ProjectId string
    STACKIT project ID to which the resource pool is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    ResourcePoolId string
    Resource pool ID
    SizeGigabytes int
    Size of the resource pool (unit: gigabytes)
    SnapshotsAreVisible bool
    If set to true, snapshots are visible and accessible to users. (default: false)
    AvailabilityZone string
    Availability zone.
    IpAcls []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).
    Name string
    Name of the resource pool.
    PerformanceClass string
    Name of the performance class.
    ProjectId string
    STACKIT project ID to which the resource pool is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    ResourcePoolId string
    Resource pool ID
    SizeGigabytes int
    Size of the resource pool (unit: gigabytes)
    SnapshotsAreVisible bool
    If set to true, snapshots are visible and accessible to users. (default: false)
    availabilityZone String
    Availability zone.
    ipAcls 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).
    name String
    Name of the resource pool.
    performanceClass String
    Name of the performance class.
    projectId String
    STACKIT project ID to which the resource pool is associated.
    region String
    The resource region. If not defined, the provider region is used.
    resourcePoolId String
    Resource pool ID
    sizeGigabytes Integer
    Size of the resource pool (unit: gigabytes)
    snapshotsAreVisible Boolean
    If set to true, snapshots are visible and accessible to users. (default: false)
    availabilityZone string
    Availability zone.
    ipAcls 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).
    name string
    Name of the resource pool.
    performanceClass string
    Name of the performance class.
    projectId string
    STACKIT project ID to which the resource pool is associated.
    region string
    The resource region. If not defined, the provider region is used.
    resourcePoolId string
    Resource pool ID
    sizeGigabytes number
    Size of the resource pool (unit: gigabytes)
    snapshotsAreVisible boolean
    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).
    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_id str
    Resource pool ID
    size_gigabytes int
    Size of the resource pool (unit: gigabytes)
    snapshots_are_visible bool
    If set to true, snapshots are visible and accessible to users. (default: false)
    availabilityZone String
    Availability zone.
    ipAcls 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).
    name String
    Name of the resource pool.
    performanceClass String
    Name of the performance class.
    projectId String
    STACKIT project ID to which the resource pool is associated.
    region String
    The resource region. If not defined, the provider region is used.
    resourcePoolId String
    Resource pool ID
    sizeGigabytes Number
    Size of the resource pool (unit: gigabytes)
    snapshotsAreVisible Boolean
    If set to true, snapshots are visible and accessible to users. (default: false)

    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.