UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

78 lines (77 loc) 2.5 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides information about a Linode Object Storage Cluster * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-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. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const primary = linode.getObjectStorageCluster({ * id: "us-east-1", * }); * ``` */ export declare function getObjectStorageCluster(args: GetObjectStorageClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetObjectStorageClusterResult>; /** * A collection of arguments for invoking getObjectStorageCluster. */ export interface GetObjectStorageClusterArgs { /** * The unique ID of this cluster. */ id: string; } /** * A collection of values returned by getObjectStorageCluster. */ export interface GetObjectStorageClusterResult { /** * The base URL for this cluster. */ readonly domain: string; readonly id: string; /** * The region this cluster is located in. See all regions [here](https://api.linode.com/v4/regions). */ readonly region: string; /** * The base URL for this cluster used when hosting static sites. */ readonly staticSiteDomain: string; /** * This cluster's status. (`available`, `unavailable`) */ readonly status: string; } /** * Provides information about a Linode Object Storage Cluster * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-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. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const primary = linode.getObjectStorageCluster({ * id: "us-east-1", * }); * ``` */ export declare function getObjectStorageClusterOutput(args: GetObjectStorageClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetObjectStorageClusterResult>; /** * A collection of arguments for invoking getObjectStorageCluster. */ export interface GetObjectStorageClusterOutputArgs { /** * The unique ID of this cluster. */ id: pulumi.Input<string>; }