Skip to main content

us

Creates, updates, deletes, gets or lists a us resource.

Overview​

Nameus
TypeResource
Idoci.object_storage.us

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:

NameAccessible byRequired ParamsOptional ParamsDescription
abort_multipart_uploadexecnamespaceName, bucketName, objectName, uploadId, regionopc-client-request-idAborts an in-progress multipart upload and deletes all parts that have been uploaded.<br />
commit_multipart_uploadexecnamespaceName, bucketName, objectName, uploadId, region, partsToCommitif-match, if-none-match, opc-client-request-idCommits a multipart upload, which involves checking part numbers and entity tags (ETags) of the parts, to create an aggregate object.<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.

NameDatatypeDescription
bucketNamestringThe name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
namespaceNamestringThe Object Storage namespace used for the request.
objectNamestringThe name of the object. Avoid entering confidential information. Example: test/object1.log
regionstringOCI 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)
uploadIdstringThe upload ID for a multipart upload.
if-matchstringThe entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload the resource.
if-none-matchstringThe entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should fail if the resource already exists.
opc-client-request-idstringThe client request ID for tracing.

Lifecycle Methods​

Aborts an in-progress multipart upload and deletes all parts that have been uploaded.<br />

EXEC oci.object_storage.us.abort_multipart_upload
@namespaceName='{{ namespaceName }}' --required,
@bucketName='{{ bucketName }}' --required,
@objectName='{{ objectName }}' --required,
@uploadId='{{ uploadId }}' --required,
@region='{{ region }}' --required,
@opc-client-request-id='{{ opc-client-request-id }}'
;