1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. getStorageObjectStorageBuckets
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core

    Using getStorageObjectStorageBuckets

    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 getStorageObjectStorageBuckets(args: GetStorageObjectStorageBucketsArgs, opts?: InvokeOptions): Promise<GetStorageObjectStorageBucketsResult>
    function getStorageObjectStorageBucketsOutput(args: GetStorageObjectStorageBucketsOutputArgs, opts?: InvokeOptions): Output<GetStorageObjectStorageBucketsResult>
    def get_storage_object_storage_buckets(max_items: Optional[float] = None,
                                           storage_id: Optional[float] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetStorageObjectStorageBucketsResult
    def get_storage_object_storage_buckets_output(max_items: pulumi.Input[Optional[float]] = None,
                                           storage_id: pulumi.Input[Optional[float]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetStorageObjectStorageBucketsResult]
    func GetStorageObjectStorageBuckets(ctx *Context, args *GetStorageObjectStorageBucketsArgs, opts ...InvokeOption) (*GetStorageObjectStorageBucketsResult, error)
    func GetStorageObjectStorageBucketsOutput(ctx *Context, args *GetStorageObjectStorageBucketsOutputArgs, opts ...InvokeOption) GetStorageObjectStorageBucketsResultOutput

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

    public static class GetStorageObjectStorageBuckets 
    {
        public static Task<GetStorageObjectStorageBucketsResult> InvokeAsync(GetStorageObjectStorageBucketsArgs args, InvokeOptions? opts = null)
        public static Output<GetStorageObjectStorageBucketsResult> Invoke(GetStorageObjectStorageBucketsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStorageObjectStorageBucketsResult> getStorageObjectStorageBuckets(GetStorageObjectStorageBucketsArgs args, InvokeOptions options)
    public static Output<GetStorageObjectStorageBucketsResult> getStorageObjectStorageBuckets(GetStorageObjectStorageBucketsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getStorageObjectStorageBuckets:getStorageObjectStorageBuckets
      arguments:
        # arguments dictionary
    data "gcore_getstorageobjectstoragebuckets" "name" {
        # arguments
    }

    The following arguments are supported:

    StorageId double
    MaxItems double
    StorageId float64
    MaxItems float64
    storage_id number
    max_items number
    storageId Double
    maxItems Double
    storageId number
    maxItems number
    storageId Number
    maxItems Number

    getStorageObjectStorageBuckets Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetStorageObjectStorageBucketsItem>
    StorageId double
    MaxItems double
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetStorageObjectStorageBucketsItem
    StorageId float64
    MaxItems float64
    id string
    The provider-assigned unique ID for this managed resource.
    items list(object)
    storage_id number
    max_items number
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetStorageObjectStorageBucketsItem>
    storageId Double
    maxItems Double
    id string
    The provider-assigned unique ID for this managed resource.
    items GetStorageObjectStorageBucketsItem[]
    storageId number
    maxItems number
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetStorageObjectStorageBucketsItem]
    storage_id float
    max_items float
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    storageId Number
    maxItems Number

    Supporting Types

    GetStorageObjectStorageBucketsItem

    Cors GetStorageObjectStorageBucketsItemCors
    Name string
    Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
    Policy GetStorageObjectStorageBucketsItemPolicy
    StorageId double
    Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
    StorageObjectStorageBucketLifecycle GetStorageObjectStorageBucketsItemStorageObjectStorageBucketLifecycle
    Cors GetStorageObjectStorageBucketsItemCors
    Name string
    Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
    Policy GetStorageObjectStorageBucketsItemPolicy
    StorageId float64
    Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
    StorageObjectStorageBucketLifecycle GetStorageObjectStorageBucketsItemStorageObjectStorageBucketLifecycle
    cors object
    name string
    Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
    policy object
    storage_id number
    Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
    storage_object_storage_bucket_lifecycle object
    cors GetStorageObjectStorageBucketsItemCors
    name String
    Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
    policy GetStorageObjectStorageBucketsItemPolicy
    storageId Double
    Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
    storageObjectStorageBucketLifecycle GetStorageObjectStorageBucketsItemStorageObjectStorageBucketLifecycle
    cors GetStorageObjectStorageBucketsItemCors
    name string
    Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
    policy GetStorageObjectStorageBucketsItemPolicy
    storageId number
    Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
    storageObjectStorageBucketLifecycle GetStorageObjectStorageBucketsItemStorageObjectStorageBucketLifecycle
    cors GetStorageObjectStorageBucketsItemCors
    name str
    Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
    policy GetStorageObjectStorageBucketsItemPolicy
    storage_id float
    Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
    storage_object_storage_bucket_lifecycle GetStorageObjectStorageBucketsItemStorageObjectStorageBucketLifecycle
    cors Property Map
    name String
    Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
    policy Property Map
    storageId Number
    Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
    storageObjectStorageBucketLifecycle Property Map

    GetStorageObjectStorageBucketsItemCors

    AllowedOrigins List<string>
    Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
    AllowedOrigins []string
    Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
    allowed_origins list(string)
    Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
    allowedOrigins List<String>
    Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
    allowedOrigins string[]
    Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
    allowed_origins Sequence[str]
    Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
    allowedOrigins List<String>
    Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.

    GetStorageObjectStorageBucketsItemPolicy

    IsPublic bool
    When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
    IsPublic bool
    When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
    is_public bool
    When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
    isPublic Boolean
    When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
    isPublic boolean
    When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
    is_public bool
    When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
    isPublic Boolean
    When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.

    GetStorageObjectStorageBucketsItemStorageObjectStorageBucketLifecycle

    ExpirationDays double
    Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
    ExpirationDays float64
    Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
    expiration_days number
    Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
    expirationDays Double
    Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
    expirationDays number
    Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
    expiration_days float
    Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
    expirationDays Number
    Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.8
    published on Wednesday, May 20, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial