Viewing docs for OVHCloud v2.22.0
published on Monday, Oct 5, 2026 by OVHcloud
published on Monday, Oct 5, 2026 by OVHcloud
Viewing docs for OVHCloud v2.22.0
published on Monday, Oct 5, 2026 by OVHcloud
published on Monday, Oct 5, 2026 by OVHcloud
List the S3™ compatible object storage buckets in a public cloud project.
NOTE 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.
Using getCloudStorageObjectBuckets
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 getCloudStorageObjectBuckets(args: GetCloudStorageObjectBucketsArgs, opts?: InvokeOptions): Promise<GetCloudStorageObjectBucketsResult>
function getCloudStorageObjectBucketsOutput(args: GetCloudStorageObjectBucketsOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudStorageObjectBucketsResult>def get_cloud_storage_object_buckets(region: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudStorageObjectBucketsResult
def get_cloud_storage_object_buckets_output(region: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudStorageObjectBucketsResult]func GetCloudStorageObjectBuckets(ctx *Context, args *GetCloudStorageObjectBucketsArgs, opts ...InvokeOption) (*GetCloudStorageObjectBucketsResult, error)
func GetCloudStorageObjectBucketsOutput(ctx *Context, args *GetCloudStorageObjectBucketsOutputArgs, opts ...InvokeOption) GetCloudStorageObjectBucketsResultOutput> Note: This function is named GetCloudStorageObjectBuckets in the Go SDK.
public static class GetCloudStorageObjectBuckets
{
public static Task<GetCloudStorageObjectBucketsResult> InvokeAsync(GetCloudStorageObjectBucketsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageObjectBucketsResult> Invoke(GetCloudStorageObjectBucketsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageObjectBucketsResult> Invoke(GetCloudStorageObjectBucketsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudStorageObjectBucketsResult> getCloudStorageObjectBuckets(GetCloudStorageObjectBucketsArgs args, InvokeOptions options)
public static Output<GetCloudStorageObjectBucketsResult> getCloudStorageObjectBuckets(GetCloudStorageObjectBucketsArgs args, InvokeOptions options)
public static Output<GetCloudStorageObjectBucketsResult> getCloudStorageObjectBuckets(GetCloudStorageObjectBucketsArgs args, InvokeOutputOptions options)
fn::invoke:
function: ovh:index/getCloudStorageObjectBuckets:getCloudStorageObjectBuckets
arguments:
# arguments dictionarydata "ovh_get_cloud_storage_object_buckets" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - The id of the public cloud project.
- Region string
- If set, only buckets located in this region are returned.
- Service
Name string - The id of the public cloud project.
- Region string
- If set, only buckets located in this region are returned.
- service_
name string - The id of the public cloud project.
- region string
- If set, only buckets located in this region are returned.
- service
Name String - The id of the public cloud project.
- region String
- If set, only buckets located in this region are returned.
- service
Name string - The id of the public cloud project.
- region string
- If set, only buckets located in this region are returned.
- service_
name str - The id of the public cloud project.
- region str
- If set, only buckets located in this region are returned.
- service
Name String - The id of the public cloud project.
- region String
- If set, only buckets located in this region are returned.
getCloudStorageObjectBuckets Result
The following output properties are available:
- Buckets
List<Get
Cloud Storage Object Buckets Bucket> - List of buckets:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - Region string
- Region identifier.
- Buckets
[]Get
Cloud Storage Object Buckets Bucket - List of buckets:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - Region string
- Region identifier.
- buckets list(object)
- List of buckets:
- id string
- The provider-assigned unique ID for this managed resource.
- service_
name string - region string
- Region identifier.
- buckets
List<Get
Cloud Storage Object Buckets Bucket> - List of buckets:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - region String
- Region identifier.
- buckets
Get
Cloud Storage Object Buckets Bucket[] - List of buckets:
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string - region string
- Region identifier.
- buckets
Sequence[Get
Cloud Storage Object Buckets Bucket] - List of buckets:
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str - region str
- Region identifier.
- buckets List<Property Map>
- List of buckets:
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - region String
- Region identifier.
Supporting Types
GetCloudStorageObjectBucketsBucket
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the bucket.
- Current
State GetCloud Storage Object Buckets Bucket Current State - Current observed state of the bucket:
- Encryption
Get
Cloud Storage Object Buckets Bucket Encryption - Current encryption configuration:
- Id string
- Bucket identifier.
- Location
Get
Cloud Storage Object Buckets Bucket Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object Buckets Bucket Object Lock - Current object lock configuration:
- Owner
User stringId - Owner user identifier.
- Resource
Status string - Bucket readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,SUSPENDED,UNKNOWN,UPDATING). - Dictionary<string, string>
- Current metadata tags.
- Updated
At string - Last update date of the bucket.
- Versioning
Get
Cloud Storage Object Buckets Bucket Versioning - Current versioning configuration:
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the bucket.
- Current
State GetCloud Storage Object Buckets Bucket Current State - Current observed state of the bucket:
- Encryption
Get
Cloud Storage Object Buckets Bucket Encryption - Current encryption configuration:
- Id string
- Bucket identifier.
- Location
Get
Cloud Storage Object Buckets Bucket Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object Buckets Bucket Object Lock - Current object lock configuration:
- Owner
User stringId - Owner user identifier.
- Resource
Status string - Bucket readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,SUSPENDED,UNKNOWN,UPDATING). - map[string]string
- Current metadata tags.
- Updated
At string - Last update date of the bucket.
- Versioning
Get
Cloud Storage Object Buckets Bucket Versioning - Current versioning configuration:
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Creation date of the bucket.
- current_
state object - Current observed state of the bucket:
- encryption object
- Current encryption configuration:
- id string
- Bucket identifier.
- location object
- Geographic region where the bucket is located:
- name string
- Bucket name.
- object_
lock object - Current object lock configuration:
- owner_
user_ stringid - Owner user identifier.
- resource_
status string - Bucket readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,SUSPENDED,UNKNOWN,UPDATING). - map(string)
- Current metadata tags.
- updated_
at string - Last update date of the bucket.
- versioning object
- Current versioning configuration:
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the bucket.
- current
State GetCloud Storage Object Buckets Bucket Current State - Current observed state of the bucket:
- encryption
Get
Cloud Storage Object Buckets Bucket Encryption - Current encryption configuration:
- id String
- Bucket identifier.
- location
Get
Cloud Storage Object Buckets Bucket Location - Geographic region where the bucket is located:
- name String
- Bucket name.
- object
Lock GetCloud Storage Object Buckets Bucket Object Lock - Current object lock configuration:
- owner
User StringId - Owner user identifier.
- resource
Status String - Bucket readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,SUSPENDED,UNKNOWN,UPDATING). - Map<String,String>
- Current metadata tags.
- updated
At String - Last update date of the bucket.
- versioning
Get
Cloud Storage Object Buckets Bucket Versioning - Current versioning configuration:
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Creation date of the bucket.
- current
State GetCloud Storage Object Buckets Bucket Current State - Current observed state of the bucket:
- encryption
Get
Cloud Storage Object Buckets Bucket Encryption - Current encryption configuration:
- id string
- Bucket identifier.
- location
Get
Cloud Storage Object Buckets Bucket Location - Geographic region where the bucket is located:
- name string
- Bucket name.
- object
Lock GetCloud Storage Object Buckets Bucket Object Lock - Current object lock configuration:
- owner
User stringId - Owner user identifier.
- resource
Status string - Bucket readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,SUSPENDED,UNKNOWN,UPDATING). - {[key: string]: string}
- Current metadata tags.
- updated
At string - Last update date of the bucket.
- versioning
Get
Cloud Storage Object Buckets Bucket Versioning - Current versioning configuration:
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Creation date of the bucket.
- current_
state GetCloud Storage Object Buckets Bucket Current State - Current observed state of the bucket:
- encryption
Get
Cloud Storage Object Buckets Bucket Encryption - Current encryption configuration:
- id str
- Bucket identifier.
- location
Get
Cloud Storage Object Buckets Bucket Location - Geographic region where the bucket is located:
- name str
- Bucket name.
- object_
lock GetCloud Storage Object Buckets Bucket Object Lock - Current object lock configuration:
- owner_
user_ strid - Owner user identifier.
- resource_
status str - Bucket readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,SUSPENDED,UNKNOWN,UPDATING). - Mapping[str, str]
- Current metadata tags.
- updated_
at str - Last update date of the bucket.
- versioning
Get
Cloud Storage Object Buckets Bucket Versioning - Current versioning configuration:
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Creation date of the bucket.
- current
State Property Map - Current observed state of the bucket:
- encryption Property Map
- Current encryption configuration:
- id String
- Bucket identifier.
- location Property Map
- Geographic region where the bucket is located:
- name String
- Bucket name.
- object
Lock Property Map - Current object lock configuration:
- owner
User StringId - Owner user identifier.
- resource
Status String - Bucket readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,SUSPENDED,UNKNOWN,UPDATING). - Map<String>
- Current metadata tags.
- updated
At String - Last update date of the bucket.
- versioning Property Map
- Current versioning configuration:
GetCloudStorageObjectBucketsBucketCurrentState
- Encryption
Get
Cloud Storage Object Buckets Bucket Current State Encryption - Current encryption configuration:
- Location
Get
Cloud Storage Object Buckets Bucket Current State Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object Buckets Bucket Current State Object Lock - Current object lock configuration:
- Objects
Count int - Bucket total objects count. Only returned on a single bucket read,
nullhere. - Objects
Size int - Bucket total objects size in bytes. Only returned on a single bucket read,
nullhere. - Dictionary<string, string>
- Current metadata tags.
- Versioning
Get
Cloud Storage Object Buckets Bucket Current State Versioning - Current versioning configuration:
- Virtual
Host string - Bucket virtual host. Only returned on a single bucket read,
nullhere.
- Encryption
Get
Cloud Storage Object Buckets Bucket Current State Encryption - Current encryption configuration:
- Location
Get
Cloud Storage Object Buckets Bucket Current State Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object Buckets Bucket Current State Object Lock - Current object lock configuration:
- Objects
Count int - Bucket total objects count. Only returned on a single bucket read,
nullhere. - Objects
Size int - Bucket total objects size in bytes. Only returned on a single bucket read,
nullhere. - map[string]string
- Current metadata tags.
- Versioning
Get
Cloud Storage Object Buckets Bucket Current State Versioning - Current versioning configuration:
- Virtual
Host string - Bucket virtual host. Only returned on a single bucket read,
nullhere.
- encryption object
- Current encryption configuration:
- location object
- Geographic region where the bucket is located:
- name string
- Bucket name.
- object_
lock object - Current object lock configuration:
- objects_
count number - Bucket total objects count. Only returned on a single bucket read,
nullhere. - objects_
size number - Bucket total objects size in bytes. Only returned on a single bucket read,
nullhere. - map(string)
- Current metadata tags.
- versioning object
- Current versioning configuration:
- virtual_
host string - Bucket virtual host. Only returned on a single bucket read,
nullhere.
- encryption
Get
Cloud Storage Object Buckets Bucket Current State Encryption - Current encryption configuration:
- location
Get
Cloud Storage Object Buckets Bucket Current State Location - Geographic region where the bucket is located:
- name String
- Bucket name.
- object
Lock GetCloud Storage Object Buckets Bucket Current State Object Lock - Current object lock configuration:
- objects
Count Integer - Bucket total objects count. Only returned on a single bucket read,
nullhere. - objects
Size Integer - Bucket total objects size in bytes. Only returned on a single bucket read,
nullhere. - Map<String,String>
- Current metadata tags.
- versioning
Get
Cloud Storage Object Buckets Bucket Current State Versioning - Current versioning configuration:
- virtual
Host String - Bucket virtual host. Only returned on a single bucket read,
nullhere.
- encryption
Get
Cloud Storage Object Buckets Bucket Current State Encryption - Current encryption configuration:
- location
Get
Cloud Storage Object Buckets Bucket Current State Location - Geographic region where the bucket is located:
- name string
- Bucket name.
- object
Lock GetCloud Storage Object Buckets Bucket Current State Object Lock - Current object lock configuration:
- objects
Count number - Bucket total objects count. Only returned on a single bucket read,
nullhere. - objects
Size number - Bucket total objects size in bytes. Only returned on a single bucket read,
nullhere. - {[key: string]: string}
- Current metadata tags.
- versioning
Get
Cloud Storage Object Buckets Bucket Current State Versioning - Current versioning configuration:
- virtual
Host string - Bucket virtual host. Only returned on a single bucket read,
nullhere.
- encryption
Get
Cloud Storage Object Buckets Bucket Current State Encryption - Current encryption configuration:
- location
Get
Cloud Storage Object Buckets Bucket Current State Location - Geographic region where the bucket is located:
- name str
- Bucket name.
- object_
lock GetCloud Storage Object Buckets Bucket Current State Object Lock - Current object lock configuration:
- objects_
count int - Bucket total objects count. Only returned on a single bucket read,
nullhere. - objects_
size int - Bucket total objects size in bytes. Only returned on a single bucket read,
nullhere. - Mapping[str, str]
- Current metadata tags.
- versioning
Get
Cloud Storage Object Buckets Bucket Current State Versioning - Current versioning configuration:
- virtual_
host str - Bucket virtual host. Only returned on a single bucket read,
nullhere.
- encryption Property Map
- Current encryption configuration:
- location Property Map
- Geographic region where the bucket is located:
- name String
- Bucket name.
- object
Lock Property Map - Current object lock configuration:
- objects
Count Number - Bucket total objects count. Only returned on a single bucket read,
nullhere. - objects
Size Number - Bucket total objects size in bytes. Only returned on a single bucket read,
nullhere. - Map<String>
- Current metadata tags.
- versioning Property Map
- Current versioning configuration:
- virtual
Host String - Bucket virtual host. Only returned on a single bucket read,
nullhere.
GetCloudStorageObjectBucketsBucketCurrentStateEncryption
- Algorithm string
- Encryption algorithm.
- Algorithm string
- Encryption algorithm.
- algorithm string
- Encryption algorithm.
- algorithm String
- Encryption algorithm.
- algorithm string
- Encryption algorithm.
- algorithm str
- Encryption algorithm.
- algorithm String
- Encryption algorithm.
GetCloudStorageObjectBucketsBucketCurrentStateLocation
- Region string
- If set, only buckets located in this region are returned.
- Region string
- If set, only buckets located in this region are returned.
- region string
- If set, only buckets located in this region are returned.
- region String
- If set, only buckets located in this region are returned.
- region string
- If set, only buckets located in this region are returned.
- region str
- If set, only buckets located in this region are returned.
- region String
- If set, only buckets located in this region are returned.
GetCloudStorageObjectBucketsBucketCurrentStateObjectLock
- Mode string
- Object lock retention mode.
- Retention
Days int - Number of days to retain objects.
- Retention
Years int - Number of years to retain objects.
- Mode string
- Object lock retention mode.
- Retention
Days int - Number of days to retain objects.
- Retention
Years int - Number of years to retain objects.
- mode string
- Object lock retention mode.
- retention_
days number - Number of days to retain objects.
- retention_
years number - Number of years to retain objects.
- mode String
- Object lock retention mode.
- retention
Days Integer - Number of days to retain objects.
- retention
Years Integer - Number of years to retain objects.
- mode string
- Object lock retention mode.
- retention
Days number - Number of days to retain objects.
- retention
Years number - Number of years to retain objects.
- mode str
- Object lock retention mode.
- retention_
days int - Number of days to retain objects.
- retention_
years int - Number of years to retain objects.
- mode String
- Object lock retention mode.
- retention
Days Number - Number of days to retain objects.
- retention
Years Number - Number of years to retain objects.
GetCloudStorageObjectBucketsBucketCurrentStateVersioning
- Status string
- Versioning status.
- Status string
- Versioning status.
- status string
- Versioning status.
- status String
- Versioning status.
- status string
- Versioning status.
- status str
- Versioning status.
- status String
- Versioning status.
GetCloudStorageObjectBucketsBucketEncryption
- Algorithm string
- Encryption algorithm.
- Algorithm string
- Encryption algorithm.
- algorithm string
- Encryption algorithm.
- algorithm String
- Encryption algorithm.
- algorithm string
- Encryption algorithm.
- algorithm str
- Encryption algorithm.
- algorithm String
- Encryption algorithm.
GetCloudStorageObjectBucketsBucketLocation
- Region string
- If set, only buckets located in this region are returned.
- Region string
- If set, only buckets located in this region are returned.
- region string
- If set, only buckets located in this region are returned.
- region String
- If set, only buckets located in this region are returned.
- region string
- If set, only buckets located in this region are returned.
- region str
- If set, only buckets located in this region are returned.
- region String
- If set, only buckets located in this region are returned.
GetCloudStorageObjectBucketsBucketObjectLock
- Mode string
- Object lock retention mode.
- Retention
Days int - Number of days to retain objects.
- Retention
Years int - Number of years to retain objects.
- Mode string
- Object lock retention mode.
- Retention
Days int - Number of days to retain objects.
- Retention
Years int - Number of years to retain objects.
- mode string
- Object lock retention mode.
- retention_
days number - Number of days to retain objects.
- retention_
years number - Number of years to retain objects.
- mode String
- Object lock retention mode.
- retention
Days Integer - Number of days to retain objects.
- retention
Years Integer - Number of years to retain objects.
- mode string
- Object lock retention mode.
- retention
Days number - Number of days to retain objects.
- retention
Years number - Number of years to retain objects.
- mode str
- Object lock retention mode.
- retention_
days int - Number of days to retain objects.
- retention_
years int - Number of years to retain objects.
- mode String
- Object lock retention mode.
- retention
Days Number - Number of days to retain objects.
- retention
Years Number - Number of years to retain objects.
GetCloudStorageObjectBucketsBucketVersioning
- Status string
- Versioning status.
- 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.22.0
published on Monday, Oct 5, 2026 by OVHcloud
published on Monday, Oct 5, 2026 by OVHcloud