Class MultipartUpload
Multipart uploads provide efficient and resilient uploads, especially for large objects. Multipart uploads also accommodate
objects that are too large for a single upload operation. With multipart uploads, individual parts of an object can be
uploaded in parallel to reduce the amount of time you spend uploading. Multipart uploads can also minimize the impact
of network failures by letting you retry a failed part upload instead of requiring you to retry an entire object upload.
See Using Multipart Uploads.
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized,
talk to an administrator. If you are an administrator who needs to write policies to give users access, see
Getting Started with Policies.
Inherited Members
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class MultipartUpload
Properties
Bucket
Declaration
[Required(ErrorMessage = "Bucket is required.")]
[JsonProperty(PropertyName = "bucket")]
public string Bucket { get; set; }
Property Value
Type | Description |
---|---|
string | The bucket in which the in-progress multipart upload is stored. |
Remarks
Required
Namespace
Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
public string Namespace { get; set; }
Property Value
Type | Description |
---|---|
string | The Object Storage namespace in which the in-progress multipart upload is stored. |
Remarks
Required
Object
Declaration
[Required(ErrorMessage = "Object is required.")]
[JsonProperty(PropertyName = "object")]
public string Object { get; set; }
Property Value
Type | Description |
---|---|
string | The object name of the in-progress multipart upload. |
Remarks
Required
StorageTier
Declaration
[JsonProperty(PropertyName = "storageTier")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StorageTier? StorageTier { get; set; }
Property Value
Type | Description |
---|---|
StorageTier? | The storage tier that the object is stored in. |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the upload was created, as described in RFC 2616. |
Remarks
Required
UploadId
Declaration
[Required(ErrorMessage = "UploadId is required.")]
[JsonProperty(PropertyName = "uploadId")]
public string UploadId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier for the in-progress multipart upload. |
Remarks
Required