forked from TrueCloudLab/rclone
oracle-object-storage: expose the storage_tier option in config
This commit is contained in:
parent
71227986db
commit
e2886aaddf
2 changed files with 34 additions and 0 deletions
|
@ -123,6 +123,22 @@ func newOptions() []fs.Option {
|
||||||
Value: "Default",
|
Value: "Default",
|
||||||
Help: "Use the default profile",
|
Help: "Use the default profile",
|
||||||
}},
|
}},
|
||||||
|
}, {
|
||||||
|
// Mapping from here: https://github.com/oracle/oci-go-sdk/blob/master/objectstorage/storage_tier.go
|
||||||
|
Name: "storage_tier",
|
||||||
|
Help: "The storage class to use when storing new objects in storage. https://docs.oracle.com/en-us/iaas/Content/Object/Concepts/understandingstoragetiers.htm",
|
||||||
|
Default: "Standard",
|
||||||
|
Advanced: true,
|
||||||
|
Examples: []fs.OptionExample{{
|
||||||
|
Value: "Standard",
|
||||||
|
Help: "Standard storage tier, this is the default tier",
|
||||||
|
}, {
|
||||||
|
Value: "InfrequentAccess",
|
||||||
|
Help: "InfrequentAccess storage tier",
|
||||||
|
}, {
|
||||||
|
Value: "Archive",
|
||||||
|
Help: "Archive storage tier",
|
||||||
|
}},
|
||||||
}, {
|
}, {
|
||||||
Name: "upload_cutoff",
|
Name: "upload_cutoff",
|
||||||
Help: `Cutoff for switching to chunked upload.
|
Help: `Cutoff for switching to chunked upload.
|
||||||
|
|
|
@ -290,6 +290,24 @@ Properties:
|
||||||
|
|
||||||
Here are the Advanced options specific to oracleobjectstorage (Oracle Cloud Infrastructure Object Storage).
|
Here are the Advanced options specific to oracleobjectstorage (Oracle Cloud Infrastructure Object Storage).
|
||||||
|
|
||||||
|
#### --oos-storage-tier
|
||||||
|
|
||||||
|
The storage class to use when storing new objects in storage. https://docs.oracle.com/en-us/iaas/Content/Object/Concepts/understandingstoragetiers.htm
|
||||||
|
|
||||||
|
Properties:
|
||||||
|
|
||||||
|
- Config: storage_tier
|
||||||
|
- Env Var: RCLONE_OOS_STORAGE_TIER
|
||||||
|
- Type: string
|
||||||
|
- Default: "Standard"
|
||||||
|
- Examples:
|
||||||
|
- "Standard"
|
||||||
|
- Standard storage tier, this is the default tier
|
||||||
|
- "InfrequentAccess"
|
||||||
|
- InfrequentAccess storage tier
|
||||||
|
- "Archive"
|
||||||
|
- Archive storage tier
|
||||||
|
|
||||||
#### --oos-upload-cutoff
|
#### --oos-upload-cutoff
|
||||||
|
|
||||||
Cutoff for switching to chunked upload.
|
Cutoff for switching to chunked upload.
|
||||||
|
|
Loading…
Add table
Reference in a new issue