region_storage_multipart_uploads
Creates, updates, deletes, gets or lists a region_storage_multipart_uploads resource.
Overview​
| Name | region_storage_multipart_uploads |
| Type | Resource |
| Id | ovh.cloud_storage.region_storage_multipart_uploads |
Fields​
The following fields are returned by SELECT queries:
- list
StorageMultipartUpload
| Name | Datatype | Description |
|---|---|---|
id | string | Multipart upload ID |
created_at | string (date-time) | Initiation date of the multipart upload (wire: createdAt) |
key | string | Object key |
storage_class | string | Storage class of the object (DEEP_ARCHIVE, GLACIER_IR, HIGH_PERF, STANDARD, STANDARD_IA) (wire: storageClass) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | name, region_name, service_name | <sup>*</sup> 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. (Beta version) | |
create | insert | name, region_name, service_name, key | <sup>*</sup> 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. (Beta version) |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
name | string | Name |
region_name | string | Region name (wire: regionName) |
service_name | string | The Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set. |
SELECT examples​
- list
<sup>*</sup> 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. (Beta version)
SELECT
id,
created_at,
key,
storage_class
FROM ovh.cloud_storage.region_storage_multipart_uploads
WHERE name = '{{ name }}' -- required
AND region_name = '{{ region_name }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;
INSERT examples​
- create
- Manifest
<sup>*</sup> 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. (Beta version)
INSERT INTO ovh.cloud_storage.region_storage_multipart_uploads (
key,
storage_class,
name,
region_name,
service_name
)
SELECT
'{{ key }}' /* required */,
'{{ storage_class }}',
'{{ name }}',
'{{ region_name }}',
'{{ service_name }}'
RETURNING
id,
created_at,
key,
storage_class
;
# Description fields are for documentation purposes
- name: region_storage_multipart_uploads
props:
- name: name
value: "{{ name }}"
description: Required parameter for the region_storage_multipart_uploads resource.
- name: region_name
value: "{{ region_name }}"
description: Required parameter for the region_storage_multipart_uploads resource.
- name: service_name
value: "{{ service_name }}"
description: Required parameter for the region_storage_multipart_uploads resource.
- name: key
value: "{{ key }}"
description: |
Object key
- name: storage_class
value: "{{ storage_class }}"
description: |
Storage class for the object
valid_values: ['DEEP_ARCHIVE', 'GLACIER_IR', 'HIGH_PERF', 'STANDARD', 'STANDARD_IA']