import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Get lifecycle configuration of a 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 lifecycle = ovh.getCloudProjectStorageObjectBucketLifecycleConfiguration({ * serviceName: "", * regionName: "GRA", * containerName: "my-bucket", * }); * ``` */ export declare function getCloudProjectStorageObjectBucketLifecycleConfiguration(args: GetCloudProjectStorageObjectBucketLifecycleConfigurationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudProjectStorageObjectBucketLifecycleConfiguration. */ export interface GetCloudProjectStorageObjectBucketLifecycleConfigurationArgs { /** * Name of the storage container. */ containerName: string; /** * Region name of the storage container. */ regionName: string; /** * The ID of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: string; } /** * A collection of values returned by getCloudProjectStorageObjectBucketLifecycleConfiguration. */ export interface GetCloudProjectStorageObjectBucketLifecycleConfigurationResult { /** * Name of the storage container. */ readonly containerName: string; /** * Unique identifier for the resource (service*name/region*name/container_name) */ readonly id: string; /** * Region name of the storage container. */ readonly regionName: string; /** * List of lifecycle rules. */ readonly rules: outputs.GetCloudProjectStorageObjectBucketLifecycleConfigurationRule[]; /** * The ID of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: string; } /** * Get lifecycle configuration of a 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 lifecycle = ovh.getCloudProjectStorageObjectBucketLifecycleConfiguration({ * serviceName: "", * regionName: "GRA", * containerName: "my-bucket", * }); * ``` */ export declare function getCloudProjectStorageObjectBucketLifecycleConfigurationOutput(args: GetCloudProjectStorageObjectBucketLifecycleConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudProjectStorageObjectBucketLifecycleConfiguration. */ export interface GetCloudProjectStorageObjectBucketLifecycleConfigurationOutputArgs { /** * Name of the storage container. */ containerName: pulumi.Input; /** * Region name of the storage container. */ regionName: pulumi.Input; /** * The ID of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }