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
Get an S3™ compatible object storage bucket 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 getCloudStorageObjectBucket
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 getCloudStorageObjectBucket(args: GetCloudStorageObjectBucketArgs, opts?: InvokeOptions): Promise<GetCloudStorageObjectBucketResult>
function getCloudStorageObjectBucketOutput(args: GetCloudStorageObjectBucketOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudStorageObjectBucketResult>def get_cloud_storage_object_bucket(id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudStorageObjectBucketResult
def get_cloud_storage_object_bucket_output(id: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudStorageObjectBucketResult]func LookupCloudStorageObjectBucket(ctx *Context, args *LookupCloudStorageObjectBucketArgs, opts ...InvokeOption) (*LookupCloudStorageObjectBucketResult, error)
func LookupCloudStorageObjectBucketOutput(ctx *Context, args *LookupCloudStorageObjectBucketOutputArgs, opts ...InvokeOption) LookupCloudStorageObjectBucketResultOutput> Note: This function is named LookupCloudStorageObjectBucket in the Go SDK.
public static class GetCloudStorageObjectBucket
{
public static Task<GetCloudStorageObjectBucketResult> InvokeAsync(GetCloudStorageObjectBucketArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageObjectBucketResult> Invoke(GetCloudStorageObjectBucketInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageObjectBucketResult> Invoke(GetCloudStorageObjectBucketInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudStorageObjectBucketResult> getCloudStorageObjectBucket(GetCloudStorageObjectBucketArgs args, InvokeOptions options)
public static Output<GetCloudStorageObjectBucketResult> getCloudStorageObjectBucket(GetCloudStorageObjectBucketArgs args, InvokeOptions options)
public static Output<GetCloudStorageObjectBucketResult> getCloudStorageObjectBucket(GetCloudStorageObjectBucketArgs args, InvokeOutputOptions options)
fn::invoke:
function: ovh:index/getCloudStorageObjectBucket:getCloudStorageObjectBucket
arguments:
# arguments dictionarydata "ovh_get_cloud_storage_object_bucket" "name" {
# arguments
}The following arguments are supported:
- Id string
- Bucket identifier, in the
<REGION>_<name>form (e.g.GRA_my-data-bucket). - Service
Name string - The id of the public cloud project.
- Id string
- Bucket identifier, in the
<REGION>_<name>form (e.g.GRA_my-data-bucket). - Service
Name string - The id of the public cloud project.
- id string
- Bucket identifier, in the
<REGION>_<name>form (e.g.GRA_my-data-bucket). - service_
name string - The id of the public cloud project.
- id String
- Bucket identifier, in the
<REGION>_<name>form (e.g.GRA_my-data-bucket). - service
Name String - The id of the public cloud project.
- id string
- Bucket identifier, in the
<REGION>_<name>form (e.g.GRA_my-data-bucket). - service
Name string - The id of the public cloud project.
- id str
- Bucket identifier, in the
<REGION>_<name>form (e.g.GRA_my-data-bucket). - service_
name str - The id of the public cloud project.
- id String
- Bucket identifier, in the
<REGION>_<name>form (e.g.GRA_my-data-bucket). - service
Name String - The id of the public cloud project.
getCloudStorageObjectBucket Result
The following output properties are available:
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Creation date of the bucket.
- Current
State GetCloud Storage Object Bucket Current State - Current observed state of the bucket:
- Encryption
Get
Cloud Storage Object Bucket Encryption - Current encryption configuration:
- Id string
- Bucket identifier.
- Location
Get
Cloud Storage Object Bucket Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object 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). - Service
Name string - Dictionary<string, string>
- Current metadata tags.
- Updated
At string - Last update date of the bucket.
- Versioning
Get
Cloud Storage Object 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 Bucket Current State - Current observed state of the bucket:
- Encryption
Get
Cloud Storage Object Bucket Encryption - Current encryption configuration:
- Id string
- Bucket identifier.
- Location
Get
Cloud Storage Object Bucket Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object 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). - Service
Name string - map[string]string
- Current metadata tags.
- Updated
At string - Last update date of the bucket.
- Versioning
Get
Cloud Storage Object 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). - service_
name string - 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 Bucket Current State - Current observed state of the bucket:
- encryption
Get
Cloud Storage Object Bucket Encryption - Current encryption configuration:
- id String
- Bucket identifier.
- location
Get
Cloud Storage Object Bucket Location - Geographic region where the bucket is located:
- name String
- Bucket name.
- object
Lock GetCloud Storage Object 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). - service
Name String - Map<String,String>
- Current metadata tags.
- updated
At String - Last update date of the bucket.
- versioning
Get
Cloud Storage Object 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 Bucket Current State - Current observed state of the bucket:
- encryption
Get
Cloud Storage Object Bucket Encryption - Current encryption configuration:
- id string
- Bucket identifier.
- location
Get
Cloud Storage Object Bucket Location - Geographic region where the bucket is located:
- name string
- Bucket name.
- object
Lock GetCloud Storage Object 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). - service
Name string - {[key: string]: string}
- Current metadata tags.
- updated
At string - Last update date of the bucket.
- versioning
Get
Cloud Storage Object 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 Bucket Current State - Current observed state of the bucket:
- encryption
Get
Cloud Storage Object Bucket Encryption - Current encryption configuration:
- id str
- Bucket identifier.
- location
Get
Cloud Storage Object Bucket Location - Geographic region where the bucket is located:
- name str
- Bucket name.
- object_
lock GetCloud Storage Object 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). - service_
name str - Mapping[str, str]
- Current metadata tags.
- updated_
at str - Last update date of the bucket.
- versioning
Get
Cloud Storage Object 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). - service
Name String - Map<String>
- Current metadata tags.
- updated
At String - Last update date of the bucket.
- versioning Property Map
- Current versioning configuration:
Supporting Types
GetCloudStorageObjectBucketCurrentState
- Encryption
Get
Cloud Storage Object Bucket Current State Encryption - Current encryption configuration:
- Location
Get
Cloud Storage Object Bucket Current State Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object Bucket Current State Object Lock - Current object lock configuration:
- Objects
Count int - Bucket total objects count.
- Objects
Size int - Bucket total objects size in bytes.
- Dictionary<string, string>
- Current metadata tags.
- Versioning
Get
Cloud Storage Object Bucket Current State Versioning - Current versioning configuration:
- Virtual
Host string - Bucket virtual host, as a hostname without scheme (for example
my-data-bucket.s3.gra.io.cloud.ovh.net).
- Encryption
Get
Cloud Storage Object Bucket Current State Encryption - Current encryption configuration:
- Location
Get
Cloud Storage Object Bucket Current State Location - Geographic region where the bucket is located:
- Name string
- Bucket name.
- Object
Lock GetCloud Storage Object Bucket Current State Object Lock - Current object lock configuration:
- Objects
Count int - Bucket total objects count.
- Objects
Size int - Bucket total objects size in bytes.
- map[string]string
- Current metadata tags.
- Versioning
Get
Cloud Storage Object Bucket Current State Versioning - Current versioning configuration:
- Virtual
Host string - Bucket virtual host, as a hostname without scheme (for example
my-data-bucket.s3.gra.io.cloud.ovh.net).
- 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.
- objects_
size number - Bucket total objects size in bytes.
- map(string)
- Current metadata tags.
- versioning object
- Current versioning configuration:
- virtual_
host string - Bucket virtual host, as a hostname without scheme (for example
my-data-bucket.s3.gra.io.cloud.ovh.net).
- encryption
Get
Cloud Storage Object Bucket Current State Encryption - Current encryption configuration:
- location
Get
Cloud Storage Object Bucket Current State Location - Geographic region where the bucket is located:
- name String
- Bucket name.
- object
Lock GetCloud Storage Object Bucket Current State Object Lock - Current object lock configuration:
- objects
Count Integer - Bucket total objects count.
- objects
Size Integer - Bucket total objects size in bytes.
- Map<String,String>
- Current metadata tags.
- versioning
Get
Cloud Storage Object Bucket Current State Versioning - Current versioning configuration:
- virtual
Host String - Bucket virtual host, as a hostname without scheme (for example
my-data-bucket.s3.gra.io.cloud.ovh.net).
- encryption
Get
Cloud Storage Object Bucket Current State Encryption - Current encryption configuration:
- location
Get
Cloud Storage Object Bucket Current State Location - Geographic region where the bucket is located:
- name string
- Bucket name.
- object
Lock GetCloud Storage Object Bucket Current State Object Lock - Current object lock configuration:
- objects
Count number - Bucket total objects count.
- objects
Size number - Bucket total objects size in bytes.
- {[key: string]: string}
- Current metadata tags.
- versioning
Get
Cloud Storage Object Bucket Current State Versioning - Current versioning configuration:
- virtual
Host string - Bucket virtual host, as a hostname without scheme (for example
my-data-bucket.s3.gra.io.cloud.ovh.net).
- encryption
Get
Cloud Storage Object Bucket Current State Encryption - Current encryption configuration:
- location
Get
Cloud Storage Object Bucket Current State Location - Geographic region where the bucket is located:
- name str
- Bucket name.
- object_
lock GetCloud Storage Object Bucket Current State Object Lock - Current object lock configuration:
- objects_
count int - Bucket total objects count.
- objects_
size int - Bucket total objects size in bytes.
- Mapping[str, str]
- Current metadata tags.
- versioning
Get
Cloud Storage Object Bucket Current State Versioning - Current versioning configuration:
- virtual_
host str - Bucket virtual host, as a hostname without scheme (for example
my-data-bucket.s3.gra.io.cloud.ovh.net).
- 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.
- objects
Size Number - Bucket total objects size in bytes.
- Map<String>
- Current metadata tags.
- versioning Property Map
- Current versioning configuration:
- virtual
Host String - Bucket virtual host, as a hostname without scheme (for example
my-data-bucket.s3.gra.io.cloud.ovh.net).
GetCloudStorageObjectBucketCurrentStateEncryption
- 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.
GetCloudStorageObjectBucketCurrentStateLocation
- Region string
- Region identifier.
- Region string
- Region identifier.
- region string
- Region identifier.
- region String
- Region identifier.
- region string
- Region identifier.
- region str
- Region identifier.
- region String
- Region identifier.
GetCloudStorageObjectBucketCurrentStateObjectLock
- 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.
GetCloudStorageObjectBucketCurrentStateVersioning
- 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.
GetCloudStorageObjectBucketEncryption
- 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.
GetCloudStorageObjectBucketLocation
- Region string
- Region identifier.
- Region string
- Region identifier.
- region string
- Region identifier.
- region String
- Region identifier.
- region string
- Region identifier.
- region str
- Region identifier.
- region String
- Region identifier.
GetCloudStorageObjectBucketObjectLock
- 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.
GetCloudStorageObjectBucketVersioning
- 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