1. Packages
  2. Packages
  3. stackit
  4. API Docs
  5. getSfsProjectLock
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud

    SFS project lock resource schema. Must have a region specified in the provider configuration. Always use only one project lock per project.

    Example Usage

    data "stackit_sfs_project_lock" "example" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getSfsProjectLock

    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 getSfsProjectLock(args: GetSfsProjectLockArgs, opts?: InvokeOptions): Promise<GetSfsProjectLockResult>
    function getSfsProjectLockOutput(args: GetSfsProjectLockOutputArgs, opts?: InvokeOptions): Output<GetSfsProjectLockResult>
    def get_sfs_project_lock(project_id: Optional[str] = None,
                             region: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSfsProjectLockResult
    def get_sfs_project_lock_output(project_id: pulumi.Input[Optional[str]] = None,
                             region: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSfsProjectLockResult]
    func LookupSfsProjectLock(ctx *Context, args *LookupSfsProjectLockArgs, opts ...InvokeOption) (*LookupSfsProjectLockResult, error)
    func LookupSfsProjectLockOutput(ctx *Context, args *LookupSfsProjectLockOutputArgs, opts ...InvokeOption) LookupSfsProjectLockResultOutput

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

    public static class GetSfsProjectLock 
    {
        public static Task<GetSfsProjectLockResult> InvokeAsync(GetSfsProjectLockArgs args, InvokeOptions? opts = null)
        public static Output<GetSfsProjectLockResult> Invoke(GetSfsProjectLockInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSfsProjectLockResult> getSfsProjectLock(GetSfsProjectLockArgs args, InvokeOptions options)
    public static Output<GetSfsProjectLockResult> getSfsProjectLock(GetSfsProjectLockArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getSfsProjectLock:getSfsProjectLock
      arguments:
        # arguments dictionary
    data "stackit_getsfsprojectlock" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    STACKIT Project ID to which the project lock is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    ProjectId string
    STACKIT Project ID to which the project lock is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    project_id string
    STACKIT Project ID to which the project lock is associated.
    region string
    The resource region. If not defined, the provider region is used.
    projectId String
    STACKIT Project ID to which the project lock is associated.
    region String
    The resource region. If not defined, the provider region is used.
    projectId string
    STACKIT Project ID to which the project lock is associated.
    region string
    The resource region. If not defined, the provider region is used.
    project_id str
    STACKIT Project ID to which the project lock is associated.
    region str
    The resource region. If not defined, the provider region is used.
    projectId String
    STACKIT Project ID to which the project lock is associated.
    region String
    The resource region. If not defined, the provider region is used.

    getSfsProjectLock Result

    The following output properties are available:

    Id string
    Terraform's internal resource identifier. It is structured as "projectId,region".
    LockId string
    ID of the lock.
    ProjectId string
    STACKIT Project ID to which the project lock is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Id string
    Terraform's internal resource identifier. It is structured as "projectId,region".
    LockId string
    ID of the lock.
    ProjectId string
    STACKIT Project ID to which the project lock is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    id string
    Terraform's internal resource identifier. It is structured as "projectId,region".
    lock_id string
    ID of the lock.
    project_id string
    STACKIT Project ID to which the project lock is associated.
    region string
    The resource region. If not defined, the provider region is used.
    id String
    Terraform's internal resource identifier. It is structured as "projectId,region".
    lockId String
    ID of the lock.
    projectId String
    STACKIT Project ID to which the project lock is associated.
    region String
    The resource region. If not defined, the provider region is used.
    id string
    Terraform's internal resource identifier. It is structured as "projectId,region".
    lockId string
    ID of the lock.
    projectId string
    STACKIT Project ID to which the project lock is associated.
    region string
    The resource region. If not defined, the provider region is used.
    id str
    Terraform's internal resource identifier. It is structured as "projectId,region".
    lock_id str
    ID of the lock.
    project_id str
    STACKIT Project ID to which the project lock is associated.
    region str
    The resource region. If not defined, the provider region is used.
    id String
    Terraform's internal resource identifier. It is structured as "projectId,region".
    lockId String
    ID of the lock.
    projectId String
    STACKIT Project ID to which the project lock is associated.
    region String
    The resource region. If not defined, the provider region is used.

    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.6
    published on Wednesday, May 6, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.