Viewing docs for stackit v0.0.5
published on Tuesday, Mar 31, 2026 by stackitcloud
published on Tuesday, Mar 31, 2026 by stackitcloud
Viewing docs for stackit v0.0.5
published on Tuesday, Mar 31, 2026 by stackitcloud
published on Tuesday, Mar 31, 2026 by stackitcloud
ObjectStorage compliance lock resource schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_objectstorage_compliance_lock" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getObjectstorageComplianceLock
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 getObjectstorageComplianceLock(args: GetObjectstorageComplianceLockArgs, opts?: InvokeOptions): Promise<GetObjectstorageComplianceLockResult>
function getObjectstorageComplianceLockOutput(args: GetObjectstorageComplianceLockOutputArgs, opts?: InvokeOptions): Output<GetObjectstorageComplianceLockResult>def get_objectstorage_compliance_lock(project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObjectstorageComplianceLockResult
def get_objectstorage_compliance_lock_output(project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetObjectstorageComplianceLockResult]func LookupObjectstorageComplianceLock(ctx *Context, args *LookupObjectstorageComplianceLockArgs, opts ...InvokeOption) (*LookupObjectstorageComplianceLockResult, error)
func LookupObjectstorageComplianceLockOutput(ctx *Context, args *LookupObjectstorageComplianceLockOutputArgs, opts ...InvokeOption) LookupObjectstorageComplianceLockResultOutput> Note: This function is named LookupObjectstorageComplianceLock in the Go SDK.
public static class GetObjectstorageComplianceLock
{
public static Task<GetObjectstorageComplianceLockResult> InvokeAsync(GetObjectstorageComplianceLockArgs args, InvokeOptions? opts = null)
public static Output<GetObjectstorageComplianceLockResult> Invoke(GetObjectstorageComplianceLockInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetObjectstorageComplianceLockResult> getObjectstorageComplianceLock(GetObjectstorageComplianceLockArgs args, InvokeOptions options)
public static Output<GetObjectstorageComplianceLockResult> getObjectstorageComplianceLock(GetObjectstorageComplianceLockArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getObjectstorageComplianceLock:getObjectstorageComplianceLock
arguments:
# arguments dictionaryThe following arguments are supported:
- project_
id str - STACKIT Project ID to which the compliance lock is associated.
- region str
- The resource region. If not defined, the provider region is used.
getObjectstorageComplianceLock Result
The following output properties are available:
- Id string
- Terraform's internal resource identifier. It is structured as "
projectId,region". - Max
Retention intDays - Maximum retention period in days.
- Project
Id string - STACKIT Project ID to which the compliance 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". - Max
Retention intDays - Maximum retention period in days.
- Project
Id string - STACKIT Project ID to which the compliance 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". - max
Retention IntegerDays - Maximum retention period in days.
- project
Id String - STACKIT Project ID to which the compliance 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". - max
Retention numberDays - Maximum retention period in days.
- project
Id string - STACKIT Project ID to which the compliance 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". - max_
retention_ intdays - Maximum retention period in days.
- project_
id str - STACKIT Project ID to which the compliance 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". - max
Retention NumberDays - Maximum retention period in days.
- project
Id String - STACKIT Project ID to which the compliance 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
stackitTerraform Provider.
Viewing docs for stackit v0.0.5
published on Tuesday, Mar 31, 2026 by stackitcloud
published on Tuesday, Mar 31, 2026 by stackitcloud
