Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

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. (available, unavailable)

  • region - The region this cluster is located in. See all regions here.

  • 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/v3/go/linode"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := linode.GetObjectStorageCluster(ctx, &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",
}));

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)
}

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

Package Details

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