Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

GetObjectStorageCluster

Provides information about a Linode Object Storage Cluster

Attributes

The Linode Object Storage Cluster resource exports the following attributes:

  • domain - The base URL for this cluster.

  • status - This cluster’s status.

  • region - The region this cluster is located in.

  • static_site_domain - The base URL for this cluster used when hosting static sites.

Example Usage

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
    public MyStack()
    {
        var primary = Output.Create(Linode.GetObjectStorageCluster.InvokeAsync(new Linode.GetObjectStorageClusterArgs
        {
            Id = "us-east-1",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-linode/sdk/v2/go/linode"
    "github.com/pulumi/pulumi/sdk/v2/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
    })
}
import pulumi
import pulumi_linode as linode

primary = linode.get_object_storage_cluster(id="us-east-1")
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const primary = pulumi.output(linode.getObjectStorageCluster({
    id: "us-east-1",
}, { async: true }));

Using GetObjectStorageCluster

function getObjectStorageCluster(args: GetObjectStorageClusterArgs, opts?: InvokeOptions): Promise<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
func GetObjectStorageCluster(ctx *Context, args *GetObjectStorageClusterArgs, opts ...InvokeOption) (*GetObjectStorageClusterResult, error)
public static class GetObjectStorageCluster {
    public static Task<GetObjectStorageClusterResult> InvokeAsync(GetObjectStorageClusterArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Id string

The unique ID of this cluster.

Domain string
Region string
StaticSiteDomain string
Status string
Id string

The unique ID of this cluster.

Domain string
Region string
StaticSiteDomain string
Status string
id string

The unique ID of this cluster.

domain string
region string
staticSiteDomain string
status string
id str

The unique ID of this cluster.

domain str
region str
static_site_domain str
status str

GetObjectStorageCluster Result

The following output properties are available:

Domain string
Id string
Region string
StaticSiteDomain string
Status string
Domain string
Id string
Region string
StaticSiteDomain string
Status string
domain string
id string
region string
staticSiteDomain string
status string
domain str
id str
region str
static_site_domain str
status str

Package Details

Repository
https://github.com/pulumi/pulumi-linode
License
Apache-2.0
Notes
This Pulumi package is based on the linode Terraform Provider.