stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
ObjectStorage bucket data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_objectstorage_bucket" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-name"
}
Using getObjectstorageBucket
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 getObjectstorageBucket(args: GetObjectstorageBucketArgs, opts?: InvokeOptions): Promise<GetObjectstorageBucketResult>
function getObjectstorageBucketOutput(args: GetObjectstorageBucketOutputArgs, opts?: InvokeOptions): Output<GetObjectstorageBucketResult>def get_objectstorage_bucket(name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObjectstorageBucketResult
def get_objectstorage_bucket_output(name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetObjectstorageBucketResult]func LookupObjectstorageBucket(ctx *Context, args *LookupObjectstorageBucketArgs, opts ...InvokeOption) (*LookupObjectstorageBucketResult, error)
func LookupObjectstorageBucketOutput(ctx *Context, args *LookupObjectstorageBucketOutputArgs, opts ...InvokeOption) LookupObjectstorageBucketResultOutput> Note: This function is named LookupObjectstorageBucket in the Go SDK.
public static class GetObjectstorageBucket
{
public static Task<GetObjectstorageBucketResult> InvokeAsync(GetObjectstorageBucketArgs args, InvokeOptions? opts = null)
public static Output<GetObjectstorageBucketResult> Invoke(GetObjectstorageBucketInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetObjectstorageBucketResult> getObjectstorageBucket(GetObjectstorageBucketArgs args, InvokeOptions options)
public static Output<GetObjectstorageBucketResult> getObjectstorageBucket(GetObjectstorageBucketArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getObjectstorageBucket:getObjectstorageBucket
arguments:
# arguments dictionaryThe following arguments are supported:
- name str
- The bucket name. It must be DNS conform.
- project_
id str - STACKIT Project ID to which the bucket is associated.
- region str
- The resource region. If not defined, the provider region is used.
getObjectstorageBucket Result
The following output properties are available:
- Id string
- Name string
- The bucket name. It must be DNS conform.
- Project
Id string - STACKIT Project ID to which the bucket is associated.
- Url
Path stringStyle - Url
Virtual stringHosted Style - Region string
- The resource region. If not defined, the provider region is used.
- Id string
- Name string
- The bucket name. It must be DNS conform.
- Project
Id string - STACKIT Project ID to which the bucket is associated.
- Url
Path stringStyle - Url
Virtual stringHosted Style - Region string
- The resource region. If not defined, the provider region is used.
- id String
- name String
- The bucket name. It must be DNS conform.
- project
Id String - STACKIT Project ID to which the bucket is associated.
- url
Path StringStyle - url
Virtual StringHosted Style - region String
- The resource region. If not defined, the provider region is used.
- id string
- name string
- The bucket name. It must be DNS conform.
- project
Id string - STACKIT Project ID to which the bucket is associated.
- url
Path stringStyle - url
Virtual stringHosted Style - region string
- The resource region. If not defined, the provider region is used.
- id str
- name str
- The bucket name. It must be DNS conform.
- project_
id str - STACKIT Project ID to which the bucket is associated.
- url_
path_ strstyle - url_
virtual_ strhosted_ style - region str
- The resource region. If not defined, the provider region is used.
- id String
- name String
- The bucket name. It must be DNS conform.
- project
Id String - STACKIT Project ID to which the bucket is associated.
- url
Path StringStyle - url
Virtual StringHosted Style - 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.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
