import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get S3™* compatible storage container. \* S3 is a trademark filed by Amazon Technologies,Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies,Inc. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const storage = ovh.CloudProject.getStorage({ * serviceName: "", * regionName: "GRA", * name: "my-storage-name", * }); * ``` */ export declare function getStorage(args: GetStorageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStorage. */ export interface GetStorageArgs { /** * If true, objects list will not be saved in state (useful for large buckets) */ hideObjects?: boolean; /** * Limit the number of objects returned (1000 maximum, defaults to 1000) */ limit?: number; /** * Key to start with when listing objects */ marker?: string; /** * Name */ name: string; /** * List objects whose key begins with this prefix */ prefix?: string; /** * Region name */ regionName: string; /** * Service name */ serviceName: string; } /** * A collection of values returned by getStorage. */ export interface GetStorageResult { /** * The date and timestamp when the resource was created */ readonly createdAt: string; /** * Encryption configuration */ readonly encryption: outputs.CloudProject.GetStorageEncryption; /** * If true, objects list will not be saved in state (useful for large buckets) */ readonly hideObjects?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Limit the number of objects returned (1000 maximum, defaults to 1000) */ readonly limit: number; /** * Key to start with when listing objects */ readonly marker: string; /** * Name */ readonly name: string; /** * Container objects */ readonly objects: outputs.CloudProject.GetStorageObject[]; /** * Container total objects count */ readonly objectsCount: number; /** * Container total objects size (bytes) */ readonly objectsSize: number; /** * Container owner user ID */ readonly ownerId: number; /** * List objects whose key begins with this prefix */ readonly prefix: string; /** * Container region */ readonly region: string; /** * Region name */ readonly regionName: string; /** * Replication configuration */ readonly replication: outputs.CloudProject.GetStorageReplication; /** * Service name */ readonly serviceName: string; /** * Container tags */ readonly tags: { [key: string]: string; }; /** * Versioning configuration */ readonly versioning: outputs.CloudProject.GetStorageVersioning; /** * Container virtual host */ readonly virtualHost: string; } /** * Get S3™* compatible storage container. \* S3 is a trademark filed by Amazon Technologies,Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies,Inc. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const storage = ovh.CloudProject.getStorage({ * serviceName: "", * regionName: "GRA", * name: "my-storage-name", * }); * ``` */ export declare function getStorageOutput(args: GetStorageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStorage. */ export interface GetStorageOutputArgs { /** * If true, objects list will not be saved in state (useful for large buckets) */ hideObjects?: pulumi.Input; /** * Limit the number of objects returned (1000 maximum, defaults to 1000) */ limit?: pulumi.Input; /** * Key to start with when listing objects */ marker?: pulumi.Input; /** * Name */ name: pulumi.Input; /** * List objects whose key begins with this prefix */ prefix?: pulumi.Input; /** * Region name */ regionName: pulumi.Input; /** * Service name */ serviceName: pulumi.Input; }