gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core
gcorelabs.getStorageS3Bucket
Explore with Pulumi AI
Represent storage s3 bucket resource.
Using getStorageS3Bucket
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 getStorageS3Bucket(args: GetStorageS3BucketArgs, opts?: InvokeOptions): Promise<GetStorageS3BucketResult>
function getStorageS3BucketOutput(args: GetStorageS3BucketOutputArgs, opts?: InvokeOptions): Output<GetStorageS3BucketResult>
def get_storage_s3_bucket(id: Optional[str] = None,
name: Optional[str] = None,
storage_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageS3BucketResult
def get_storage_s3_bucket_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
storage_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStorageS3BucketResult]
func LookupStorageS3Bucket(ctx *Context, args *LookupStorageS3BucketArgs, opts ...InvokeOption) (*LookupStorageS3BucketResult, error)
func LookupStorageS3BucketOutput(ctx *Context, args *LookupStorageS3BucketOutputArgs, opts ...InvokeOption) LookupStorageS3BucketResultOutput
> Note: This function is named LookupStorageS3Bucket
in the Go SDK.
public static class GetStorageS3Bucket
{
public static Task<GetStorageS3BucketResult> InvokeAsync(GetStorageS3BucketArgs args, InvokeOptions? opts = null)
public static Output<GetStorageS3BucketResult> Invoke(GetStorageS3BucketInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStorageS3BucketResult> getStorageS3Bucket(GetStorageS3BucketArgs args, InvokeOptions options)
public static Output<GetStorageS3BucketResult> getStorageS3Bucket(GetStorageS3BucketArgs args, InvokeOptions options)
fn::invoke:
function: gcorelabs:index/getStorageS3Bucket:getStorageS3Bucket
arguments:
# arguments dictionary
The following arguments are supported:
- name str
- A name of storage bucket resource.
- storage_
id float - An id of existing storage resource.
- id str
- The ID of this resource.
getStorageS3Bucket Result
The following output properties are available:
- id str
- The ID of this resource.
- name str
- A name of storage bucket resource.
- storage_
id float - An id of existing storage resource.
Package Details
- Repository
- gcorelabs g-core/terraform-provider-gcorelabs
- License
- Notes
- This Pulumi package is based on the
gcorelabs
Terraform Provider.