import * as pulumi from "@pulumi/pulumi"; /** * Provides an Object Store resource. This can be used to create, modify, and delete object stores. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as civo from "@pulumi/civo"; * * const backupObjectStore = new civo.ObjectStore("backup", { * name: "backup-server", * maxSizeGb: 500, * region: "LON1", * }); * // If you create the bucket without credentials, you can read the credentials in this way * const backup = civo.getObjectStoreCredentialOutput({ * id: backupObjectStore.accessKeyId, * }); * ``` * * ## Import * * using ID * * ```sh * $ pulumi import civo:index/objectStore:ObjectStore custom_object b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 * ``` */ export declare class ObjectStore extends pulumi.CustomResource { /** * Get an existing ObjectStore resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ObjectStoreState, opts?: pulumi.CustomResourceOptions): ObjectStore; /** * Returns true if the given object is an instance of ObjectStore. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ObjectStore; /** * The access key ID from the Object Store credential. If this is not set, a new credential will be created. */ readonly accessKeyId: pulumi.Output; /** * The endpoint of the Object Store. It is generated by the provider. */ readonly bucketUrl: pulumi.Output; /** * The maximum size of the Object Store. Default is 500GB. */ readonly maxSizeGb: pulumi.Output; /** * The name of the Object Store. Must be unique. */ readonly name: pulumi.Output; /** * The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1) */ readonly region: pulumi.Output; /** * The status of the Object Store. */ readonly status: pulumi.Output; /** * Create a ObjectStore resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ObjectStoreArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ObjectStore resources. */ export interface ObjectStoreState { /** * The access key ID from the Object Store credential. If this is not set, a new credential will be created. */ accessKeyId?: pulumi.Input; /** * The endpoint of the Object Store. It is generated by the provider. */ bucketUrl?: pulumi.Input; /** * The maximum size of the Object Store. Default is 500GB. */ maxSizeGb?: pulumi.Input; /** * The name of the Object Store. Must be unique. */ name?: pulumi.Input; /** * The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1) */ region?: pulumi.Input; /** * The status of the Object Store. */ status?: pulumi.Input; } /** * The set of arguments for constructing a ObjectStore resource. */ export interface ObjectStoreArgs { /** * The access key ID from the Object Store credential. If this is not set, a new credential will be created. */ accessKeyId?: pulumi.Input; /** * The maximum size of the Object Store. Default is 500GB. */ maxSizeGb?: pulumi.Input; /** * The name of the Object Store. Must be unique. */ name?: pulumi.Input; /** * The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1) */ region?: pulumi.Input; }