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
ObjectStorage default-retention resource schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_objectstorage_default_retention" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
bucket_name = "example-bucket"
}
Using getObjectstorageDefaultRetention
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 getObjectstorageDefaultRetention(args: GetObjectstorageDefaultRetentionArgs, opts?: InvokeOptions): Promise<GetObjectstorageDefaultRetentionResult>
function getObjectstorageDefaultRetentionOutput(args: GetObjectstorageDefaultRetentionOutputArgs, opts?: InvokeOutputOptions): Output<GetObjectstorageDefaultRetentionResult>def get_objectstorage_default_retention(bucket_name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObjectstorageDefaultRetentionResult
def get_objectstorage_default_retention_output(bucket_name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetObjectstorageDefaultRetentionResult]func LookupObjectstorageDefaultRetention(ctx *Context, args *LookupObjectstorageDefaultRetentionArgs, opts ...InvokeOption) (*LookupObjectstorageDefaultRetentionResult, error)
func LookupObjectstorageDefaultRetentionOutput(ctx *Context, args *LookupObjectstorageDefaultRetentionOutputArgs, opts ...InvokeOption) LookupObjectstorageDefaultRetentionResultOutput> Note: This function is named LookupObjectstorageDefaultRetention in the Go SDK.
public static class GetObjectstorageDefaultRetention
{
public static Task<GetObjectstorageDefaultRetentionResult> InvokeAsync(GetObjectstorageDefaultRetentionArgs args, InvokeOptions? opts = null)
public static Output<GetObjectstorageDefaultRetentionResult> Invoke(GetObjectstorageDefaultRetentionInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetObjectstorageDefaultRetentionResult> Invoke(GetObjectstorageDefaultRetentionInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetObjectstorageDefaultRetentionResult> getObjectstorageDefaultRetention(GetObjectstorageDefaultRetentionArgs args, InvokeOptions options)
public static Output<GetObjectstorageDefaultRetentionResult> getObjectstorageDefaultRetention(GetObjectstorageDefaultRetentionArgs args, InvokeOptions options)
public static Output<GetObjectstorageDefaultRetentionResult> getObjectstorageDefaultRetention(GetObjectstorageDefaultRetentionArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getObjectstorageDefaultRetention:getObjectstorageDefaultRetention
arguments:
# arguments dictionarydata "stackit_get_objectstorage_default_retention" "name" {
# arguments
}The following arguments are supported:
- Bucket
Name string - The associated bucket's name. It must be DNS conform.
- Project
Id string - STACKIT Project ID to which the default-retention is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Bucket
Name string - The associated bucket's name. It must be DNS conform.
- Project
Id string - STACKIT Project ID to which the default-retention is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- bucket_
name string - The associated bucket's name. It must be DNS conform.
- project_
id string - STACKIT Project ID to which the default-retention is associated.
- region string
- The resource region. If not defined, the provider region is used.
- bucket
Name String - The associated bucket's name. It must be DNS conform.
- project
Id String - STACKIT Project ID to which the default-retention is associated.
- region String
- The resource region. If not defined, the provider region is used.
- bucket
Name string - The associated bucket's name. It must be DNS conform.
- project
Id string - STACKIT Project ID to which the default-retention is associated.
- region string
- The resource region. If not defined, the provider region is used.
- bucket_
name str - The associated bucket's name. It must be DNS conform.
- project_
id str - STACKIT Project ID to which the default-retention is associated.
- region str
- The resource region. If not defined, the provider region is used.
- bucket
Name String - The associated bucket's name. It must be DNS conform.
- project
Id String - STACKIT Project ID to which the default-retention is associated.
- region String
- The resource region. If not defined, the provider region is used.
getObjectstorageDefaultRetention Result
The following output properties are available:
- Bucket
Name string - The associated bucket's name. It must be DNS conform.
- Days int
- The number retention period in days.
- Id string
- Terraform's internal resource identifier. It is structured as "
projectId,region,bucketName". - Mode string
- The retention mode for default retention on a bucket.
- Project
Id string - STACKIT Project ID to which the default-retention is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Bucket
Name string - The associated bucket's name. It must be DNS conform.
- Days int
- The number retention period in days.
- Id string
- Terraform's internal resource identifier. It is structured as "
projectId,region,bucketName". - Mode string
- The retention mode for default retention on a bucket.
- Project
Id string - STACKIT Project ID to which the default-retention is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- bucket_
name string - The associated bucket's name. It must be DNS conform.
- days number
- The number retention period in days.
- id string
- Terraform's internal resource identifier. It is structured as "
projectId,region,bucketName". - mode string
- The retention mode for default retention on a bucket.
- project_
id string - STACKIT Project ID to which the default-retention is associated.
- region string
- The resource region. If not defined, the provider region is used.
- bucket
Name String - The associated bucket's name. It must be DNS conform.
- days Integer
- The number retention period in days.
- id String
- Terraform's internal resource identifier. It is structured as "
projectId,region,bucketName". - mode String
- The retention mode for default retention on a bucket.
- project
Id String - STACKIT Project ID to which the default-retention is associated.
- region String
- The resource region. If not defined, the provider region is used.
- bucket
Name string - The associated bucket's name. It must be DNS conform.
- days number
- The number retention period in days.
- id string
- Terraform's internal resource identifier. It is structured as "
projectId,region,bucketName". - mode string
- The retention mode for default retention on a bucket.
- project
Id string - STACKIT Project ID to which the default-retention is associated.
- region string
- The resource region. If not defined, the provider region is used.
- bucket_
name str - The associated bucket's name. It must be DNS conform.
- days int
- The number retention period in days.
- id str
- Terraform's internal resource identifier. It is structured as "
projectId,region,bucketName". - mode str
- The retention mode for default retention on a bucket.
- project_
id str - STACKIT Project ID to which the default-retention is associated.
- region str
- The resource region. If not defined, the provider region is used.
- bucket
Name String - The associated bucket's name. It must be DNS conform.
- days Number
- The number retention period in days.
- id String
- Terraform's internal resource identifier. It is structured as "
projectId,region,bucketName". - mode String
- The retention mode for default retention on a bucket.
- project
Id String - STACKIT Project ID to which the default-retention 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.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud