1. Packages
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getObjectStorageCluster
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
linode logo
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Provides information about a Linode Object Storage Cluster

    Example Usage

    The following example shows how one might use this data source to access information about a Linode Object Storage Cluster.

    using System.Collections.Generic;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var primary = Linode.GetObjectStorageCluster.Invoke(new()
        {
            Id = "us-east-1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetObjectStorageCluster(ctx, &linode.GetObjectStorageClusterArgs{
    			Id: "us-east-1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetObjectStorageClusterArgs;
    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 primary = LinodeFunctions.getObjectStorageCluster(GetObjectStorageClusterArgs.builder()
                .id("us-east-1")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const primary = linode.getObjectStorageCluster({
        id: "us-east-1",
    });
    
    import pulumi
    import pulumi_linode as linode
    
    primary = linode.get_object_storage_cluster(id="us-east-1")
    
    variables:
      primary:
        fn::invoke:
          Function: linode:getObjectStorageCluster
          Arguments:
            id: us-east-1
    

    Using getObjectStorageCluster

    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 getObjectStorageCluster(args: GetObjectStorageClusterArgs, opts?: InvokeOptions): Promise<GetObjectStorageClusterResult>
    function getObjectStorageClusterOutput(args: GetObjectStorageClusterOutputArgs, opts?: InvokeOptions): Output<GetObjectStorageClusterResult>
    def get_object_storage_cluster(domain: Optional[str] = None,
                                   id: Optional[str] = None,
                                   region: Optional[str] = None,
                                   static_site_domain: Optional[str] = None,
                                   status: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetObjectStorageClusterResult
    def get_object_storage_cluster_output(domain: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   region: Optional[pulumi.Input[str]] = None,
                                   static_site_domain: Optional[pulumi.Input[str]] = None,
                                   status: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetObjectStorageClusterResult]
    func GetObjectStorageCluster(ctx *Context, args *GetObjectStorageClusterArgs, opts ...InvokeOption) (*GetObjectStorageClusterResult, error)
    func GetObjectStorageClusterOutput(ctx *Context, args *GetObjectStorageClusterOutputArgs, opts ...InvokeOption) GetObjectStorageClusterResultOutput

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

    public static class GetObjectStorageCluster 
    {
        public static Task<GetObjectStorageClusterResult> InvokeAsync(GetObjectStorageClusterArgs args, InvokeOptions? opts = null)
        public static Output<GetObjectStorageClusterResult> Invoke(GetObjectStorageClusterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetObjectStorageClusterResult> getObjectStorageCluster(GetObjectStorageClusterArgs args, InvokeOptions options)
    public static Output<GetObjectStorageClusterResult> getObjectStorageCluster(GetObjectStorageClusterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: linode:index/getObjectStorageCluster:getObjectStorageCluster
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique ID of this cluster.
    Domain string
    The base URL for this cluster.
    Region string
    The region this cluster is located in. See all regions here.
    StaticSiteDomain string
    The base URL for this cluster used when hosting static sites.
    Status string
    This cluster's status. (available, unavailable)
    Id string
    The unique ID of this cluster.
    Domain string
    The base URL for this cluster.
    Region string
    The region this cluster is located in. See all regions here.
    StaticSiteDomain string
    The base URL for this cluster used when hosting static sites.
    Status string
    This cluster's status. (available, unavailable)
    id String
    The unique ID of this cluster.
    domain String
    The base URL for this cluster.
    region String
    The region this cluster is located in. See all regions here.
    staticSiteDomain String
    The base URL for this cluster used when hosting static sites.
    status String
    This cluster's status. (available, unavailable)
    id string
    The unique ID of this cluster.
    domain string
    The base URL for this cluster.
    region string
    The region this cluster is located in. See all regions here.
    staticSiteDomain string
    The base URL for this cluster used when hosting static sites.
    status string
    This cluster's status. (available, unavailable)
    id str
    The unique ID of this cluster.
    domain str
    The base URL for this cluster.
    region str
    The region this cluster is located in. See all regions here.
    static_site_domain str
    The base URL for this cluster used when hosting static sites.
    status str
    This cluster's status. (available, unavailable)
    id String
    The unique ID of this cluster.
    domain String
    The base URL for this cluster.
    region String
    The region this cluster is located in. See all regions here.
    staticSiteDomain String
    The base URL for this cluster used when hosting static sites.
    status String
    This cluster's status. (available, unavailable)

    getObjectStorageCluster Result

    The following output properties are available:

    Domain string
    The base URL for this cluster.
    Id string
    Region string
    The region this cluster is located in. See all regions here.
    StaticSiteDomain string
    The base URL for this cluster used when hosting static sites.
    Status string
    This cluster's status. (available, unavailable)
    Domain string
    The base URL for this cluster.
    Id string
    Region string
    The region this cluster is located in. See all regions here.
    StaticSiteDomain string
    The base URL for this cluster used when hosting static sites.
    Status string
    This cluster's status. (available, unavailable)
    domain String
    The base URL for this cluster.
    id String
    region String
    The region this cluster is located in. See all regions here.
    staticSiteDomain String
    The base URL for this cluster used when hosting static sites.
    status String
    This cluster's status. (available, unavailable)
    domain string
    The base URL for this cluster.
    id string
    region string
    The region this cluster is located in. See all regions here.
    staticSiteDomain string
    The base URL for this cluster used when hosting static sites.
    status string
    This cluster's status. (available, unavailable)
    domain str
    The base URL for this cluster.
    id str
    region str
    The region this cluster is located in. See all regions here.
    static_site_domain str
    The base URL for this cluster used when hosting static sites.
    status str
    This cluster's status. (available, unavailable)
    domain String
    The base URL for this cluster.
    id String
    region String
    The region this cluster is located in. See all regions here.
    staticSiteDomain String
    The base URL for this cluster used when hosting static sites.
    status String
    This cluster's status. (available, unavailable)

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo
    Viewing docs for Linode v3.12.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.