Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions source/reference/minio-mc/mc-put.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@ The :mc:`mc put` uploads an object from the local file system to a bucket on a t
.. code-block:: shell
:class: copyable

mc [GLOBALFLAGS] put \
TARGET \
[--checksum value] \
[--disable-multipart] \
[--enc-kms value] \
[--enc-s3 value] \
[--enc-c value] \
[--if-not-exists] \
[--parallel, -P integer] \
[--part-size, -s string]
mc [GLOBALFLAGS] put \
TARGET \
[--checksum value] \
[--disable-multipart] \
[--enc-kms value] \
[--enc-s3 value] \
[--enc-c value] \
[--if-not-exists] \
[--parallel, -P integer] \
[--part-size, -s string] \
[--storage-class, -sc string]

.. include:: /includes/common-minio-mc.rst
:start-after: start-minio-syntax
Expand Down Expand Up @@ -122,6 +123,13 @@ Parameters

If not defined, defaults to a value of ``16MiB``.

.. mc-cmd:: --storage-class, -sc
:optional:

Set the storage class for the uploaded object.

See :ref:`Standard Storage Class <minio-ec-storage-class-standard>` for more about storage classes.


Global Flags
~~~~~~~~~~~~
Expand Down
2 changes: 2 additions & 0 deletions source/reference/minio-server/settings/storage-class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ This impacts how MinIO uses the space on the drive(s) and how MinIO can recover
:start-after: start-minio-settings-test-before-prod
:end-before: end-minio-settings-test-before-prod

.. _minio-ec-storage-class-standard:

Standard Storage Class
----------------------

Expand Down