Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
List your 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
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const storage = ovh.CloudProject.getStorage({
serviceName: "<public cloud project ID>",
regionName: "GRA",
});
import pulumi
import pulumi_ovh as ovh
storage = ovh.CloudProject.get_storage(service_name="<public cloud project ID>",
region_name="GRA")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/cloudproject"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudproject.GetStorage(ctx, &cloudproject.GetStorageArgs{
ServiceName: "<public cloud project ID>",
RegionName: "GRA",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var storage = Ovh.CloudProject.GetStorage.Invoke(new()
{
ServiceName = "<public cloud project ID>",
RegionName = "GRA",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
import com.pulumi.ovh.CloudProject.inputs.GetStorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var storage = CloudProjectFunctions.getStorage(GetStorageArgs.builder()
.serviceName("<public cloud project ID>")
.regionName("GRA")
.build());
}
}
variables:
storage:
fn::invoke:
function: ovh:CloudProject:getStorage
arguments:
serviceName: <public cloud project ID>
regionName: GRA
Using getStorages
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStorages(args: GetStoragesArgs, opts?: InvokeOptions): Promise<GetStoragesResult>
function getStoragesOutput(args: GetStoragesOutputArgs, opts?: InvokeOptions): Output<GetStoragesResult>def get_storages(region_name: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStoragesResult
def get_storages_output(region_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStoragesResult]func GetStorages(ctx *Context, args *GetStoragesArgs, opts ...InvokeOption) (*GetStoragesResult, error)
func GetStoragesOutput(ctx *Context, args *GetStoragesOutputArgs, opts ...InvokeOption) GetStoragesResultOutput> Note: This function is named GetStorages in the Go SDK.
public static class GetStorages
{
public static Task<GetStoragesResult> InvokeAsync(GetStoragesArgs args, InvokeOptions? opts = null)
public static Output<GetStoragesResult> Invoke(GetStoragesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStoragesResult> getStorages(GetStoragesArgs args, InvokeOptions options)
public static Output<GetStoragesResult> getStorages(GetStoragesArgs args, InvokeOptions options)
fn::invoke:
function: ovh:CloudProject/getStorages:getStorages
arguments:
# arguments dictionaryThe following arguments are supported:
- Region
Name string - Region name
- Service
Name string - Service name
- Region
Name string - Region name
- Service
Name string - Service name
- region
Name String - Region name
- service
Name String - Service name
- region
Name string - Region name
- service
Name string - Service name
- region_
name str - Region name
- service_
name str - Service name
- region
Name String - Region name
- service
Name String - Service name
getStorages Result
The following output properties are available:
- Containers
List<Get
Storages Container> - Id string
- The provider-assigned unique ID for this managed resource.
- Region
Name string - Region name
- Service
Name string - Service name
- Containers
[]Get
Storages Container - Id string
- The provider-assigned unique ID for this managed resource.
- Region
Name string - Region name
- Service
Name string - Service name
- containers
List<Get
Storages Container> - id String
- The provider-assigned unique ID for this managed resource.
- region
Name String - Region name
- service
Name String - Service name
- containers
Get
Storages Container[] - id string
- The provider-assigned unique ID for this managed resource.
- region
Name string - Region name
- service
Name string - Service name
- containers
Sequence[Get
Storages Container] - id str
- The provider-assigned unique ID for this managed resource.
- region_
name str - Region name
- service_
name str - Service name
- containers List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- region
Name String - Region name
- service
Name String - Service name
Supporting Types
GetStoragesContainer
- Created
At string - The date and timestamp when the resource was created
- Encryption
Get
Storages Container Encryption - Encryption configuration
- Name string
- Container name
- Objects
List<Get
Storages Container Object> - Container objects
- Objects
Count double - Container total objects count
- Objects
Size double - Container total objects size (bytes)
- Owner
Id double - Container owner user ID
- Region string
- Container region
- Replication
Get
Storages Container Replication - Replication configuration
- Dictionary<string, string>
- Container tags
- Versioning
Get
Storages Container Versioning - Versioning configuration
- Virtual
Host string - Container virtual host
- Created
At string - The date and timestamp when the resource was created
- Encryption
Get
Storages Container Encryption - Encryption configuration
- Name string
- Container name
- Objects
[]Get
Storages Container Object - Container objects
- Objects
Count float64 - Container total objects count
- Objects
Size float64 - Container total objects size (bytes)
- Owner
Id float64 - Container owner user ID
- Region string
- Container region
- Replication
Get
Storages Container Replication - Replication configuration
- map[string]string
- Container tags
- Versioning
Get
Storages Container Versioning - Versioning configuration
- Virtual
Host string - Container virtual host
- created
At String - The date and timestamp when the resource was created
- encryption
Get
Storages Container Encryption - Encryption configuration
- name String
- Container name
- objects
List<Get
Storages Container Object> - Container objects
- objects
Count Double - Container total objects count
- objects
Size Double - Container total objects size (bytes)
- owner
Id Double - Container owner user ID
- region String
- Container region
- replication
Get
Storages Container Replication - Replication configuration
- Map<String,String>
- Container tags
- versioning
Get
Storages Container Versioning - Versioning configuration
- virtual
Host String - Container virtual host
- created
At string - The date and timestamp when the resource was created
- encryption
Get
Storages Container Encryption - Encryption configuration
- name string
- Container name
- objects
Get
Storages Container Object[] - Container objects
- objects
Count number - Container total objects count
- objects
Size number - Container total objects size (bytes)
- owner
Id number - Container owner user ID
- region string
- Container region
- replication
Get
Storages Container Replication - Replication configuration
- {[key: string]: string}
- Container tags
- versioning
Get
Storages Container Versioning - Versioning configuration
- virtual
Host string - Container virtual host
- created_
at str - The date and timestamp when the resource was created
- encryption
Get
Storages Container Encryption - Encryption configuration
- name str
- Container name
- objects
Sequence[Get
Storages Container Object] - Container objects
- objects_
count float - Container total objects count
- objects_
size float - Container total objects size (bytes)
- owner_
id float - Container owner user ID
- region str
- Container region
- replication
Get
Storages Container Replication - Replication configuration
- Mapping[str, str]
- Container tags
- versioning
Get
Storages Container Versioning - Versioning configuration
- virtual_
host str - Container virtual host
- created
At String - The date and timestamp when the resource was created
- encryption Property Map
- Encryption configuration
- name String
- Container name
- objects List<Property Map>
- Container objects
- objects
Count Number - Container total objects count
- objects
Size Number - Container total objects size (bytes)
- owner
Id Number - Container owner user ID
- region String
- Container region
- replication Property Map
- Replication configuration
- Map<String>
- Container tags
- versioning Property Map
- Versioning configuration
- virtual
Host String - Container virtual host
GetStoragesContainerEncryption
- Sse
Algorithm string - Encryption algorithm
- Sse
Algorithm string - Encryption algorithm
- sse
Algorithm String - Encryption algorithm
- sse
Algorithm string - Encryption algorithm
- sse_
algorithm str - Encryption algorithm
- sse
Algorithm String - Encryption algorithm
GetStoragesContainerObject
- Etag string
- ETag
- Is
Delete boolMarker - Whether this object is a delete marker
- Is
Latest bool - Whether this is the latest version of the object
- Key string
- Key
- Last
Modified string - Last modification date
- Size double
- Size (bytes)
- Storage
Class string - Storage class
- Version
Id string - Version ID of the object
- Etag string
- ETag
- Is
Delete boolMarker - Whether this object is a delete marker
- Is
Latest bool - Whether this is the latest version of the object
- Key string
- Key
- Last
Modified string - Last modification date
- Size float64
- Size (bytes)
- Storage
Class string - Storage class
- Version
Id string - Version ID of the object
- etag String
- ETag
- is
Delete BooleanMarker - Whether this object is a delete marker
- is
Latest Boolean - Whether this is the latest version of the object
- key String
- Key
- last
Modified String - Last modification date
- size Double
- Size (bytes)
- storage
Class String - Storage class
- version
Id String - Version ID of the object
- etag string
- ETag
- is
Delete booleanMarker - Whether this object is a delete marker
- is
Latest boolean - Whether this is the latest version of the object
- key string
- Key
- last
Modified string - Last modification date
- size number
- Size (bytes)
- storage
Class string - Storage class
- version
Id string - Version ID of the object
- etag str
- ETag
- is_
delete_ boolmarker - Whether this object is a delete marker
- is_
latest bool - Whether this is the latest version of the object
- key str
- Key
- last_
modified str - Last modification date
- size float
- Size (bytes)
- storage_
class str - Storage class
- version_
id str - Version ID of the object
- etag String
- ETag
- is
Delete BooleanMarker - Whether this object is a delete marker
- is
Latest Boolean - Whether this is the latest version of the object
- key String
- Key
- last
Modified String - Last modification date
- size Number
- Size (bytes)
- storage
Class String - Storage class
- version
Id String - Version ID of the object
GetStoragesContainerReplication
- Rules
List<Get
Storages Container Replication Rule> - Replication rules
- Rules
[]Get
Storages Container Replication Rule - Replication rules
- rules
List<Get
Storages Container Replication Rule> - Replication rules
- rules
Get
Storages Container Replication Rule[] - Replication rules
- rules
Sequence[Get
Storages Container Replication Rule] - Replication rules
- rules List<Property Map>
- Replication rules
GetStoragesContainerReplicationRule
- Delete
Marker stringReplication - Delete marker replication
- Destination
Get
Storages Container Replication Rule Destination - Rule destination configuration
- Filter
Get
Storages Container Replication Rule Filter - Rule filters
- Id string
- Rule ID
- Priority double
- Rule priority
- Status string
- Rule status
- Delete
Marker stringReplication - Delete marker replication
- Destination
Get
Storages Container Replication Rule Destination - Rule destination configuration
- Filter
Get
Storages Container Replication Rule Filter - Rule filters
- Id string
- Rule ID
- Priority float64
- Rule priority
- Status string
- Rule status
- delete
Marker StringReplication - Delete marker replication
- destination
Get
Storages Container Replication Rule Destination - Rule destination configuration
- filter
Get
Storages Container Replication Rule Filter - Rule filters
- id String
- Rule ID
- priority Double
- Rule priority
- status String
- Rule status
- delete
Marker stringReplication - Delete marker replication
- destination
Get
Storages Container Replication Rule Destination - Rule destination configuration
- filter
Get
Storages Container Replication Rule Filter - Rule filters
- id string
- Rule ID
- priority number
- Rule priority
- status string
- Rule status
- delete_
marker_ strreplication - Delete marker replication
- destination
Get
Storages Container Replication Rule Destination - Rule destination configuration
- filter
Get
Storages Container Replication Rule Filter - Rule filters
- id str
- Rule ID
- priority float
- Rule priority
- status str
- Rule status
- delete
Marker StringReplication - Delete marker replication
- destination Property Map
- Rule destination configuration
- filter Property Map
- Rule filters
- id String
- Rule ID
- priority Number
- Rule priority
- status String
- Rule status
GetStoragesContainerReplicationRuleDestination
- Name string
- Destination bucket name
- Region string
- Destination region, can be null if destination bucket has been deleted
- Remove
On boolMain Bucket Deletion - Storage
Class string - Destination storage class
- Name string
- Destination bucket name
- Region string
- Destination region, can be null if destination bucket has been deleted
- Remove
On boolMain Bucket Deletion - Storage
Class string - Destination storage class
- name String
- Destination bucket name
- region String
- Destination region, can be null if destination bucket has been deleted
- remove
On BooleanMain Bucket Deletion - storage
Class String - Destination storage class
- name string
- Destination bucket name
- region string
- Destination region, can be null if destination bucket has been deleted
- remove
On booleanMain Bucket Deletion - storage
Class string - Destination storage class
- name str
- Destination bucket name
- region str
- Destination region, can be null if destination bucket has been deleted
- remove_
on_ boolmain_ bucket_ deletion - storage_
class str - Destination storage class
- name String
- Destination bucket name
- region String
- Destination region, can be null if destination bucket has been deleted
- remove
On BooleanMain Bucket Deletion - storage
Class String - Destination storage class
GetStoragesContainerReplicationRuleFilter
- Prefix string
- Prefix filter
- Dictionary<string, string>
- Tags filter
- Prefix string
- Prefix filter
- map[string]string
- Tags filter
- prefix String
- Prefix filter
- Map<String,String>
- Tags filter
- prefix string
- Prefix filter
- {[key: string]: string}
- Tags filter
- prefix str
- Prefix filter
- Mapping[str, str]
- Tags filter
- prefix String
- Prefix filter
- Map<String>
- Tags filter
GetStoragesContainerVersioning
- Status string
- Versioning status
- Status string
- Versioning status
- status String
- Versioning status
- status string
- Versioning status
- status str
- Versioning status
- status String
- Versioning status
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
