object_storage_tiers
Creates, updates, deletes, gets or lists an object_storage_tiers resource.
Overview​
| Name | object_storage_tiers |
| Type | Resource |
| Id | oci.object_storage.object_storage_tiers |
Fields​
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | namespaceName, bucketName, region, objectName, storageTier | opc-client-request-id | Changes the storage tier of the object specified by the objectName parameter.<br /> |
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 |
|---|---|---|
bucketName | string | The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1 |
namespaceName | string | The Object Storage namespace used for the request. |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
opc-client-request-id | string | The client request ID for tracing. |
UPDATE examples​
- update
Changes the storage tier of the object specified by the objectName parameter.<br />
UPDATE oci.object_storage.object_storage_tiers
SET
objectName = '{{ objectName }}',
storageTier = '{{ storageTier }}',
versionId = '{{ versionId }}'
WHERE
namespaceName = '{{ namespaceName }}' --required
AND bucketName = '{{ bucketName }}' --required
AND region = '{{ region }}' --required
AND objectName = '{{ objectName }}' --required
AND storageTier = '{{ storageTier }}' --required
AND opc-client-request-id = '{{ opc-client-request-id}}';