File tree Expand file tree Collapse file tree 2 files changed +20
-10
lines changed Expand file tree Collapse file tree 2 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,17 @@ The :mc:`mc put` uploads an object from the local file system to a bucket on a t
44
44
.. code-block :: shell
45
45
:class: copyable
46
46
47
- mc [GLOBALFLAGS] put \
48
- TARGET \
49
- [--checksum value] \
50
- [--disable-multipart] \
51
- [--enc-kms value] \
52
- [--enc-s3 value] \
53
- [--enc-c value] \
54
- [--if-not-exists] \
55
- [--parallel, -P integer] \
56
- [--part-size, -s string]
47
+ mc [GLOBALFLAGS] put \
48
+ TARGET \
49
+ [--checksum value] \
50
+ [--disable-multipart] \
51
+ [--enc-kms value] \
52
+ [--enc-s3 value] \
53
+ [--enc-c value] \
54
+ [--if-not-exists] \
55
+ [--parallel, -P integer] \
56
+ [--part-size, -s string] \
57
+ [--storage-class, -s c string]
57
58
58
59
.. include :: /includes/common-minio-mc.rst
59
60
:start-after: start-minio-syntax
@@ -122,6 +123,13 @@ Parameters
122
123
123
124
If not defined, defaults to a value of ``16MiB ``.
124
125
126
+ .. mc-cmd :: --storage-class, -sc
127
+ :optional:
128
+
129
+ Set the storage class for the uploaded object.
130
+
131
+ See :ref: `Standard Storage Class <minio-ec-storage-class-standard >` for more about storage classes.
132
+
125
133
126
134
Global Flags
127
135
~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ This impacts how MinIO uses the space on the drive(s) and how MinIO can recover
22
22
:start-after: start-minio-settings-test-before-prod
23
23
:end-before: end-minio-settings-test-before-prod
24
24
25
+ .. _minio-ec-storage-class-standard :
26
+
25
27
Standard Storage Class
26
28
----------------------
27
29
You can’t perform that action at this time.
0 commit comments