1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. getStorageObjectStorage
Viewing docs for gcore 2.0.0-alpha.12
published on Monday, Jul 6, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.12
published on Monday, Jul 6, 2026 by g-core

    S3-compatible object storages provide scalable cloud storage with S3 API compatibility. Each storage is provisioned in a specific location and exposes one or more access keys for authentication.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleStorageObjectStorage = gcore.getStorageObjectStorage({
        storageId: 0,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_storage_object_storage = gcore.get_storage_object_storage(storage_id=0)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.LookupStorageObjectStorage(ctx, &gcore.LookupStorageObjectStorageArgs{
    			StorageId: pulumi.Float64Ref(0),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleStorageObjectStorage = Gcore.GetStorageObjectStorage.Invoke(new()
        {
            StorageId = 0,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetStorageObjectStorageArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleStorageObjectStorage = GcoreFunctions.getStorageObjectStorage(GetStorageObjectStorageArgs.builder()
                .storageId(0)
                .build());
    
        }
    }
    
    variables:
      exampleStorageObjectStorage:
        fn::invoke:
          function: gcore:getStorageObjectStorage
          arguments:
            storageId: 0
    
    Example coming soon!
    

    Using getStorageObjectStorage

    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 getStorageObjectStorage(args: GetStorageObjectStorageArgs, opts?: InvokeOptions): Promise<GetStorageObjectStorageResult>
    function getStorageObjectStorageOutput(args: GetStorageObjectStorageOutputArgs, opts?: InvokeOptions): Output<GetStorageObjectStorageResult>
    def get_storage_object_storage(find_one_by: Optional[GetStorageObjectStorageFindOneBy] = None,
                                   storage_id: Optional[float] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetStorageObjectStorageResult
    def get_storage_object_storage_output(find_one_by: pulumi.Input[Optional[GetStorageObjectStorageFindOneByArgs]] = None,
                                   storage_id: pulumi.Input[Optional[float]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetStorageObjectStorageResult]
    func LookupStorageObjectStorage(ctx *Context, args *LookupStorageObjectStorageArgs, opts ...InvokeOption) (*LookupStorageObjectStorageResult, error)
    func LookupStorageObjectStorageOutput(ctx *Context, args *LookupStorageObjectStorageOutputArgs, opts ...InvokeOption) LookupStorageObjectStorageResultOutput

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

    public static class GetStorageObjectStorage 
    {
        public static Task<GetStorageObjectStorageResult> InvokeAsync(GetStorageObjectStorageArgs args, InvokeOptions? opts = null)
        public static Output<GetStorageObjectStorageResult> Invoke(GetStorageObjectStorageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStorageObjectStorageResult> getStorageObjectStorage(GetStorageObjectStorageArgs args, InvokeOptions options)
    public static Output<GetStorageObjectStorageResult> getStorageObjectStorage(GetStorageObjectStorageArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getStorageObjectStorage:getStorageObjectStorage
      arguments:
        # arguments dictionary
    data "gcore_getstorageobjectstorage" "name" {
        # arguments
    }

    The following arguments are supported:

    getStorageObjectStorage Result

    The following output properties are available:

    Address string
    Full hostname/address for accessing the storage endpoint
    CreatedAt string
    ISO 8601 timestamp when the storage was created
    FullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage by name.
    Id double
    The ID of this resource.
    LocationName string
    Geographic location code where the storage is provisioned
    Name string
    User-defined name for the storage instance, as supplied at creation time.
    ProvisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    FindOneBy GetStorageObjectStorageFindOneBy
    StorageId double
    Address string
    Full hostname/address for accessing the storage endpoint
    CreatedAt string
    ISO 8601 timestamp when the storage was created
    FullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage by name.
    Id float64
    The ID of this resource.
    LocationName string
    Geographic location code where the storage is provisioned
    Name string
    User-defined name for the storage instance, as supplied at creation time.
    ProvisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    FindOneBy GetStorageObjectStorageFindOneBy
    StorageId float64
    address string
    Full hostname/address for accessing the storage endpoint
    created_at string
    ISO 8601 timestamp when the storage was created
    full_name string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage by name.
    id number
    The ID of this resource.
    location_name string
    Geographic location code where the storage is provisioned
    name string
    User-defined name for the storage instance, as supplied at creation time.
    provisioning_status string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    find_one_by object
    storage_id number
    address String
    Full hostname/address for accessing the storage endpoint
    createdAt String
    ISO 8601 timestamp when the storage was created
    fullName String
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage by name.
    id Double
    The ID of this resource.
    locationName String
    Geographic location code where the storage is provisioned
    name String
    User-defined name for the storage instance, as supplied at creation time.
    provisioningStatus String
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    findOneBy GetStorageObjectStorageFindOneBy
    storageId Double
    address string
    Full hostname/address for accessing the storage endpoint
    createdAt string
    ISO 8601 timestamp when the storage was created
    fullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage by name.
    id number
    The ID of this resource.
    locationName string
    Geographic location code where the storage is provisioned
    name string
    User-defined name for the storage instance, as supplied at creation time.
    provisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    findOneBy GetStorageObjectStorageFindOneBy
    storageId number
    address str
    Full hostname/address for accessing the storage endpoint
    created_at str
    ISO 8601 timestamp when the storage was created
    full_name str
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage by name.
    id float
    The ID of this resource.
    location_name str
    Geographic location code where the storage is provisioned
    name str
    User-defined name for the storage instance, as supplied at creation time.
    provisioning_status str
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    find_one_by GetStorageObjectStorageFindOneBy
    storage_id float
    address String
    Full hostname/address for accessing the storage endpoint
    createdAt String
    ISO 8601 timestamp when the storage was created
    fullName String
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage by name.
    id Number
    The ID of this resource.
    locationName String
    Geographic location code where the storage is provisioned
    name String
    User-defined name for the storage instance, as supplied at creation time.
    provisioningStatus String
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    findOneBy Property Map
    storageId Number

    Supporting Types

    GetStorageObjectStorageFindOneBy

    OrderBy string
    Id string
    Filter by storage ID
    LocationName string
    Filter by storage location/region
    Name string
    Filter by storage name
    ProvisioningStatus string
    Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
    ShowDeleted bool
    Include deleted storages
    OrderBy string
    Id string
    Filter by storage ID
    LocationName string
    Filter by storage location/region
    Name string
    Filter by storage name
    ProvisioningStatus string
    Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
    ShowDeleted bool
    Include deleted storages
    order_by string
    id string
    Filter by storage ID
    location_name string
    Filter by storage location/region
    name string
    Filter by storage name
    provisioning_status string
    Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
    show_deleted bool
    Include deleted storages
    orderBy String
    id String
    Filter by storage ID
    locationName String
    Filter by storage location/region
    name String
    Filter by storage name
    provisioningStatus String
    Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
    showDeleted Boolean
    Include deleted storages
    orderBy string
    id string
    Filter by storage ID
    locationName string
    Filter by storage location/region
    name string
    Filter by storage name
    provisioningStatus string
    Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
    showDeleted boolean
    Include deleted storages
    order_by str
    id str
    Filter by storage ID
    location_name str
    Filter by storage location/region
    name str
    Filter by storage name
    provisioning_status str
    Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
    show_deleted bool
    Include deleted storages
    orderBy String
    id String
    Filter by storage ID
    locationName String
    Filter by storage location/region
    name String
    Filter by storage name
    provisioningStatus String
    Filter by provisioning status Available values: "active", "creating", "updating", "deleting", "deleted".
    showDeleted Boolean
    Include deleted storages

    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.12
    published on Monday, Jul 6, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial