@ediri/vultr
Version:
A Pulumi package for creating and managing Vultr cloud resources.
108 lines (107 loc) • 2.86 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Get information about an Object Storage subscription on Vultr.
*
* ## Example Usage
*
* Get the information for an object storage subscription by `label`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const s3 = vultr.getObjectStorage({
* filters: [{
* name: "label",
* values: ["my-s3"],
* }],
* });
* ```
*/
export declare function getObjectStorage(args?: GetObjectStorageArgs, opts?: pulumi.InvokeOptions): Promise<GetObjectStorageResult>;
/**
* A collection of arguments for invoking getObjectStorage.
*/
export interface GetObjectStorageArgs {
/**
* Query parameters for finding operating systems.
*/
filters?: inputs.GetObjectStorageFilter[];
}
/**
* A collection of values returned by getObjectStorage.
*/
export interface GetObjectStorageResult {
/**
* The identifying cluster ID.
*/
readonly clusterId: number;
/**
* Date of creation for the object storage subscription.
*/
readonly dateCreated: string;
readonly filters?: outputs.GetObjectStorageFilter[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The label of the object storage subscription.
*/
readonly label: string;
/**
* The location which this subscription resides in.
*/
readonly location: string;
/**
* The region ID of the object storage subscription.
*/
readonly region: string;
/**
* Your access key.
*/
readonly s3AccessKey: string;
/**
* The hostname for this subscription.
*/
readonly s3Hostname: string;
/**
* Your secret key.
*/
readonly s3SecretKey: string;
/**
* Current status of this object storage subscription.
*/
readonly status: string;
}
/**
* Get information about an Object Storage subscription on Vultr.
*
* ## Example Usage
*
* Get the information for an object storage subscription by `label`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const s3 = vultr.getObjectStorage({
* filters: [{
* name: "label",
* values: ["my-s3"],
* }],
* });
* ```
*/
export declare function getObjectStorageOutput(args?: GetObjectStorageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetObjectStorageResult>;
/**
* A collection of arguments for invoking getObjectStorage.
*/
export interface GetObjectStorageOutputArgs {
/**
* Query parameters for finding operating systems.
*/
filters?: pulumi.Input<pulumi.Input<inputs.GetObjectStorageFilterArgs>[]>;
}